Function at 0x10020cd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff058
mov eax, dword fs:[0]
push eax
mov eax, 0x402b4
call fcn.100b2000
mov eax, dword [0x10155700]
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.100215a0
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.1000d4e0
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 0x1010fcd8
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 0x1010fcdc
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 0x1010fce0
call esi
lea ecx, [edi - 1]
mov dword [ebp - 0x40240], eax
cmp ecx, 0xfffc
ja 0x10020f74
cmp byte [ebp - 0x20210], 0
lea edi, [ebp - 0x20210]
je 0x10020f74
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020e40
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x10020f68
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 0x10020f15
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d4e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40258]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x40260]
push eax
call fcn.100193f0
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.1000b760
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10020e37
mov eax, dword [ebp - 0x40238]
dec eax
cmp eax, 0xfffc
ja 0x100210d9
cmp byte [ebp - 0x30210], 0
lea edi, [ebp - 0x30210]
je 0x100210d9
nop dword [eax]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020fa5
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x100210cd
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 0x10021077
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d4e0
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.10019190
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.1000b760
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10020fa0
mov eax, dword [ebp - 0x4023c]
dec eax
cmp eax, 0xfffc
ja 0x1002123d
cmp byte [ebp - 0x40210], 0
lea edi, [ebp - 0x40210]
je 0x1002123d
nop
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10021105
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x10021231
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 0x100211d7
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d4e0
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.10019190
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.1000b760
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10021100
mov eax, dword [ebp - 0x40240]
dec eax
cmp eax, 0xfffc
ja 0x10021572
cmp byte [ebp - 0x10210], 0
lea edi, [ebp - 0x10210]
je 0x10021572
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10021267
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40238], eax
test eax, eax
je 0x10021566
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 0x10021330
sub ecx, dword [ebp - 0x40240]
lea eax, [ebp - 0x210]
push ecx
push eax
mov ecx, edx
call fcn.1000d4e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40214]
push eax
mov byte [ebp - 4], 0
call fcn.1002b660
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 0x10021390
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d4e0
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.1001fbb0
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.1000b760
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 0x10021410
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40278]
call fcn.1000d4e0
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.1001fbb0
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.1000b760
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 0x10021490
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40290]
call fcn.1000d4e0
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.1001fbb0
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.1000b760
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 0x10021510
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x402a8]
call fcn.1000d4e0
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.1001fbb0
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.1000b760
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10021262
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4022c]
call fcn.1000b760
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.100b18d1
mov esp, ebp
pop ebp
ret