Function at 0x53bd0c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
lea eax, [ebp - 0x4c]
mov edx, dword [0x4a5c3c]
call fcn.00405a70
xor eax, eax
push ebp
push 0x53bf60
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.0053b544
movzx edx, word [ebp - 0x30]
mov eax, ebx
call fcn.00539b64
test al, al
jne 0x53bdac
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x39c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x53bf74
call fcn.0040ac08
push 0x40
push 0x53bfac
mov eax, dword [ebp - 0x14]
call fcn.00405270
push eax
mov eax, ebx
call fcn.004573b4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x53bf2a
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
call fcn.00409cb8
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x10]
mov eax, ebx
call fcn.0053bba0
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x39c]
call fcn.00404e78
push dword [ebp - 0x10]
push 0x53bfbc
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0040a380
push dword [ebp - 0x5c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405174
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x4c]
call fcn.00404e78
mov eax, dword [ebp - 0xc]
call fcn.0040a1c4
test al, al
je 0x53be5a
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call fcn.0040a380
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x53bfc8
call fcn.0040ac08
push 0x24
push 0x53bfac
mov eax, dword [ebp - 0x14]
call fcn.00405270
push eax
mov eax, ebx
call fcn.004573b4
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
je 0x53bf2a
fld dword [ebx + 0x3a0]
fcomp dword [0x53bfec]
wait
fnstsw ax
sahf
jb 0x53be99
fld dword [ebx + 0x3a0]
fcomp dword [0x53bff0]
wait
fnstsw ax
sahf
ja 0x53be99
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405270
push eax
mov eax, dword [ebp - 4]
call fcn.00405270
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x53beca
fld dword [ebx + 0x3a0]
fcomp dword [0x53bff4]
wait
fnstsw ax
sahf
jb 0x53beca
fld dword [ebx + 0x3a0]
fcomp dword [0x53bff8]
wait
fnstsw ax
sahf
jae 0x53beca
mov edx, dword [ebp - 0xc]
mov eax, dword [0x56db18]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea ecx, [ebp - 0x18]
mov edx, 0x53c004
mov eax, ebx
call fcn.00539dd4
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00539738
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00538f60
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00538e90
push 0x40
push 0x53bfac
push 0x53c014
mov eax, ebx
call fcn.004573b4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53bf67
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00404e04
lea eax, [ebp - 0x4c]
mov edx, dword [0x4a5c3c]
call fcn.00405b40
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404e04
ret