Function at 0x1001f1b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7138
mov eax, dword fs:[0]
push eax
mov eax, 0x402b4
call fcn.100aa1b0
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x40234], eax
call fcn.1001fa80
push 0x16
xorps xmm0, xmm0
mov dword [ebp - 0x4021c], 0
push str.C:Superman_Config.ini
lea ecx, [ebp - 0x4022c]
mov dword [ebp - 0x40218], 0
movups xmmword [ebp - 0x4022c], xmm0
call fcn.1000d480
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10210]
push 0x10000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea eax, [ebp - 0x4022c]
add esp, 0xc
cmp dword [ebp - 0x40218], 0xf
cmova eax, dword [ebp - 0x4022c]
push eax
push 0x10000
lea eax, [ebp - 0x20210]
push eax
push str.bifc
call esi
cmp dword [ebp - 0x40218], 0xf
lea ecx, [ebp - 0x4022c]
mov edi, eax
lea eax, [ebp - 0x30210]
cmova ecx, dword [ebp - 0x4022c]
push ecx
push 0x10000
push eax
push 0x10107b78
call esi
cmp dword [ebp - 0x40218], 0xf
lea ecx, [ebp - 0x4022c]
mov dword [ebp - 0x40238], eax
lea eax, [ebp - 0x40210]
cmova ecx, dword [ebp - 0x4022c]
push ecx
push 0x10000
push eax
push 0x10107b7c
call esi
cmp dword [ebp - 0x40218], 0xf
lea ecx, [ebp - 0x4022c]
mov dword [ebp - 0x4023c], eax
lea eax, [ebp - 0x10210]
cmova ecx, dword [ebp - 0x4022c]
push ecx
push 0x10000
push eax
push 0x10107b80
call esi
lea ecx, [edi - 1]
mov dword [ebp - 0x40240], eax
cmp ecx, 0xfffc
ja 0x1001f454
cmp byte [ebp - 0x20210], 0
lea edi, [ebp - 0x20210]
je 0x1001f454
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001f320
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x1001f448
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xff
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40214]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, dword [ebp - 0x40214]
mov eax, esi
sub eax, ecx
add eax, edi
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x210]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 0x3c
mov dword [ebp - 0x40248], 0
test eax, eax
mov dword [ebp - 0x40244], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
setne byte [ebp - 0x4022d]
lea edx, [ecx + 1]
movups xmmword [ebp - 0x40258], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f3f5
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d480
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40258]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x40260]
push eax
call fcn.1001da60
mov cl, byte [ebp - 0x4022d]
mov eax, dword [eax]
mov byte [eax + 0x20], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40258]
call fcn.1000b6f0
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x1001f317
mov eax, dword [ebp - 0x40238]
dec eax
cmp eax, 0xfffc
ja 0x1001f5b9
cmp byte [ebp - 0x30210], 0
lea edi, [ebp - 0x30210]
je 0x1001f5b9
nop dword [eax]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001f485
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x1001f5ad
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xff
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40214]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, dword [ebp - 0x40214]
mov eax, esi
sub eax, ecx
add eax, edi
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x210]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xorps xmm0, xmm0
mov dword [ebp - 0x40238], eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x40248], 0
add esp, 0x3c
mov dword [ebp - 0x40244], 0
movups xmmword [ebp - 0x40258], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f557
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d480
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40258]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x40260]
push eax
lea ecx, [ecx + 0x20]
call fcn.1001d5a0
mov ecx, dword [ebp - 0x40238]
mov eax, dword [eax]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40258]
call fcn.1000b6f0
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x1001f480
mov eax, dword [ebp - 0x4023c]
dec eax
cmp eax, 0xfffc
ja 0x1001f71d
cmp byte [ebp - 0x40210], 0
lea edi, [ebp - 0x40210]
je 0x1001f71d
nop
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001f5e5
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x1001f711
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xff
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40214]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, dword [ebp - 0x40214]
mov eax, esi
sub eax, ecx
add eax, edi
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x210]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm0, xmm0
mov dword [ebp - 0x40248], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x40244], 0
fstp dword [ebp - 0x4023c]
add esp, 0x3c
lea edx, [ecx + 1]
movups xmmword [ebp - 0x40258], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f6b7
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d480
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40258]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x40260]
push eax
lea ecx, [ecx + 0x40]
call fcn.1001d5a0
movss xmm0, dword [ebp - 0x4023c]
mov eax, dword [eax]
movss dword [eax + 0x20], xmm0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40258]
call fcn.1000b6f0
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x1001f5e0
mov eax, dword [ebp - 0x40240]
dec eax
cmp eax, 0xfffc
ja 0x1001fa52
cmp byte [ebp - 0x10210], 0
lea edi, [ebp - 0x10210]
je 0x1001fa52
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001f747
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40238], eax
test eax, eax
je 0x1001fa46
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xff
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40238]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, dword [ebp - 0x40238]
mov eax, esi
sub eax, ecx
add eax, edi
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x210]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
add esp, 0x20
lea ecx, [ebp - 0x210]
mov edx, esp
mov dword [ebp - 0x4023c], esp
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x40240], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f810
sub ecx, dword [ebp - 0x40240]
lea eax, [ebp - 0x210]
push ecx
push eax
mov ecx, edx
call fcn.1000d480
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40214]
push eax
mov byte [ebp - 4], 0
call fcn.10029150
xorps xmm0, xmm0
mov dword [ebp - 0x40248], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x40244], 0
add esp, 0x1c
lea edx, [ecx + 1]
movups xmmword [ebp - 0x40258], xmm0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f870
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d480
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40258]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x40260]
push eax
lea ecx, [ecx + 0x60]
call fcn.1001d800
mov ecx, dword [eax]
mov al, byte [ebp - 0x40214]
mov byte [ecx + 0x20], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40258]
call fcn.1000b6f0
xorps xmm0, xmm0
mov dword [ebp - 0x40268], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x40264], 0
movups xmmword [ebp - 0x40278], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f8f0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40278]
call fcn.1000d480
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40278]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x402b0]
push eax
lea ecx, [ecx + 0x60]
call fcn.1001d800
mov ecx, dword [eax]
mov al, byte [ebp - 0x40213]
mov byte [ecx + 0x21], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40278]
call fcn.1000b6f0
xorps xmm0, xmm0
mov dword [ebp - 0x40280], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x4027c], 0
movups xmmword [ebp - 0x40290], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f970
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40290]
call fcn.1000d480
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40290]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x402b8]
push eax
lea ecx, [ecx + 0x60]
call fcn.1001d800
mov ecx, dword [eax]
mov al, byte [ebp - 0x40212]
mov byte [ecx + 0x22], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40290]
call fcn.1000b6f0
xorps xmm0, xmm0
mov dword [ebp - 0x40298], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x40294], 0
movups xmmword [ebp - 0x402a8], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f9f0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x402a8]
call fcn.1000d480
mov byte [ebp - 4], 8
lea eax, [ebp - 0x402a8]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x402c0]
push eax
lea ecx, [ecx + 0x60]
call fcn.1001d800
mov ecx, dword [eax]
mov al, byte [ebp - 0x40211]
mov byte [ecx + 0x23], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x402a8]
call fcn.1000b6f0
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x1001f742
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4022c]
call fcn.1000b6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a9e59
mov esp, ebp
pop ebp
ret