Function at 0x100046b0
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 0x100408a5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x1004a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
cmp ecx, edx
je 0x1000470a
push ecx
call fcn.10005c00
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
push 0x2000
call fcn.1003f2ac
add esp, 4
mov esi, eax
push dword [ebp - 0x50]
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [esi], 0
je 0x10004886
mov eax, esi
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004750
sub eax, edx
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.100020e0
mov dword [ebp - 4], 0
inc esi
mov ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
add esi, ecx
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push ecx
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push eax
call fcn.10005990
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push esi
cmova eax, dword [ebp - 0x2c]
push 0
push 0x10045540
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x18], 0xf
push esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push 0
push 0x10045544
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, dword [edi + 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
cmp esi, dword [edi + 8]
je 0x10004807
mov ecx, esi
call fcn.10005780
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
add dword [edi + 4], 0x20
jmp 0x1000480f
push esi
mov ecx, edi
call fcn.10006220
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10004843
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004839
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048b1
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000487a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004870
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048b1
push ecx
push edx
call fcn.1003f24b
add esp, 8
mov esi, dword [ebp - 0x54]
cmp byte [esi], 0
jne 0x10004731
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 5
test eax, eax
setne al
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.1003f23d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3