Function at 0x100c37c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019eb74
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d0], 0
lea eax, [ebp - 0x24c]
push eax
call fcn.100c1af0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.100051b0
movzx ecx, al
test ecx, ecx
je 0x100c3841
mov byte [ebp - 0x2c6], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10005230
mov al, byte [ebp - 0x2c6]
jmp 0x100c3b98
push str.config.ini
lea ecx, [ebp - 0x27c]
call fcn.100052e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.10005230
lea edx, [ebp - 0x234]
push edx
call fcn.1000e7f0
add esp, 4
movzx eax, al
test eax, eax
je 0x100c3b2c
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.101652e0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.100051d0
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x101c1474
push str.LastVersion
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
add ecx, 2
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2cc]
mov ax, word [edx]
mov word [ebp - 0x2d6], ax
add dword [ebp - 0x2cc], 2
cmp word [ebp - 0x2d6], 0
jne 0x100c38f9
mov ecx, dword [ebp - 0x2cc]
sub ecx, dword [ebp - 0x2e4]
sar ecx, 1
mov dword [ebp - 0x2e8], ecx
je 0x100c3978
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x294]
call fcn.100052e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2d0]
or eax, 1
mov dword [ebp - 0x2d0], eax
lea ecx, [ebp - 0x294]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000d5f0
add esp, 8
test eax, eax
je 0x100c3978
mov dword [ebp - 0x2dc], 1
jmp 0x100c3982
mov dword [ebp - 0x2dc], 0
mov al, byte [ebp - 0x2dc]
mov byte [ebp - 0x2c7], al
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2d0]
and ecx, 1
je 0x100c39b2
and dword [ebp - 0x2d0], 0xfffffffe
lea ecx, [ebp - 0x294]
call fcn.10005230
movzx edx, byte [ebp - 0x2c7]
test edx, edx
je 0x100c3a59
lea eax, [ebp - 0x2c4]
push eax
call fcn.100c1530
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.100052e0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2ac]
call fcn.10005230
lea edx, [ebp - 0x264]
push edx
call fcn.1000e6c0
add esp, 4
movzx eax, al
test eax, eax
je 0x100c3a3b
lea ecx, [ebp - 0x264]
push ecx
call fcn.1000ea40
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.10005230
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.10005230
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0x20a
jae 0x100c3a75
jmp 0x100c3a7a
call fcn.1016195b
xor ecx, ecx
mov edx, dword [ebp - 0x2e0]
mov word [ebp + edx - 0x21c], cx
lea ecx, [ebp - 0x234]
call fcn.100051d0
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x101c1474
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x2d4]
add edx, 2
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2d4]
mov cx, word [eax]
mov word [ebp - 0x2d8], cx
add dword [ebp - 0x2d4], 2
cmp word [ebp - 0x2d8], 0
jne 0x100c3ad2
mov edx, dword [ebp - 0x2d4]
sub edx, dword [ebp - 0x2ec]
sar edx, 1
mov dword [ebp - 0x2f0], edx
je 0x100c3b2c
lea ecx, [ebp - 0x234]
call fcn.100051d0
push eax
lea eax, [ebp - 0x21c]
push eax
push str.LastVersion
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x234]
call fcn.100051d0
push eax
mov ecx, dword [ebp + 8]
call fcn.100051d0
push eax
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x100c3b5e
mov byte [ebp - 0x2c5], 1
jmp 0x100c3b65
mov byte [ebp - 0x2c5], 0
mov cl, byte [ebp - 0x2c5]
mov byte [ebp - 0x2c8], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10005230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10005230
mov al, byte [ebp - 0x2c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret