Function at 0x10023a50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x328], 0
lea ecx, [ebp - 0x234]
call fcn.10006ad0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2dc]
push eax
call fcn.100239a0
add esp, 4
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], ecx
mov byte [ebp - 4], 2
push str.config.ini
mov edx, dword [ebp - 0x330]
lea ecx, [ebp - 0x24c]
call fcn.10018610
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2dc]
call fcn.100069e0
lea ecx, [ebp - 0x24c]
call fcn.100169f0
movzx edx, al
test edx, edx
je 0x10023cb3
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.10006970
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x100c2be4
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x21c]
test ecx, ecx
je 0x10023cb3
lea edx, [ebp - 0x30c]
push edx
call fcn.100238f0
add esp, 4
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x338]
lea ecx, [ebp - 0x2f4]
call fcn.10018610
add esp, 4
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x340]
push eax
lea ecx, [ebp - 0x234]
call fcn.10006a20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f4]
call fcn.100069e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30c]
call fcn.100069e0
lea ecx, [ebp - 0x234]
call fcn.10016ae0
movzx ecx, al
test ecx, ecx
je 0x10023cb3
push str.2345ImageApp.dll
lea ecx, [ebp - 0x2ac]
call fcn.10006a90
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2ac]
push edx
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x27c]
call fcn.10018350
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2ac]
call fcn.100069e0
lea ecx, [ebp - 0x27c]
call fcn.100169f0
movzx eax, al
test eax, eax
je 0x10023ca4
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.100181a0
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000c9a0
mov edx, dword [ebp - 0x328]
or edx, 1
mov dword [ebp - 0x328], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.100069e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100069e0
mov eax, dword [ebp + 8]
jmp 0x10023eb5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.100069e0
lea ecx, [ebp - 0x264]
call fcn.100439c0
mov byte [ebp - 4], 0xa
push str.2345Pic
lea ecx, [ebp - 0x2c4]
call fcn.10006a90
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x264]
call fcn.10043a20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c4]
call fcn.100069e0
lea ecx, [ebp - 0x324]
push ecx
lea ecx, [ebp - 0x264]
call fcn.10045710
mov dword [ebp - 0x344], eax
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x348], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x348]
push eax
lea ecx, [ebp - 0x234]
call fcn.10006a20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x324]
call fcn.100069e0
lea ecx, [ebp - 0x234]
call fcn.10016ae0
movzx ecx, al
test ecx, ecx
je 0x10023db5
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.100181a0
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000c9a0
mov eax, dword [ebp - 0x328]
or eax, 1
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.10009470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100069e0
mov eax, dword [ebp + 8]
jmp 0x10023eb5
lea ecx, [ebp - 0x294]
push ecx
call fcn.10022de0
add esp, 4
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x294]
call fcn.100178e0
lea ecx, [ebp - 0x234]
call fcn.10016ae0
movzx edx, al
test edx, edx
je 0x10023e5a
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.100181a0
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000c9a0
mov ecx, dword [ebp - 0x328]
or ecx, 1
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.100069e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.10009470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100069e0
mov eax, dword [ebp + 8]
jmp 0x10023eb5
push 0x100c2be4
mov ecx, dword [ebp + 8]
call fcn.10006a90
mov edx, dword [ebp - 0x328]
or edx, 1
mov dword [ebp - 0x328], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.100069e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.10009470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100069e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ab466
mov esp, ebp
pop ebp
ret