Function at 0x10006900
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1006200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
push eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push str.r0_g0_b0
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [ebp - 0x30]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10006954
mov esi, dword [ebp - 0x80]
sub edi, ecx
mov ecx, dword [ebp - 0x80]
xor ebx, ebx
test edi, edi
jle 0x100069f5
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x2f]
mov dword [ebp - 0x80], esi
add eax, ebx
mov dword [ebp - 0x88], ecx
mov dl, byte [eax - 1]
mov byte [ebp - 0x79], dl
cmp dl, 0x72
mov edx, ecx
jne 0x100069af
cmp byte [eax + 1], 0x2c
jne 0x1000699b
mov ecx, eax
jmp 0x100069e8
cmp byte [eax + 2], 0x2c
jne 0x100069a5
mov ecx, eax
jmp 0x100069e8
cmp byte [eax + 3], 0x2c
jne 0x100069e8
mov ecx, eax
jmp 0x100069e8
cmp byte [ebp - 0x79], 0x67
mov ecx, edx
jne 0x100069d7
cmp byte [eax + 1], 0x2c
jne 0x100069c1
mov esi, eax
jmp 0x100069e8
cmp byte [eax + 2], 0x2c
jne 0x100069cb
mov esi, eax
jmp 0x100069e8
cmp byte [eax + 3], 0x2c
jne 0x100069e8
mov esi, eax
mov ecx, edx
jmp 0x100069e8
cmp byte [ebp - 0x79], 0x62
mov edx, dword [ebp - 0x80]
mov esi, edx
jne 0x100069e8
mov dword [ebp - 0x84], eax
inc ebx
cmp ebx, edi
jl 0x10006976
mov ebx, dword [ebp - 0x84]
jmp 0x100069f8
mov ebx, dword [ebp - 0x80]
mov edx, ecx
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10006a00
sub edx, edi
xor eax, eax
test edx, edx
jle 0x10006a26
nop
cmp byte [eax + ecx], 0x2c
jne 0x10006a21
cmp byte [eax + ecx + 1], 0x67
jne 0x10006a21
mov byte [eax + ecx], 0
inc eax
cmp eax, edx
jl 0x10006a10
mov edx, esi
lea edi, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10006a30
sub edx, edi
xor eax, eax
test edx, edx
jle 0x10006a56
nop
cmp byte [eax + esi], 0x2c
jne 0x10006a51
cmp byte [eax + esi + 1], 0x62
jne 0x10006a51
mov byte [eax + esi], 0
inc eax
cmp eax, edx
jl 0x10006a40
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov edx, ecx
mov byte [ebp - 4], 2
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10006ab1
sub edx, edi
push edx
push ecx
lea ecx, [ebp - 0x78]
call fcn.1000c6c0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006ad0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.1000c6c0
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006ae8
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x48]
call fcn.1000c6c0
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmovae eax, dword [ebp - 0x48]
push eax
call esi
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x80], eax
cmovae ecx, dword [ebp - 0x60]
push ecx
call esi
cmp dword [ebp - 0x64], 0x10
lea ecx, [ebp - 0x78]
mov ebx, eax
cmovae ecx, dword [ebp - 0x78]
push ecx
call esi
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
mov byte [ebp - 0x84], al
mov eax, dword [ebp - 0x80]
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], al
mov byte [ebp - 0x81], 0xff
mov eax, dword [ebp - 0x84]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10006b91
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006b87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c0b
push ecx
push edx
call fcn.10032be6
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0x10
jb 0x10006bd3
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006bc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c0b
push ecx
push edx
call fcn.10032be6
add esp, 8
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x10006c1b
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006c11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006c11
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10032be6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100328be
mov esp, ebp
pop ebp
ret