Function at 0x10028020
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163128
mov eax, dword fs:[0]
push eax
mov eax, 0x402b4
call fcn.10115aa0
mov eax, dword [0x10d412c0]
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.100288f0
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x4021c], 0
push str.C:Avatar_config.ini
lea ecx, [ebp - 0x4022c]
mov dword [ebp - 0x40218], 0
movups xmmword [ebp - 0x4022c], xmm0
call fcn.10011390
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 0x101da078
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 0x101da07c
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 0x101da080
call esi
lea ecx, [edi - 1]
mov dword [ebp - 0x40240], eax
cmp ecx, 0xfffc
ja 0x100282c4
cmp byte [ebp - 0x20210], 0
lea edi, [ebp - 0x20210]
je 0x100282c4
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10028190
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x100282b8
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 0x10028265
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.10011390
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40258]
mov ecx, dword [ebp - 0x40234]
push eax
lea eax, [ebp - 0x40260]
push eax
call fcn.1001c3d0
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.1000f600
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10028187
mov eax, dword [ebp - 0x40238]
dec eax
cmp eax, 0xfffc
ja 0x10028429
cmp byte [ebp - 0x30210], 0
lea edi, [ebp - 0x30210]
je 0x10028429
nop dword [eax]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100282f5
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x1002841d
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 0x100283c7
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.10011390
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.1001eaa0
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.1000f600
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x100282f0
mov eax, dword [ebp - 0x4023c]
dec eax
cmp eax, 0xfffc
ja 0x1002858d
cmp byte [ebp - 0x40210], 0
lea edi, [ebp - 0x40210]
je 0x1002858d
nop
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10028455
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40214], eax
test eax, eax
je 0x10028581
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 0x10028527
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.10011390
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.1001eaa0
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.1000f600
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10028450
mov eax, dword [ebp - 0x40240]
dec eax
cmp eax, 0xfffc
ja 0x100288c2
cmp byte [ebp - 0x10210], 0
lea edi, [ebp - 0x10210]
je 0x100288c2
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100285b7
push 0x3d
push edi
sub esi, ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x40238], eax
test eax, eax
je 0x100288b6
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 0x10028680
sub ecx, dword [ebp - 0x40240]
lea eax, [ebp - 0x210]
push ecx
push eax
mov ecx, edx
call fcn.10011390
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40214]
push eax
mov byte [ebp - 4], 0
call fcn.1003d8c0
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 0x100286e0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40258]
call fcn.10011390
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.10026ee0
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.1000f600
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 0x10028760
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40278]
call fcn.10011390
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.10026ee0
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.1000f600
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 0x100287e0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x40290]
call fcn.10011390
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.10026ee0
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.1000f600
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 0x10028860
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x402a8]
call fcn.10011390
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.10026ee0
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.1000f600
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x100285b2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4022c]
call fcn.1000f600
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.101153a3
mov esp, ebp
pop ebp
ret