Function at 0x40435b
Capabilities:
Copy file
Create process on windows

Disassembly:
push 0x1b4
mov eax, 0x4164e1
call fcn.00415d28
mov dword [ebp - 0x160], ecx
push 0xffffffffffffff9c
pop esi
lea ecx, [ebp - 0x40]
call fcn.00403e67
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
call fcn.00401788
test al, al
je 0x4046db
lea eax, [ebp - 0x40]
mov byte [ebp - 0x16c], 0
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.00403ff0
mov ecx, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
push 0
call fcn.00405d29
push eax
lea ecx, [ebp - 0x28]
call fcn.00404bea
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.004014a8
lea ecx, [ebp - 0xa0]
call fcn.00403f6b
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x4043ff
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40441c
xor edi, edi
jmp 0x40442b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00401020
mov edi, eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.004014a8
mov eax, edi
shr eax, 0x1f
xor al, 1
je 0x4046eb
lea eax, [ebp - 0x28]
mov byte [ebp - 0x15c], 0
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 6
call fcn.00404055
push eax
mov edx, str.___install
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.00405a69
pop ecx
mov edi, 0x41c0a4
mov byte [ebp - 4], 8
push edi
mov ecx, eax
call fcn.00401481
push eax
lea ecx, [ebp - 0x58]
call fcn.00404bea
lea ecx, [ebp - 0x88]
call fcn.004014a8
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xb
call fcn.004014a8
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x18]
cmp eax, 1
jb 0x404733
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push edi
push ecx
push dword [ebp - 0x158]
lea ecx, [ebp - 0xb8]
call fcn.00405ca2
push 0x41c7fc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
call fcn.00401481
push eax
lea ecx, [ebp - 0xa0]
call fcn.00404bea
push str.__nodrop
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.00401481
push eax
lea ecx, [ebp - 0x88]
call fcn.00404bea
push ecx
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x118]
call fcn.00405add
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00401522
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404bea
push 0x41c0a8
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x10
call fcn.00401481
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404bea
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x160]
call fcn.00401481
push eax
lea ecx, [ebp - 0x70]
call fcn.00404bea
lea ecx, [ebp - 0xd0]
call fcn.004014a8
lea ecx, [ebp - 0xe8]
call fcn.004014a8
lea ecx, [ebp - 0x118]
call fcn.004014a8
lea ecx, [ebp - 0x88]
call fcn.004014a8
lea ecx, [ebp - 0xa0]
call fcn.004014a8
lea ecx, [ebp - 0xb8]
call fcn.004014a8
push 0x40
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1c0], 0x44
push 0
push eax
call fcn.0040b590
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x17c]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
stosd dword es:[edi], eax
lea edx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 8
cmovae edx, dword [ebp - 0x70]
cmp dword [ebp - 0x14], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea edi, [ebp - 0x17c]
push edi
lea edi, [ebp - 0x1c0]
push edi
push ecx
xor ecx, ecx
push ecx
push 0x2000000
push ecx
push ecx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4046a8
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x178]
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x160], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0x154], 0
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
lea ecx, [ebp - 0x160]
sbb esi, esi
and esi, dword [ebp - 0x154]
call fcn.00401436
lea ecx, [ebp - 0x158]
call fcn.00401436
lea ecx, [ebp - 0x70]
call fcn.004014a8
lea ecx, [ebp - 0x58]
call fcn.004014a8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00401a32
lea ecx, [ebp - 0x28]
call fcn.004014a8
lea ecx, [ebp - 0x16c]
call fcn.0040474f
lea ecx, [ebp - 0x40]
call fcn.004014a8
mov eax, esi
call fcn.00415cd7
ret
mov edx, edi
lea ecx, [ebp - 0x158]
call fcn.00402226
push 0xaf
mov edx, eax
call fcn.00405a63
push eax
lea ecx, [ebp - 0x164]
call fcn.00402956
push edx
push ecx
lea ecx, [ebp - 0x150]
push dword [eax + 4]
push dword [eax]
call fcn.00405a13
push 0x41e5b0
lea eax, [ebp - 0x150]
push eax
call fcn.0040b347
call fcn.0040142b
int3