Function at 0x530f80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x530f88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5311ed
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.00530100
mov eax, dword [ebp - 4]
call fcn.00452b80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x530fda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov dword [ebp - 0x10], eax
jmp 0x530ffb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 8]
jne 0x5311bd
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 [0x58e5e8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00449380
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x58e8c8]
mov eax, dword [eax]
call fcn.00449300
mov edx, dword [ebp - 0x2c]
mov eax, 0x531204
pop ecx
call fcn.00577740
call fcn.00452910
cmp al, 2
jne 0x5311bd
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push 0
push 0
mov eax, dword [ebp - 8]
lea ecx, [eax + 4]
mov eax, dword [0x58e56c]
mov eax, dword [eax]
mov edx, 0x42
call fcn.00534c40
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x34]
mov eax, dword [0x58e3a4]
mov eax, dword [eax]
call fcn.00440230
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0042b6c0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
add eax, 0x1f4
call fcn.00406988
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0042b800
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1f4]
call fcn.00407408
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00407218
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407218
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x531112
push 1
lea edx, [ebp - 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1f4]
call fcn.0054cc50
mov eax, dword [ebp - 0x10]
add eax, 0x1f4
call fcn.004065c4
jmp 0x5311bd
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0042b710
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 0x531238
call fcn.00407408
push 0
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x1f8
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, 0x531254
call fcn.00437ce0
mov dword [ebp - 0x14], eax
push 0x53126c
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.0041d6c4
push dword [ebp - 0x48]
push 0x5312a8
push dword [ebp - 0x1c]
push 0x5312d0
push dword [ebp - 0x18]
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.00407490
mov edx, dword [ebp - 0x44]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00436260
cmp dword [ebp - 0x14], 0x20
jbe 0x5311b5
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1f0], 4
mov eax, dword [ebp - 0x10]
call fcn.0051d6c0
mov eax, dword [ebp - 0x10]
call fcn.00519b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5311f4
lea eax, [ebp - 0x48]
mov edx, 8
call fcn.00406624
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00406624
lea eax, [ebp - 0xc]
call fcn.004065c4
ret