Function at 0x54dbe0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x54dbe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54de48
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.005510f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x54dc32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov dword [ebp - 0x10], eax
jmp 0x54dc53
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x194]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x54de18
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 [0x5dcc54]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0044d210
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x5dcfb4]
mov eax, dword [eax]
call fcn.0044d190
mov edx, dword [ebp - 0x2c]
mov eax, 0x54de60
pop ecx
call fcn.0048d0f0
call fcn.004646f0
cmp al, 2
jne 0x54de18
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 [0x5dcbe0]
mov eax, dword [eax]
mov edx, 0x42
call fcn.00558700
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x94]
lea edx, [ebp - 0x34]
mov eax, dword [0x5dc9c4]
mov eax, dword [eax]
call fcn.00449ec0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0042bfe0
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.0042c1b0
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 0x54dd6d
push 1
lea edx, [ebp - 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x214]
call fcn.00597ac0
mov eax, dword [ebp - 0x10]
add eax, 0x214
call fcn.00406610
jmp 0x54de18
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.0042c040
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 0x54de94
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, 0x54deb0
call fcn.00440f30
mov dword [ebp - 0x14], eax
push 0x54dec8
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.0041d270
push dword [ebp - 0x48]
push 0x54df14
push dword [ebp - 0x1c]
push 0x54df3c
push dword [ebp - 0x18]
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.0040748c
mov edx, dword [ebp - 0x44]
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0043f710
cmp dword [ebp - 0x14], 0
jne 0x54de10
mov dl, 4
mov eax, dword [ebp - 8]
call fcn.005a7d40
mov eax, dword [ebp - 0x10]
call fcn.00533c90
mov eax, dword [ebp - 0x10]
call fcn.00537360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54de4f
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