Function at 0x10005980
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053d90
mov eax, dword fs:[0]
push eax
mov eax, 0x20f4
call fcn.100206d0
mov eax, dword [0x10071074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2100], edi
mov dword [ebp - 0x20dc], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [ebp - 0x20d0], edi
mov dword [ebp - 0x20d4], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, 1
push 0x2000
mov dword [ebp - 0x20d8], eax
mov dword [ebp - 0x20dc], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.10031a30
mov eax, dword [ebp - 0x20d4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10005a2d
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x10005a35
mov esi, dword [esi]
push eax
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xorps xmm0, xmm0
mov dword [ebp - 0x2044], 0
movq qword [ebp - 0x204c], xmm0
mov dword [ebp - 0x204c], 0
mov dword [ebp - 0x2048], 0
mov dword [ebp - 0x2044], 0
lea ecx, [ebp - 0x204c]
mov dword [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x2010]
call fcn.10018470
mov eax, dword [ebp - 0x204c]
add esp, 4
mov ecx, dword [ebp - 0x2048]
mov dword [ebp - 0x20d4], eax
mov dword [ebp - 0x20fc], ecx
cmp eax, ecx
je 0x10005e03
nop word [eax + eax]
push eax
lea ecx, [ebp - 0x2040]
call fcn.10006500
xor esi, esi
mov dword [ebp - 0x2014], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2014], esi
movq qword [ebp - 0x201c], xmm0
mov dword [ebp - 0x201c], esi
mov dword [ebp - 0x2018], esi
cmp dword [ebp - 0x202c], 8
lea ecx, [ebp - 0x2040]
mov edx, dword [ebp - 0x2030]
cmovae ecx, dword [ebp - 0x2040]
push 1
push 0x10068658
push esi
call fcn.100070c0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x10005d71
xor eax, eax
mov dword [ebp - 0x2084], esi
mov dword [ebp - 0x2080], 7
mov word [ebp - 0x2094], ax
mov dword [ebp - 0x206c], eax
mov dword [ebp - 0x2068], 7
mov word [ebp - 0x207c], ax
mov byte [ebp - 4], 5
mov ecx, edi
cmp dword [ebp - 0x2030], edi
mov dword [ebp - 0x20e4], eax
cmovb ecx, dword [ebp - 0x2030]
cmp dword [ebp - 0x202c], 8
mov word [ebp - 0x20f4], ax
lea eax, [ebp - 0x2040]
cmovae eax, dword [ebp - 0x2040]
push ecx
push eax
lea ecx, [ebp - 0x20f4]
mov dword [ebp - 0x20e0], 7
call fcn.10006820
mov eax, dword [ebp - 0x20d8]
lea ecx, [ebp - 0x2094]
or eax, 2
mov dword [ebp - 0x20dc], eax
call fcn.10002c10
movups xmm0, xmmword [ebp - 0x20f4]
mov edx, dword [ebp - 0x2030]
lea esi, [edi + 1]
xor eax, eax
mov word [ebp - 0x20f4], ax
movups xmmword [ebp - 0x2094], xmm0
movq xmm0, qword [ebp - 0x20e4]
movq qword [ebp - 0x2084], xmm0
mov dword [ebp - 0x20e4], 0
mov dword [ebp - 0x20e0], 7
cmp edx, esi
jb 0x100061d0
mov ecx, edx
lea eax, [ebp - 0x2040]
sub ecx, edi
sub edx, esi
dec ecx
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebp - 0x202c], 8
push ecx
cmovae eax, dword [ebp - 0x2040]
lea ecx, [ebp - 0x20f4]
lea eax, [eax + esi*2]
push eax
call fcn.10006820
mov eax, dword [ebp - 0x20d8]
lea ecx, [ebp - 0x207c]
or eax, 6
mov dword [ebp - 0x20d8], eax
mov dword [ebp - 0x20dc], eax
call fcn.10002c10
movups xmm0, xmmword [ebp - 0x20f4]
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2094]
push ecx
movups xmmword [ebp - 0x207c], xmm0
movq xmm0, qword [ebp - 0x20e4]
movq qword [ebp - 0x206c], xmm0
cmp dword [ebp - 0x2014], eax
je 0x10005ca6
mov ecx, eax
call fcn.10006500
mov eax, dword [ebp - 0x2018]
add eax, 0x18
mov dword [ebp - 0x2018], eax
jmp 0x10005cb8
push eax
lea ecx, [ebp - 0x201c]
call fcn.10006b30
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x207c]
push ecx
cmp dword [ebp - 0x2014], eax
je 0x10005cd7
mov ecx, eax
call fcn.10006500
add dword [ebp - 0x2018], 0x18
jmp 0x10005ce3
push eax
lea ecx, [ebp - 0x201c]
call fcn.10006b30
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2068]
cmp edx, 8
jb 0x10005d27
mov ecx, dword [ebp - 0x207c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005d1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100061cb
push edx
push ecx
call fcn.1001fb02
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2080]
cmp edx, 8
jb 0x10005d6b
mov ecx, dword [ebp - 0x2094]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005d61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100061cb
push edx
push ecx
call fcn.1001fb02
add esp, 8
mov esi, dword [ebp - 0x201c]
mov ecx, dword [ebp - 0x2018]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x10005e2d
lea ecx, [ebp - 0x201c]
call fcn.10006620
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x202c]
cmp edx, 8
jb 0x10005de2
mov ecx, dword [ebp - 0x2040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005dd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100061cb
push edx
push ecx
call fcn.1001fb02
add esp, 8
mov edi, dword [ebp - 0x20d0]
mov eax, dword [ebp - 0x20d4]
add eax, 0x18
mov dword [ebp - 0x20d4], eax
cmp eax, dword [ebp - 0x20fc]
jne 0x10005ac0
lea ecx, [ebp - 0x204c]
call fcn.10006620
mov eax, edi
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.1001f4ee
mov esp, ebp
pop ebp
ret 0xc
xor ecx, ecx
mov dword [ebp - 0x20bc], 0
mov dword [ebp - 0x20b8], 7
mov word [ebp - 0x20cc], cx
mov dword [ebp - 0x20a4], ecx
mov dword [ebp - 0x20a0], 7
mov word [ebp - 0x20b4], cx
mov byte [ebp - 4], 6
test eax, eax
je 0x100061c6
lea eax, [ebp - 0x20cc]
cmp eax, esi
je 0x10005e96
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10005e81
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x20cc]
push eax
call fcn.10006820
mov esi, dword [ebp - 0x201c]
mov ecx, dword [ebp - 0x2018]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x100061c6
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x2064]
call fcn.10006500
xorps xmm0, xmm0
mov dword [ebp - 0x2020], 0
movq qword [ebp - 0x2028], xmm0
mov dword [ebp - 0x2028], 0
mov dword [ebp - 0x2024], 0
mov dword [ebp - 0x2020], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20f4]
push 1
xor eax, eax
mov dword [ebp - 0x20e4], 0
push 0x1006865c
mov dword [ebp - 0x20e0], 7
mov word [ebp - 0x20f4], ax
call fcn.10006820
lea eax, [ebp - 0x2028]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x20f4]
lea ecx, [ebp - 0x2064]
call fcn.10018240
mov byte [ebp - 4], 8
add esp, 4
mov edx, dword [ebp - 0x20e0]
cmp edx, 8
jb 0x10005f90
mov ecx, dword [ebp - 0x20f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005f86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100061cb
push edx
push ecx
call fcn.1001fb02
add esp, 8
mov edi, dword [ebp - 0x2024]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x2028]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x10006032
lea ecx, [ebp - 0x2028]
call fcn.10006620
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2050]
cmp edx, 8
jb 0x10006005
mov ecx, dword [ebp - 0x2064]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005ffb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100061cb
push edx
push ecx
call fcn.1001fb02
add esp, 8
xor eax, eax
mov dword [ebp - 0x2054], 0
lea ecx, [ebp - 0x20cc]
mov dword [ebp - 0x2050], 7
mov word [ebp - 0x2064], ax
call fcn.10004fe0
jmp 0x10005d93
test eax, eax
je 0x100061c6
lea eax, [ebp - 0x20b4]
cmp eax, esi
je 0x10006069
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000604e
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x20b4]
push eax
call fcn.10006820
mov edi, dword [ebp - 0x2024]
mov esi, dword [ebp - 0x2028]
sub edi, esi
mov eax, 0x2aaaaaab
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x100061c6
add esi, 0x18
cmp dword [esi + 0x14], 8
jb 0x10006090
mov esi, dword [esi]
push esi
call fcn.1003854e
mov edi, dword [ebp - 0x20d0]
add esp, 4
cdq
mov dword [ebp - 0x209c], eax
lea eax, [ebp - 0x20cc]
mov dword [ebp - 0x2098], edx
mov esi, dword [edi + 4]
push eax
cmp dword [edi + 8], esi
je 0x100060f3
mov ecx, esi
mov dword [ebp - 0x20f8], esi
call fcn.10006500
lea eax, [ebp - 0x20b4]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x18]
call fcn.10006500
mov eax, dword [ebp - 0x209c]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x2098]
mov dword [esi + 0x34], eax
add dword [edi + 4], 0x38
jmp 0x100060fb
push esi
mov ecx, edi
call fcn.10006e60
lea ecx, [ebp - 0x2028]
call fcn.10006620
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2050]
cmp edx, 8
jb 0x1000614a
mov ecx, dword [ebp - 0x2064]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006140
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100061cb
push edx
push ecx
call fcn.1001fb02
add esp, 8
xor eax, eax
mov dword [ebp - 0x2054], 0
lea ecx, [ebp - 0x20cc]
mov dword [ebp - 0x2050], 7
mov word [ebp - 0x2064], ax
call fcn.10004fe0
lea ecx, [ebp - 0x201c]
call fcn.10006620
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x202c]
cmp edx, 8
jb 0x10005de8
mov ecx, dword [ebp - 0x2040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100061b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100061cb
push edx
push ecx
call fcn.1001fb02
add esp, 8
jmp 0x10005de8
call fcn.10006610
call fcn.10037731
call fcn.10004290
int3