Function at 0x10006840
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031168
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x1003f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0xc]
push eax
push 0x20
lea eax, [ebp - 0x34]
push eax
push str.r0_g0_b0_a0
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [ebp - 0x34]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100068a7
mov eax, dword [ebp - 0x9c]
sub edi, ecx
mov ecx, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], eax
test edi, edi
jle 0x100069a6
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
xor eax, eax
nop dword [eax + eax]
mov dl, byte [ebp + eax - 0x34]
lea eax, [ebp + eax - 0x33]
mov byte [ebp - 0x95], dl
cmp dl, 0x72
mov dword [ebp - 0xa8], esi
mov edx, ecx
mov dword [ebp - 0x9c], ecx
jne 0x1000692d
cmp byte [eax + 1], 0x2c
je 0x10006971
cmp byte [eax + 2], 0x2c
je 0x10006971
cmp byte [eax + 3], 0x2c
mov dl, byte [ebp - 0x95]
jne 0x10006979
mov ecx, eax
jmp 0x10006979
cmp byte [ebp - 0x95], 0x67
mov ecx, edx
jne 0x10006958
cmp byte [eax + 1], 0x2c
jne 0x10006942
mov esi, eax
jmp 0x10006973
cmp byte [eax + 2], 0x2c
jne 0x1000694c
mov esi, eax
jmp 0x10006973
cmp byte [eax + 3], 0x2c
jne 0x10006973
mov esi, eax
mov ecx, edx
jmp 0x10006973
mov dl, byte [ebp - 0x95]
mov esi, dword [ebp - 0xa8]
cmp dl, 0x62
jne 0x10006979
mov dword [ebp - 0xa4], eax
jmp 0x10006979
mov ecx, eax
mov dl, byte [ebp - 0x95]
cmp dl, 0x61
cmovne eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp eax, edi
jl 0x100068f0
mov edi, dword [ebp - 0xa0]
jmp 0x100069ac
mov edi, dword [ebp - 0x9c]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x9c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x100069b7
sub edx, dword [ebp - 0x9c]
xor eax, eax
test edx, edx
jle 0x100069e6
nop word [eax + eax]
cmp byte [eax + ecx], 0x2c
jne 0x100069e1
cmp byte [eax + ecx + 1], 0x67
jne 0x100069e1
mov byte [eax + ecx], 0
inc eax
cmp eax, edx
jl 0x100069d0
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp - 0x9c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x100069f1
sub edx, dword [ebp - 0x9c]
xor eax, eax
test edx, edx
jle 0x10006a1a
cmp byte [eax + esi], 0x2c
jne 0x10006a15
cmp byte [eax + esi + 1], 0x62
jne 0x10006a15
mov byte [eax + esi], 0
inc eax
cmp eax, edx
jl 0x10006a04
mov edx, edi
lea eax, [edx + 1]
mov dword [ebp - 0x9c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10006a25
sub edx, dword [ebp - 0x9c]
xor eax, eax
test edx, edx
jle 0x10006a4e
cmp byte [eax + edi], 0x2c
jne 0x10006a49
cmp byte [eax + edi + 1], 0x72
jne 0x10006a49
mov byte [eax + edi], 0
inc eax
cmp eax, edx
jl 0x10006a38
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov edx, ecx
mov byte [ebp - 4], 3
lea eax, [edx + 1]
mov dword [ebp - 0x9c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10006ac8
sub edx, dword [ebp - 0x9c]
push edx
push ecx
lea ecx, [ebp - 0x94]
call fcn.1000e4e0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006ae7
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x7c]
call fcn.1000e4e0
mov esi, dword [ebp - 0xa4]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006b05
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.1000e4e0
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006b20
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.1000e4e0
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea eax, [ebp - 0x64]
cmovae ecx, dword [ebp - 0x4c]
lea edi, [ebp - 0x94]
cmp dword [ebp - 0x50], 0x10
push ecx
cmovae eax, dword [ebp - 0x64]
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x80], 0x10
mov dword [ebp - 0xac], eax
cmovae edi, dword [ebp - 0x94]
call esi
push dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
call esi
push dword [ebp - 0xac]
mov dword [ebp - 0xa8], eax
call esi
push edi
mov dword [ebp - 0x9c], eax
call esi
mov ecx, dword [ebp - 0xb0]
add esp, 0x10
mov byte [ebp - 0xa0], al
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 0x9f], al
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 0x9e], al
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 0x9d], al
mov eax, dword [ebp - 0xa0]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x10006c0e
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006c04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006cd1
push ecx
push edx
call fcn.1002f1a6
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x10006c54
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006c4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006cd1
push ecx
push edx
call fcn.1002f1a6
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x10006c96
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006c8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006cd1
push ecx
push edx
call fcn.1002f1a6
add esp, 8
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0x10
jb 0x10006ce1
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006cd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006cd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002f1a6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002ee7e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret