Function at 0x405380
Capabilities:
Copy file
Create directory
Create process on windows
Delete file
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447e01
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x45d594]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
mov eax, dword [0x45d594]
xor eax, esp
push eax
lea eax, [esp + 0x208]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x220]
push 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x90], ecx
call fcn.004193f0
lea ecx, [esi + 0x274]
push 0
mov dword [esp + 0x98], ecx
call fcn.004193f0
mov ecx, dword [esi + 0x21c]
mov eax, dword [ecx + 0xe54]
mov dword [esp + 0x30], 0
test eax, eax
jle 0x405e14
lea ebx, [ebx]
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
jl 0x405ea6
cmp eax, dword [ecx + 0xe54]
jge 0x405ea6
imul eax, eax, 0x418
add eax, dword [ecx + 0xe50]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
add eax, 0x10c
push eax
call fcn.00403af0
mov dword [esp + 0x210], esi
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
cmp edi, esi
mov byte [esp + 0x13], 0
mov ebx, edx
jle 0x4054db
jmp 0x405468
mov edx, dword [esp + 0x14]
cmp byte [esi + ebx], 0x5c
lea eax, [esi + ebx]
jne 0x4054a3
cmp byte [esp + 0x13], 0
jne 0x40549d
mov eax, dword [edx - 8]
mov ecx, 1
mov byte [esp + 0x13], cl
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x40549b
push edi
lea ecx, [esp + 0x18]
call fcn.00403910
mov edx, dword [esp + 0x14]
mov ebx, edx
lea eax, [esi + ebx]
mov byte [eax], 0x2a
push eax
call fcn.0042fa8a
mov esi, eax
sub esi, ebx
add esp, 4
cmp esi, edi
jl 0x405464
cmp byte [esp + 0x13], 0
je 0x4054db
test edi, edi
jl 0x405e92
mov eax, dword [esp + 0x14]
cmp edi, dword [eax - 8]
jg 0x405e92
mov dword [eax - 0xc], edi
mov eax, dword [esp + 0x14]
mov byte [edi + eax], 0
lea ecx, [esp + 0x14]
push ecx
call fcn.004029b0
lea ecx, [esp + 0xa8]
call fcn.004127c8
mov byte [esp + 0x210], 1
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x405e9c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push ecx
mov byte [esp + 0x214], 2
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x44f100
lea ebx, [esp + 0xb0]
call fcn.00403af0
mov byte [esp + 0x214], 3
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov dword [esp + 0x24], esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x405579
cmp eax, dword [esi]
jne 0x405579
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4055ad
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x405ebf
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042f437
add esp, 0x10
mov edx, dword [esp + 0x24]
add edi, 0x10
mov dword [edx], edi
mov ecx, ebx
mov byte [esp + 0x218], 2
call fcn.004011c0
xor esi, esi
add esp, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], esi
test eax, eax
jle 0x4057d7
jmp 0x4055e4
mov esi, dword [esp + 0x1c]
push 0x44f100
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.00402ce0
add esp, 0xc
mov byte [esp + 0x210], 4
test esi, esi
jl 0x405ea6
cmp esi, dword [esp + 0xb0]
jge 0x405ea6
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x1c]
lea ecx, [edx + ecx*4]
push ecx
push eax
lea edx, [esp + 0xa8]
push edx
call fcn.00402c20
add esp, 0xc
mov byte [esp + 0x210], 5
mov eax, dword [eax]
mov ebx, dword [esp + 0x24]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4056e8
cmp dword [ebx + 0xc], 0
jl 0x4056da
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4056da
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x405684
cmp eax, dword [esi]
jne 0x405684
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4056b8
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x405ebf
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042f437
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4056d1
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [esp + 0x24], edi
jmp 0x4056e8
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004039e0
mov byte [esp + 0x210], 4
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405713
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 2
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40573e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
push ecx
call section..text
add esp, 4
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x21c], 6
call fcn.00402c20
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405799
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 2
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4057c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x4055e0
lea ecx, [esp + 0x78]
push ecx
call section..text
add esp, 4
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x21c], 7
call fcn.00402c20
add esp, 0xc
mov byte [esp + 0x210], 8
mov ecx, dword [esp + 0x20]
add ecx, 0xc
push ecx
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.00402ce0
add esp, 0xc
mov byte [esp + 0x210], 9
mov eax, dword [eax]
mov edi, dword [esp + 0x14]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x4058d4
cmp dword [edi + 0xc], 0
jl 0x4058c6
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x4058c6
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x405870
cmp eax, dword [esi]
jne 0x405870
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4058a4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x405ebf
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042f437
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4058bd
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4058d4
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004039e0
mov byte [esp + 0x210], 8
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4058ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 7
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40592a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 2
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405952
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0x10c
push eax
lea ecx, [esp + 0x1c]
call fcn.00403af0
mov byte [esp + 0x210], 0xa
mov edx, dword [esp + 0x18]
mov edi, dword [edx - 0xc]
xor esi, esi
mov byte [esp + 0x13], 0
mov ebx, edx
test edi, edi
jle 0x4059fb
jmp 0x405987
mov edx, dword [esp + 0x18]
cmp byte [esi + ebx], 0x5c
lea eax, [esi + ebx]
jne 0x4059c3
cmp byte [esp + 0x13], 0
jne 0x4059bd
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
mov byte [esp + 0x13], 1
jge 0x4059bb
push edi
lea ecx, [esp + 0x1c]
call fcn.00403910
mov edx, dword [esp + 0x18]
mov ebx, edx
lea eax, [esi + ebx]
mov byte [eax], 0x2a
push eax
call fcn.0042fa8a
mov esi, eax
sub esi, ebx
add esp, 4
cmp esi, edi
jl 0x405983
cmp byte [esp + 0x13], 0
je 0x4059fb
test edi, edi
jl 0x405e92
mov eax, dword [esp + 0x18]
cmp edi, dword [eax - 8]
jg 0x405e92
mov dword [eax - 0xc], edi
mov ecx, dword [esp + 0x18]
mov byte [edi + ecx], 0
lea edx, [esp + 0x18]
push edx
call fcn.004029b0
lea eax, [esp + 0x38]
push eax
call section..text
add esp, 4
push str._update
push eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x21c], 0xb
call fcn.00402ce0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x21c], 0xc
call fcn.00402c20
add esp, 0xc
mov ecx, dword [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x21c], 0xd
call fcn.00402ce0
add esp, 0xc
mov byte [esp + 0x210], 0xe
mov eax, dword [eax]
mov edi, dword [esp + 0x18]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x405b1d
cmp dword [edi + 0xc], 0
jl 0x405b0f
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x405b0f
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x405ab9
cmp eax, dword [esi]
jne 0x405ab9
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x405aed
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x405ebf
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042f437
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x405b06
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x405b1d
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004039e0
mov byte [esp + 0x210], 0xd
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 0xc
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 0xb
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 0xa
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405bc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
xor esi, esi
call fcn.00406220
mov eax, dword [eax]
push str..exe
push eax
call fcn.0042ff80
add esp, 8
test eax, eax
mov eax, dword [esp + 0x3c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405c0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x405c2e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00407cf0
mov esi, eax
push esi
call fcn.00407f50
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [esp + 0x18]
push edx
call edi
test esi, esi
jne 0x405c6d
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x30c], 0
je 0x405c8e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push 0
add ecx, 0x30d
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x405e9c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
inc eax
push eax
lea ecx, [esp + 0x24]
push 0x44f934
mov byte [esp + 0x218], 0xf
push ecx
mov dword [esp + 0x34], eax
call fcn.004032b0
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
mov edx, dword [0x461cc0]
add eax, 8
add esp, 0xc
mov dword [eax + 0xc], 0x10
mov dword [eax + 0x1a0], 5
mov dword [eax + 0x1e4], 1
mov esi, ebx
test ebx, ebx
jne 0x405d0d
mov esi, 0x44f2ab
lea edi, [eax + 0xa0]
mov cl, byte [esi]
mov byte [edi], cl
inc esi
inc edi
test cl, cl
jne 0x405d13
test edx, edx
jne 0x405d26
mov edx, 0x44f2ab
lea esi, [eax + 0x1a4]
lea esp, [esp]
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
test cl, cl
jne 0x405d30
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea eax, [ebx - 0x10]
mov byte [esp + 0x210], 0xa
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405d67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x210], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405db7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x210], 0
call fcn.004129a5
mov dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405df6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx + 0x21c]
cmp eax, dword [ecx + 0xe54]
mov dword [esp + 0x30], eax
jl 0x405410
lea edx, [esp + 0x3c]
push edx
call section..text
add esp, 4
push str._NetFig.dll
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x21c], 0x10
call fcn.00402ce0
add esp, 0xc
mov byte [esp + 0x210], 0x12
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x405eab
cmp eax, dword [esi]
jne 0x405eab
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x405ee0
push 0x80070057
call fcn.00403990
push 0x80004005
call fcn.00403990
call fcn.00412327
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x405ec4
call fcn.004038c0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042f437
add esp, 0x10
lea edx, [esp + 0xbc]
push edx
lea esi, [ebx + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4060b7
lea ecx, [esp + 0x40]
push ecx
call fcn.004013f0
mov byte [esp + 0x210], 0x13
test byte [esp + 0x68], 0x30
jne 0x405f64
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040dfe0
add esp, 0xc
test al, al
je 0x405f64
lea ebx, [esp + 0x40]
call fcn.0040f160
xor ebx, ebx
push ecx
mov eax, esp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
lea esi, [esp + 0x44]
mov dword [esp + 0x3c], esp
mov dword [eax], str.application
call fcn.0040e320
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x405fc2
cmp dword [esp + 0x5c], 1
jne 0x405fc2
mov eax, dword [esp + 0x50]
xor edx, edx
cmp eax, ebx
setne dl
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], edx
push ecx
mov eax, esp
lea esi, [esp + 0x44]
mov dword [esp + 0x3c], esp
mov dword [eax], str.version
call fcn.0040e320
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x461cc4]
push eax
mov edx, esi
call fcn.00410360
test byte [esp + 0x68], 0x30
jne 0x40600c
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
push eax
mov edi, esi
call fcn.0040e190
add esp, 0xc
xor ebx, ebx
mov byte [esp + 0x210], 0x12
mov edi, dword [esp + 0x70]
mov esi, edi
cmp edi, ebx
je 0x40602c
call fcn.0040d5e0
push esi
call fcn.00411b75
add esp, 4
mov edi, dword [esp + 0x74]
test edi, edi
je 0x406077
mov ecx, dword [edi + 4]
lea ebx, [edi + 4]
dec ecx
sar ecx, 0x10
inc ecx
xor esi, esi
test ecx, ecx
jle 0x40605f
mov edx, dword [edi]
mov eax, dword [edx + esi*4]
push eax
call fcn.00411b75
mov eax, dword [ebx]
dec eax
sar eax, 0x10
inc esi
inc eax
add esp, 4
cmp esi, eax
jl 0x406045
mov eax, dword [edi]
test eax, eax
je 0x40606e
push eax
call fcn.00411b75
add esp, 4
push edi
call fcn.00411b75
add esp, 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x34]
mov edi, 2
cmp dword [ebx + 0x214], edi
jae 0x4060ca
xor edi, edi
mov esi, dword [ebx + 0x200]
test esi, esi
je 0x4060ed
mov ecx, dword [esi + 4]
cmp dword [esi], edi
jne 0x4060df
push 5
jmp 0x4060e1
push 0
call fcn.004193ae
mov esi, dword [esi + 8]
test esi, esi
jne 0x4060d4
mov esi, dword [esp + 0x8c]
push 1
mov ecx, esi
mov dword [ebx + 0x218], edi
call fcn.004193f0
push 0x44f950
mov ecx, esi
call fcn.0041930c
mov ecx, dword [esp + 0x94]
push 1
call fcn.004193f0
cmp byte [0x461cbc], 1
jne 0x406136
mov ecx, dword [ebx - 0x54]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406161
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x208]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.0042f428
mov esp, ebp
pop ebp
ret