Function at 0x10054f80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d5c4
mov eax, dword fs:[0]
push eax
mov eax, 0x50594
call fcn.10128d40
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x50550], esi
call fcn.10055e60
push 0x104
lea eax, [ebp - 0x318]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x50530], 0
lea ecx, [ebp - 0x50530]
mov dword [ebp - 0x50520], 0
mov dword [ebp - 0x5051c], 0xf
mov byte [ebp - 0x50530], 0
push 7
push str._preset
call fcn.10011990
lea eax, [ebp - 0x50530]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x20]
call fcn.10010790
mov edx, dword [esi + 0xa0]
mov ecx, dword [eax]
mov eax, dword [esi + 0xa4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x10055e4b
push dword [edx + ecx*4]
lea eax, [ebp - 0x318]
push str.C:_2k18.club__s.ini
push eax
call fcn.100538f0
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x10055097
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005508d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005508d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
push 0x10000
lea eax, [ebp - 0x10518]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea eax, [ebp - 0x318]
add esp, 0xc
push eax
push 0x10000
lea eax, [ebp - 0x20518]
push eax
push 0x10160894
call esi
mov edi, eax
lea eax, [ebp - 0x318]
push eax
push 0x10000
lea eax, [ebp - 0x30518]
push eax
push 0x101608a0
call esi
mov dword [ebp - 0x5055c], eax
lea eax, [ebp - 0x318]
push eax
push 0x10000
lea eax, [ebp - 0x40518]
push eax
push 0x1016089c
call esi
mov dword [ebp - 0x50558], eax
lea eax, [ebp - 0x318]
push eax
push 0x10000
lea eax, [ebp - 0x50518]
push eax
push 0x10160898
call esi
mov dword [ebp - 0x5054c], eax
lea eax, [ebp - 0x318]
push eax
push 0x10000
lea eax, [ebp - 0x10518]
push eax
push 0x101608a8
call esi
mov edx, dword [sym.imp.VCRUNTIME140.dll_strchr]
lea ecx, [edi - 1]
mov dword [ebp - 0x50560], eax
cmp ecx, 0xfffc
ja 0x100552c9
cmp byte [ebp - 0x20518], 0
lea edi, [ebp - 0x20518]
je 0x100552c9
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10055180
push 0x3d
push edi
sub esi, ecx
call edx
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100552b8
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, ebx
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 eax, esi
sub eax, ebx
add eax, edi
push eax
lea eax, [ebx + 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, 0x24
mov dword [ebp - 0x50530], 0
test eax, eax
mov dword [ebp - 0x50520], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x5051c], 0xf
setne bl
mov byte [ebp - 0x50530], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055240
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x50530]
call fcn.10011990
mov ecx, dword [ebp - 0x50550]
lea eax, [ebp - 0x50530]
push eax
mov dword [ebp - 4], 1
call fcn.100107b0
mov dword [ebp - 4], 0xffffffff
mov byte [eax], bl
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x100552b8
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100552ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
mov edx, dword [sym.imp.VCRUNTIME140.dll_strchr]
inc edi
add edi, esi
cmp byte [edi], 0
jmp 0x10055171
mov eax, dword [ebp - 0x5055c]
dec eax
cmp eax, 0xfffc
ja 0x1005543f
cmp byte [ebp - 0x30518], 0
lea edi, [ebp - 0x30518]
je 0x1005543f
nop
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100552f5
push 0x3d
push edi
sub esi, ecx
call edx
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1005542c
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, ebx
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 eax, esi
sub eax, ebx
add eax, edi
push eax
lea eax, [ebx + 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]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50530], 0
add esp, 0x24
mov dword [ebp - 0x50520], 0
mov ebx, eax
mov dword [ebp - 0x5051c], 0xf
mov byte [ebp - 0x50530], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100553b1
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x50530]
call fcn.10011990
mov ecx, dword [ebp - 0x50550]
lea eax, [ebp - 0x50530]
push eax
mov dword [ebp - 4], 2
lea ecx, [ecx + 0x20]
call fcn.10010790
mov dword [ebp - 4], 0xffffffff
mov dword [eax], ebx
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x1005542c
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10055422
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
inc edi
add edi, esi
cmp byte [edi], 0
je 0x1005543f
mov edx, dword [sym.imp.VCRUNTIME140.dll_strchr]
jmp 0x100552f0
mov eax, dword [ebp - 0x50558]
dec eax
cmp eax, 0xfffc
ja 0x100555cb
cmp byte [ebp - 0x40518], 0
lea edi, [ebp - 0x40518]
je 0x100555cb
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10055470
push 0x3d
push edi
sub esi, ecx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100555bf
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, ebx
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 eax, esi
sub eax, ebx
add eax, edi
push eax
lea eax, [ebx + 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]
mov ebx, dword [ebp - 0x50550]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50530], 0
lea edx, [ecx + 1]
fstp dword [ebp - 0x50558]
add esp, 0x24
mov dword [ebp - 0x50520], 0
mov dword [ebp - 0x5051c], 0xf
mov byte [ebp - 0x50530], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055540
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x50530]
call fcn.10011990
lea eax, [ebp - 0x50530]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebx + 0x40]
call fcn.10058d60
movss xmm0, dword [ebp - 0x50558]
mov dword [ebp - 4], 0xffffffff
movss dword [eax], xmm0
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x100555bf
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100555b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x10055464
mov eax, dword [ebp - 0x5054c]
dec eax
cmp eax, 0xfffc
ja 0x100559c7
cmp byte [ebp - 0x50518], 0
lea ebx, [ebp - 0x50518]
je 0x100559c7
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100555f5
push 0x3d
push ebx
sub esi, ecx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x100559bb
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, edi
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov eax, esi
sub eax, edi
add eax, ebx
push eax
lea eax, [edi + 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, 8
lea ecx, [ebp - 0x210]
mov edx, esp
lea edi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055697
sub ecx, edi
lea eax, [ebp - 0x210]
push ecx
push eax
mov ecx, edx
call fcn.10011990
call fcn.10053d80
mov edi, eax
mov dword [ebp - 0x50530], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50520], 0
add esp, 0x18
mov dword [ebp - 0x5051c], 0xf
mov byte [ebp - 0x50530], 0
lea edx, [ecx + 1]
movss xmm0, dword [edi]
movss dword [ebp - 0x5054c], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100556f3
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x50530]
call fcn.10011990
mov ecx, dword [ebp - 0x50550]
lea eax, [ebp - 0x50530]
push eax
mov dword [ebp - 4], 4
lea ecx, [ecx + 0x60]
call fcn.10010770
movss xmm0, dword [ebp - 0x5054c]
mov dword [ebp - 4], 0xffffffff
movss dword [eax], xmm0
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x10055778
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005576e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
movss xmm0, dword [edi + 4]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50530], 0
lea edx, [ecx + 1]
movss dword [ebp - 0x5054c], xmm0
mov dword [ebp - 0x50520], 0
mov dword [ebp - 0x5051c], 0xf
mov byte [ebp - 0x50530], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100557b3
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x50530]
call fcn.10011990
mov ecx, dword [ebp - 0x50550]
lea eax, [ebp - 0x50530]
push eax
mov dword [ebp - 4], 5
lea ecx, [ecx + 0x60]
call fcn.10010770
movss xmm0, dword [ebp - 0x5054c]
mov dword [ebp - 4], 0xffffffff
movss dword [eax + 4], xmm0
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x10055839
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005582f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
movss xmm0, dword [edi + 8]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50530], 0
lea edx, [ecx + 1]
movss dword [ebp - 0x5054c], xmm0
mov dword [ebp - 0x50520], 0
mov dword [ebp - 0x5051c], 0xf
mov byte [ebp - 0x50530], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055874
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x50530]
call fcn.10011990
mov ecx, dword [ebp - 0x50550]
lea eax, [ebp - 0x50530]
push eax
mov dword [ebp - 4], 6
lea ecx, [ecx + 0x60]
call fcn.10010770
movss xmm0, dword [ebp - 0x5054c]
mov dword [ebp - 4], 0xffffffff
movss dword [eax + 8], xmm0
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x100558fa
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100558f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
movss xmm0, dword [edi + 0xc]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50530], 0
lea edx, [ecx + 1]
movss dword [ebp - 0x5054c], xmm0
mov dword [ebp - 0x50520], 0
mov dword [ebp - 0x5051c], 0xf
mov byte [ebp - 0x50530], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055935
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x50530]
call fcn.10011990
mov ecx, dword [ebp - 0x50550]
lea eax, [ebp - 0x50530]
push eax
mov dword [ebp - 4], 7
lea ecx, [ecx + 0x60]
call fcn.10010770
movss xmm0, dword [ebp - 0x5054c]
mov dword [ebp - 4], 0xffffffff
movss dword [eax + 0xc], xmm0
mov edx, dword [ebp - 0x5051c]
cmp edx, 0x10
jb 0x100559bb
mov ecx, dword [ebp - 0x50530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100559b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
inc ebx
add ebx, esi
cmp byte [ebx], 0
jne 0x100555f0
mov eax, dword [ebp - 0x50560]
dec eax
cmp eax, 0xfffc
ja 0x10055e02
cmp byte [ebp - 0x10518], 0
lea ebx, [ebp - 0x10518]
mov dword [ebp - 0x5055c], ebx
je 0x10055e02
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100559f7
sub esi, ecx
push 0x3d
push ebx
mov dword [ebp - 0x5056c], esi
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x10055df0
push 0x100
lea eax, [ebp - 0x518]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, edi
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x518]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov eax, esi
sub eax, edi
add eax, ebx
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x418]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
add esp, 8
lea ecx, [ebp - 0x418]
mov edx, esp
lea edi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055aa0
sub ecx, edi
lea eax, [ebp - 0x418]
push ecx
push eax
mov ecx, edx
call fcn.10011990
push 0x101608d8
lea eax, [ebp - 0x50578]
push eax
call fcn.10054020
lea ecx, [ebp - 0x5059c]
mov dword [ebp - 4], 8
call fcn.10014ed0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x50574]
mov ebx, dword [ebp - 0x50578]
mov dword [ebp - 0x50564], eax
cmp ebx, eax
je 0x10055cef
nop dword [eax]
push ebx
lea ecx, [ebp - 0x50548]
call fcn.100113c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x50548]
mov edi, dword [ebp - 0x50534]
cmp edi, 0x10
mov esi, dword [ebp - 0x50548]
mov edx, dword [ebp - 0x50538]
cmovae ecx, esi
push 0
push 0x1014ffeb
call fcn.100149a0
add esp, 8
test al, al
je 0x10055b76
mov byte [ebp - 4], 9
cmp edi, 0x10
jb 0x10055cda
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10055b6f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push ecx
push esi
jmp 0x10055cd2
sub esp, 0x18
lea eax, [ebp - 0x50548]
mov ecx, esp
push eax
call fcn.100113c0
push 0x101608dc
lea eax, [ebp - 0x50524]
push eax
call fcn.10054020
mov byte [ebp - 4], 0xb
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x50520]
mov esi, dword [ebp - 0x50524]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x10055e46
add esi, 0x18
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 0x10
mov edi, eax
jb 0x10055bd7
mov esi, dword [esi]
push 0xa
lea eax, [ebp - 0x50560]
mov dword [edi], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
cmp esi, dword [ebp - 0x50560]
je 0x10055e3b
cmp dword [edi], 0x22
je 0x10055e30
mov ecx, dword [ebp - 0x50520]
test eax, eax
mov esi, dword [ebp - 0x50524]
mov eax, 0x2aaaaaab
setne byte [ebp - 0x50551]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10055e46
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 0x10
mov edi, eax
jb 0x10055c43
mov esi, dword [esi]
push 0xa
lea eax, [ebp - 0x5054c]
mov dword [edi], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
cmp esi, dword [ebp - 0x5054c]
je 0x10055e3b
cmp dword [edi], 0x22
je 0x10055e30
mov dword [ebp - 0x50558], eax
lea ecx, [ebp - 0x5059c]
lea eax, [ebp - 0x50558]
push eax
call fcn.100105d0
mov cl, byte [ebp - 0x50551]
mov byte [eax], cl
lea ecx, [ebp - 0x50524]
call fcn.1001fd00
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x50534]
cmp edx, 0x10
jb 0x10055cda
mov ecx, dword [ebp - 0x50548]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10055cd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
add ebx, 0x18
cmp ebx, dword [ebp - 0x50564]
jne 0x10055b00
mov esi, dword [ebp - 0x5056c]
mov edi, dword [ebp - 0x50550]
lea ecx, [ebp - 0x518]
mov dword [ebp - 0x50548], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50538], 0
mov dword [ebp - 0x50534], 0xf
mov byte [ebp - 0x50548], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055d23
sub ecx, edx
lea eax, [ebp - 0x518]
push ecx
push eax
lea ecx, [ebp - 0x50548]
call fcn.10011990
lea eax, [ebp - 0x50548]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [edi + 0x80]
call fcn.10010750
lea ecx, [ebp - 0x5059c]
cmp eax, ecx
je 0x10055d74
mov byte [ebp - 0x50568], 0
push dword [ebp - 0x50568]
push ecx
mov ecx, eax
call fcn.10058e40
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x50534]
cmp edx, 0x10
jb 0x10055db2
mov ecx, dword [ebp - 0x50548]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10055da8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10055087
push edx
push ecx
call fcn.10128808
add esp, 8
lea ecx, [ebp - 0x5059c]
mov dword [ebp - 0x50538], 0
mov dword [ebp - 0x50534], 0xf
mov byte [ebp - 0x50548], 0
call fcn.1000b2f0
lea ecx, [ebp - 0x50578]
mov dword [ebp - 4], 0xffffffff
call fcn.1001fd00
mov ebx, dword [ebp - 0x5055c]
inc ebx
add ebx, esi
mov dword [ebp - 0x5055c], ebx
cmp byte [ebx], 0
jne 0x100559f2
mov ecx, dword [ebp - 0x50550]
call fcn.10058930
mov byte [0x10204070], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
call fcn.10058e30
call fcn.10058e30
int3