Function at 0x10007890
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 0x1003d138
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x1004b040]
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 - 0xb4], 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 0x100078f7
mov esi, dword [ebp - 0x98]
xor eax, eax
sub edi, ecx
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], eax
test edi, edi
jle 0x10007a2d
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], edx
nop word [eax + eax]
mov dword [ebp - 0xb0], edx
lea eax, [ebp + eax - 0x33]
mov dl, byte [eax - 1]
mov byte [ebp - 0x9d], dl
cmp dl, 0x72
mov dword [ebp - 0xac], esi
mov edx, ecx
mov dword [ebp - 0x98], ecx
jne 0x10007991
cmp byte [eax + 1], 0x2c
je 0x10007a08
cmp byte [eax + 2], 0x2c
je 0x10007a08
cmp byte [eax + 3], 0x2c
mov edx, dword [ebp - 0x9c]
jne 0x10007a10
mov ecx, eax
jmp 0x10007a10
cmp byte [ebp - 0x9d], 0x67
mov ecx, edx
jne 0x100079bc
cmp byte [eax + 1], 0x2c
jne 0x100079a6
mov esi, eax
jmp 0x10007a0a
cmp byte [eax + 2], 0x2c
jne 0x100079b0
mov esi, eax
jmp 0x10007a0a
cmp byte [eax + 3], 0x2c
jne 0x10007a0a
mov esi, eax
mov ecx, edx
jmp 0x10007a0a
mov dl, byte [ebp - 0x9d]
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0x98], ecx
cmp dl, 0x62
jne 0x100079dd
mov edx, eax
mov dword [ebp - 0x9c], edx
jmp 0x10007a10
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x98]
cmp dl, 0x61
jne 0x10007a0a
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x9c], edx
jmp 0x10007a10
mov ecx, eax
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp eax, edi
jl 0x10007940
mov edi, dword [ebp - 0x9c]
jmp 0x10007a39
mov edi, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edi
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x98], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10007a44
sub edx, dword [ebp - 0x98]
xor eax, eax
test edx, edx
jle 0x10007a6d
cmp byte [eax + ecx], 0x2c
jne 0x10007a68
cmp byte [eax + ecx + 1], 0x67
jne 0x10007a68
mov byte [eax + ecx], 0
inc eax
cmp eax, edx
jl 0x10007a57
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp - 0x98], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10007a78
sub edx, dword [ebp - 0x98]
xor eax, eax
test edx, edx
jle 0x10007aa6
nop dword [eax + eax]
cmp byte [eax + esi], 0x2c
jne 0x10007aa1
cmp byte [eax + esi + 1], 0x62
jne 0x10007aa1
mov byte [eax + esi], 0
inc eax
cmp eax, edx
jl 0x10007a90
mov edx, dword [ebp - 0xa4]
lea eax, [edx + 1]
mov dword [ebp - 0x98], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10007ab5
sub edx, dword [ebp - 0x98]
xor eax, eax
test edx, edx
jle 0x10007aec
mov edi, dword [ebp - 0xa4]
nop
cmp byte [eax + edi], 0x2c
jne 0x10007ae1
cmp byte [eax + edi + 1], 0x72
jne 0x10007ae1
mov byte [eax + edi], 0
inc eax
cmp eax, edx
jl 0x10007ad0
mov edi, dword [ebp - 0x9c]
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 - 0x98], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10007b66
sub edx, dword [ebp - 0x98]
push edx
push ecx
lea ecx, [ebp - 0x94]
call fcn.10011160
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007b85
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x7c]
call fcn.10011160
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007ba0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x64]
call fcn.10011160
mov edx, dword [ebp - 0xa4]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007bc0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.10011160
cmp dword [ebp - 0x38], 0xf
lea ecx, [ebp - 0x4c]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea eax, [ebp - 0x64]
cmova ecx, dword [ebp - 0x4c]
lea edi, [ebp - 0x94]
cmp dword [ebp - 0x50], 0xf
push ecx
cmova eax, dword [ebp - 0x64]
cmp dword [ebp - 0x68], 0xf
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x7c]
cmova eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x80], 0xf
mov dword [ebp - 0xb0], eax
cmova edi, dword [ebp - 0x94]
call esi
push dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
call esi
push dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
call esi
push edi
mov dword [ebp - 0x98], eax
call esi
mov ecx, dword [ebp - 0xb4]
add esp, 0x10
mov byte [ebp - 0xa4], al
mov eax, dword [ebp - 0x98]
mov byte [ebp - 0xa3], al
mov eax, dword [ebp - 0xac]
mov byte [ebp - 0xa2], al
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 0xa1], al
mov eax, dword [ebp - 0xa4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10007cae
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007ca4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007d71
push ecx
push edx
call fcn.1003b276
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, 0xf
jbe 0x10007cf4
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007cea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007d71
push ecx
push edx
call fcn.1003b276
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, 0xf
jbe 0x10007d36
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007d2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007d71
push ecx
push edx
call fcn.1003b276
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, 0xf
jbe 0x10007d81
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007d77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10007d77
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003b276
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.1003af4e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret