Function at 0x4d2ce4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x4d2cec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046b8
xor eax, eax
push ebp
push 0x4d339a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040a784
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x10]
mov eax, 0x4d33b0
call fcn.0040b400
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4d33c8
call fcn.00409ae8
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.004044c8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404728
mov eax, dword [ebp - 0x20]
mov edx, 0x4d33d8
call fcn.00404614
jne 0x4d2d86
mov eax, dword [ebp - 4]
call fcn.004044c8
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404768
mov eax, dword [ebp - 4]
call fcn.00409010
test al, al
je 0x4d336f
push dword [ebp - 4]
push 0x4d33d8
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x24]
call fcn.00409010
test al, al
jne 0x4d2dda
push dword [ebp - 4]
push 0x4d33d8
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x28]
call fcn.004093d8
push dword [ebp - 4]
push 0x4d33d8
push dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404588
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404728
mov eax, dword [ebp - 0x2c]
mov edx, 0x4d33d8
call fcn.00404614
jne 0x4d2e33
mov eax, dword [ebp - 8]
call fcn.004044c8
mov edx, eax
lea eax, [ebp - 8]
mov ecx, 1
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 0x4d33d8
call fcn.004044d0
lea eax, [ebp - 0x30]
mov ecx, 0x4d33e4
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x30]
call fcn.00409000
test al, al
je 0x4d2e9f
push 0
push dword [ebp - 8]
push 0x4d33f4
push 0x4d33e4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x34]
call fcn.004046c8
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x4d33e4
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x38]
call fcn.004046c8
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x3c]
mov ecx, 0x4d3404
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x3c]
call fcn.00409000
test al, al
je 0x4d2efe
push 0
push dword [ebp - 8]
push 0x4d33f4
push 0x4d3404
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x40]
call fcn.004046c8
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x4d3404
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x44]
call fcn.004046c8
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x48]
mov ecx, 0x4d3410
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x48]
call fcn.00409000
test al, al
je 0x4d2f5d
push 0
push dword [ebp - 8]
push 0x4d33f4
push 0x4d3410
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x4c]
call fcn.004046c8
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x4d3410
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x50]
call fcn.004046c8
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x54]
mov ecx, 0x4d3424
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x54]
call fcn.00409000
test al, al
je 0x4d2fbc
push 0
push dword [ebp - 8]
push 0x4d33f4
push 0x4d3424
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x58]
call fcn.004046c8
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x4d3424
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x5c]
call fcn.004046c8
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x60]
mov ecx, 0x4d3438
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x60]
call fcn.00409000
test al, al
je 0x4d301b
push 0
push dword [ebp - 8]
push 0x4d33f4
push 0x4d3438
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x64]
call fcn.004046c8
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x4d3438
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x68]
call fcn.004046c8
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x6c]
mov ecx, 0x4d3448
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x6c]
call fcn.00409000
test al, al
je 0x4d307a
push 0
push dword [ebp - 8]
push 0x4d33f4
push 0x4d3448
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00404588
mov eax, dword [ebp - 0x70]
call fcn.004046c8
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x4d3448
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x74]
call fcn.004046c8
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0xc]
call fcn.004e712c
mov eax, dword [ebp - 0xc]
mov edx, 0x4d345c
call fcn.00404614
je 0x4d336f
mov eax, dword [ebp - 0xc]
mov edx, 0x4d346c
call fcn.00404614
je 0x4d336f
mov eax, dword [ebp - 0xc]
mov edx, 0x4d347c
call fcn.00404614
je 0x4d336f
mov eax, dword [ebp - 0xc]
mov edx, 0x4d348c
call fcn.00404614
je 0x4d336f
xor eax, eax
push ebp
push 0x4d30fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x78]
mov ecx, 0x4d33e4
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x78]
call fcn.00409150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d3108
lea eax, [ebp - 0x7c]
mov edx, 0x4d3494
call fcn.00404400
mov eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x4d33e4
mov edx, dword [ebp - 8]
call fcn.00404514
mov ecx, dword [ebp - 0x80]
mov eax, 3
pop edx
call fcn.004d2aec
xor eax, eax
push ebp
push 0x4d316d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x84]
mov ecx, 0x4d3404
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x84]
call fcn.00409150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d3177
lea eax, [ebp - 0x88]
mov edx, 0x4d34a0
call fcn.00404400
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
mov ecx, 0x4d3404
mov edx, dword [ebp - 8]
call fcn.00404514
mov ecx, dword [ebp - 0x8c]
mov eax, 2
pop edx
call fcn.004d2aec
xor eax, eax
push ebp
push 0x4d31e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x90]
mov ecx, 0x4d3410
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x90]
call fcn.00409150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d31f2
lea eax, [ebp - 0x94]
mov edx, 0x4d34a4
call fcn.00404400
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
mov ecx, 0x4d3410
mov edx, dword [ebp - 8]
call fcn.00404514
mov ecx, dword [ebp - 0x98]
mov eax, 2
pop edx
call fcn.004d2aec
xor eax, eax
push ebp
push 0x4d3263
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x9c]
mov ecx, 0x4d3424
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0x9c]
call fcn.00409150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d326d
lea eax, [ebp - 0xa0]
mov edx, 0x4d34b0
call fcn.00404400
mov eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
mov ecx, 0x4d3424
mov edx, dword [ebp - 8]
call fcn.00404514
mov ecx, dword [ebp - 0xa4]
mov eax, 2
pop edx
call fcn.004d2aec
xor eax, eax
push ebp
push 0x4d32de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xa8]
mov ecx, 0x4d3438
mov edx, dword [ebp - 8]
call fcn.00404514
mov eax, dword [ebp - 0xa8]
call fcn.00409150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d32e8
lea eax, [ebp - 0xac]
mov edx, 0x4d34bc
call fcn.00404400
mov eax, dword [ebp - 0xac]
push eax
lea eax, [ebp - 0xb0]
mov ecx, 0x4d3438
mov edx, dword [ebp - 8]
call fcn.00404514
mov ecx, dword [ebp - 0xb0]
mov eax, 2
pop edx
call fcn.004d2aec
call fcn.00497e14
test al, al
je 0x4d3367
lea eax, [ebp - 0xb4]
mov edx, 0x4d34c4
call fcn.00404400
mov eax, dword [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb8]
mov ecx, 0x4d3448
mov edx, dword [ebp - 8]
call fcn.00404514
mov ecx, dword [ebp - 0xb8]
mov eax, 2
pop edx
call fcn.004d2aec
mov eax, dword [ebp - 4]
call fcn.004d17e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d33a1
lea eax, [ebp - 0xb8]
mov edx, 0x27
call fcn.0040422c
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040422c
ret