Function at 0x4cbab8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x4cbac0
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00405048
lea eax, [ebp - 0x170]
mov edx, dword [0x4099b8]
call fcn.004055d4
xor eax, eax
push ebp
push 0x4cbe4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0xc]
call fcn.0040fcc4
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x10]
mov ecx, 0x4cbe64
call fcn.00404ea4
mov eax, dword [ebp - 0x10]
call fcn.0040b240
test al, al
je 0x4cbb31
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040b3b4
mov eax, dword [ebp - 0x10]
call fcn.0040b4f0
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.0040fcc4
lea eax, [ebp - 0x178]
mov edx, 0x4cbe78
call fcn.00404e60
mov ecx, dword [ebp - 0x178]
mov dl, 1
mov eax, dword [0x430154]
call fcn.00430204
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x430154]
call fcn.00430204
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cbdf1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0xc]
call fcn.0040fcc4
lea eax, [ebp - 0x17c]
mov edx, 0x4cbe8c
call fcn.00404e60
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.0040b460
test eax, eax
jne 0x4cbdd3
mov eax, dword [ebp - 0x168]
and eax, 0x10
cmp eax, 0x10
jne 0x4cbdb5
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x180], eax
lea edx, [ebp - 0x180]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0042d740
mov edx, 0x4cbe98
mov eax, dword [ebp - 0x164]
call fcn.0040a774
test eax, eax
jne 0x4cbd3c
lea eax, [ebp - 0x184]
mov ecx, 0x4cbea4
mov edx, dword [ebp - 0x10]
call fcn.00404ea4
mov eax, dword [ebp - 0x184]
call fcn.0040b240
test al, al
je 0x4cbca0
lea eax, [ebp - 0x18c]
mov ecx, 0x4cbea4
mov edx, dword [ebp - 0x10]
call fcn.00404ea4
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
call fcn.004cb6c0
mov eax, dword [ebp - 0x188]
push eax
mov ecx, 0x4cbebc
mov edx, 0x4cbec8
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
push 0xffffffffffffffff
mov ecx, 0x4cbed4
mov edx, 0x4cbec8
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov ecx, 0x4cbed4
mov edx, 0x4cbec8
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x190]
mov ecx, 0x4cbee8
mov edx, dword [ebp - 0x10]
call fcn.00404ea4
mov eax, dword [ebp - 0x190]
call fcn.0040b240
test al, al
je 0x4cbd29
lea eax, [ebp - 0x194]
mov ecx, 0x4cbefc
mov edx, dword [ebp - 0x10]
call fcn.00404ea4
mov eax, dword [ebp - 0x194]
call fcn.0040b240
test al, al
jne 0x4cbd29
push 0
lea eax, [ebp - 0x198]
mov ecx, 0x4cbefc
mov edx, dword [ebp - 0x10]
call fcn.00404ea4
mov eax, dword [ebp - 0x198]
call fcn.00405058
push eax
lea eax, [ebp - 0x19c]
mov ecx, 0x4cbee8
mov edx, dword [ebp - 0x10]
call fcn.00404ea4
mov eax, dword [ebp - 0x19c]
call fcn.00405058
push eax
call sub.kernel32.dll_CopyFileA
push ebp
xor ecx, ecx
mov edx, 0x4cbf10
mov eax, dword [ebp - 0x10]
call fcn.004cb7c4
pop ecx
jmp 0x4cbdb5
mov edx, 0x4cbf20
mov eax, dword [ebp - 0x164]
call fcn.0040a774
test eax, eax
jne 0x4cbd63
push ebp
xor ecx, ecx
mov edx, 0x4cbf2c
mov eax, dword [ebp - 0x10]
call fcn.004cb7c4
pop ecx
jmp 0x4cbdb5
mov eax, dword [ebp - 0x164]
call fcn.00404e58
dec eax
jne 0x4cbdb5
mov eax, dword [ebp - 0x164]
mov al, byte [eax]
add al, 0xbd
sub al, 0x18
jb 0x4cbd8d
mov eax, dword [ebp - 0x164]
mov al, byte [eax]
add al, 0x9d
sub al, 0x18
jae 0x4cbdb5
push ebp
lea eax, [ebp - 0x1a0]
mov ecx, 0x4cbf3c
mov edx, dword [ebp - 0x164]
call fcn.00404ea4
mov edx, dword [ebp - 0x1a0]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004cb7c4
pop ecx
lea eax, [ebp - 0x170]
call fcn.0040b4b0
test eax, eax
je 0x4cbbc5
lea eax, [ebp - 0x170]
call fcn.0040b4d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbdf8
mov eax, dword [ebp - 8]
call fcn.00403cac
mov eax, dword [ebp - 0x14]
call fcn.00403cac
ret