Function at 0x1001fd60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9fa8
mov eax, dword fs:[0]
push eax
mov eax, 0x402b4
call fcn.1009d370
mov eax, dword [0x10122fc0]
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.10020630
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.1000d020
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 0x100f7a98
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 0x100f7a9c
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 0x100f7aa0
call esi
lea ecx, [edi - 1]
mov dword [ebp - 0x40240], eax
cmp ecx, 0xfffc
ja 0x10020004
cmp byte [ebp - 0x20210], 0
lea edi, [ebp - 0x20210]
je 0x10020004
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001fed0
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x1001fff8
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 0x1001ffa5
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d020
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40258]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x40260]
push eax
call fcn.1001e750
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.1000b330
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x1001fec7
mov eax, dword [ebp - 0x40238]
dec eax
cmp eax, 0xfffc
ja 0x10020169
cmp byte [ebp - 0x30210], 0
lea edi, [ebp - 0x30210]
je 0x10020169
nop dword [eax]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020035
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x1002015d
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 0x10020107
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d020
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.1001e290
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.1000b330
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10020030
mov eax, dword [ebp - 0x4023c]
dec eax
cmp eax, 0xfffc
ja 0x100202cd
cmp byte [ebp - 0x40210], 0
lea edi, [ebp - 0x40210]
je 0x100202cd
nop
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020195
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x100202c1
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 0x10020267
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d020
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.1001e290
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.1000b330
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10020190
mov eax, dword [ebp - 0x40240]
dec eax
cmp eax, 0xfffc
ja 0x10020602
cmp byte [ebp - 0x10210], 0
lea edi, [ebp - 0x10210]
je 0x10020602
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100202f7
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40238], eax
test eax, eax
je 0x100205f6
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 0x100203c0
sub ecx, dword [ebp - 0x40240]
lea eax, [ebp - 0x210]
push ecx
push eax
mov ecx, edx
call fcn.1000d020
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40214]
push eax
mov byte [ebp - 4], 0
call fcn.100278b0
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 0x10020420
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.1000d020
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.1001e4f0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x40214]
mov byte [ecx + 0x20], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40258]
call fcn.1000b330
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 0x100204a0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40278]
call fcn.1000d020
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.1001e4f0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x40214]
mov byte [ecx + 0x21], ah
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40278]
call fcn.1000b330
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 0x10020520
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40290]
call fcn.1000d020
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.1001e4f0
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.1000b330
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 0x100205a0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x402a8]
call fcn.1000d020
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.1001e4f0
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.1000b330
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x100202f2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4022c]
call fcn.1000b330
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.1009d019
mov esp, ebp
pop ebp
ret