Function at 0x10040e60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10082670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov ecx, 0x100ad5e4
call fcn.10079e45
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0xffffffffffffffff
push 0x1009b21c
push 0x100959c8
call edi
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push eax
mov eax, dword [esi + 0x148]
push 0x14e
push eax
call ebp
mov ecx, esi
call fcn.1003e3f0
push ebx
mov ecx, 0x100ad5e4
call fcn.10079e45
push eax
push 0xffffffffffffffff
push 0x1009b210
push 0x100959c8
call edi
mov ecx, dword [esi + 0x10c]
push ebx
push eax
push 0x14e
push ecx
call ebp
push ebx
mov ecx, 0x100ad5e4
call fcn.10079e45
push eax
push ebx
push 0x1009b204
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x174], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1f8
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x180], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1ec
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x184], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1e0
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x178], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1d4
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x18c], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1c8
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x168], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1bc
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x17c], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1b0
push 0x100959c8
call edi
push ebx
mov ecx, 0x100ad5e4
mov dword [esi + 0x188], eax
call fcn.10079e45
push eax
push ebx
push 0x1009b1a8
push 0x100959c8
call edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x18]
push ebx
mov ecx, 0x100ad5e4
fstp dword [esi + 0x16c]
call fcn.10079e45
push eax
push ebx
push 0x1009b1a0
push 0x100959c8
call edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x18]
push ebx
mov ecx, 0x100ad5e4
fstp dword [esi + 0x170]
call fcn.10079e45
push eax
push ebx
push 0x1009b198
push 0x100959c8
call edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x18]
push ebx
mov ecx, 0x100ad5e4
fstp dword [esi + 0x1a8]
call fcn.10079e45
push eax
push ebx
push 0x1009b190
push 0x100959c8
call edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x18]
push ebx
mov ecx, 0x100ad5e4
fstp dword [esi + 0x1ac]
call fcn.10079e45
push eax
push ebx
push 0x10094524
push 0x100959c8
call edi
mov edx, dword [0x1009b834]
mov ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebx
mov eax, dword [0x1009b834]
mov dword [esp + 0x10], eax
mov byte [esp + 0x28], 1
xor eax, eax
cmp ecx, ebx
jle 0x1004117c
lea edi, [eax + 1]
lea ecx, [esp + 0x14]
push edi
push 0x10094514
push ecx
call fcn.10074f56
add esp, 0xc
mov ecx, 0x100ad5e4
push ebx
call fcn.10079e45
push eax
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call fcn.10079e45
push eax
push 0x100a1990
push ebx
lea ecx, [esp + 0x28]
call fcn.10079e45
push eax
push 0x100959c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.10079e94
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebx
je 0x1004116e
push ebx
lea ecx, [esp + 0x14]
call fcn.10079e45
push eax
mov eax, dword [esi + 0x94]
push ebx
push 0x18f
push eax
call ebp
cmp eax, 0xffffffff
jne 0x1004116e
push ebx
lea ecx, [esp + 0x14]
call fcn.10079e45
mov ecx, dword [esi + 0x94]
push eax
push ebx
push 0x180
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp eax, ecx
jl 0x100410d0
push ebx
mov ecx, esi
call fcn.10077eee
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x10]
call fcn.10079b3b
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10079b3b
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret