Function at 0x1002ae20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011565a
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x270], esi
call fcn.1002bf40
mov ecx, dword [0x1017c324]
push 0x104
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edi, eax
mov dword [ebp - 0x230], 7
mov eax, dword [str._preset]
lea ecx, [esi + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x274], edi
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x240], eax
mov ax, word [0x10141400]
mov word [ebp - 0x23c], ax
mov al, byte [0x10141402]
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x23a], al
mov byte [ebp - 0x239], 0
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
call fcn.1000de80
mov edx, dword [esi + 0xa0]
mov ecx, dword [eax]
mov eax, dword [esi + 0xa4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x1002bf35
push dword [edx + ecx*4]
push str.C:_sigmahook__s.cfg
push edi
call fcn.10028ef0
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jbe 0x1002af41
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002af37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002af37
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov ecx, dword [0x1017c324]
push 0x10000
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [0x1017c324]
push 0x10000
mov dword [ebp - 0x280], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, esi
call edx
mov esi, dword [0x1017c324]
push 0x10000
mov dword [ebp - 0x27c], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, esi
call edx
mov esi, dword [0x1017c324]
push 0x10000
mov dword [ebp - 0x284], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, esi
call edx
mov esi, dword [0x1017c324]
push 0x10000
mov dword [ebp - 0x278], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, esi
call edx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push edi
push 0x10000
push dword [ebp - 0x280]
mov dword [ebp - 0x288], eax
push str.sig_1
call esi
push dword [ebp - 0x274]
mov edi, eax
push 0x10000
push dword [ebp - 0x27c]
push str.sig_2
call esi
push dword [ebp - 0x274]
mov dword [ebp - 0x268], eax
push 0x10000
push dword [ebp - 0x284]
push str.sig_3
call esi
push dword [ebp - 0x274]
mov dword [ebp - 0x26c], eax
push 0x10000
push dword [ebp - 0x278]
push str.sig_4
call esi
push dword [ebp - 0x274]
mov dword [ebp - 0x25c], eax
push 0x10000
push dword [ebp - 0x288]
push str.sig_5
call esi
mov edx, dword [sym.imp.VCRUNTIME140.dll_strchr]
lea ecx, [edi - 1]
mov dword [ebp - 0x28c], eax
cmp ecx, 0xfffc
ja 0x1002b249
mov eax, dword [ebp - 0x280]
mov edi, eax
cmp byte [eax], 0
je 0x1002b249
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1002b080
push 0x3d
push edi
sub esi, ecx
call edx
add esp, 8
mov dword [ebp - 0x260], eax
test eax, eax
je 0x1002b238
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 - 0x260]
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 - 0x260]
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 - 0x218], 0
test eax, eax
mov dword [ebp - 0x214], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x110]
setne byte [ebp - 0x261]
lea edx, [ecx + 1]
movups xmmword [ebp - 0x228], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b152
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.1000f6f0
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.10029140
mov ecx, dword [ebp - 0x270]
push eax
mov byte [ebp - 4], 2
call fcn.1000dea0
mov cl, byte [ebp - 0x261]
mov byte [ebp - 4], 1
mov byte [eax], cl
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jbe 0x1002b1dc
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b1d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
cmp ecx, 0xf
jbe 0x1002b238
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b22e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
mov edx, dword [sym.imp.VCRUNTIME140.dll_strchr]
inc edi
add edi, esi
cmp byte [edi], 0
jmp 0x1002b074
mov eax, dword [ebp - 0x268]
dec eax
cmp eax, 0xfffc
ja 0x1002b440
mov eax, dword [ebp - 0x27c]
mov edi, eax
cmp byte [eax], 0
je 0x1002b440
nop dword [eax]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1002b275
push 0x3d
push edi
sub esi, ecx
call edx
add esp, 8
mov dword [ebp - 0x260], eax
test eax, eax
je 0x1002b42d
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 - 0x260]
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 - 0x260]
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 - 0x260], eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x218], 0
add esp, 0x3c
mov dword [ebp - 0x214], 0
movups xmmword [ebp - 0x228], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b344
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.1000f6f0
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.10029140
mov ecx, dword [ebp - 0x270]
push eax
mov byte [ebp - 4], 4
lea ecx, [ecx + 0x20]
call fcn.1000de80
mov ecx, dword [ebp - 0x260]
mov byte [ebp - 4], 3
mov dword [eax], ecx
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jbe 0x1002b3d1
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b3c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
cmp ecx, 0xf
jbe 0x1002b42d
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
inc edi
add edi, esi
cmp byte [edi], 0
je 0x1002b440
mov edx, dword [sym.imp.VCRUNTIME140.dll_strchr]
jmp 0x1002b270
mov eax, dword [ebp - 0x26c]
dec eax
cmp eax, 0xfffc
ja 0x1002b639
mov eax, dword [ebp - 0x284]
mov edi, eax
cmp byte [eax], 0
je 0x1002b639
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1002b468
push 0x3d
push edi
sub esi, ecx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 8
mov dword [ebp - 0x260], eax
test eax, eax
je 0x1002b62d
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 - 0x260]
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 - 0x260]
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 - 0x218], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x214], 0
fstp dword [ebp - 0x26c]
add esp, 0x3c
lea edx, [ecx + 1]
movups xmmword [ebp - 0x228], xmm0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b540
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.1000f6f0
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.10029140
mov ecx, dword [ebp - 0x270]
push eax
mov byte [ebp - 4], 6
lea ecx, [ecx + 0x40]
call fcn.1000de80
movss xmm0, dword [ebp - 0x26c]
mov byte [ebp - 4], 5
movss dword [eax], xmm0
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jbe 0x1002b5d1
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b5c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
cmp ecx, 0xf
jbe 0x1002b62d
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b623
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
inc edi
add edi, esi
cmp byte [edi], 0
jne 0x1002b463
mov eax, dword [ebp - 0x25c]
dec eax
cmp eax, 0xfffc
ja 0x1002b9e6
mov eax, dword [ebp - 0x278]
mov esi, eax
mov dword [ebp - 0x260], eax
cmp byte [eax], 0
je 0x1002b9e6
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1002b667
push 0x3d
push esi
sub edi, ecx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 8
mov dword [ebp - 0x268], eax
test eax, eax
je 0x1002b9d4
push 0xff
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x268]
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x210]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, dword [ebp - 0x268]
mov eax, edi
sub eax, ecx
add eax, esi
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x110]
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 - 0x110]
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b720
sub ecx, esi
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, edx
call fcn.1000f6f0
call fcn.100299d0
mov esi, eax
mov dword [ebp - 0x218], 0
xorps xmm0, xmm0
mov dword [ebp - 0x268], esi
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x214], 0
add esp, 0x18
lea edx, [ecx + 1]
movups xmmword [ebp - 0x228], xmm0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b770
sub ecx, edx
lea eax, [ebp - 0x210]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.1000f6f0
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x240]
call fcn.10029140
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x214]
cmp ecx, 0xf
jbe 0x1002b7e2
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b7d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
movss xmm0, dword [esi]
lea ecx, [ebp - 0x25c]
xorps xmm1, xmm1
mov dword [ebp - 0x25c], 0
comiss xmm0, xmm1
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x3f800000
movss xmm1, dword [0x10145040]
cmovae ecx, esi
mov esi, dword [ebp - 0x270]
comiss xmm1, xmm0
cmovae eax, ecx
add esi, 0x60
mov ecx, esi
movss xmm0, dword [eax]
lea eax, [ebp - 0x240]
push eax
movss dword [ebp - 0x25c], xmm0
call fcn.10031f20
movss xmm0, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
xorps xmm1, xmm1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x26c], 0x3f800000
movss dword [eax], xmm0
mov eax, dword [ebp - 0x268]
add eax, 4
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm1, dword [0x10145040]
cmovae ecx, eax
lea eax, [ebp - 0x26c]
comiss xmm1, xmm0
cmovae eax, ecx
mov ecx, esi
movss xmm0, dword [eax]
lea eax, [ebp - 0x240]
push eax
movss dword [ebp - 0x25c], xmm0
call fcn.10031f20
movss xmm0, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
xorps xmm1, xmm1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x26c], 0x3f800000
movss dword [eax + 4], xmm0
mov eax, dword [ebp - 0x268]
add eax, 8
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm1, dword [0x10145040]
cmovae ecx, eax
lea eax, [ebp - 0x26c]
comiss xmm1, xmm0
cmovae eax, ecx
mov ecx, esi
movss xmm0, dword [eax]
lea eax, [ebp - 0x240]
push eax
movss dword [ebp - 0x25c], xmm0
call fcn.10031f20
movss xmm0, dword [ebp - 0x25c]
lea edx, [ebp - 0x25c]
xorps xmm1, xmm1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x26c], 0x3f800000
mov ecx, esi
movss dword [eax + 8], xmm0
mov eax, dword [ebp - 0x268]
add eax, 0xc
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm1, dword [0x10145040]
cmovae edx, eax
lea eax, [ebp - 0x26c]
comiss xmm1, xmm0
cmovae eax, edx
movss xmm0, dword [eax]
lea eax, [ebp - 0x240]
movss dword [ebp - 0x25c], xmm0
push eax
call fcn.10031f20
movss xmm0, dword [ebp - 0x25c]
mov dword [ebp - 4], 0xffffffff
movss dword [eax + 0xc], xmm0
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jbe 0x1002b9ce
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b9c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
mov esi, dword [ebp - 0x260]
inc esi
add esi, edi
mov dword [ebp - 0x260], esi
cmp byte [esi], 0
jne 0x1002b662
mov eax, dword [ebp - 0x28c]
dec eax
cmp eax, 0xfffc
ja 0x1002be7b
mov eax, dword [ebp - 0x288]
mov ecx, eax
mov dword [ebp - 0x268], eax
cmp byte [eax], 0
je 0x1002be7b
nop
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1002ba15
sub esi, edx
push 0x3d
push ecx
mov dword [ebp - 0x294], esi
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x1002be63
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 ecx, dword [ebp - 0x268]
mov eax, edi
sub eax, ecx
push eax
push ecx
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, dword [ebp - 0x268]
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, 0x38
lea ecx, [ebp - 0x210]
xorps xmm0, xmm0
lea edi, [ecx + 1]
push 0x10141824
sub esp, 0x18
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bad7
sub ecx, edi
lea eax, [ebp - 0x210]
push ecx
push eax
mov ecx, edx
call fcn.1000f6f0
lea eax, [ebp - 0x234]
push eax
call fcn.10029c90
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 0xa
call fcn.100138e0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x290], ecx
cmp eax, ecx
je 0x1002bd2c
push eax
lea ecx, [ebp - 0x228]
call fcn.1000e220
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x228]
mov edi, dword [ebp - 0x214]
cmp edi, 0xf
mov esi, dword [ebp - 0x228]
mov edx, dword [ebp - 0x218]
cmova ecx, esi
push 0
push 0x1013eb78
call fcn.10011560
add esp, 8
test al, al
je 0x1002bba7
mov byte [ebp - 4], 0xb
cmp edi, 0xf
jbe 0x1002bd0b
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002bba0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push esi
jmp 0x1002bd03
push 0x101389dc
sub esp, 0x18
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.1000e220
lea eax, [ebp - 0x2a0]
push eax
call fcn.10029c90
mov byte [ebp - 4], 0xd
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x2a0]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x1002bf30
add esi, 0x18
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 0xf
mov edi, eax
jbe 0x1002bc08
mov esi, dword [esi]
push 0xa
lea eax, [ebp - 0x28c]
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 - 0x28c]
je 0x1002bf25
cmp dword [edi], 0x22
je 0x1002bf1a
mov ecx, dword [ebp - 0x29c]
test eax, eax
mov esi, dword [ebp - 0x2a0]
mov eax, 0x2aaaaaab
setne byte [ebp - 0x261]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002bf30
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 0xf
mov edi, eax
jbe 0x1002bc74
mov esi, dword [esi]
push 0xa
lea eax, [ebp - 0x25c]
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 - 0x25c]
je 0x1002bf25
cmp dword [edi], 0x22
je 0x1002bf1a
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x2c4]
lea eax, [ebp - 0x26c]
push eax
call fcn.1000dcc0
mov cl, byte [ebp - 0x261]
mov byte [eax], cl
lea ecx, [ebp - 0x2a0]
call fcn.1000e320
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x214]
cmp ecx, 0xf
jbe 0x1002bd0b
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bd01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
mov eax, dword [ebp - 0x260]
add eax, 0x18
mov dword [ebp - 0x260], eax
cmp eax, dword [ebp - 0x290]
jne 0x1002bb31
mov esi, dword [ebp - 0x294]
mov edi, dword [ebp - 0x270]
lea ecx, [ebp - 0x110]
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x214], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bd60
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.1000f6f0
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x258]
call fcn.10029140
push eax
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 0xf
call fcn.1000de40
lea ecx, [ebp - 0x2c4]
push ecx
mov ecx, eax
call fcn.10031f60
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x244]
cmp ecx, 0xf
jbe 0x1002bded
mov edx, dword [ebp - 0x258]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bde3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
cmp ecx, 0xf
jbe 0x1002be46
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002be3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002af31
push ecx
push edx
call fcn.1011035b
add esp, 8
lea ecx, [ebp - 0x2c4]
call fcn.10006030
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.1000e320
mov ecx, dword [ebp - 0x268]
inc ecx
add ecx, esi
mov dword [ebp - 0x268], ecx
cmp byte [ecx], 0
jne 0x1002ba10
mov ecx, dword [ebp - 0x270]
call fcn.10031b50
mov ecx, dword [0x1017c324]
push dword [ebp - 0x274]
mov byte [0x1017e5c8], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1017c324]
push dword [ebp - 0x278]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1017c324]
push dword [ebp - 0x27c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1017c324]
push dword [ebp - 0x280]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1017c324]
push dword [ebp - 0x284]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1017c324]
push dword [ebp - 0x288]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
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.1010fe2d
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.1000e310
call fcn.1000e310
int3