Function at 0x54e170
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x54e178
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54e3d8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 4]
call fcn.00551680
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x54e1c2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov dword [ebp - 0x10], eax
jmp 0x54e1e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x194]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x54e3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x194]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
lea edx, [ebp - 0x28]
mov eax, dword [0x5ddc74]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d1a0
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x5ddfdc]
mov eax, dword [eax]
call fcn.0044d120
mov edx, dword [ebp - 0x2c]
mov eax, 0x54e3f0
pop ecx
call fcn.0048d140
call fcn.00464760
cmp al, 2
jne 0x54e3a8
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push 0
push 0
mov eax, dword [ebp - 8]
lea ecx, [eax + 4]
mov eax, dword [0x5ddc00]
mov eax, dword [eax]
mov edx, 0x42
call fcn.00558c90
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x94]
lea edx, [ebp - 0x34]
mov eax, dword [0x5dd9e4]
mov eax, dword [eax]
call fcn.00449e50
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0042bf70
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
add eax, 0x214
call fcn.004069d4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0042c140
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x214]
call fcn.00407404
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00407214
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407214
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x54e2fd
push 1
lea edx, [ebp - 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x214]
call fcn.00598110
mov eax, dword [ebp - 0x10]
add eax, 0x214
call fcn.00406610
jmp 0x54e3a8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0042bfd0
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 0x54e424
call fcn.00407404
push 0
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x21c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, 0x54e440
call fcn.00440ec0
mov dword [ebp - 0x14], eax
push 0x54e458
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.0041d200
push dword [ebp - 0x48]
push 0x54e4a4
push dword [ebp - 0x1c]
push 0x54e4cc
push dword [ebp - 0x18]
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.0040748c
mov edx, dword [ebp - 0x44]
mov eax, dword [0x5ddb4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f6a0
cmp dword [ebp - 0x14], 0
jne 0x54e3a0
mov dl, 4
mov eax, dword [ebp - 8]
call fcn.005a8390
mov eax, dword [ebp - 0x10]
call fcn.00534220
mov eax, dword [ebp - 0x10]
call fcn.005378f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e3df
lea eax, [ebp - 0x48]
mov edx, 8
call fcn.00406670
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00406670
lea eax, [ebp - 0xc]
call fcn.00406610
ret