Function at 0x49754c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x497554
push ebx
push esi
push edi
mov eax, dword [0x49ca2c]
mov byte [eax], 1
mov eax, 0x496e54
call fcn.00406f44
xor eax, eax
push ebp
push 0x497b3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x497b4c
mov cl, 1
mov eax, 0x497b74
call fcn.0040ed2c
test al, al
je 0x4975b1
lea ecx, [ebp - 0x14]
mov edx, 0x497b74
mov eax, dword [0x426308]
call fcn.0042636c
mov eax, dword [ebp - 0x14]
call fcn.00409268
mov ebx, eax
jmp 0x4975b3
xor ebx, ebx
push 0x497b88
lea edx, [ebp - 0x1c]
movzx eax, bx
call fcn.0040912c
push dword [ebp - 0x1c]
push 0x497b9c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404e3c
mov ecx, dword [ebp - 0x18]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496c54
movzx eax, bx
imul eax, eax, 0x3e8
push eax
call sub.kernel32.dll_Sleep
mov edx, 0x49e11c
mov eax, 1
call fcn.00402f68
mov edx, 0x49e120
mov eax, 2
call fcn.00402f68
mov eax, dword [0x49e11c]
call fcn.00409634
test al, al
jne 0x49768b
push 0x497bb0
push dword [0x49e11c]
push 0x497bc4
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404e3c
mov ecx, dword [ebp - 0x20]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496d00
push 0x497bb0
push dword [0x49e11c]
push 0x497bc4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404e3c
mov edx, dword [ebp - 0x24]
mov eax, dword [0x49c608]
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
call fcn.00404940
mov eax, dword [0x49e120]
call fcn.00409634
test al, al
jne 0x49772c
mov eax, dword [0x49e120]
call fcn.00409668
test al, al
jne 0x4976fe
lea eax, [ebp - 0x28]
mov ecx, dword [0x49e120]
mov edx, 0x497bd8
call fcn.00404dc8
mov ecx, dword [ebp - 0x28]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496d00
lea eax, [ebp - 0x2c]
mov ecx, dword [0x49e120]
mov edx, 0x497bd8
call fcn.00404dc8
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x49c608]
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
call fcn.00404940
lea edx, [ebp - 0x30]
mov eax, dword [0x49e11c]
call fcn.0040980c
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [0x49e120]
call fcn.0040e418
mov edx, dword [ebp - 0x34]
mov eax, 0x49e124
pop ecx
call fcn.00404dc8
jmp 0x49773c
mov eax, 0x49e124
mov edx, dword [0x49e120]
call fcn.00404b10
push 1
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [0x49e124]
xor edx, edx
mov eax, dword [0x4257c4]
call fcn.00425a64
mov edx, dword [ebp - 0x38]
mov eax, 0x49e128
call fcn.00404b10
jmp 0x497848
mov edx, dword [0x49e128]
mov eax, dword [0x4257c4]
call fcn.00425f24
test al, al
je 0x497823
mov eax, dword [0x49e114]
call fcn.00405d6c
inc eax
push eax
mov eax, 0x49e114
mov ecx, 1
mov edx, dword [0x496df4]
call fcn.00405f48
add esp, 4
mov eax, dword [0x49e114]
call fcn.00405d6c
mov edx, dword [0x49e114]
lea eax, [edx + eax*4 - 4]
mov edx, dword [0x49e128]
call fcn.00404b10
push 0x497c00
push dword [0x49e128]
push 0x497c14
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404e3c
mov ecx, dword [ebp - 0x3c]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496c54
push 0x497c00
push dword [0x49e128]
push 0x497c14
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404e3c
mov edx, dword [ebp - 0x40]
mov eax, dword [0x49c608]
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
push 1
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [0x49e124]
xor edx, edx
mov eax, dword [0x4257c4]
call fcn.00425a64
mov edx, dword [ebp - 0x44]
mov eax, 0x49e128
call fcn.00404b10
cmp dword [0x49e128], 0
jne 0x497766
lea ecx, [ebp - 0x48]
mov edx, dword [0x49e124]
mov eax, dword [0x4257c4]
call fcn.00426068
mov edx, dword [ebp - 0x48]
mov eax, 0x49e118
mov ecx, dword [0x425788]
call fcn.004060b0
mov eax, dword [0x49e118]
call fcn.00405d6c
test eax, eax
jle 0x49793b
mov eax, dword [0x49e118]
call fcn.00405d6c
mov ebx, eax
test bx, bx
jb 0x49793b
inc ebx
mov edx, dword [0x49e124]
mov eax, dword [0x4257c4]
call fcn.00425824
dec eax
jne 0x4978f5
lea eax, [ebp - 0x4c]
mov ecx, dword [0x49e124]
mov edx, 0x497c24
call fcn.00404dc8
mov ecx, dword [ebp - 0x4c]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496c54
mov eax, dword [0x49c608]
mov edx, 0x497c40
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
jmp 0x497932
lea eax, [ebp - 0x50]
mov ecx, dword [0x49e124]
mov edx, 0x497c5c
call fcn.00404dc8
mov ecx, dword [ebp - 0x50]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496ca8
mov eax, dword [0x49c608]
mov edx, 0x497c7c
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
dec bx
jne 0x4978a3
push 0x64
call sub.kernel32.dll_Sleep
push 0x497c9c
push dword [0x49e11c]
push 0x497cb0
push dword [0x49e124]
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.00404e3c
mov edx, dword [ebp - 0x54]
mov eax, dword [0x49c608]
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
push 0
mov eax, dword [0x49e124]
call fcn.00404f7c
push eax
mov eax, dword [0x49e11c]
call fcn.00404f7c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4979b8
mov eax, dword [0x49c608]
mov edx, 0x497cbc
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
jmp 0x4979d1
mov eax, dword [0x49c608]
mov edx, 0x497cbc
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
mov eax, dword [0x49e114]
call fcn.00405d6c
test eax, eax
jle 0x497a9e
mov eax, dword [0x49c608]
mov edx, 0x497cd4
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
mov eax, dword [0x49e114]
call fcn.00405d6c
mov ebx, eax
dec ebx
test bx, bx
jb 0x497a9e
inc ebx
xor esi, esi
movzx edi, si
mov eax, dword [0x49e114]
mov edx, dword [eax + edi*4]
mov eax, dword [0x4257c4]
call fcn.00425de0
test al, al
je 0x497a94
push 0x497c00
mov eax, dword [0x49e114]
push dword [eax + edi*4]
push 0x497cfc
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404e3c
mov edx, dword [ebp - 0x58]
mov eax, dword [0x49c608]
call fcn.00405198
call fcn.00403774
call fcn.00402cc8
push 0x497c00
mov eax, dword [0x49e114]
push dword [eax + edi*4]
push 0x497cfc
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404e3c
mov ecx, dword [ebp - 0x5c]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496c54
inc esi
dec bx
jne 0x497a15
mov edx, 0x497b4c
mov cl, 1
mov eax, 0x497d10
call fcn.0040ed2c
test al, al
je 0x497b05
lea edx, [ebp - 0x64]
mov eax, dword [0x49e11c]
call fcn.0040980c
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x497d28
call fcn.00404dc8
mov ecx, dword [ebp - 0x60]
mov dx, 4
mov eax, dword [0x496a50]
call fcn.00496c54
push 0
push 0
lea edx, [ebp - 0x68]
mov eax, dword [0x49e11c]
call fcn.0040980c
mov edx, dword [ebp - 0x68]
mov ecx, dword [0x49e120]
mov eax, dword [0x472998]
call fcn.004729f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497b42
lea eax, [ebp - 0x68]
mov edx, 8
call fcn.00404ae0
lea eax, [ebp - 0x48]
mov edx, dword [0x425788]
call fcn.00406074
lea eax, [ebp - 0x44]
mov edx, 0xd
call fcn.00404ae0
ret