Function at 0x429870
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5715c1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5bda40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
push 0x26
lea eax, [ebp - 0x14]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 4], 0
push 0x59c9f4
lea ecx, [ebp - 0x14]
call fcn.00407000
lea ecx, [ebp - 0x14]
call fcn.004072e0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00407240
mov dword [ebp - 0x50], eax
call fcn.00403680
add esp, 4
mov ecx, dword [ebp - 0x4c]
call fcn.00421800
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x429a93
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.004216a0
mov byte [ebp - 4], 1
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406c40
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
or edx, 1
mov dword [ebp - 0x48], edx
push 0x2f
mov eax, dword [ebp - 0x58]
push eax
call fcn.0042bed0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x429978
push 1
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x18]
call fcn.00406c40
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
or eax, 2
mov dword [ebp - 0x48], eax
push 0x5c
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0042bed0
add esp, 8
movzx edx, al
test edx, edx
je 0x429978
mov dword [ebp - 0x60], 1
jmp 0x42997f
mov dword [ebp - 0x60], 0
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x2d], al
mov ecx, dword [ebp - 0x48]
and ecx, 2
je 0x429999
and dword [ebp - 0x48], 0xfffffffd
lea ecx, [ebp - 0x38]
call fcn.004072c0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x48]
and edx, 1
je 0x4299b4
and dword [ebp - 0x48], 0xfffffffe
lea ecx, [ebp - 0x34]
call fcn.004072c0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x4299c9
push 0x59ca04
lea ecx, [ebp - 0x18]
call fcn.00407000
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004068e0
mov byte [ebp - 4], 3
push 0x59ca08
lea ecx, [ebp - 0x1c]
call fcn.00407000
push str.GeHp.exe
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00406e40
add esp, 0xc
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004068e0
mov dword [ebp - 0x64], eax
call fcn.00421060
add esp, 4
mov byte [ebp - 0x65], al
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x429a3e
push 1
lea ecx, [ebp - 0x20]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov edx, dword [ebp - 0x48]
or edx, 4
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x429b70
push str.helper.exe
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00406e40
add esp, 0xc
mov byte [ebp - 4], 5
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.00421880
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.004070f0
movzx eax, al
test eax, eax
jne 0x429b07
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004068e0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x24]
push edx
call fcn.004068e0
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 6
call fcn.004fb080
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov ecx, dword [ebp - 0x48]
or ecx, 4
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x429b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4