Function at 0x1000e880
Capabilities:
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.10039000
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x1042]
push ecx
mov dword [ebp - 0x1048], 1
xor ebx, ebx
mov word [ebp - 0x1044], ax
call fcn.1002a830
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0xc32]
push eax
mov word [ebp - 0xc34], dx
call fcn.1002a830
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x61a]
push edx
mov word [ebp - 0x61c], cx
call fcn.1002a830
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0xa2a]
push ecx
mov word [ebp - 0xa2c], ax
call fcn.1002a830
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0xe3a]
push eax
mov word [ebp - 0xe3c], dx
call fcn.1002a830
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x822]
push edx
mov word [ebp - 0x824], cx
call fcn.1002a830
add esp, 0x48
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.1002a830
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.1002a830
push 0x1074bd50
lea ecx, [ebp - 0x1044]
push str._s2.ini
push ecx
call fcn.10026910
push 0x1074bf58
lea edx, [ebp - 0xc34]
push str._s2.ini
push edx
call fcn.10026910
add esp, 0x30
xor esi, esi
cmp dword [ebp + 8], ebx
jle 0x1000eb33
lea ebx, [ebx]
mov eax, dword [edi + esi*4]
push eax
lea ecx, [ebp - 0xe3c]
push 0x10045fe4
push ecx
call fcn.10026910
add esp, 0xc
lea edx, [ebp - 0xc34]
push edx
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x10045a28
lea ecx, [ebp - 0xe3c]
push ecx
push str.File
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x824], 0
je 0x1000eb29
lea edx, [ebp - 0x824]
push edx
push 0x1074bf58
lea eax, [ebp - 0xa2c]
push str._s_s
push eax
call fcn.10026910
lea ecx, [ebp - 0x824]
push ecx
push 0x1074bd50
lea edx, [ebp - 0x61c]
push str._s_s
push edx
call fcn.10026910
lea ecx, [ebp - 0x414]
xor eax, eax
push ecx
lea ecx, [ebp - 0xa2c]
mov word [ebp - 0x414], ax
call fcn.1000e770
lea eax, [ebp - 0x20c]
xor edx, edx
push eax
lea ecx, [ebp - 0x61c]
mov word [ebp - 0x20c], dx
call fcn.1000e770
add esp, 0x28
cmp word [ebp - 0x414], 0
je 0x1000eb29
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call fcn.10026b57
add esp, 8
test eax, eax
je 0x1000eb14
push 0
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0xa2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x1048], eax
test eax, eax
jne 0x1000eb0e
lea eax, [ebp - 0x20c]
xor edx, edx
push eax
lea ecx, [ebp - 0x61c]
mov word [ebp - 0x20c], dx
call fcn.1000e770
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.10026b57
add esp, 0xc
test eax, eax
jne 0x1000eb33
mov eax, dword [edi + esi*4]
push eax
call fcn.1000eb50
add esp, 4
jmp 0x1000eb29
mov ecx, dword [edi + esi*4]
push ecx
jmp 0x1000eb18
mov edx, dword [edi + esi*4]
push edx
call fcn.1000eb50
add esp, 4
test ebx, ebx
jne 0x1000eb29
mov ebx, 1
inc esi
cmp esi, dword [ebp + 8]
jl 0x1000e9c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1048]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002656f
mov esp, ebp
pop ebp
ret