Function at 0x413100
Capabilities:
Check if file exists
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9266
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x1c], ebx
mov ecx, 0x5101ed
mov dword [ebp - 4], 0
call fcn.004b532d
push 0x104
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.004b8400
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebx + 4]
push 4
mov eax, dword [eax]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x44], 0
call fcn.004b5382
add esp, 0x10
mov dword [eax], 0
push 0
push 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x150]
push eax
push 0x414380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x413693
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
mov byte [ebp + 0xf], 0
call ebx
or edi, 0xffffffff
test eax, eax
jne 0x41331c
push ecx
mov esi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x10], esi
call fcn.00405240
test eax, eax
je 0x4136a7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x4e1d1c
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00404300
test al, al
jne 0x413215
push 3
push 0x4e1d1c
mov ecx, esi
call fcn.00406280
push 0x82
push ecx
mov esi, esp
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.004043f0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.0040a100
add esp, 0xc
test al, al
jne 0x41331c
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push 0xc
push eax
call fcn.00413c10
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x41328e
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413284
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136b1
push edx
push ecx
call fcn.004b531f
add esp, 8
mov bl, byte [ebp + 0xf]
mov eax, dword [ebp - 0x1c]
push 0
push 0x32
push 0x466
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], 1
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x14]
call esi
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4132e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x413307
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004082b0
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 1
mov esi, dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [ebp - 4], 4
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x413347
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41335d
call fcn.00405240
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41369d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 8
push str.7za.exe
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404490
mov eax, dword [ebp - 0x10]
add esp, 0x14
mov ecx, dword [ebp - 0x14]
lea esi, [eax - 0x10]
lea edi, [ecx - 0x10]
cmp esi, edi
je 0x4133e5
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4133d3
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x4133d3
push esi
call fcn.004043f0
add esp, 4
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4133cb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x4133df
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00406280
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413400
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x18], esi
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x4136a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x4e1d38
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00404300
test al, al
jne 0x413444
push 3
push 0x4e1d38
mov ecx, esi
call fcn.00406280
push 0x86
push ecx
mov esi, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.004043f0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.0040a100
add esp, 0xc
test al, al
jne 0x4134c9
push dword [ebp - 0x14]
call ebx
test eax, eax
jne 0x4134c9
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push 0x11
push eax
call fcn.00413c10
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x4134c2
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4134b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136b1
push edx
push ecx
call fcn.004b531f
add esp, 8
xor bl, bl
jmp 0x4132ca
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x18], 0
call fcn.00405240
test eax, eax
je 0x413693
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x4e195f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00404300
test al, al
jne 0x41356e
push 0
push 0
push 0xffffffffffffffff
push 0x4e195f
push 0
push 3
call ebx
lea esi, [eax - 1]
test esi, esi
jle 0x413566
mov ecx, dword [ebp - 0x10]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x41353d
push esi
lea ecx, [ebp - 0x10]
call fcn.00405aa0
mov ecx, dword [ebp - 0x10]
push esi
push ecx
push 0xffffffffffffffff
push 0x4e195f
push 0
push 3
call ebx
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax - 8]
jg 0x413689
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + esi*2], cx
jmp 0x41356e
lea ecx, [ebp - 0x10]
call fcn.00404ba0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x20], edi
call fcn.00405240
test eax, eax
je 0x413693
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
push str._t7z
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00404300
test al, al
jne 0x41360b
push 0
push 0
push 0xffffffffffffffff
push str._t7z
push 0
push 3
call ebx
lea esi, [eax - 1]
test esi, esi
jle 0x413604
mov ecx, dword [edi]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x4135dc
push esi
mov ecx, edi
call fcn.00405aa0
push esi
push dword [edi]
push 0xffffffffffffffff
push str._t7z
push 0
push 3
call ebx
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x413689
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [edi]
mov word [eax + esi*2], cx
jmp 0x41360b
mov ecx, edi
call fcn.00404ba0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
add eax, 4
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407350
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
add esp, 0x18
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41364e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x413682
cmp eax, 0x103
je 0x41367a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 2
jl 0x4134d6
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41328e
mov bl, 1
jmp 0x413291
push 0x80070057
call fcn.004042d0
push 0x80004005
call fcn.004042d0
push 0x80004005
call fcn.004042d0
push 0x80004005
call fcn.004042d0
call fcn.004bba0f
int3