Function at 0x402cb0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x483e76
mov eax, dword fs:[0]
push eax
sub esp, 0xc80
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0xc7c], eax
push ebx
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0xc90]
mov dword fs:[0], eax
xor eax, eax
push 0x3fe
mov edi, ecx
push eax
lea ecx, [esp + 0x896]
push ecx
mov word [esp + 0x898], ax
call fcn.00464a00
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x68e]
push eax
mov word [esp + 0x690], dx
call fcn.00464a00
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x76]
push edx
mov word [esp + 0x78], cx
call fcn.00464a00
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x27e]
push ecx
mov word [esp + 0x280], ax
call fcn.00464a00
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x486]
push eax
mov word [esp + 0x488], dx
call fcn.00464a00
add esp, 0xc
lea ecx, [esp + 0x684]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00461fa3
add esp, 4
call fcn.00461fb5
push eax
lea edx, [esp + 0x688]
push edx
lea eax, [esp + 0x74]
push str._sDesUpdate_d_
push eax
call fcn.00461fd7
add esp, 0x10
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401ed0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc9c], 0
call fcn.0043c410
mov dword [esp + 0xc9c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x200
lea ecx, [esp + 0x890]
push ecx
push 0
call ebx
push ecx
lea edx, [esp + 0x890]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00401ed0
lea esi, [esp + 0x14]
call fcn.0043d310
mov eax, dword [eax]
add esp, 4
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x27c]
push 0x48e3e8
push edx
call fcn.00461fd7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0xe0]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x14]
call fcn.0043d310
mov ecx, dword [eax]
add esp, 4
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x484]
push 0x48e3e8
push eax
call fcn.00461fd7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ef4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x200
lea ecx, [esp + 0x890]
push ecx
push 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea edx, [esp + 0x278]
push edx
lea eax, [esp + 0x894]
push eax
call esi
test eax, eax
je 0x403073
mov eax, dword [edi + 0xe0]
push 0
lea ecx, [esp + 0x480]
push ecx
push eax
call esi
test eax, eax
je 0x403073
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402f5c
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
push 0x40
push eax
lea ecx, [esp + 0x30]
mov edi, 1
mov dword [esp + 0xca0], edi
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00464a00
add esp, 0xc
cmp dword [0x4a9948], 0
mov dword [esp + 0x24], 0x44
mov eax, 0x48e1b4
jne 0x402fb9
mov eax, 0x48e50c
push eax
push 0x48e184
lea edx, [esp + 0x484]
push edx
push 0x48e1a4
lea eax, [esp + 0x20]
push str._s___s___s__s
push eax
call fcn.00403800
mov esi, dword [esp + 0x28]
add esp, 0x18
cmp dword [esi - 4], edi
jle 0x402ff8
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401c30
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x68c]
push ecx
push 0
push 0
push edi
push 0
push 0
push esi
lea edx, [esp + 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x403036
lea edi, [esp + 0x274]
call fcn.004281c0
jmp 0x40304a
push 0x10
push 0x48e338
push 0x48e410
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov dword [esp + 0xc98], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40309c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40309c
cmp dword [edi + 0xd0], 0
jne 0x403090
push 0x10
push 0x48e338
push 0x48e384
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [edi + 0xe8], 1
xor ebx, ebx
mov eax, ebx
mov ecx, dword [esp + 0xc90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc7c]
xor ecx, esp
call fcn.00461706
add esp, 0xc8c
ret