Function at 0x5bba88
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x88], eax
xor eax, eax
push ebp
push 0x5bbd58
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x44]
mov eax, dword [0x6719c8]
mov eax, dword [eax]
call fcn.006521b4
xor al, 1
mov byte [ebp - 0x95], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
cmp byte [eax + 0x14e], 0
jne 0x5bbaf4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
mov dl, 1
call fcn.00565e14
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
call fcn.005c004c
xor eax, eax
mov dword [ebp - 0x90], eax
call fcn.00651de8
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x94], eax
xor eax, eax
push ebp
push 0x5bbcee
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.005b7c20
pop ecx
mov eax, dword [0x6730b4]
test byte [eax + 1], 0x20
jne 0x5bbb46
push ebp
mov eax, 0x5bbd70
call fcn.005b6d20
pop ecx
push ebp
mov eax, 0x5bbd8c
call fcn.005b6d20
pop ecx
push ebp
call fcn.005b8034
pop ecx
push ebp
mov eax, 0x5bbda0
call fcn.005b6d20
pop ecx
mov esi, dword [0x67230c]
mov esi, dword [esi + 4]
cmp esi, 0x80000000
je 0x5bbbab
push ebp
lea edx, [ebp - 0xa0]
mov eax, dword [0x67230c]
mov eax, esi
call fcn.004c2a64
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x5bbdb0
call fcn.00403568
mov eax, dword [ebp - 0x9c]
call fcn.005b6d20
pop ecx
mov eax, dword [0x67230c]
cmp dword [eax + 8], 0
je 0x5bbc84
mov eax, dword [0x67230c]
mov eax, dword [eax + 8]
call fcn.006584d0
test al, al
je 0x5bbc84
lea edx, [ebp - 0xa4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
mov eax, dword [eax + 0x160]
call fcn.0065885c
lea eax, [ebp - 0xa4]
mov edx, dword [0x673330]
mov edx, dword [edx]
call fcn.00403ac4
mov eax, dword [ebp - 0xa4]
call fcn.00624f1c
push 0
lea edx, [ebp - 0xa4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
mov eax, dword [eax + 0x160]
call fcn.0065885c
lea eax, [ebp - 0xa4]
mov edx, dword [0x67248c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx]
call fcn.00403ac4
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [0x67230c]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_CopyFileW
push ebp
lea edx, [ebp - 0xa4]
mov eax, dword [0x67248c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
call fcn.005b6f04
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x9c]
mov eax, 0x5bbdbc
call fcn.00659210
mov eax, dword [ebp - 0x9c]
call fcn.005b6d20
pop ecx
push ebp
mov eax, 0x5bbdd8
call fcn.005b6d20
pop ecx
mov eax, dword [0x6730b4]
test byte [eax + 1], 0x20
je 0x5bbca7
push ebp
mov eax, 0x5bbde4
call fcn.005b6d20
pop ecx
push ebp
call fcn.005bb984
pop ecx
mov eax, dword [0x6730b4]
test byte [eax + 1], 0x20
je 0x5bbcc5
push ebp
mov eax, 0x5bbe08
call fcn.005b6d20
pop ecx
push ebp
mov eax, 0x5bbe28
call fcn.005b6d20
pop ecx
mov eax, dword [ebp + 8]
cmp byte [eax - 0x38], 0
jne 0x5bbce4
mov eax, dword [ebp + 8]
push eax
call fcn.0059efb4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bbcfa
mov eax, dword [ebp - 0x8c]
call fcn.00652324
mov eax, dword [ebp - 0x8c]
call fcn.00652408
mov dl, byte [ebp - 0x95]
xor dl, 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x44]
call fcn.00565e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bbd5f
lea eax, [ebp - 0xa4]
call fcn.00403880
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.00403298
lea eax, [ebp - 0x88]
call fcn.00403274
ret