Function at 0x140031050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1400d4040]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x70], r8
mov rbx, qword [0x1400d49d8]
mov rsi, rbx
mov qword [rsp + 0x60], rbx
mov rax, qword [rbx + 0x3eb0]
mov byte [rax + 0xb0], 1
mov rdi, qword [rbx + 0x3eb0]
mov qword [rbp - 0x58], rdi
cmp byte [rdi + 0xb3], 0
jne 0x14003336f
movsxd r8, dword [rdi + 0xe8]
mov rax, qword [rdi + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea r15, str.Input
mov rcx, r15
call fcn.140005ec0
mov r14d, eax
mov dword [rsp + 0x58], eax
cmp dword [rbx + 0x3ef8], eax
jne 0x140031145
mov r8, r15
mov edx, 0xb
mov ecx, eax
call fcn.14001c2e0
mov rbx, qword [0x1400d49d8]
mov rcx, r15
cmp r15, 0xffffffffffffffff
jae 0x14003116d
nop
movzx edx, byte [rcx]
test dl, dl
je 0x14003116d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140031164
cmp byte [rax], dl
je 0x14003116d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140031150
movss xmm6, dword [rbx + 0x3c10]
movss xmm0, dword [0x1400c5ab0]
xorps xmm9, xmm9
cmp r15, rcx
jne 0x14003118c
xorps xmm8, xmm8
jmp 0x1400311d6
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1400c5a9c]
movaps xmm2, xmm6
lea rdx, [rbp - 0x80]
mov rcx, qword [rbx + 0x3c08]
call fcn.140023e40
movss xmm0, dword [rbp - 0x80]
addss xmm0, dword [0x1400c5998]
cvttss2si eax, xmm0
movd xmm8, eax
cvtdq2ps xmm8, xmm8
movss xmm6, dword [rbp - 0x7c]
movss xmm7, dword [rsi + 0x3820]
movaps xmm3, xmm7
addss xmm3, xmm7
addss xmm3, xmm6
call fcn.140015130
movaps xmm2, xmm0
mov rdx, qword [rbp + 0xe0]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
call fcn.1400151b0
comiss xmm8, xmm9
jbe 0x140031214
addss xmm6, dword [rsi + 0x3838]
jmp 0x140031217
xorps xmm6, xmm6
movss xmm8, dword [rbp - 0x7c]
movaps xmm0, xmm8
addss xmm0, xmm6
movss xmm5, dword [rdi + 0xfc]
movaps xmm6, xmm5
addss xmm6, xmm0
movss xmm4, dword [rdi + 0xf8]
movss xmm11, dword [rbp - 0x80]
movaps xmm3, xmm11
addss xmm3, xmm9
addss xmm3, xmm4
movss dword [rbp - 0x28], xmm4
movss dword [rbp - 0x24], xmm5
movss dword [rbp - 0x20], xmm3
movss dword [rbp - 0x1c], xmm6
movaps xmm2, xmm6
subss xmm2, xmm8
movaps xmm0, xmm3
subss xmm0, xmm11
movss dword [rbp - 0x38], xmm0
movss dword [rbp - 0x34], xmm2
movss dword [rbp - 0x30], xmm3
movss dword [rbp - 0x2c], xmm6
subss xmm6, xmm5
subss xmm3, xmm4
movss dword [rbp - 0x80], xmm3
movss dword [rbp - 0x7c], xmm6
movaps xmm1, xmm7
lea rcx, [rbp - 0x80]
call fcn.140014d60
mov r9d, 0x400
lea r8, [rbp - 0x38]
mov edx, r14d
lea rcx, [rbp - 0x28]
call fcn.140014ed0
test al, al
je 0x14003336f
mov r12d, dword [rsi + 0x4754]
mov edx, r14d
lea rcx, [rbp - 0x38]
call fcn.140009880
movzx r13d, al
mov byte [rsp + 0x52], al
test al, al
je 0x1400312ec
mov dword [rsi + 0x4a38], 1
mov rdi, qword [0x1400d49d8]
xor ecx, ecx
test r14d, r14d
je 0x14003130c
cmp dword [rdi + 0x4bd0], r14d
jne 0x14003130c
add rdi, 0x4bc8
jmp 0x14003130f
mov rdi, rcx
mov qword [rbp - 0x80], rdi
shr r12d, 8
and r12b, 1
cmp dword [rsi + 0x3f10], r14d
je 0x140031343
cmp dword [rsi + 0x48ac], r14d
je 0x14003133f
cmp dword [rsi + 0x48a0], r14d
jne 0x140031343
cmp dword [rsi + 0x48c8], 2
jne 0x140031343
mov al, 1
jmp 0x140031345
xor al, al
mov byte [rsp + 0x54], al
test r13b, r13b
je 0x14003135a
cmp byte [rsi + 0x3738], cl
je 0x14003135a
mov bl, 1
jmp 0x14003135c
xor bl, bl
mov byte [rsp + 0x53], bl
mov byte [rsp + 0x70], cl
xor r14b, r14b
test rdi, rdi
je 0x140031377
cmp byte [rdi + 0x6b], 1
je 0x140031377
mov r15b, 1
jmp 0x14003137a
xor r15b, r15b
test bl, bl
jne 0x14003138d
test al, al
jne 0x14003138d
test r12b, r12b
jne 0x14003138d
mov byte [rsp + 0x51], cl
jmp 0x14003139e
mov byte [rsp + 0x51], 1
mov edx, dword [rsp + 0x58]
cmp dword [rsi + 0x3f10], edx
jne 0x1400313a7
test r15b, r15b
je 0x1400315b3
lea rdi, [rsi + 0x4bc8]
mov qword [rbp - 0x80], rdi
mov dword [rdi + 0xe80], 0xbe99999a
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x70]
inc rbx
cmp byte [rax + rbx], cl
jne 0x1400313c7
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x1400313fd
test ecx, ecx
je 0x1400313e8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400313ed
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.14001ce20
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov r14, qword [rbp - 0x70]
mov rdx, r14
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rsp + 0x58]
cmp dword [rdi + 8], esi
jne 0x140031443
test r15b, r15b
jne 0x140031443
mov r13b, 1
cmp dword [rdi + 0x10], ebx
jne 0x140031443
cmp byte [rdi + 0x48], r15b
je 0x140031446
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140031446
xor r13b, r13b
mov dword [rdi + 8], esi
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x41
jge 0x140031478
test ecx, ecx
je 0x140031460
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140031465
mov eax, 8
mov edx, 0x41
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.14001ceb0
mov dword [rdi + 0x18], 0x41
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x1400314a3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor r10d, r10d
mov edx, r10d
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.14001ce20
xor ecx, ecx
mov dword [rdi + 0x28], ecx
mov byte [rdi + 0x48], cl
mov rsi, r14
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x7e]
cmp r15, r14
jae 0x1400314f1
nop
cmp byte [rsi], 0
je 0x1400314ef
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x74]
call fcn.1400061e0
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rsp + 0x74]
test eax, eax
je 0x1400314ef
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1400314c0
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov rax, qword [rbp - 0x70]
sub esi, eax
mov dword [rdi + 0x10], esi
test r13b, r13b
je 0x14003152f
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x140031571
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], ecx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], ecx
mov byte [rdi + 0x68], 0
mov byte [rdi + 0x6b], 1
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], ecx
mov rax, qword [rsp + 0x60]
cmp byte [rsp + 0x54], 0
je 0x140031590
test r13b, r13b
je 0x14003158b
test byte [rax + 0x48b0], 4
jne 0x140031590
mov r14b, 1
jmp 0x140031593
xor r14b, r14b
movzx ebx, byte [rsp + 0x53]
test r12b, r12b
jne 0x1400315aa
test bl, bl
je 0x1400315ad
cmp byte [rax + 0xe14], r12b
je 0x1400315ad
mov r14b, 1
movzx r13d, byte [rsp + 0x52]
mov r12, qword [rsp + 0x60]
mov r15d, dword [rsp + 0x58]
movzx esi, byte [rsp + 0x51]
cmp dword [r12 + 0x3f10], r15d
je 0x140031600
test sil, sil
je 0x1400315f2
mov rdx, qword [rbp - 0x58]
mov ecx, r15d
call fcn.140009540
mov rdx, qword [rbp - 0x58]
mov ecx, r15d
call fcn.140016c00
mov rcx, qword [rbp - 0x58]
call fcn.140012050
cmp dword [r12 + 0x3f10], r15d
jne 0x1400316a3
test bl, bl
je 0x140031622
mov rax, qword [0x1400d49d8]
mov dword [rax + 0x4568], r15d
mov dword [rax + 0x4564], r15d
mov word [rax + 0x456c], 0
or dword [r12 + 0x4720], 3
mov rax, qword [0x1400d49d8]
mov dword [rax + 0x3fb0], r15d
mov dword [rax + 0x3fac], r15d
mov word [rax + 0x3fb4], 0
mov dword [rax + 0x3fbc], r15d
mov dword [rax + 0x3fb8], r15d
mov word [rax + 0x3fc0], 0
cmp dword [r12 + 0x3f10], r15d
jne 0x1400316a3
test rdi, rdi
jne 0x140031674
call fcn.140009690
cmp dword [r12 + 0x3f10], r15d
jne 0x1400316a3
mov edx, 1
cmp byte [r12 + 0x3738], 0
je 0x14003169f
mov eax, dword [rsp + 0x70]
movzx eax, al
test sil, sil
cmove eax, edx
mov dword [rsp + 0x70], eax
mov cl, 1
jmp 0x1400316aa
xor cl, cl
mov edx, 1
mov byte [rsp + 0x51], cl
test rdi, rdi
je 0x1400316d6
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1400316c0
test r14b, r14b
je 0x1400316d6
test cl, cl
je 0x1400316d6
mov r8b, 1
mov byte [rsp + 0x50], r8b
xor r9b, r9b
mov byte [rsp + 0x52], r9b
jmp 0x1400316fe
xor r9b, r9b
mov byte [rsp + 0x52], r9b
xor r8b, r8b
mov byte [rsp + 0x50], r8b
test cl, cl
jne 0x1400316f9
mov byte [rsp + 0x50], r8b
cmp dword [r12 + 0x3f10], r15d
jne 0x140031717
test rdi, rdi
je 0x140031717
cmp byte [rdi + 0x48], 0
je 0x140031717
mov sil, 1
mov rax, qword [rdi + 0x30]
mov byte [rsp + 0x50], r8b
mov byte [rsp + 0x52], r9b
jmp 0x14003171e
xor sil, sil
mov rax, qword [rbp - 0x70]
movzx r10d, byte [rax]
mov byte [rsp + 0x6c], r10b
mov ebx, 0x20000c
movss xmm6, dword [rbp - 0x38]
movss dword [rbp - 0x68], xmm6
movss xmm0, dword [0x1400c5970]
cmp dword [r12 + 0x3f10], r15d
jne 0x140031bfc
mov byte [rdi + 0xe86], 0
mov dword [rdi + 0x4c], 0x40
xor r10d, r10d
mov dword [rdi + 0xe88], r10d
cmp byte [r12 + 0xe04], r10b
sete al
mov byte [r12 + 0x3f1d], al
mov dword [r12 + 0x5dcc], edx
movss xmm1, dword [r12 + 0xdfc]
subss xmm1, xmm6
subss xmm1, dword [r12 + 0x381c]
addss xmm1, dword [rdi + 0x50]
movss xmm2, dword [r12 + 0x3c10]
mulss xmm2, xmm0
movzx r15d, byte [r12 + 0x79]
test r14b, r14b
je 0x1400317d5
xor r13d, r13d
mov dword [rdi + 0x58], r13d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r10b
mov byte [rdi + 0xe85], 1
jmp 0x140031b00
test r13b, r13b
je 0x140031969
cmp word [r12 + 0x3742], 2
jb 0x140031969
cmp byte [r12 + 0xe15], r10b
jne 0x140031969
cmp byte [rdi + 0x6b], r10b
je 0x140031833
mov rcx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0xc]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x14003182f
movzx eax, word [rcx]
add rcx, 2
cmp ax, 0xa
je 0x140031825
cmp rcx, rdx
jb 0x140031813
mov byte [rsp + 0x52], r9b
mov byte [rsp + 0x50], r8b
movaps xmm2, xmm9
mov rcx, rdi
call fcn.14002f6d0
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
movzx ecx, word [r12 + 0x3742]
sub ecx, 2
test cl, 1
jne 0x140031905
test eax, eax
je 0x140031874
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x140031874
xor cl, cl
jmp 0x140031876
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140031882
test cl, cl
jne 0x1400318a2
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1400318bd
cmp dword [rdi + 0x58], eax
jne 0x1400318ba
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x1400318bd
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.14002f260
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x1400318f4
cmp ecx, eax
jle 0x1400318e4
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x1400318ed
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x1400318f4
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x140031af3
mov dword [rdi + 0x54], eax
jmp 0x140031af3
lea rdx, [rdi + 0x54]
mov r8d, 0x200004
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
lea rdx, [rdi + 0x54]
mov r8d, 0x600005
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
lea rdx, [rdi + 0x54]
mov r8d, 0x600001
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 0
jmp 0x140031af3
cmp byte [r12 + 0x3738], r10b
je 0x140031a57
cmp byte [rdi + 0xe85], r10b
jne 0x140031a57
test r13b, r13b
je 0x140031afd
cmp byte [r12 + 0xe15], r10b
je 0x1400319fb
cmp byte [rdi + 0x6b], r10b
je 0x1400319d0
mov rcx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0xc]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x1400319cc
nop
movzx eax, word [rcx]
add rcx, 2
cmp ax, 0xa
je 0x1400319c2
cmp rcx, rdx
jb 0x1400319b0
mov byte [rsp + 0x52], r9b
mov byte [rsp + 0x50], r8b
movaps xmm2, xmm9
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x1400319e1
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.14002f6d0
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x140031af3
cmp byte [rdi + 0x6b], r10b
je 0x140031a32
mov rcx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0xc]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x140031a2e
movzx eax, word [rcx]
add rcx, 2
cmp ax, 0xa
je 0x140031a24
cmp rcx, rdx
jb 0x140031a12
mov byte [rsp + 0x52], r9b
mov byte [rsp + 0x50], r8b
movaps xmm2, xmm9
mov rcx, rdi
call fcn.14002f6d0
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x140031af3
cmp byte [r12 + 0xe04], r10b
je 0x140031afd
cmp byte [rdi + 0xe85], r10b
jne 0x140031afd
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm9
jp 0x140031a96
jne 0x140031a96
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm9
jp 0x140031a96
je 0x140031afd
cmp byte [rdi + 0x6b], r10b
je 0x140031ad0
mov rcx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0xc]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x140031acc
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
cmp ax, 0xa
je 0x140031ac2
cmp rcx, rdx
jb 0x140031ab0
mov byte [rsp + 0x52], r9b
mov byte [rsp + 0x50], r8b
movaps xmm2, xmm9
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140031ade
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.14002f6d0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
xor r13d, r13d
cmp byte [rdi + 0xe85], 0
je 0x140031b1b
cmp byte [r12 + 0xe04], 0
jne 0x140031b1b
mov byte [rdi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x140031b31
cmp byte [r12 + 0xe16], 0
je 0x140031b41
test r15b, r15b
je 0x140031b45
cmp byte [r12 + 0xe17], 0
je 0x140031b45
mov al, 1
jmp 0x140031b47
xor al, al
cmp dword [r12 + 0x37b0], 0
jle 0x140031bf7
test al, al
jne 0x140031bc5
cmp byte [rsp + 0x54], al
jne 0x140031bc5
mov r14d, r13d
mov rbx, r13
nop word [rax + rax]
mov rax, qword [r12 + 0x37b8]
movzx r8d, word [rax + rbx]
cmp r8d, 0x1f
jbe 0x140031bb4
cmp r8d, 0x7f
je 0x140031bb4
lea eax, [r8 - 0xe000]
cmp eax, 0x18ff
jbe 0x140031bb4
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc r14d
add rbx, 2
cmp r14d, dword [r12 + 0x37b0]
jl 0x140031b70
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x140031bef
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r13d
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x37b0]
call fcn.14001ceb0
mov dword [r12 + 0x37b0], r13d
mov r15d, dword [rsp + 0x58]
xor dl, dl
mov byte [rsp + 0x6b], dl
cmp dword [r12 + 0x3f10], r15d
jne 0x14003261f
cmp byte [r12 + 0x3f1c], dl
jne 0x14003261f
cmp byte [rsp + 0x70], dl
jne 0x14003261f
movaps xmm0, xmm8
subss xmm0, dword [r12 + 0x3820]
divss xmm0, dword [r12 + 0x3c10]
cvttss2si eax, xmm0
mov edx, 1
mov ecx, edx
cmp eax, edx
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe15]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx r14d, byte [r12 + 0x79]
mov byte [rsp + 0x78], r14b
test r14b, r14b
je 0x140031ca0
movzx r13d, byte [r12 + 0xe16]
cmp byte [r12 + 0xe17], 0
je 0x140031ca9
cmp byte [r12 + 0xe14], 0
jne 0x140031ca9
test r13b, r13b
jne 0x140031ca9
mov byte [rsp + 0x54], dl
jmp 0x140031cae
movzx r13d, byte [r12 + 0xe14]
mov byte [rsp + 0x54], 0
mov r8d, edx
mov edx, r15d
mov ecx, 0xa39
call fcn.140014b80
test al, al
jne 0x140031cde
mov r8d, 1
mov edx, r15d
mov ecx, 0x220a
call fcn.140014b80
test al, al
mov byte [rsp + 0x53], 0
je 0x140031ce3
mov byte [rsp + 0x53], 1
xor r8d, r8d
mov edx, r15d
mov ecx, 0xa24
call fcn.140014b80
test al, al
jne 0x140031d10
xor r8d, r8d
mov edx, r15d
mov ecx, 0x1209
call fcn.140014b80
test al, al
mov byte [rsp + 0x69], 0
je 0x140031d15
mov byte [rsp + 0x69], 1
mov r8d, 1
mov edx, r15d
mov ecx, 0xa37
call fcn.140014b80
test al, al
jne 0x140031d48
mov r8d, 1
mov edx, r15d
mov ecx, 0x2209
call fcn.140014b80
test al, al
mov byte [rsp + 0x6a], 0
je 0x140031d4d
mov byte [rsp + 0x6a], 1
mov r8d, 1
mov edx, r15d
mov ecx, 0xa3b
call fcn.140014b80
mov byte [rsp + 0x79], al
mov r8d, 1
mov edx, r15d
mov ecx, 0xa3a
call fcn.140014b80
test al, al
jne 0x140031d9e
test r14b, r14b
je 0x140031d97
mov r8d, 1
mov edx, r15d
mov ecx, 0x2a3b
call fcn.140014b80
test al, al
jne 0x140031d9e
mov byte [rsp + 0x68], 0
jmp 0x140031da3
mov byte [rsp + 0x68], 1
xor r8d, r8d
mov edx, r15d
mov ecx, 0xa22
call fcn.140014b80
mov byte [rsp + 0x7a], al
test byte [r12 + 8], 2
je 0x140031dcc
test byte [r12 + 0xc], 1
je 0x140031dcc
mov r14b, 1
jmp 0x140031dcf
xor r14b, r14b
mov r15d, 1
mov r8d, r15d
xor edx, edx
mov ecx, 0x20d
call fcn.140012d90
test al, al
jne 0x140031e00
mov r8d, r15d
xor edx, edx
mov ecx, 0x267
call fcn.140012d90
test al, al
jne 0x140031e00
xor r12b, r12b
jmp 0x140031e04
movzx r12d, r15b
test r14b, r14b
je 0x140031e2f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140012d90
test al, al
jne 0x140031e32
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140012d90
test al, al
jne 0x140031e32
xor r15b, r15b
mov r8d, 1
mov edx, dword [rsp + 0x58]
mov ecx, 0x20e
call fcn.140014b80
test al, al
jne 0x140031e6c
test r14b, r14b
je 0x140031e67
mov r8d, 1
mov edx, dword [rsp + 0x58]
mov ecx, 0x26c
call fcn.140014b80
test al, al
jne 0x140031e6c
xor r14b, r14b
jmp 0x140031e6f
mov r14b, 1
xor edx, edx
mov ecx, 0x201
mov r8d, 1
call fcn.140012d90
test al, al
je 0x140031ef3
cmp byte [rsp + 0x54], 0
je 0x140031e93
mov eax, 0x200004
jmp 0x140031ea3
mov eax, 0x200000
test r13b, r13b
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x60]
movzx r8d, byte [rsp + 0x51]
movzx ecx, byte [rsp + 0x50]
xor dl, dl
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x140032617
test r8b, r8b
je 0x140032617
mov al, 1
jmp 0x140032619
xor edx, edx
mov ecx, 0x202
mov r8d, 1
call fcn.140012d90
test al, al
je 0x140031f30
cmp byte [rsp + 0x54], 0
je 0x140031f19
mov ecx, 0x200005
or ebx, ecx
jmp 0x140031ea5
mov ecx, 0x200001
mov eax, 0x20000d
test r13b, r13b
cmovne ecx, eax
or ebx, ecx
jmp 0x140031ea5
xor edx, edx
mov ecx, 0x203
mov r8d, 1
call fcn.140012d90
xor edx, edx
mov ecx, 0x204
mov r8d, 1
call fcn.140012d90
xor edx, edx
mov ecx, 0x205
mov r8d, 1
call fcn.140012d90
xor edx, edx
mov ecx, 0x206
mov r8d, 1
call fcn.140012d90
xor edx, edx
mov ecx, 0x207
mov r8d, 1
call fcn.140012d90
test al, al
je 0x140031fd1
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r12, qword [rsp + 0x60]
cmp byte [r12 + 0xe14], 0
cmovne ebx, eax
mov r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x140031eca
xor edx, edx
mov ecx, 0x208
mov r8d, 1
call fcn.140012d90
test al, al
je 0x14003200b
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x60]
cmp byte [r12 + 0xe14], 0
cmovne r8d, eax
jmp 0x140031faf
xor edx, edx
mov ecx, 0x20a
mov r8d, 1
call fcn.140012d90
test al, al
je 0x140032033
cmp byte [rsp + 0x53], 0
jne 0x140032033
or ebx, 0x200008
jmp 0x140031ea5
xor edx, edx
mov ecx, 0x20b
mov r8d, 1
call fcn.140012d90
test al, al
je 0x1400320e8
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003207d
test r13b, r13b
je 0x14003208d
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x60]
or ebx, 0x200009
jmp 0x140031fac
cmp byte [rsp + 0x78], 0
je 0x14003207d
mov r12, qword [rsp + 0x60]
cmp byte [r12 + 0xe17], 0
je 0x140032082
cmp byte [r12 + 0xe16], 0
jne 0x140032082
cmp byte [r12 + 0xe14], 0
jne 0x140032082
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200009
jmp 0x140031fac
test r12b, r12b
jne 0x1400325de
test r15b, r15b
jne 0x1400325de
test r14b, r14b
je 0x14003211d
mov dl, 1
mov byte [rsp + 0x6b], dl
mov byte [rsp + 0x70], dl
xor cl, cl
xor r8b, r8b
mov byte [rsp + 0x51], r8b
mov r12, qword [rsp + 0x60]
jmp 0x140031ed7
movzx eax, byte [rsp + 0x79]
test al, al
jne 0x1400325a5
cmp byte [rsp + 0x68], al
jne 0x1400325a5
cmp byte [rsp + 0x7a], al
je 0x14003215a
xor r10d, r10d
mov dword [rdi + 0x58], r10d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r10b
mov byte [rdi + 0xe84], 1
jmp 0x140031ec5
movzx r13d, byte [rsp + 0x53]
test r13b, r13b
jne 0x140032371
cmp byte [rsp + 0x69], r13b
jne 0x140032371
cmp byte [rsp + 0x6a], r13b
je 0x140031ec5
mov rcx, qword [0x1400d49d8]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x1400321b0
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x140031ec5
mov rcx, qword [0x1400d49d8]
jmp 0x1400321b7
lea rbx, [0x1400bfd7e]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x1400321c0
test rcx, rcx
je 0x1400321d4
inc dword [rcx + 0xf4]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
xor r13d, r13d
mov r15d, r13d
cmp byte [rbx], r13b
je 0x140032238
mov r14, rax
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x74]
call fcn.1400061e0
movsxd rcx, eax
add rbx, rcx
mov ecx, dword [rsp + 0x74]
test ecx, ecx
je 0x140032238
lea eax, [rcx - 0x20]
cmp eax, 0xffdf
ja 0x140032233
mov word [r14], cx
inc r15d
add r14, 2
cmp byte [rbx], r13b
jne 0x140032200
movsxd rax, r15d
mov word [r12 + rax*2], r13w
test r15d, r15d
jle 0x14003234c
mov ecx, dword [rdi + 0xc]
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x14003227e
mov edx, eax
cmp eax, ecx
jle 0x140032263
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x140032271
mov dword [rdi + 0x5c], ecx
mov r9d, ecx
mov r8d, r9d
mov eax, edx
cmp edx, r9d
jne 0x14003227e
mov dword [rdi + 0x54], edx
mov r9d, dword [rdi + 0x54]
cmp r9d, ecx
jle 0x14003228d
mov dword [rdi + 0x54], ecx
mov r9d, ecx
mov ecx, dword [rdi + 0xc]
cmp eax, r8d
je 0x1400322be
mov edx, eax
cmp eax, ecx
jle 0x1400322a0
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x1400322ae
mov dword [rdi + 0x5c], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x1400322be
mov dword [rdi + 0x54], edx
mov r9d, edx
cmp r9d, ecx
jle 0x1400322c6
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x140032302
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x1400322ea
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.14002fa00
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
jmp 0x1400322fb
sub eax, r8d
mov r9d, eax
call fcn.14002fa00
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r13b
mov r9d, r15d
mov r8, r12
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.14002f540
test al, al
je 0x140032345
mov r14d, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.140030b40
test rax, rax
je 0x14003233d
mov dword [rax], r14d
mov dword [rax + 4], r13d
mov dword [rax + 8], r15d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r15d
mov byte [rdi + 0x6a], r13b
mov byte [rdi + 0xe84], 1
test r12, r12
je 0x140032363
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x140032363
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140031ec5
mov r12, qword [rsp + 0x60]
cmp qword [r12 + 0xb8], 0
je 0x1400324f9
mov r14d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
movzx r15d, byte [rsp + 0x50]
mov byte [rsp + 0x50], r15b
cmp eax, r14d
je 0x1400323b7
mov r12d, r14d
cmovl r12d, eax
cmovge r14d, eax
movzx r9d, byte [rsp + 0x52]
mov byte [rsp + 0x52], r9b
xor r10d, r10d
jmp 0x1400323ca
xor r10d, r10d
mov r12d, r10d
mov r14d, dword [rdi + 0xc]
movzx eax, byte [rsp + 0x52]
mov byte [rsp + 0x52], al
mov rcx, qword [rdi + 0x20]
movsxd rax, r14d
lea r8, [rcx + rax*2]
movsxd rax, r12d
lea rdx, [rcx + rax*2]
mov ecx, r10d
mov r9d, 0x800
mov r10d, 0x80
nop dword [rax + rax]
test r8, r8
je 0x1400323fa
cmp rdx, r8
jae 0x14003241d
movzx eax, word [rdx]
test ax, ax
je 0x14003241d
add rdx, 2
cmp ax, r10w
jae 0x140032410
inc ecx
jmp 0x1400323f0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x1400323f0
inc ecx
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x140032431
inc dword [rax + 0xf4]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov rdx, qword [rdi + 0x20]
movsxd rcx, r14d
lea r11, [rdx + rcx*2]
movsxd rcx, r12d
lea r10, [rdx + rcx*2]
mov r9, rax
lea r14, [rbx + rax]
lea rbx, [r14 - 1]
cmp rax, rbx
jae 0x1400324b0
mov r13d, 0x80
test r11, r11
je 0x140032472
cmp r10, r11
jae 0x1400324aa
movzx eax, word [r10]
test ax, ax
je 0x1400324aa
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x14003248f
mov byte [r9], r8b
inc r9
jmp 0x1400324a5
mov edx, r14d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140006390
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x140032468
movzx r13d, byte [rsp + 0x53]
mov byte [r9], 0
mov rax, qword [0x1400d49d8]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x1400324db
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x1400d49d8]
test r15, r15
je 0x1400324eb
test rax, rax
je 0x1400324eb
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x60]
test r13b, r13b
je 0x140031eca
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003251c
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov byte [rdi + 0xe84], 1
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x140031eca
mov ecx, dword [rdi + 0xc]
cmp eax, ecx
jle 0x14003253f
mov dword [rdi + 0x58], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x14003254a
mov dword [rdi + 0x5c], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x140032552
mov dword [rdi + 0x54], eax
cmp dword [rdi + 0x54], ecx
jle 0x14003255a
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x14003259c
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x140032588
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.14002fa00
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x140031eca
sub eax, r8d
mov r9d, eax
call fcn.14002fa00
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x140031eca
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14002fb80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x140031ec5
mov r12, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x50]
movzx r8d, byte [rsp + 0x51]
cmp byte [r12 + 0x7c], 0
je 0x14003260d
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x140031ed5
mov byte [rsp + 0x70], 1
jmp 0x140031ed5
xor al, al
or cl, al
mov byte [rsp + 0x50], cl
xor r14d, r14d
mov r13d, r14d
mov r15d, r14d
mov ebx, dword [rsp + 0x58]
cmp dword [r12 + 0x3f10], ebx
jne 0x14003291f
test dl, dl
je 0x140032807
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x70]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140032663
inc rax
test ecx, ecx
jne 0x140032650
test edx, edx
je 0x140032807
mov r13, r9
mov qword [rbp - 0x78], r9
mov r15d, dword [rdi + 0x38]
dec r15d
mov dword [rsp + 0x74], r15d
mov qword [rbp - 0x48], r14
xor ecx, ecx
mov eax, ecx
mov qword [rbp - 0x40], rcx
test r15d, r15d
jle 0x1400327ca
movsxd r12, r15d
add r12, r9
mov rbx, r9
mov r13d, ecx
movzx eax, byte [rsp + 0x52]
test r12, r12
je 0x1400326ae
cmp rbx, r12
jae 0x1400326e8
movzx r14d, al
mov byte [rsp + 0x52], al
cmp byte [rbx], 0
je 0x1400326e8
mov r8, r12
mov rdx, rbx
lea rcx, [rbp - 0x64]
call fcn.1400061e0
movsxd rcx, eax
add rbx, rcx
mov byte [rsp + 0x52], r14b
cmp dword [rbp - 0x64], 0
je 0x1400326e8
inc r13d
movzx eax, r14b
mov byte [rsp + 0x52], al
jmp 0x1400326a4
lea r14d, [r13 + 1]
mov dword [rbp - 0x60], r14d
test r14d, r14d
jle 0x14003272f
mov ebx, r14d
cmp r14d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x14003272f
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x14003271a
inc dword [rax + 0xf4]
movsxd rcx, ebx
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x44], ebx
jmp 0x140032733
mov rax, qword [rbp - 0x40]
mov dword [rbp - 0x48], r14d
movsxd r13, dword [rsp + 0x74]
mov r15, qword [rbp - 0x78]
add r13, r15
mov r12, rax
movsxd rax, r14d
dec rax
lea rax, [r12 + rax*2]
mov qword [rbp - 0x50], rax
cmp r12, rax
jae 0x1400327b1
movzx ecx, byte [rsp + 0x52]
nop
test r13, r13
je 0x14003276a
cmp r15, r13
jae 0x1400327ad
movzx ebx, cl
mov byte [rsp + 0x52], cl
cmp byte [r15], 0
je 0x1400327ad
mov r8, r13
mov rdx, r15
lea rcx, [rbp - 0x64]
call fcn.1400061e0
movsxd rcx, eax
add r15, rcx
mov byte [rsp + 0x52], bl
mov eax, dword [rbp - 0x64]
test eax, eax
je 0x1400327ad
mov word [r12], ax
add r12, 2
movzx ecx, bl
mov byte [rsp + 0x52], bl
cmp r12, qword [rbp - 0x50]
jb 0x140032760
mov r14d, dword [rbp - 0x60]
xor ecx, ecx
mov word [r12], cx
mov rax, qword [rbp - 0x40]
mov r15d, dword [rsp + 0x74]
mov r13, qword [rbp - 0x78]
mov r12, qword [rsp + 0x60]
lea r9d, [r14 - 1]
test r15d, r15d
cmovle r9d, ecx
lea rdx, [rdi + 0x54]
mov r8, rax
mov rcx, rdi
call fcn.140030f90
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140032807
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x140032800
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x140032840
test ecx, ecx
je 0x14003282b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140032830
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.14001ce20
mov dword [rdi + 0x28], ebx
mov r10, qword [rdi + 0x20]
mov r9, qword [rdi + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x14003289d
mov r12d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x140032898
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x14003287d
mov byte [r9], r8b
inc r9
jmp 0x140032893
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140006390
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x140032860
mov r12, qword [rsp + 0x60]
mov byte [r9], 0
mov r14, qword [rbp - 0x70]
cmp byte [rsp + 0x6b], 0
jne 0x1400328de
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r14
sub r8, r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400328d3
inc rax
test ecx, ecx
jne 0x1400328c0
test edx, edx
je 0x1400328de
mov r13, r9
mov r15d, dword [rdi + 0x10]
test r13, r13
je 0x140032918
lea eax, [r15 + 1]
cmp eax, 0x40
mov ecx, 0x40
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x140032913
jbe 0x14003290d
lea r8, [rbx - 1]
mov rdx, r13
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [r14 + rbx - 1], 0
mov byte [rsp + 0x52], 1
xor r14d, r14d
mov ebx, dword [rsp + 0x58]
cmp byte [rsp + 0x70], 0
je 0x140032935
cmp dword [r12 + 0x3f10], ebx
jne 0x140032935
call fcn.140009690
mov r8d, 1
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140007880
mov rax, qword [0x1400d49d8]
movups xmm0, xmmword [rax + 0x3928]
movups xmmword [rbp - 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x3c], xmm0
lea rcx, [rbp - 0x48]
call fcn.140006450
mov r8d, eax
movss xmm0, dword [r12 + 0x3824]
movss dword [rsp + 0x20], xmm0
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
call fcn.140007700
movaps xmm15, xmm6
addss xmm15, xmm11
movss xmm14, dword [rbp - 0x34]
movaps xmm13, xmm14
addss xmm13, xmm8
movaps xmm10, xmm6
addss xmm10, dword [r12 + 0x381c]
movss dword [rsp + 0x74], xmm10
movaps xmm1, xmm14
addss xmm1, dword [r12 + 0x3820]
movss dword [rsp + 0x58], xmm1
movaps xmm0, xmm10
unpcklps xmm0, xmm1
movsd qword [rbp - 0x50], xmm0
test sil, sil
je 0x1400329ea
mov rax, qword [rdi + 0x30]
jmp 0x1400329ee
mov rax, qword [rbp - 0x70]
lea r13, [0x1400bfd7e]
mov r9, r13
movzx r8d, byte [rsp + 0x6c]
test r8b, r8b
cmovne r9, rax
mov qword [rbp - 0x78], r9
cmovne r13, r14
movzx eax, byte [rsp + 0x51]
movzx r15d, byte [rsp + 0x50]
test al, al
jne 0x140032b87
test r15b, r15b
jne 0x140032b87
test r8b, r8b
je 0x140032a52
cmp dword [r12 + 0x3f10], ebx
jne 0x140032a3e
movsxd r13, dword [rdi + 0x10]
jmp 0x140032a4f
mov r13, 0xffffffffffffffff
inc r13
cmp byte [r9 + r13], 0
jne 0x140032a45
add r13, r9
mov rax, r13
sub rax, r9
cmp rax, 0x200000
jge 0x140033337
mov rax, qword [0x1400d49d8]
mov ecx, 0xd8
mov edx, 0xe8
test r8b, r8b
cmove ecx, edx
movups xmm0, xmmword [rcx + rax + 0x37e0]
movups xmmword [rbp - 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x3c], xmm0
lea rcx, [rbp - 0x48]
call fcn.140006450
mov r8d, eax
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax + 0x290]
movss xmm2, dword [r12 + 0x3c10]
mov rcx, qword [r12 + 0x3c08]
test r8d, 0xff000000
je 0x140033337
test r13, r13
jne 0x140032aed
mov r13, 0xffffffffffffffff
nop word [rax + rax]
inc r13
cmp byte [r9 + r13], 0
jne 0x140032ae0
add r13, r9
cmp r9, r13
je 0x140033337
test rcx, rcx
jne 0x140032b03
mov rax, qword [rdx + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm9
jp 0x140032b14
jne 0x140032b14
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x48], xmm0
maxss xmm0, xmm6
movss dword [rbp - 0x48], xmm0
movss xmm0, dword [rbp - 0x44]
maxss xmm0, xmm14
movss dword [rbp - 0x44], xmm0
movss xmm1, dword [rbp - 0x40]
minss xmm1, xmm15
movss dword [rbp - 0x40], xmm1
movss xmm0, dword [rbp - 0x3c]
minss xmm0, xmm13
movss dword [rbp - 0x3c], xmm0
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r9
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
lea r9, [rbp - 0x50]
call fcn.140024060
jmp 0x140033337
test r8b, r8b
je 0x140032b93
movsxd r13, dword [rdi + 0x10]
add r13, r9
mov r11, qword [rdi + 0x20]
xorps xmm4, xmm4
xorps xmm6, xmm6
xorps xmm7, xmm7
mov r10, r14
mov rsi, r14
mov r9d, 0xfffffc18
mov r14d, r9d
xor r8d, r8d
mov edx, r8d
test al, al
je 0x140032bcc
movsxd rax, dword [rdi + 0x54]
lea r10, [r11 + rax*2]
mov edx, 1
mov r9d, 0xffffffff
test r15b, r15b
je 0x140032bea
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea rsi, [r11 + rax*2]
mov r14d, 0xffffffff
inc edx
mov ecx, r8d
mov rax, r11
movzx r8d, word [r11]
test r8w, r8w
je 0x140032c3f
nop word [rax + rax]
cmp r8w, 0xa
jne 0x140032c31
inc ecx
cmp r9d, 0xffffffff
jne 0x140032c1d
cmp rax, r10
jb 0x140032c1d
mov r9d, ecx
dec edx
test edx, edx
jle 0x140032c3f
cmp r14d, 0xffffffff
jne 0x140032c31
cmp rax, rsi
jb 0x140032c31
mov r14d, ecx
dec edx
test edx, edx
jle 0x140032c3f
add rax, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x140032c00
inc ecx
mov ebx, ecx
cmp r9d, 0xffffffff
cmovne ebx, r9d
cmp r14d, 0xffffffff
cmove r14d, ecx
mov rdx, r10
cmp r10, r11
jbe 0x140032c72
nop dword [rax + rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x140032c72
mov rdx, rax
cmp rax, r11
ja 0x140032c60
mov r8, qword [r12 + 0x3c08]
movss xmm2, dword [r12 + 0x3c10]
divss xmm2, dword [r8 + 0x14]
movaps xmm8, xmm4
movss dword [rsp + 0x70], xmm4
movaps xmm1, xmm4
cmp rdx, r10
jae 0x140032cf5
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x140032cb6
maxss xmm8, xmm1
movaps xmm1, xmm4
jmp 0x140032cd9
cmp ecx, 0xd
je 0x140032cd9
cmp ecx, dword [r8]
jge 0x140032ccb
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140032cd1
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, r10
jb 0x140032ca0
movss dword [rsp + 0x70], xmm8
comiss xmm1, xmm8
jbe 0x140032cf5
movaps xmm8, xmm1
movss dword [rsp + 0x70], xmm1
movd xmm12, ebx
cvtdq2ps xmm12, xmm12
mulss xmm12, dword [r12 + 0x3c10]
movss dword [rbp - 0x60], xmm12
test r14d, r14d
js 0x140032da7
mov rdx, rsi
cmp rsi, r11
jbe 0x140032d32
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x140032d32
mov rdx, rax
cmp rax, r11
ja 0x140032d20
movss xmm2, dword [r12 + 0x3c10]
divss xmm2, dword [r8 + 0x14]
movaps xmm6, xmm4
movaps xmm1, xmm4
cmp rdx, rsi
jae 0x140032d95
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x140032d65
maxss xmm6, xmm1
movaps xmm1, xmm4
jmp 0x140032d88
cmp ecx, 0xd
je 0x140032d88
cmp ecx, dword [r8]
jge 0x140032d7a
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140032d80
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, rsi
jb 0x140032d50
comiss xmm1, xmm6
jbe 0x140032d95
movaps xmm6, xmm1
movd xmm7, r14d
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r12 + 0x3c10]
movzx r8d, byte [rsp + 0x51]
test r8b, r8b
je 0x140032e12
cmp byte [rdi + 0xe84], 0
je 0x140032e12
movaps xmm0, xmm11
mulss xmm0, dword [0x1400c5954]
subss xmm11, dword [r12 + 0x381c]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm8
comiss xmm2, xmm8
jbe 0x140032ded
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x140032dfb
subss xmm1, xmm11
comiss xmm1, xmm2
jb 0x140032e0b
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
mov byte [rdi + 0xe84], 0
movss xmm9, dword [rdi + 0x50]
movss xmm11, dword [0x1400c59a0]
test r15b, r15b
je 0x14003306b
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r11 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea rsi, [r11 + rax*2]
test r8b, r8b
je 0x140032e52
movaps xmm1, xmm11
jmp 0x140032e5a
movss xmm1, dword [0x1400c5974]
mov r14, qword [0x1400d49d8]
movups xmm0, xmmword [r14 + 0x3ba8]
movups xmmword [rbp - 0x48], xmm0
mulss xmm1, dword [r14 + 0x37e0]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp - 0x3c], xmm0
lea rcx, [rbp - 0x48]
call fcn.140006450
mov r15d, eax
addss xmm6, xmm10
subss xmm6, xmm9
addss xmm7, dword [rsp + 0x58]
xorps xmm4, xmm4
subss xmm7, xmm4
cmp rbx, rsi
jae 0x140033072
movss xmm10, dword [0x1400c59c8]
movss xmm11, dword [rsp + 0x74]
movss xmm12, dword [rbp - 0x68]
movss xmm8, dword [0x1400c5970]
mov rdi, qword [rbp - 0x58]
movss xmm2, dword [r12 + 0x3c10]
movaps xmm0, xmm13
addss xmm0, xmm2
comiss xmm7, xmm0
ja 0x14003304a
comiss xmm14, xmm7
jbe 0x140032f1b
cmp rbx, rsi
jae 0x14003302e
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x14003302e
cmp rbx, rsi
jb 0x140032f00
jmp 0x14003304a
mov rdx, qword [r12 + 0x3c08]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, rsi
jae 0x140032f71
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x140032f67
cmp ecx, 0xd
je 0x140032f60
cmp ecx, dword [rdx]
jge 0x140032f53
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140032f58
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, rsi
jb 0x140032f33
jmp 0x140032f71
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x140032fa2
cmp dword [rdx], 0x20
jle 0x140032f8d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x140032f92
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm7
addss xmm0, xmm10
addss xmm6, xmm4
movss xmm2, dword [0x1400c5ab0]
subss xmm2, dword [r12 + 0x3c10]
addss xmm2, xmm7
maxss xmm6, xmm12
maxss xmm2, xmm14
movss dword [rbp - 0x48], xmm6
movss dword [rbp - 0x44], xmm2
minss xmm1, xmm15
minss xmm0, xmm13
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x3c], xmm0
comiss xmm0, xmm14
jbe 0x14003302e
comiss xmm13, xmm2
jbe 0x14003302e
comiss xmm1, xmm12
jbe 0x14003302e
comiss xmm15, xmm6
jbe 0x14003302e
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm4
mov r9d, r15d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x48]
mov rcx, qword [rdi + 0x290]
call fcn.140021850
xorps xmm4, xmm4
movaps xmm6, xmm11
subss xmm6, xmm9
addss xmm7, dword [r12 + 0x3c10]
cmp rbx, rsi
jb 0x140032ed2
movss xmm8, dword [rsp + 0x70]
movss xmm11, dword [0x1400c59a0]
movss xmm12, dword [rbp - 0x60]
movss xmm10, dword [rsp + 0x74]
mov rdi, qword [rbp - 0x80]
mov r14, qword [0x1400d49d8]
mov rax, r13
mov r9, qword [rbp - 0x78]
sub rax, r9
cmp rax, 0x200000
jge 0x1400331ca
mov ecx, 0xd8
mov edx, 0xe8
cmp byte [rsp + 0x6c], 0
cmove ecx, edx
movups xmm0, xmmword [rcx + r14 + 0x37e0]
movups xmmword [rbp - 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r14 + 0x37e0]
movss dword [rbp - 0x3c], xmm0
lea rcx, [rbp - 0x48]
call fcn.140006450
mov r8d, eax
mov rbx, qword [rbp - 0x58]
mov rdx, qword [rbx + 0x290]
movaps xmm0, xmm10
subss xmm0, xmm9
movss dword [rbp - 0x78], xmm0
movss xmm7, dword [rsp + 0x58]
movaps xmm1, xmm7
xorps xmm3, xmm3
subss xmm1, xmm3
movss dword [rbp - 0x74], xmm1
movss xmm2, dword [r12 + 0x3c10]
mov rcx, qword [r12 + 0x3c08]
test eax, 0xff000000
je 0x1400331d7
test r13, r13
jne 0x14003312d
mov r13, 0xffffffffffffffff
nop dword [rax]
inc r13
cmp byte [r9 + r13], 0
jne 0x140033120
add r13, r9
cmp r9, r13
je 0x1400331d7
test rcx, rcx
jne 0x140033143
mov rax, qword [rdx + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm3
jp 0x140033153
jne 0x140033153
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x48], xmm0
maxss xmm0, dword [rbp - 0x68]
movss dword [rbp - 0x48], xmm0
movss xmm0, dword [rbp - 0x44]
maxss xmm0, xmm14
movss dword [rbp - 0x44], xmm0
movss xmm1, dword [rbp - 0x40]
minss xmm1, xmm15
movss dword [rbp - 0x40], xmm1
movss xmm0, dword [rbp - 0x3c]
minss xmm0, xmm13
movss dword [rbp - 0x3c], xmm0
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm3
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r9
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
lea r9, [rbp - 0x78]
call fcn.140024060
mov r14, qword [0x1400d49d8]
jmp 0x1400331d4
movss xmm7, dword [rsp + 0x58]
mov rbx, qword [rbp - 0x58]
xorps xmm3, xmm3
cmp byte [rsp + 0x51], 0
je 0x140033337
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x140033224
comiss xmm3, xmm0
jae 0x140033224
movss xmm1, dword [0x1400c59a8]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x1400c598c]
comiss xmm1, xmm0
jae 0x140033224
xor cl, cl
jmp 0x140033226
mov cl, 1
addss xmm8, xmm10
subss xmm8, xmm9
cvttss2si eax, xmm8
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm12, xmm7
subss xmm12, dword [0x1400c5910]
cvttss2si eax, xmm12
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x48], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3c10]
addss xmm0, dword [0x1400c5970]
movss dword [rbp - 0x44], xmm0
movaps xmm2, xmm6
addss xmm2, xmm11
movss dword [rbp - 0x40], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x1400c59b4]
movss dword [rbp - 0x3c], xmm1
test cl, cl
je 0x1400332fd
comiss xmm1, xmm14
jbe 0x1400332fd
comiss xmm13, xmm0
jbe 0x1400332fd
comiss xmm2, dword [rbp - 0x68]
jbe 0x1400332fd
comiss xmm15, xmm6
jbe 0x1400332fd
movups xmm0, xmmword [r14 + 0x38b8]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r14 + 0x37e0]
movss dword [rbp - 0x2c], xmm0
movss dword [rbp - 0x78], xmm6
movss dword [rbp - 0x74], xmm1
lea rcx, [rbp - 0x38]
call fcn.140006450
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x48]
mov rcx, qword [rbx + 0x290]
call fcn.1400215e0
mov byte [r12 + 0x5b60], 1
subss xmm6, xmm11
movss xmm0, dword [r12 + 0x3c10]
subss xmm7, xmm0
movss dword [r12 + 0x5b64], xmm6
movss dword [r12 + 0x5b68], xmm7
movss dword [r12 + 0x5b6c], xmm0
mov r9b, 1
xor r8d, r8d
lea rdx, str.Input
mov rcx, qword [rbp - 0x28]
call fcn.140006b50
movzx eax, byte [rsp + 0x52]
test al, al
je 0x140033371
mov rcx, qword [0x1400d49d8]
mov word [rcx + 0x3f20], 0x101
or dword [rcx + 0x4754], 4
jmp 0x140033371
xor al, al
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14003d930
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret