Function at 0x59fdf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x59fdf8
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x5a0273
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x5b2bb8]
mov eax, dword [eax]
call fcn.00409440
test al, al
jne 0x59fe38
mov eax, dword [0x5b2bb8]
mov eax, dword [eax]
call fcn.004fbc28
jmp 0x5a0258
mov eax, edi
call fcn.0059fd84
test al, al
je 0x59fff5
mov eax, dword [0x5b2840]
mov eax, dword [eax]
cmp byte [eax + 0x335], 0
je 0x59fe9e
mov eax, dword [0x5b2840]
mov eax, dword [eax]
cmp dword [eax + 0x33c], 0
je 0x59fe9e
mov eax, dword [0x5b2840]
mov eax, dword [eax]
mov eax, dword [eax + 0x33c]
cmp dword [eax + 0xc], 0
je 0x59fe9e
mov eax, dword [0x5b2840]
mov eax, dword [eax]
mov eax, dword [eax + 0x33c]
mov edx, dword [eax + 0xc]
mov eax, dword [0x5b2840]
mov eax, dword [eax]
call fcn.0052e204
test al, al
je 0x5a0258
lea eax, [ebp - 0x10]
call fcn.004fb67c
lea ecx, [ebp - 0xc]
mov edx, 0x5a028c
mov eax, dword [ebp - 0x10]
call fcn.00409780
mov eax, dword [ebp - 0x10]
call fcn.00409430
test al, al
jne 0x59feca
lea eax, [ebp - 0x10]
call fcn.00404434
mov eax, dword [0x5b2c40]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0049f3b0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0052db08
test al, al
jne 0x59fefc
mov eax, dword [0x5b2c40]
mov eax, dword [eax]
xor edx, edx
call fcn.0049f3b0
jmp 0x5a0258
mov eax, dword [0x5b2c40]
mov eax, dword [eax]
xor edx, edx
call fcn.0049f3b0
cmp dword [ebp - 0x10], 0
je 0x59ff45
mov eax, dword [ebp - 0x10]
call fcn.00409430
test al, al
je 0x59ff45
mov eax, dword [ebp - 0x10]
call fcn.004096c4
test al, al
jne 0x59ff45
push 0x10
mov ecx, 0x5a0290
mov edx, 0x5a0298
mov eax, dword [0x5b29d8]
mov eax, dword [eax]
call fcn.004a1678
jmp 0x5a0258
lea eax, [ebp - 0x14]
call fcn.004fb67c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004096dc
test al, al
jne 0x59ff98
push 0x10
push 0x5a02c8
push dword [ebp - 0xc]
push 0x5a02e8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004047b4
mov eax, dword [ebp - 0x18]
call fcn.004048f4
mov edx, eax
mov ecx, 0x5a0290
mov eax, dword [0x5b29d8]
mov eax, dword [eax]
call fcn.004a1678
jmp 0x5a0258
mov eax, dword [0x5b2abc]
mov eax, dword [eax + 0x3c]
call fcn.0040553c
mov esi, eax
dec esi
test esi, esi
jl 0x59ffe0
inc esi
xor ebx, ebx
mov eax, dword [0x5b2abc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x59ffcc
mov edx, dword [0x5b2abc]
call fcn.00403600
mov eax, dword [0x5b2abc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + ebx*4]
xor edx, edx
mov dword [eax + 0x10], edx
inc ebx
dec esi
jne 0x59ffaf
mov eax, dword [0x5b2840]
mov eax, dword [eax]
mov byte [eax + 0x335], 0
mov eax, edi
call fcn.005a0710
mov edx, dword [0x5b2bb8]
mov edx, dword [edx]
lea eax, [ebp - 0x20]
mov ecx, 0x5a02f4
call fcn.00404740
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004f9fe8
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x5b29b4]
mov edx, dword [edx]
call fcn.00404840
je 0x5a0099
push 0
mov edx, dword [0x5b2bb8]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x5a02f4
call fcn.00404740
mov eax, dword [ebp - 0x24]
call fcn.004048f4
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x5b29d8]
mov eax, dword [eax]
call fcn.004a1af8
mov eax, dword [ebp - 0x28]
call fcn.004048f4
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x5a0077
mov eax, 0x13ed
call fcn.004fb6c0
jmp 0x5a0258
mov edx, dword [0x5b2bb8]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x5a02f4
call fcn.00404740
mov eax, dword [ebp - 0x2c]
mov edx, 0x5a030c
call fcn.004fd284
mov edx, dword [0x5b2bb8]
mov edx, dword [edx]
lea eax, [ebp - 0x30]
mov ecx, 0x5a0324
call fcn.00404740
mov eax, dword [ebp - 0x30]
call fcn.00409430
test al, al
jne 0x5a0131
mov edx, dword [0x5b25b4]
mov edx, dword [edx]
lea eax, [ebp - 0x34]
mov ecx, 0x5a033c
call fcn.00404740
mov eax, dword [ebp - 0x34]
call fcn.00409430
test al, al
je 0x5a0131
push 0
mov edx, dword [0x5b2bb8]
mov edx, dword [edx]
lea eax, [ebp - 0x38]
mov ecx, 0x5a0324
call fcn.00404740
mov eax, dword [ebp - 0x38]
call fcn.004048f4
push eax
mov edx, dword [0x5b25b4]
mov edx, dword [edx]
lea eax, [ebp - 0x3c]
mov ecx, 0x5a033c
call fcn.00404740
mov eax, dword [ebp - 0x3c]
call fcn.004048f4
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x5a0131
mov eax, 0x13ee
call fcn.004fb6c0
jmp 0x5a0258
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5a01be
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5b2bb8]
mov edx, dword [edx]
lea eax, [ebp - 0x40]
mov ecx, 0x5a0354
call fcn.00404740
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x442d64]
call fcn.00442e14
mov dword [ebp - 8], eax
push 0x5a036c
mov ecx, 0x5a0380
mov edx, 0x5a0390
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
push 0x5a03a0
mov ecx, 0x5a03b4
mov edx, 0x5a0390
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x5b2abc]
mov eax, dword [eax + 0x24]
push eax
mov ecx, 0x5a03c4
mov edx, 0x5a0390
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a01ef
mov eax, dword [ebp - 8]
call fcn.00403600
mov edx, dword [0x5b25b4]
mov edx, dword [edx]
lea eax, [ebp - 0x44]
mov ecx, 0x5a03f4
call fcn.00404740
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x442d64]
call fcn.00442e14
mov dword [ebp - 8], eax
mov eax, dword [0x5b2bb8]
mov eax, dword [eax]
push eax
mov ecx, 0x5a040c
mov edx, 0x5a0420
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
call fcn.00403600
mov edx, dword [0x5b2bb8]
mov edx, dword [edx]
mov eax, dword [0x5b2abc]
mov eax, dword [eax]
call fcn.0056e88c
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a027a
lea eax, [ebp - 0x44]
mov edx, 0xf
call fcn.00404458
ret