Function at 0x10031870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156fa4
mov eax, dword fs:[0]
push eax
mov eax, 0x1088
call fcn.1014edc0
mov eax, dword [0x101b900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1090], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1094], eax
xor eax, eax
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x1058]
lea ecx, [eax + 0x1a]
call fcn.10085e90
test al, al
je 0x10032010
cmp dword [ebp - 0x1048], 0
je 0x10032010
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1058]
push edi
lea ecx, [ebp - 0x1074]
call fcn.1007a270
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1028]
cmp eax, esi
je 0x10031998
mov ecx, eax
call fcn.10003590
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x1028], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1018], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1060]
cmp edx, 8
jb 0x100319dc
mov ecx, dword [ebp - 0x1074]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100319d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003209e
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1064], 0
push 0xa
mov dword [ebp - 0x107c], eax
lea ecx, [ebp - 0x108c]
mov dword [ebp - 0x1078], eax
push str.config.ini
mov dword [ebp - 0x1060], 7
mov word [ebp - 0x1074], ax
mov dword [ebp - 0x107c], eax
mov dword [ebp - 0x1078], 7
mov word [ebp - 0x108c], ax
call fcn.10003600
mov byte [ebp - 4], 3
lea eax, [ebp - 0x108c]
push eax
lea edx, [ebp - 0x1028]
lea ecx, [ebp - 0x1074]
call fcn.1007a270
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1028]
cmp eax, esi
je 0x10031a8e
mov ecx, eax
call fcn.10003590
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x1028], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1018], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1060]
cmp edx, 8
jb 0x10031ad2
mov ecx, dword [ebp - 0x1074]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031ac8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320a3
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1060], 7
mov word [ebp - 0x1074], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1078]
cmp edx, 8
jb 0x10031b33
mov ecx, dword [ebp - 0x108c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031b29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320a8
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x107c], 0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1078], 7
mov word [ebp - 0x108c], ax
call fcn.1007e940
test al, al
je 0x10031fa6
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.10121fd0
add esp, 0xc
lea eax, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 8
cmovae eax, dword [ebp - 0x1028]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x10182c58
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10182c58
lea eax, [ebp - 0x1010]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10031be6
test dx, dx
je 0x10031be2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10031be6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10031bc0
xor eax, eax
jmp 0x10031beb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10031fa6
push edi
lea edx, [ebp - 0x1058]
lea ecx, [ebp - 0x1040]
call fcn.1007a270
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108c]
push str.Application
call fcn.10003520
mov byte [ebp - 4], 6
lea eax, [ebp - 0x108c]
push eax
lea edx, [ebp - 0x1040]
lea ecx, [ebp - 0x1074]
call fcn.1007a270
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1040]
push eax
call fcn.100034b0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1060]
cmp edx, 8
jb 0x10031c8f
mov ecx, dword [ebp - 0x1074]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031c85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320ad
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1060], 7
mov word [ebp - 0x1074], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1078]
cmp edx, 8
jb 0x10031cf0
mov ecx, dword [ebp - 0x108c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031ce6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320b2
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x107c], 0
mov word [ebp - 0x108c], ax
lea ecx, [ebp - 0x108c]
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1078], 7
push eax
call fcn.10003520
mov byte [ebp - 4], 8
lea eax, [ebp - 0x108c]
push eax
lea edx, [ebp - 0x1040]
lea ecx, [ebp - 0x1074]
call fcn.1007a270
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1040]
push eax
call fcn.100034b0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1060]
cmp edx, 8
jb 0x10031d92
mov ecx, dword [ebp - 0x1074]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031d88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320b7
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1060], 7
mov word [ebp - 0x1074], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1078]
cmp edx, 8
jb 0x10031df3
mov ecx, dword [ebp - 0x108c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031de9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320bc
push edx
push ecx
call fcn.1010a295
add esp, 8
push dword [ebp - 0x1090]
xor eax, eax
mov dword [ebp - 0x107c], 0
lea edx, [ebp - 0x1040]
mov dword [ebp - 0x1078], 7
lea ecx, [ebp - 0x1074]
mov word [ebp - 0x108c], ax
call fcn.1007a270
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1040]
push eax
call fcn.100034b0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1060]
cmp edx, 8
jb 0x10031e7e
mov ecx, dword [ebp - 0x1074]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031e74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320c1
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1064], 0
lea ecx, [ebp - 0x1040]
mov dword [ebp - 0x1060], 7
mov word [ebp - 0x1074], ax
call fcn.1007e940
test al, al
jne 0x10031eb5
mov byte [ebp - 0x1059], al
jmp 0x10031f43
lea edx, [ebp - 0x1040]
lea ecx, [ebp - 0x1074]
call fcn.100867a0
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x1094]
mov ecx, esi
push eax
call fcn.100034b0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1060]
cmp edx, 8
jb 0x10031f1c
mov ecx, dword [ebp - 0x1074]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031f12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320c6
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1064], 0
cmp dword [esi + 0x10], eax
mov dword [ebp - 0x1060], 7
mov word [ebp - 0x1074], ax
setne byte [ebp - 0x1059]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x102c]
cmp edx, 8
jb 0x10031f87
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031f7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320cb
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
jmp 0x10031fad
mov byte [ebp - 0x1059], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x10031ff1
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031fe7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320d0
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
jmp 0x10032017
mov byte [ebp - 0x1059], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1044]
cmp edx, 8
jb 0x1003205e
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10032054
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100320d5
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x1048], 0
mov word [ebp - 0x1058], ax
mov al, byte [ebp - 0x1059]
mov dword [ebp - 0x1044], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10109ef1
mov esp, ebp
pop ebp
ret 0xc
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
int3