Function at 0x10016d0d
Capabilities:
Read .ini file

Disassembly:
push 0x2ac
mov eax, 0x1004d655
call fcn.100494ce
mov esi, ecx
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b8], esi
lea ecx, [ebp - 0x234]
and dword [ebp - 0x2b0], 0
call fcn.1000231b
xor ebx, ebx
lea ecx, [ebp - 0x24c]
inc ebx
mov dword [ebp - 4], ebx
call fcn.10016cb6
push str.config.ini
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.10017062
pop ecx
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.100021f5
lea ecx, [ebp - 0x264]
call fcn.10018240
mov edi, 0x10056da0
test al, al
je 0x10016ed6
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10038450
add esp, 0xc
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 8
cmovae eax, dword [ebp - 0x264]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x21c], 0
je 0x10016ed6
lea ecx, [ebp - 0x294]
call fcn.10016c5f
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.10017062
pop ecx
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.10002229
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 5
call fcn.100021f5
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 4
call fcn.100021f5
lea ecx, [ebp - 0x234]
call fcn.10018370
test al, al
je 0x10016ed6
push str.HaoZip.dll
lea ecx, [ebp - 0x24c]
call fcn.100022ea
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x294]
call fcn.1001cb20
pop ecx
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 9
call fcn.100021f5
lea ecx, [ebp - 0x294]
call fcn.10018240
test al, al
je 0x10016ec7
push 0x10
pop edx
lea ecx, [ebp - 0x234]
call fcn.1001c7d0
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.1000228a
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x2b0], ebx
mov byte [ebp - 4], 4
call fcn.100021f5
jmp 0x10016ff7
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 4
call fcn.100021f5
lea ecx, [ebp - 0x27c]
call fcn.1002e800
push 0x100584a8
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
call fcn.100022ea
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x27c]
call fcn.1002e860
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
call fcn.100021f5
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.1002f090
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xc
call fcn.10002229
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
call fcn.100021f5
lea ecx, [ebp - 0x234]
call fcn.10018370
test al, al
je 0x10016f7e
push 0x10
pop edx
lea ecx, [ebp - 0x234]
call fcn.1001c7d0
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.1000228a
mov dword [ebp - 0x2b0], ebx
jmp 0x10016fe8
lea ecx, [ebp - 0x2ac]
call fcn.1001672a
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2ac]
call fcn.10019b60
lea ecx, [ebp - 0x234]
call fcn.10018370
test al, al
je 0x10016fcb
push 0x10
pop edx
lea ecx, [ebp - 0x234]
call fcn.1001c7d0
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.1000228a
jmp 0x10016fd3
push edi
mov ecx, esi
call fcn.100022ea
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2b0], ebx
mov byte [ebp - 4], 0xa
call fcn.100021f5
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 4
call fcn.10025c30
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], bl
call fcn.100021f5
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.100021f5
mov eax, esi
call fcn.10049478
ret