Function at 0x1008ba90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100999cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push 0x104
push 0x100c4e00
call sub.Ufxtwl.dll_Ordinal_170
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
push 0x100beae0
push 0x100c4de0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c4e00
push 1
push 0x100beaf4
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push 0x100c4e00
push 1
push 0x100beafc
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
push 0x100c4e00
push 1
push 0x100beb04
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
push 0x100c4e00
push 1
push 0x100beb10
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
push 0x100c4e00
push 1
push 0x100beb1c
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0x14]
and edx, 0x100
test edx, edx
jne 0x1008bb93
push 0x100c4e00
push 1
push 0x100beb28
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
jmp 0x1008bbb0
push 0x100c4e00
push 0
push 0x100beb34
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], eax
push 0x100c4e00
push 1
push 0x100beb40
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
push 0x100c4e00
push 2
push 0x100beb48
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
push 0x100c4e00
push 0
push 0x100beb50
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
push 0x100c4e00
push 0
push 0x100beb58
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], eax
push 0x100c4e00
push 0
push 0x100beb64
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
push 0x100c4e00
push 0
push 0x100beb70
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], eax
push 0x100c4e00
push 0
push 0x100beb80
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], eax
push 0x100c4e00
push 0
push 0x100beb8c
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x3c], eax
push 0x100c4e00
push 0
push 0x100beb98
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
push 0x100c4e00
push 0
push 0x100beba4
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], eax
push 0x100c4e00
push 0
push 0x100bebb0
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], eax
push 0x100c4e00
push 3
push 0x100bebbc
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], eax
push 0x100c4e00
push 0
push 0x100bebc8
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
push 0x100c4e00
push 0
push 0x100bebd4
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x50], eax
push 0x100c4e00
push 0
push 0x100bebe0
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x54], eax
push 0x100c4e00
push 0
push 0x100bebe8
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x58], eax
push 0x100c4e00
push 0
push 0x100bebf4
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], eax
push 0x100c4e00
push 0
push 0x100bec00
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 0x14]
and eax, 0x20
test eax, eax
je 0x1008bde6
push 0x100c4e00
push 0
push 0x100bec0c
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x1008bf5c
mov edx, dword [ebp + 0x14]
and edx, 0x100
test edx, edx
je 0x1008be32
push 0x100c4e00
push 0
push 0x100bec14
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], eax
push 0x100c4e00
push 0
push 0x100bec20
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], eax
jmp 0x1008bf5c
mov eax, dword [ebp + 0x14]
and eax, 0x200
test eax, eax
je 0x1008be60
push 0x100c4e00
push 0
push 0x100bec2c
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x1008bf5c
mov edx, dword [ebp + 0x14]
and edx, 0x400
test edx, edx
je 0x1008beac
push 0x100c4e00
push 0
push 0x100bec38
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], eax
push 0x100c4e00
push 0
push 0x100bec44
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], eax
jmp 0x1008bf5c
mov eax, dword [ebp + 0x14]
and eax, 0x800
test eax, eax
je 0x1008beda
push 0x100c4e00
push 0
push 0x100bec54
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x1008bf5c
mov edx, dword [ebp + 0x14]
and edx, 0x1000
test edx, edx
je 0x1008bf06
push 0x100c4e00
push 0
push 0x100bec60
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x1008bf5c
mov edx, dword [ebp + 0x14]
and edx, 0x2000
test edx, edx
je 0x1008bf32
push 0x100c4e00
push 0
push 0x100bec6c
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
jmp 0x1008bf5c
mov edx, dword [ebp + 0x14]
and edx, 0x4000
test edx, edx
je 0x1008bf5c
push 0x100c4e00
push 0
push 0x100bec78
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
push 0x68
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x74]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.UfxTools.dll_Ordinal_2262
add esp, 0xc
push 0x100c4e00
push 0xffffffffffffffff
push 0x100bec84
push 0x100c4de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
je 0x1008bfb4
push 0x68
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x74]
push edx
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1008bfce
mov eax, dword [ebp + 0x14]
push eax
push 0x100c4de0
push 0x100c4e00
mov ecx, dword [ebp + 8]
push ecx
call sym.UfxTools.dll_Ordinal_2261
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x1008c0bf
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
jne 0x1008c0b0
push 0x38c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x80], 0
je 0x1008c012
mov ecx, dword [ebp - 0x80]
call sub.Adbtwl.dll_Ordinal_160
mov dword [ebp - 0x8c], eax
jmp 0x1008c01c
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0
je 0x1008c0ae
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x78]
call sub.adbapi.dll_Ordinal_115
test eax, eax
jne 0x1008c06c
push 0xc
mov ecx, dword [ebp - 0x78]
call sub.adbapi.dll_Ordinal_113_1
test eax, eax
jne 0x1008c064
mov edx, dword [ebp - 0x78]
movsx eax, word [edx + 0x162]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x78]
call sub.adbapi.dll_Ordinal_104
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x1008c0a4
push 1
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x84]
call dword [edx]
mov dword [ebp - 0x90], eax
jmp 0x1008c0ae
mov dword [ebp - 0x90], 0
jmp 0x1008c0bf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
sub ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x50], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret