Function at 0x4105d4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe38
mov eax, 0x6a8c5b
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c0], 0x78bd10
mov dword [ebp - 0x1bc], esp
mov dword [ebp - 0x1c4], eax
mov word [ebp - 0x1b8], 0
xor edx, edx
mov dword [ebp - 0x1ac], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x1c8], ecx
lea eax, [ebp - 0x1c8]
mov dword fs:[0], eax
mov dword [ebp - 0x1ac], 2
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.006b5c08
inc dword [ebp - 0x1ac]
lea edx, [ebp - 8]
mov word [ebp - 0x1b8], 8
lea eax, [ebp - 8]
call fcn.006b5c08
inc dword [ebp - 0x1ac]
xor edx, edx
mov word [ebp - 0x1b8], 0x14
mov dword [ebp - 0x154], edx
mov edx, 0x7873af
inc dword [ebp - 0x1ac]
inc dword [ebp - 0x1ac]
lea eax, [ebp - 0x164]
mov word [ebp - 0x1b8], 8
mov word [ebp - 0x1b8], 0x20
call fcn.006b5bd0
inc dword [ebp - 0x1ac]
xor eax, eax
mov dword [ebp - 0x168], eax
mov eax, 0x7c9a2c
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x164]
lea ecx, [ebp - 0x168]
call fcn.006b5dcc
lea eax, [ebp - 0x168]
xor edx, edx
mov dword [ebp - 0x16c], edx
lea ecx, [ebp - 0x16c]
inc dword [ebp - 0x1ac]
lea edx, [ebp - 4]
call fcn.006b5dcc
lea eax, [ebp - 0x16c]
push eax
mov edx, 0x7873b9
lea eax, [ebp - 0x170]
call fcn.006b5bd0
inc dword [ebp - 0x1ac]
xor eax, eax
mov dword [ebp - 0x174], eax
lea edx, [ebp - 0x170]
inc dword [ebp - 0x1ac]
lea ecx, [ebp - 0x174]
pop eax
call fcn.006b5dcc
lea eax, [ebp - 0x174]
mov eax, dword [eax]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.00691914
test eax, eax
mov edx, 2
sete al
and eax, 1
push eax
lea eax, [ebp - 0x174]
dec dword [ebp - 0x1ac]
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.006b5d74
pop ecx
test cl, cl
je 0x410a94
push 0
mov edx, 0x7873ca
mov word [ebp - 0x1b8], 0x2c
lea eax, [ebp - 0x178]
call fcn.006b5bd0
inc dword [ebp - 0x1ac]
xor eax, eax
mov dword [ebp - 0x17c], eax
mov eax, 0x7c9a2c
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x178]
lea ecx, [ebp - 0x17c]
call fcn.006b5dcc
lea eax, [ebp - 0x17c]
xor edx, edx
mov dword [ebp - 0x180], edx
lea ecx, [ebp - 0x180]
inc dword [ebp - 0x1ac]
lea edx, [ebp - 8]
call fcn.006b5dcc
lea eax, [ebp - 0x180]
push eax
mov edx, 0x7873d4
lea eax, [ebp - 0x184]
call fcn.006b5bd0
inc dword [ebp - 0x1ac]
xor eax, eax
mov dword [ebp - 0x188], eax
lea edx, [ebp - 0x184]
inc dword [ebp - 0x1ac]
lea ecx, [ebp - 0x188]
pop eax
call fcn.006b5dcc
lea eax, [ebp - 0x188]
xor edx, edx
mov dword [ebp - 0x18c], edx
lea ecx, [ebp - 0x18c]
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x154]
call fcn.006b5dcc
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x410898
mov ecx, dword [ebp - 0x18c]
jmp 0x41089d
mov ecx, 0x7873d7
push ecx
mov edx, 0x7873be
lea eax, [ebp - 0x190]
call fcn.006b5bd0
inc dword [ebp - 0x1ac]
xor eax, eax
mov dword [ebp - 0x194], eax
mov eax, 0x7c9a2c
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x194]
call fcn.006b5dcc
lea eax, [ebp - 0x194]
xor edx, edx
mov dword [ebp - 0x198], edx
lea ecx, [ebp - 0x198]
inc dword [ebp - 0x1ac]
lea edx, [ebp - 4]
call fcn.006b5dcc
lea eax, [ebp - 0x198]
push eax
mov edx, 0x7873c8
lea eax, [ebp - 0x19c]
call fcn.006b5bd0
inc dword [ebp - 0x1ac]
xor eax, eax
mov dword [ebp - 0x1a0], eax
lea edx, [ebp - 0x19c]
inc dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1a0]
pop eax
call fcn.006b5dcc
lea eax, [ebp - 0x1a0]
xor edx, edx
mov dword [ebp - 0x1a4], edx
lea ecx, [ebp - 0x1a4]
inc dword [ebp - 0x1ac]
lea edx, [ebp - 0x154]
call fcn.006b5dcc
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x41096e
mov ecx, dword [ebp - 0x1a4]
jmp 0x410973
mov ecx, 0x7873d6
push ecx
call sub.KERNEL32.DLL_CopyFileA
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x1a4]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x1a0]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x19c]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x198]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x190]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x18c]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x188]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x180]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x178]
mov edx, 2
call fcn.006b5d74
lea eax, [ebp - 0x160]
call fcn.00691964
test eax, eax
je 0x4107bd
lea eax, [ebp - 0x160]
call fcn.00691988
dec dword [ebp - 0x1ac]
dec dword [ebp - 0x1ac]
lea eax, [ebp - 0x154]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 8]
mov edx, 2
call fcn.006b5d74
dec dword [ebp - 0x1ac]
lea eax, [ebp - 4]
mov edx, 2
call fcn.006b5d74
mov ecx, dword [ebp - 0x1c8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret