Function at 0x54ed70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x54ed78
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54efd8
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.00552470
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x54edc2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov dword [ebp - 0x10], eax
jmp 0x54ede3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x54efa8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
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 [0x5dfb74]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044cda0
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x5dfedc]
mov eax, dword [eax]
call fcn.0044cd20
mov edx, dword [ebp - 0x2c]
mov eax, 0x54eff0
pop ecx
call fcn.0048cf90
call fcn.00464460
cmp al, 2
jne 0x54efa8
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 [0x5dfafc]
mov eax, dword [eax]
mov edx, 0x42
call fcn.0055a0e0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x94]
lea edx, [ebp - 0x34]
mov eax, dword [0x5df8e4]
mov eax, dword [eax]
call fcn.00449a30
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0042bf40
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.0042c110
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 0x54eefd
push 1
lea edx, [ebp - 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x214]
call fcn.00599a20
mov eax, dword [ebp - 0x10]
add eax, 0x214
call fcn.00406610
jmp 0x54efa8
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.0042bfa0
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 0x54f024
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, 0x54f040
call fcn.00440b00
mov dword [ebp - 0x14], eax
push 0x54f058
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.0041d1e0
push dword [ebp - 0x48]
push 0x54f0a4
push dword [ebp - 0x1c]
push 0x54f0cc
push dword [ebp - 0x18]
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.0040748c
mov edx, dword [ebp - 0x44]
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f2d0
cmp dword [ebp - 0x14], 0
jne 0x54efa0
mov dl, 4
mov eax, dword [ebp - 8]
call fcn.005a9d30
mov eax, dword [ebp - 0x10]
call fcn.00534db0
mov eax, dword [ebp - 0x10]
call fcn.005384c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54efdf
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