Function at 0x53d734
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x53d73c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404848
xor eax, eax
push ebp
push 0x53dd09
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418180]
call fcn.004035d8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53dcb5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
call fcn.00478750
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040d780
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
mov ecx, 0x53dd20
call fcn.004046a4
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x330]
call fcn.0040d7c0
mov al, byte [0x53dd2c]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x53dd38
mov edx, 0x53dd44
mov eax, dword [ebp - 4]
call fcn.0040df9c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x53dc8e
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
call fcn.00408bc8
inc dword [ebp - 0xc]
cmp dword [ebp - 0x14], 0
je 0x53dc8e
mov edx, dword [ebp - 0x14]
mov eax, 0x53dd50
call fcn.0040499c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x53d86f
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebp - 0x10]
add edx, 3
mov ecx, 0x309
mov eax, dword [ebp - 0x14]
call fcn.004048b8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
call fcn.00408bc8
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004048b8
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408bc8
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x14]
call fcn.00404430
jmp 0x53d877
lea eax, [ebp - 0x18]
call fcn.00404398
cmp dword [ebp - 0x18], 0
jne 0x53d8b3
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x53dd5c
call fcn.00409ffc
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x407cac]
call fcn.0040ca98
call fcn.00403dd4
jmp 0x53dc8e
mov byte [ebp - 0x26], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
cmp byte [eax + 0x35a], 0
je 0x53d8db
mov edx, 0x53dd80
mov eax, dword [ebp - 0x18]
call fcn.004337e8
test al, al
je 0x53d8db
mov byte [ebp - 0x26], 1
mov eax, dword [ebp + 8]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0053a098
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x18]
call fcn.00404430
cmp byte [ebp - 0x26], 0
je 0x53d962
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 1
mov eax, 0x53dd94
call fcn.00409ffc
mov eax, dword [ebp - 0x5c]
mov edx, 0x53dddc
call fcn.00539da0
pop ecx
push dword [ebp - 0x14]
push 0x53dd50
push dword [ebp - 0x18]
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00404718
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.004092e8
test al, al
je 0x53db53
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 1
mov eax, 0x53ddec
call fcn.00409ffc
mov eax, dword [ebp - 0x74]
mov edx, 0x53dddc
call fcn.00539da0
pop ecx
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x14]
call fcn.00409794
mov eax, dword [ebp - 0x78]
push eax
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x18]
call fcn.0040d780
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x1c]
pop ecx
call fcn.004046a4
xor eax, eax
push ebp
push 0x53d9ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x1c]
call fcn.004096cc
mov eax, dword [ebp - 0x80]
call fcn.0040931c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53da51
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0x26], 0
je 0x53da69
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x5480c4]
mov eax, dword [eax]
call eax
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.00409440
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404858
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404858
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x1c]
call fcn.004092e8
mov byte [ebp - 0x28], al
cmp byte [ebp - 0x26], 0
je 0x53dab3
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [0x5482b0]
mov eax, dword [eax]
call eax
cmp byte [ebp - 0x27], 0
jne 0x53db0f
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x28], 0
je 0x53dac7
mov byte [ebp - 0x25], 1
cmp byte [ebp - 0x25], 0
jne 0x53db0f
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 1
mov eax, 0x53de2c
call fcn.00409ffc
mov eax, dword [ebp - 0x8c]
mov edx, 0x53dddc
call fcn.00539da0
pop ecx
cmp byte [ebp - 0x28], 0
jne 0x53dc8e
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x53de50
call fcn.00409ffc
mov eax, dword [ebp - 0x90]
mov edx, 0x53dddc
call fcn.00539da0
pop ecx
jmp 0x53dc8e
mov eax, dword [ebp - 0x14]
call fcn.004092f8
test al, al
je 0x53dc59
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 1
mov eax, 0x53de68
call fcn.00409ffc
mov eax, dword [ebp - 0x94]
mov edx, 0x53dddc
call fcn.00539da0
pop ecx
xor eax, eax
push ebp
push 0x53dbc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.0040931c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53dc06
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0047e2c4
test al, al
jne 0x53dc8e
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 1
mov eax, 0x53de94
call fcn.00409ffc
mov eax, dword [ebp - 0x9c]
mov edx, 0x53dddc
call fcn.00539da0
pop ecx
jmp 0x53dc8e
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x53dec0
call fcn.00409ffc
mov eax, dword [ebp - 0xa0]
mov edx, 0x53dddc
call fcn.00539da0
pop ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0xc]
jg 0x53d7e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53dcbc
mov eax, dword [ebp - 8]
call fcn.00403608
ret