Function at 0x1000c130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099978
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x100b1010]
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, edx
mov dword [ebp - 0x154], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x158], 0
push eax
mov word [ebp - 0x14f], 0
mov byte [ebp - 0x14d], 0
call fcn.1003c670
push 2
push 0x100a0864
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1003cbd0
cmp dword [0x100b1308], 0x10
mov ecx, eax
mov edx, 0x100b12f4
mov byte [ebp - 0x14a], 0
cmovae edx, dword [0x100b12f4]
mov bl, 0x77
mov al, 0x47
mov byte [ebp - 0x14c], bl
xor al, bl
mov byte [ebp - 0x14a], 0
cmp dword [ecx + 0x14], 0x10
mov byte [ebp - 0x14b], al
jb 0x1000c1e3
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000c1ed
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
push 0x104
lea edx, [ebp - 0x118]
push edx
lea edx, [ebp - 0x14b]
push edx
push ecx
push eax
call ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 0x150], al
cmp ecx, 0x10
jb 0x1000c264
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c25a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c25a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009827d
add esp, 8
push dword [ebp - 0x154]
lea ecx, [ebp - 0x130]
call fcn.1003c670
push 2
push 0x100a0868
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.1003cbd0
cmp dword [0x100b1308], 0x10
mov ecx, eax
mov edx, 0x100b12f4
mov byte [ebp - 0x14a], 0
cmovae edx, dword [0x100b12f4]
mov ah, 0x77
mov al, 0x47
mov byte [ebp - 0x14c], ah
xor al, ah
mov byte [ebp - 0x14a], 0
cmp dword [ecx + 0x14], 0x10
mov byte [ebp - 0x14b], al
jb 0x1000c2c7
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000c2d1
mov eax, dword [esi]
push edx
push 0x104
lea edx, [ebp - 0x118]
push edx
lea edx, [ebp - 0x14b]
push edx
push ecx
push eax
call ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 0x14f], al
cmp ecx, 0x10
jb 0x1000c342
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c338
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c338
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009827d
add esp, 8
push dword [ebp - 0x154]
lea ecx, [ebp - 0x130]
call fcn.1003c670
push 2
push 0x100a086c
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.1003cbd0
cmp dword [0x100b1308], 0x10
mov ecx, eax
mov edx, 0x100b12f4
mov byte [ebp - 0x14a], 0
cmovae edx, dword [0x100b12f4]
mov ah, 0x77
mov al, 0x47
mov byte [ebp - 0x14c], ah
xor al, ah
mov byte [ebp - 0x14a], 0
cmp dword [ecx + 0x14], 0x10
mov byte [ebp - 0x14b], al
jb 0x1000c3a5
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000c3af
mov eax, dword [esi]
push edx
push 0x104
lea edx, [ebp - 0x118]
push edx
lea edx, [ebp - 0x14b]
push edx
push ecx
push eax
call ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 0x14e], al
cmp ecx, 0x10
jb 0x1000c420
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c416
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c416
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009827d
add esp, 8
cmp byte [ebp + 0xc], 0
je 0x1000c4d0
push dword [ebp - 0x154]
lea ecx, [ebp - 0x148]
call fcn.1003c670
push 2
mov dword [ebp - 4], 3
mov ecx, eax
push 0x100a0870
mov dword [ebp - 0x158], 1
call fcn.1003cbd0
cmp dword [0x100b1308], 0x10
mov ecx, eax
mov edx, 0x100b12f4
mov byte [ebp - 0x14a], 0
cmovae edx, dword [0x100b12f4]
mov ah, 0x77
mov al, 0x47
mov byte [ebp - 0x14c], ah
xor al, ah
mov byte [ebp - 0x14a], 0
cmp dword [ecx + 0x14], 0x10
mov byte [ebp - 0x14b], al
jb 0x1000c497
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x1000c49f
mov esi, dword [esi]
push edx
push 0x104
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14b]
push eax
push ecx
push esi
call ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1000c4d8
movss xmm0, dword [0x100a6550]
test byte [ebp - 0x158], 1
cvttss2si ebx, xmm0
mov byte [ebp - 0x14d], bl
je 0x1000c527
mov ecx, dword [ebp - 0x134]
cmp ecx, 0x10
jb 0x1000c527
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c51d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c51d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009827d
add esp, 8
xor al, al
cmp byte [ebp - 0x150], al
jne 0x1000c569
cmp byte [ebp + 0xc], al
jne 0x1000c54a
cmp byte [ebp - 0x14f], al
jne 0x1000c569
cmp byte [ebp - 0x14e], al
jne 0x1000c569
mov al, 1
jmp 0x1000c569
cmp byte [ebp - 0x14f], 0
jne 0x1000c569
cmp byte [ebp - 0x14e], 0
jne 0x1000c569
test bl, bl
movzx eax, al
mov ecx, 1
cmove eax, ecx
test al, al
lea ecx, [ebp - 0x150]
cmovne ecx, edi
mov al, byte [ecx]
mov byte [edi], al
mov al, byte [ecx + 1]
mov byte [edi + 1], al
mov al, byte [ecx + 2]
mov byte [edi + 2], al
mov al, byte [ecx + 3]
mov byte [edi + 3], al
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.1009823a
mov esp, ebp
pop ebp
ret