Function at 0x4b76a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4b76a9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov byte [ebp - 9], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405700
xor eax, eax
push ebp
push 0x4b79e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00405280
xor eax, eax
push ebp
push 0x4b79aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [0x4cbe70]
call fcn.004396dc
push dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004094c0
push dword [ebp - 0x20]
push 0x4b79fc
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405614
mov eax, dword [ebp - 8]
call fcn.00439664
test al, al
jne 0x4b7840
lea edx, [ebp - 0x28]
mov eax, dword [0x4cbe70]
call fcn.004396dc
push dword [ebp - 0x28]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004094c0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004b7264
push dword [ebp - 0x2c]
push 0x4b7a0c
lea edx, [ebp - 0x34]
mov eax, 0x4b7a18
call fcn.004b7264
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405614
mov eax, dword [ebp - 0x24]
call fcn.00439664
test al, al
je 0x4b7840
push 0
mov eax, dword [ebp - 8]
call fcn.00405710
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x4cbe70]
call fcn.004396dc
push dword [ebp - 0x3c]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004094c0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004b7264
push dword [ebp - 0x40]
push 0x4b7a0c
lea edx, [ebp - 0x48]
mov eax, 0x4b7a18
call fcn.004b7264
push dword [ebp - 0x48]
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00405614
mov eax, dword [ebp - 0x38]
call fcn.00405710
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x50]
mov eax, dword [0x4cbe70]
call fcn.004396dc
push dword [ebp - 0x50]
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.004094c0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004b7264
push dword [ebp - 0x54]
push 0x4b7a0c
lea edx, [ebp - 0x5c]
mov eax, 0x4b7a18
call fcn.004b7264
push dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00405614
mov eax, dword [ebp - 0x4c]
mov dl, 1
call fcn.0044b0dc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004b72f8
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004b8554
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.004052d4
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4b79a0
push 0xa
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
mov eax, dword [0x4cf7f8]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
jne 0x4b7896
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b79bc
mov eax, dword [ebp - 4]
push eax
push 0xa
mov ecx, dword [0x4cf7f8]
mov dl, 1
mov eax, dword [0x41d658]
call fcn.00421230
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4b7933
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41d5d0]
call fcn.004210f8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4b7916
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00420b18
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 4]
call fcn.004052d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b791d
mov eax, dword [ebp - 0x14]
call fcn.00404288
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b79bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b79eb
lea eax, [ebp - 0x70]
mov edx, 0x16
call fcn.004052a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052a4
ret