Function at 0x406580
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574268
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
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 - 4], 1
push 0x26
lea eax, [ebp - 0x24]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 2
push 0x5a12d8
mov edx, dword [ebp - 0x54]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00406e40
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004072c0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x10]
push edx
call fcn.004068e0
mov dword [ebp - 0x58], eax
call fcn.0050ba00
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4067eb
lea esi, [ebp - 0x14]
call fcn.004fac20
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00406830
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5a1318
call fcn.00406900
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.004068e0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x10]
push edx
call fcn.004068e0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x5a131c
call fcn.00406900
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
call fcn.00405940
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.004070f0
movzx edx, al
test edx, edx
jne 0x4067c7
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x18]
push eax
call fcn.004068e0
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00403700
add esp, 8
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0xd
push 0x5a1320
lea ecx, [ebp - 0x14]
call fcn.00407000
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407030
push 1
lea ecx, [ebp - 0x14]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x18]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov byte [ebp - 0x45], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call fcn.004072c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004072c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov al, byte [ebp - 0x45]
jmp 0x406819
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004072c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov byte [ebp - 0x46], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov al, byte [ebp - 0x46]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc