Function at 0x4112f4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x41
push 0
push 0
dec ecx
jne 0x4112fc
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403b6c
lea eax, [ebp - 0x160]
mov edx, dword [0x40b33c]
call fcn.00403e4c
xor eax, eax
push ebp
push 0x411a10
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x411a1c]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x417998]
mov edx, dword [0x41799c]
mov eax, dword [ebp - 4]
call fcn.0040e6ac
lea eax, [ebp - 0x164]
mov ecx, 0x411a28
mov edx, dword [ebp - 4]
call fcn.004039c8
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.0040c064
test eax, eax
jne 0x4119c4
mov eax, dword [ebp - 0x154]
mov edx, 0x411a38
call fcn.00403ac8
je 0x4119a6
mov eax, dword [ebp - 0x154]
mov edx, 0x411a44
call fcn.00403ac8
je 0x4119a6
test byte [ebp - 0x158], 0x10
je 0x4114d1
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.0041069c
mov eax, dword [ebp - 0x168]
call fcn.0040c2d0
and al, byte [0x4179a9]
je 0x411492
inc dword [0x4179b0]
mov eax, dword [0x417978]
add eax, 0x1d
mov edx, 0x411a5c
call fcn.00403734
lea eax, [ebp - 0x170]
push eax
push 0x411a6c
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.0041069c
push dword [ebp - 0x178]
push 0x411a6c
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x180]
mov eax, dword [0x4179b0]
call fcn.0040be30
mov edx, dword [ebp - 0x180]
mov eax, dword [0x417978]
pop ecx
call fcn.00405a88
push dword [ebp - 4]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x188]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.0041069c
mov eax, dword [ebp - 0x184]
call fcn.004112f4
jmp 0x4119a6
inc dword [0x41798c]
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x190]
push eax
mov eax, dword [0x417970]
xor ecx, ecx
mov edx, 0x411a78
call fcn.00405a88
mov eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x198], eax
mov byte [ebp - 0x194], 0xb
lea edx, [ebp - 0x198]
xor ecx, ecx
pop eax
call fcn.0040c834
mov edx, dword [ebp - 0x18c]
mov eax, dword [0x417960]
mov eax, dword [eax + 0xa4]
call fcn.00409c18
mov eax, dword [0x417960]
mov eax, dword [eax + 0xa8]
mov ecx, dword [0x41798c]
mov edx, 0x84020408
call fcn.00406c48
mov eax, dword [0x417960]
mov eax, dword [eax + 0x18]
call fcn.0040a1c4
cmp byte [0x4179aa], 1
cmc
sbb eax, eax
push eax
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1a0]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
call fcn.0041069c
mov eax, dword [ebp - 0x19c]
call fcn.00403b7c
push eax
push dword [ebp - 4]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1a8]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1a4]
call fcn.0041069c
mov eax, dword [ebp - 0x1a4]
call fcn.00403b7c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x4115f2
mov byte [0x417965], 1
jmp 0x4119c4
cmp byte [0x4179a9], 0
je 0x4119a6
mov eax, dword [0x417978]
add eax, 0x1d
mov edx, 0x411a84
call fcn.00403734
lea eax, [ebp - 0x1ac]
push eax
push 0x411a6c
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1b8]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1b8]
lea edx, [ebp - 0x1b4]
call fcn.0041069c
push dword [ebp - 0x1b4]
push 0x411a6c
lea eax, [ebp - 0x1b0]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1b0]
push eax
lea edx, [ebp - 0x1bc]
mov eax, dword [0x41798c]
call fcn.0040be30
mov edx, dword [ebp - 0x1bc]
mov eax, dword [0x417978]
pop ecx
call fcn.00405a88
jmp 0x4119a6
mov eax, dword [ebp - 0x154]
mov edx, 0x411a38
call fcn.00403ac8
je 0x4119a6
mov eax, dword [ebp - 0x154]
mov edx, 0x411a44
call fcn.00403ac8
je 0x4119a6
test byte [ebp - 0x158], 0x10
je 0x4117e8
inc dword [0x4179b0]
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1c4]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1c4]
lea edx, [ebp - 0x1c0]
call fcn.0041069c
mov eax, dword [ebp - 0x1c0]
call fcn.0040c2d0
and al, byte [0x4179a9]
je 0x4117a9
mov eax, dword [0x417978]
add eax, 0x1d
mov edx, 0x411a5c
call fcn.00403734
lea eax, [ebp - 0x1c8]
push eax
push 0x411a6c
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1d4]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.0041069c
push dword [ebp - 0x1d0]
push 0x411a6c
lea eax, [ebp - 0x1cc]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1cc]
push eax
lea edx, [ebp - 0x1d8]
mov eax, dword [0x4179b0]
call fcn.0040be30
mov edx, dword [ebp - 0x1d8]
mov eax, dword [0x417978]
pop ecx
call fcn.00405a88
push dword [ebp - 4]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 0x1dc]
call fcn.0041069c
mov eax, dword [ebp - 0x1dc]
call fcn.004112f4
jmp 0x4119a6
inc dword [0x41798c]
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1e8]
push eax
mov eax, dword [0x417970]
xor ecx, ecx
mov edx, 0x411a78
call fcn.00405a88
mov eax, dword [ebp - 0x1e8]
push eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x198], eax
mov byte [ebp - 0x194], 0xb
lea edx, [ebp - 0x198]
xor ecx, ecx
pop eax
call fcn.0040c834
mov edx, dword [ebp - 0x1e4]
mov eax, dword [0x417960]
mov eax, dword [eax + 0xa4]
call fcn.00409c18
mov eax, dword [0x417960]
mov eax, dword [eax + 0xa8]
mov ecx, dword [0x41798c]
mov edx, 0x84020408
call fcn.00406c48
mov eax, dword [0x417960]
mov eax, dword [eax + 0x18]
call fcn.0040a1c4
cmp byte [0x4179aa], 1
cmc
sbb eax, eax
push eax
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1f0]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1f0]
lea edx, [ebp - 0x1ec]
call fcn.0041069c
mov eax, dword [ebp - 0x1ec]
call fcn.00403b7c
push eax
push dword [ebp - 4]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x1f8]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x1f8]
lea edx, [ebp - 0x1f4]
call fcn.0041069c
mov eax, dword [ebp - 0x1f4]
call fcn.00403b7c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x411909
mov byte [0x417965], 1
jmp 0x4119c4
cmp byte [0x4179a9], 0
je 0x4119a6
mov eax, dword [0x417978]
add eax, 0x1d
mov edx, 0x411a84
call fcn.00403734
lea eax, [ebp - 0x1fc]
push eax
push 0x411a6c
push dword [ebp - 8]
push 0x411a50
push dword [ebp - 0x154]
lea eax, [ebp - 0x208]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x204]
call fcn.0041069c
push dword [ebp - 0x204]
push 0x411a6c
lea eax, [ebp - 0x200]
mov edx, 3
call fcn.00403a3c
mov eax, dword [ebp - 0x200]
push eax
lea edx, [ebp - 0x20c]
mov eax, dword [0x41798c]
call fcn.0040be30
mov edx, dword [ebp - 0x20c]
mov eax, dword [0x417978]
pop ecx
call fcn.00405a88
lea eax, [ebp - 0x160]
call fcn.0040c0b4
test eax, eax
je 0x411694
lea eax, [ebp - 0x160]
call fcn.0040c0d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411a17
lea eax, [ebp - 0x20c]
mov edx, 0x1d
call fcn.00403704
lea eax, [ebp - 0x190]
mov edx, 0xc
call fcn.00403704
lea eax, [ebp - 0x160]
mov edx, dword [0x40b33c]
call fcn.00403f10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403704
ret