Function at 0x10042d9
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100fb04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
push edi
mov esi, 0x100fb74
push esi
push 0x10015fc
push 0x10015f4
mov edi, 0x100151c
push edi
call ebx
push esi
push 0
push 0x1001524
push edi
call ebx
push esi
push 0x10015f0
push 0x1001510
push edi
call ebx
push esi
push 0
push 0x10015e4
mov edi, 0x1001444
push edi
call ebx
mov eax, dword [0x1011584]
sub eax, 0x865
je 0x100435b
dec eax
lea eax, [ebp - 0x20c]
je 0x1004354
push 0x10015d8
jmp 0x1004366
push 0x10015cc
jmp 0x1004366
push 0x10015e4
lea eax, [ebp - 0x20c]
push 0x208
push eax
call fcn.01002653
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x10015bc
push edi
call ebx
push esi
push 0xa
lea eax, [ebp - 0x20c]
push eax
push dword [0x1011588]
call dword [sym.imp.msvcrt.dll__itoa]
add esp, 0xc
push eax
push 0x10015a0
push edi
call ebx
push esi
push 0xa
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x101158c]
and eax, 1
push eax
call dword [sym.imp.msvcrt.dll__itoa]
add esp, 0xc
push eax
push 0x100139c
push edi
call ebx
push esi
push 0xa
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x101158c]
shr eax, 1
and eax, 1
push eax
call dword [sym.imp.msvcrt.dll__itoa]
add esp, 0xc
push eax
push 0x100138c
push edi
call ebx
push esi
push 0xa
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x101158c]
shr eax, 3
and eax, 1
push eax
call dword [sym.imp.msvcrt.dll__itoa]
add esp, 0xc
push eax
push 0x100136c
push edi
call ebx
push esi
push 0xa
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x101158e]
and eax, 1
push eax
call dword [sym.imp.msvcrt.dll__itoa]
add esp, 0xc
push eax
push 0x1001590
push edi
call ebx
mov eax, dword [0x101158c]
test eax, 0x20000
je 0x100444d
xor eax, eax
inc eax
jmp 0x1004465
test eax, 0x40000
je 0x1004459
push 2
pop eax
jmp 0x1004465
and eax, 0x80000
neg eax
sbb eax, eax
and eax, 3
push dword [eax*4 + 0x100f2c8]
lea eax, [ebp - 0x20c]
push 0x208
push eax
call fcn.01002653
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x100157c
push edi
call ebx
mov al, byte [0x1011594]
mov byte [ebp - 0x20c], 0
test al, 1
je 0x10044df
test al, 2
lea eax, [ebp - 0x20c]
je 0x10044ae
push 0x1001578
jmp 0x10044b3
push 0x1001574
push 0x208
push eax
call fcn.01002653
test byte [0x1011594], 4
je 0x10044f5
push 0x1001570
push 0x208
lea eax, [ebp - 0x20c]
push eax
call fcn.010026dd
jmp 0x10044f5
push 0x100156c
push 0x208
lea eax, [ebp - 0x20c]
push eax
call fcn.01002653
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1001560
push edi
call ebx
mov eax, 0x100f190
mov dword [ebp - 0x210], eax
jmp 0x1004518
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 8]
xor edx, edx
push edx
push dword [eax]
cmp ecx, edx
je 0x100452d
cmp dword [ecx], edx
jne 0x100452d
push dword [eax - 8]
jmp 0x1004530
push dword [eax - 4]
push dword [eax - 0xc]
push dword [eax - 0x10]
call fcn.01002f09
add dword [ebp - 0x210], 0x1c
cmp dword [ebp - 0x210], 0x100f28c
jl 0x1004512
test dword [0x101158c], 0x10000
je 0x1004588
push 0
push 0x104
push 0x1010710
push 0x1001550
push edi
call fcn.01002f09
push 0
push 0x104
push 0x1011060
push 0x100153c
push edi
call fcn.01002f09
call fcn.0100c15e
push esi
push 0x208
lea eax, [ebp - 0x20c]
push eax
push 0x1001433
push 0x1001530
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x10045db
push 0x1011010
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10045db
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0100415b
test eax, eax
jne 0x10045db
xor eax, eax
jmp 0x1004647
cmp byte [0x1011010], 0
je 0x1004602
push esi
push 0x1011010
push 0x1001530
push edi
call ebx
mov eax, 0x1011010
push eax
push eax
call fcn.010030ad
test eax, eax
je 0x10045d7
push esi
push 0x208
lea eax, [ebp - 0x20c]
push eax
push 0x1001433
push 0x10014b8
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1004634
lea eax, [ebp - 0x20c]
push eax
call fcn.01004242
test eax, eax
je 0x10045d7
push esi
push 0x1010fc0
push 0x10014b8
push edi
call ebx
call fcn.0100331b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100cb7f
leave
ret 4