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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x230
lea rbp, [rsp + 0xc0]
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], rdi
movaps xmmword [rbp + 0x160], xmm6
mov rax, qword [0x1402e0068]
xor rax, rbp
mov qword [rbp + 0x158], rax
mov rdi, qword [rcx]
movsxd r11, dword [rcx + 0xc]
mov esi, dword [rcx + 0x10]
mov r12, rcx
xor r15d, r15d
mov qword [rbp + 0x70], rcx
mov r14d, dword [r12 + 0x1c]
mov dword [rbp + 0x5c], r15d
mov dword [rbp + 0x48], r15d
mov rax, qword [rdi + 0x20]
mov ecx, dword [rdi + 4]
mov r10, rdx
mov edx, dword [rdi + 8]
mov qword [rbp + 0xb0], rax
mov eax, dword [r12 + 0x18]
mov dword [rbp], eax
mov dword [rbp + 0x30], ecx
mov dword [rbp + 0x1c], edx
add edx, edx
mov ebx, r8d
mov r8d, dword [rbp + 0x1c0]
mov qword [rbp + 0x90], r9
lea r9d, [rcx + 0x800]
mov dword [rbp + 0x4c], edx
imul r8d, dword [r12 + 0x14]
mov eax, r9d
mov dword [rbp + 0x28], ebx
mov dword [rbp + 0x34], r11d
mov dword [rbp + 0x60], r15d
mov dword [rbp + 4], esi
mov qword [rbp + 0x10], rdi
imul eax, r11d
movsxd rcx, eax
lea eax, [r11 + r11*2]
mov dword [rbp + 8], r14d
shl eax, 3
mov dword [rbp + 0x1c0], r8d
mov dword [rbp + 0x20], r15d
cdqe
add rcx, rax
movsxd rax, edx
shl rax, 2
lea r13, [r12 + rcx*4 + 0x60]
lea rcx, [rax + r13]
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x108], rax
mov qword [rbp + 0xa8], rcx
add rcx, rax
lea rdx, [rax + rcx]
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0xb8], rdx
mov edx, dword [rdi + 0x28]
test edx, edx
js 0x1401a8ee0
mov edi, dword [rdi + 0x30]
mov ecx, r15d
mov eax, edi
shl eax, cl
cmp eax, r8d
je 0x1401a8ed8
inc r15d
cmp r15d, edx
jle 0x1401a8ec4
mov rdi, qword [rbp + 0x10]
mov dword [rbp + 0x20], r15d
cmp r15d, edx
jg 0x1401a9e22
mov ecx, r15d
mov eax, 1
shl eax, cl
mov dword [rbp + 0x44], eax
cmp ebx, 0x4fb
ja 0x1401a9e22
cmp qword [rbp + 0x90], 0
je 0x1401a9e22
mov ecx, dword [rdi + 0x30]
mov r8d, 0x800
xor edx, edx
mov qword [rbp + 0xd8], r11
imul ecx, eax
movsxd rax, ecx
mov dword [rbp + 0xc], ecx
sub r8, rax
xor edi, edi
mov qword [rbp + 0xc8], rax
nop word [rax + rax]
movsxd rax, edi
inc rdx
add edi, r9d
cmp rdx, r11
lea rcx, [r12 + rax*4 + 0x60]
lea rax, [rcx + r8*4]
mov qword [rbp + rdx*8 + 0x108], rcx
mov qword [rbp + rdx*8 + 0xe0], rax
jl 0x1401a8f40
mov rdi, qword [rbp + 0x10]
mov ecx, r14d
mov eax, dword [rdi + 0xc]
cmp r14d, eax
cmovg ecx, eax
mov dword [rbp + 0xa0], ecx
test r10, r10
je 0x1401a9dc4
cmp ebx, 1
jle 0x1401a9dc4
mov r14, qword [rbp + 0x1c8]
xor eax, eax
cmp dword [r12 + 0x38], eax
setne al
mov dword [r12 + 0x3c], eax
test r14, r14
jne 0x1401a8fca
lea rcx, [rbp + 0x120]
mov r8d, ebx
mov rdx, r10
call fcn.1401aadd0
lea r14, [rbp + 0x120]
mov qword [rbp + 0x1c8], r14
movsxd rax, dword [rbp + 0x1c]
mov r8, rax
mov qword [rbp + 0xd0], rax
cmp esi, 1
jne 0x1401a90ab
xor edx, edx
cmp rax, 4
jl 0x1401a9077
lea rdi, [r8 - 4]
lea rax, [r13 + 8]
lea rcx, [r13 + r8*4]
shr rdi, 2
inc rdi
lea rdx, [rdi*4]
nop dword [rax]
movss xmm0, dword [rax - 8]
movss xmm1, dword [rcx]
comiss xmm0, xmm1
ja 0x1401a9021
movaps xmm0, xmm1
movss xmm1, dword [rax - 4]
movss dword [rax - 8], xmm0
movss xmm0, dword [rcx + 4]
comiss xmm1, xmm0
ja 0x1401a9038
movaps xmm1, xmm0
movss xmm0, dword [rax]
movss dword [rax - 4], xmm1
movss xmm2, dword [rcx + 8]
comiss xmm0, xmm2
ja 0x1401a904e
movaps xmm0, xmm2
movss dword [rax], xmm0
movss xmm0, dword [rax + 4]
movss xmm1, dword [rcx + 0xc]
comiss xmm0, xmm1
ja 0x1401a9064
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
add rax, 0x10
add rcx, 0x10
sub rdi, 1
jne 0x1401a9010
cmp rdx, r8
jge 0x1401a90ab
lea rax, [rdx + r8]
lea rcx, [r13 + rax*4]
movss xmm0, dword [r13 + rdx*4]
movss xmm1, dword [rcx]
comiss xmm0, xmm1
ja 0x1401a9098
movaps xmm0, xmm1
movss dword [r13 + rdx*4], xmm0
inc rdx
add rcx, 4
cmp rdx, r8
jl 0x1401a9085
bsr eax, dword [r14 + 0x20]
mov edi, dword [r14 + 0x18]
shl ebx, 3
sub edi, eax
mov dword [rbp + 0x40], ebx
mov esi, ebx
dec edi
cmp edi, ebx
jl 0x1401a90dc
bsr eax, dword [r14 + 0x20]
mov dword [rbp + 0x38], 1
mov edi, ebx
lea eax, [rax + rbx + 1]
mov dword [r14 + 0x18], eax
jmp 0x1401a910b
cmp edi, 1
jne 0x1401a9104
lea edx, [rdi + 0xe]
mov rcx, r14
call fcn.1401aaf00
mov dword [rbp + 0x38], eax
test eax, eax
je 0x1401a910b
bsr eax, dword [r14 + 0x20]
mov edi, ebx
lea eax, [rax + rbx + 1]
mov dword [r14 + 0x18], eax
jmp 0x1401a910b
mov dword [rbp + 0x38], 0
xorps xmm6, xmm6
xor eax, eax
mov ebx, 6
mov dword [rbp + 0x24], 0
mov qword [rbp + 0xc0], 2
mov dword [rbp + 0x2c], eax
mov dword [rbp + 0x3c], ebx
cmp dword [rbp], eax
jne 0x1401a91cc
lea eax, [rdi + 0x10]
cmp eax, esi
jg 0x1401a91cc
lea edx, [rbx - 5]
mov rcx, r14
call fcn.1401aaf00
test eax, eax
je 0x1401a91bf
mov edx, ebx
mov rcx, r14
call fcn.1401ab020
mov rcx, r14
lea edx, [rax + 4]
mov edi, eax
call fcn.1401aafa0
mov ecx, edi
mov edx, eax
mov eax, reloc.WS2_32.dll_recv
shl eax, cl
mov rcx, r14
lea eax, [rdx + rax - 1]
lea edx, [rbx - 3]
mov dword [rbp + 0x24], eax
call fcn.1401aafa0
mov ecx, dword [r14 + 0x18]
mov edi, eax
bsr eax, dword [r14 + 0x20]
sub ecx, eax
inc ecx
cmp ecx, esi
jg 0x1401a91ad
lea r8d, [rbx - 4]
lea rdx, [0x140281bc0]
mov rcx, r14
call fcn.1401aaf50
mov dword [rbp + 0x2c], eax
lea eax, [rdi + 1]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1402813e0]
bsr eax, dword [r14 + 0x20]
mov edi, dword [r14 + 0x18]
sub edi, eax
dec edi
test r15d, r15d
jle 0x1401a9203
lea eax, [rdi + 3]
cmp eax, esi
jg 0x1401a9203
mov edx, 3
mov rcx, r14
call fcn.1401aaf00
mov edi, dword [r14 + 0x18]
mov ebx, eax
mov dword [rbp + 0x18], eax
bsr eax, dword [r14 + 0x20]
sub edi, eax
dec edi
test ebx, ebx
je 0x1401a9208
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x50], eax
jmp 0x1401a920f
xor ebx, ebx
mov dword [rbp + 0x18], ebx
mov dword [rbp + 0x50], 0
lea eax, [rdi + 3]
cmp eax, esi
jg 0x1401a9225
mov edx, 3
mov rcx, r14
call fcn.1401aaf00
jmp 0x1401a9227
xor eax, eax
mov ecx, dword [rbp + 4]
mov edx, dword [rbp]
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x10]
mov r9, r13
mov r13d, dword [rbp + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
mov r8d, r13d
call fcn.1401b3260
mov rdi, qword [rbp + 0xd0]
movabs rcx, 0xffffffffffffff0
shl rdi, 2
mov qword [rbp + 0x68], rdi
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x1401a9277
mov rax, rcx
and rax, 0xfffffffffffffff0
call fcn.140232c50
mov ecx, dword [rbp]
sub rsp, rax
lea rax, [rsp + 0xc0]
mov r8d, ebx
mov edx, r13d
mov r9, rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov qword [rbp + 0x100], rax
call fcn.1401a7ac0
bsr eax, dword [r14 + 0x20]
mov ecx, dword [r14 + 0x18]
mov dword [rbp + 0x58], 2
sub ecx, eax
mov eax, 5
add ecx, 3
mov dword [rbp + 0x54], eax
cmp ecx, esi
jg 0x1401a92e3
lea rdx, [0x140281bbc]
mov r8d, eax
mov rcx, r14
call fcn.1401aaf50
mov dword [rbp + 0x58], eax
lea rax, [rdi + 0xf]
movabs rbx, 0xffffffffffffff0
cmp rax, rdi
ja 0x1401a92f9
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.140232c50
mov r9d, dword [rbp + 4]
mov rcx, qword [rbp + 0x10]
sub rsp, rax
mov r8d, r15d
lea r13, [rsp + 0xc0]
mov rdx, r13
mov qword [rbp + 0xf8], r13
call fcn.1401ad9d0
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x1401a9333
mov rax, rbx
and rax, 0xfffffffffffffff0
call fcn.140232c50
sub rsp, rax
mov rcx, r14
lea rbx, [rsp + 0xc0]
shl esi, 3
mov qword [rbp + 0x98], rbx
call fcn.1401b5ca0
movsxd rdi, dword [rbp]
movsxd r8, dword [rbp + 8]
mov r9d, eax
mov qword [rbp + 0xe0], rdi
cmp rdi, r8
jge 0x1401a9468
mov r12, r13
lea r14, [rbx + rdi*4]
mov r10d, gethostbyaddr
sub r12, rbx
nop word [rax + rax]
mov rax, qword [rbp + 0xb0]
mov ecx, r15d
movsx edx, word [rax + rdi*2 + 2]
movsx eax, word [rax + rdi*2]
sub edx, eax
imul edx, dword [rbp + 4]
shl edx, cl
mov ecx, dword [rbp + 0x3c]
cmp edx, 0x30
lea eax, [rdx*8]
mov r13d, edx
cmovl r13d, r10d
mov edx, ecx
cmp eax, r13d
cmovl r13d, eax
lea eax, [r9 + rcx*8]
xor ebx, ebx
cmp eax, esi
jge 0x1401a9429
mov r15, qword [rbp + 0x1c8]
nop dword [rax]
cmp ebx, dword [r12 + r14]
jge 0x1401a9411
mov rcx, r15
call fcn.1401aaf00
mov rcx, r15
mov edi, eax
call fcn.1401b5ca0
mov r9d, eax
test edi, edi
je 0x1401a9411
sub esi, r13d
add eax, 8
add ebx, r13d
cmp eax, esi
mov edx, 1
jl 0x1401a93e0
mov r15d, dword [rbp + 0x20]
mov rdi, qword [rbp + 0xe0]
mov ecx, dword [rbp + 0x3c]
movsxd r8, dword [rbp + 8]
mov r10d, gethostbyaddr
mov dword [r14], ebx
test ebx, ebx
jle 0x1401a9443
lea eax, [rcx - 1]
mov ecx, eax
cmp eax, 2
mov eax, 2
cmovl ecx, eax
mov dword [rbp + 0x3c], ecx
inc rdi
add r14, 4
cmp rdi, r8
mov qword [rbp + 0xe0], rdi
jl 0x1401a9390
mov r14, qword [rbp + 0x1c8]
mov rbx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1401a947f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140232c50
sub rsp, rax
lea eax, [r9 + 0x30]
cmp eax, esi
lea rdi, [rsp + 0xc0]
mov qword [rbp + 0xb0], rdi
jg 0x1401a94ba
lea rdx, [0x140281bb0]
mov r8d, 7
mov rcx, r14
call fcn.1401aaf50
mov dword [rbp + 0x54], eax
mov esi, dword [rbp + 0x28]
mov rcx, r14
shl esi, 6
mov dword [rbp + 0x28], esi
call fcn.1401b5ca0
mov ecx, esi
sub ecx, eax
dec ecx
cmp dword [rbp + 0x18], 0
je 0x1401a94f3
cmp r15d, 2
jl 0x1401a94f3
lea eax, [r15*8 + 0x10]
cmp ecx, eax
jl 0x1401a94f3
mov esi, 8
xor r8d, r8d
jmp 0x1401a94f9
xor r8d, r8d
mov esi, r8d
mov rdx, qword [rbp + 0x68]
movabs r9, 0xffffffffffffff0
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1401a9513
mov rax, r9
and rax, 0xfffffffffffffff0
call fcn.140232c50
sub rsp, rax
lea rax, [rdx + 0xf]
lea r13, [rsp + 0xc0]
cmp rax, rdx
ja 0x1401a9533
mov rax, r9
and rax, 0xfffffffffffffff0
call fcn.140232c50
mov r12d, dword [rbp + 4]
sub rsp, rax
mov dword [rsp + 0x90], r8d
mov dword [rsp + 0x88], r8d
mov dword [rsp + 0x80], r8d
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x70], r15d
mov r15d, dword [rbp]
mov dword [rsp + 0x68], r12d
lea rax, [rsp + 0xc0]
sub ecx, esi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdi
mov qword [rbp + 0x98], rax
mov qword [rsp + 0x50], r13
lea rax, [rbp + 0x80]
mov r9, rbx
mov ebx, dword [rbp + 8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbp + 0x10]
lea rax, [rbp + 0x48]
mov edx, r15d
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x5c]
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0xf8]
mov qword [rsp + 0x20], rax
call fcn.1401b56a0
mov r9, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x10]
mov r14d, eax
mov rax, qword [rbp + 0x1c8]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
mov r8d, ebx
mov edx, r15d
mov qword [rsp + 0x20], rdi
call fcn.1401b34a0
mov eax, dword [rbp + 0x30]
mov r12, qword [rbp + 0xd8]
mov r15, qword [rbp + 0xc8]
cdq
xor edi, edi
sub eax, edx
sar eax, 1
sub eax, dword [rbp + 0xc]
add eax, 0x800
movsxd rbx, eax
shl rbx, 2
nop
mov rcx, qword [rbp + rdi*8 + 0x110]
mov r8, rbx
lea rdx, [rcx + r15*4]
call fcn.1401e75a0
inc rdi
cmp rdi, r12
jl 0x1401a9630
mov eax, dword [rbp + 0x1c]
mov edx, dword [rbp + 4]
mov r12, qword [rbp + 0x70]
imul eax, edx
mov r15d, dword [rbp + 0x20]
mov dword [rbp + 0x1c], eax
cdqe
lea rcx, [rax + 0xf]
movabs r8, 0xffffffffffffff0
cmp rcx, rax
ja 0x1401a9678
mov rcx, r8
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140232c50
mov eax, dword [rbp + 0xc]
sub rsp, rcx
lea rdi, [rsp + 0xc0]
imul eax, edx
movsxd rcx, eax
shl rcx, 2
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1401a96a8
mov rax, r8
and rax, 0xfffffffffffffff0
call fcn.140232c50
sub rsp, rax
lea rbx, [rsp + 0xc0]
cmp edx, 2
jne 0x1401a96ce
mov rax, qword [rbp + 0xc8]
lea rcx, [rbx + rax*4]
jmp 0x1401a96d0
xor ecx, ecx
mov eax, dword [r12 + 0x24]
mov r8d, dword [rbp + 0x28]
mov r9d, dword [rbp + 8]
mov dword [rsp + 0xb0], eax
mov eax, dword [r12 + 0x28]
sub r8d, esi
mov dword [rsp + 0xa8], eax
mov eax, dword [rbp + 0x80]
mov dword [rsp + 0xa0], 0
lea rdx, [r12 + 0x2c]
mov qword [rsp + 0x98], rdx
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x90], r14d
mov r14, qword [rbp + 0x1c8]
mov dword [rsp + 0x88], r15d
mov qword [rsp + 0x80], r14
mov dword [rsp + 0x78], eax
mov rax, qword [rbp + 0x100]
mov dword [rsp + 0x70], r8d
mov r8d, dword [rbp]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp + 0x5c]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x48]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1401b12c0
test esi, esi
jle 0x1401a97a1
mov edx, 1
mov rcx, r14
call fcn.1401aafa0
mov dword [rbp + 0x60], eax
bsr edx, dword [r14 + 0x20]
mov ecx, dword [rbp + 0x40]
mov eax, dword [rbp + 4]
sub ecx, dword [r14 + 0x18]
mov rsi, qword [rbp + 0x88]
mov r8d, dword [rbp + 8]
lea edx, [rcx + rdx + 1]
mov rcx, qword [rbp + 0x98]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], edx
mov edx, dword [rbp]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0xb0]
mov r9, rsi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call fcn.1401b35a0
cmp dword [rbp + 0x60], 0
je 0x1401a9858
mov eax, dword [r12 + 0x28]
mov rcx, qword [rbp + 0x10]
mov r9d, r15d
mov dword [rsp + 0x68], eax
mov eax, dword [r12 + 0x2c]
mov r8, rdi
mov dword [rsp + 0x60], eax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0xa8]
mov rdx, rbx
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 8]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rbp]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x20], eax
call fcn.1401ae160
mov edx, dword [rbp + 0x38]
test edx, edx
je 0x1401a9875
mov eax, dword [rbp + 0x1c]
test eax, eax
jle 0x1401a9875
mov rcx, rax
mov rdi, rsi
mov rax, 0xffffffffc1e00000
rep stosd dword [rdi], eax
mov eax, dword [r12 + 0x28]
mov r13d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
mov dword [rsp + 0x60], eax
mov eax, dword [r12 + 0x14]
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xa0]
lea r8, [rbp + 0xe8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp]
mov r9, rsi
mov rdx, rbx
mov dword [rsp + 0x20], eax
call fcn.1401a74d0
mov r14d, dword [rbp + 0x2c]
mov r13d, dword [rbp + 0x24]
mov rsi, qword [rbp + 0xd8]
xor ebx, ebx
nop
mov eax, dword [r12 + 0x40]
mov rcx, qword [rbp + 0x10]
mov rdi, qword [rbp + rbx*8 + 0xe8]
movss xmm0, dword [r12 + 0x48]
movss xmm1, dword [r12 + 0x4c]
mov r9d, reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rdi
cmp eax, r9d
cmovg r9d, eax
mov eax, dword [r12 + 0x44]
cmp eax, r8d
mov dword [r12 + 0x40], r9d
cmovg r8d, eax
mov eax, dword [r12 + 0x28]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0x30]
mov dword [r12 + 0x44], r8d
mov dword [rsp + 0x50], eax
mov rax, qword [rcx + 0x48]
mov qword [rsp + 0x48], rax
mov eax, dword [r12 + 0x50]
mov dword [rsp + 0x40], eax
mov eax, dword [r12 + 0x54]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x30]
mov rcx, rdi
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x28], xmm1
mov dword [rsp + 0x20], eax
call fcn.1401ad280
test r15d, r15d
je 0x1401a99d8
mov eax, dword [r12 + 0x28]
mov r8, qword [rbp + 0x10]
mov edx, dword [rbp + 0xc]
movss xmm0, dword [r12 + 0x48]
movsxd rcx, dword [r8 + 0x30]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0x50], eax
mov rax, qword [r8 + 0x48]
mov r8d, dword [r12 + 0x40]
mov qword [rsp + 0x48], rax
mov eax, dword [r12 + 0x50]
mov dword [rsp + 0x40], r14d
sub edx, ecx
mov dword [rsp + 0x38], eax
lea rdi, [rdi + rcx*4]
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], edx
mov rdx, rdi
mov r9d, r13d
mov rcx, rdi
call fcn.1401ad280
inc rbx
cmp rbx, rsi
jl 0x1401a98e0
mov eax, dword [r12 + 0x40]
mov rsi, qword [rbp + 0x88]
mov dword [r12 + 0x44], eax
mov eax, dword [r12 + 0x48]
mov dword [r12 + 0x4c], eax
mov eax, dword [r12 + 0x50]
movss dword [r12 + 0x48], xmm6
mov dword [r12 + 0x54], eax
mov eax, r13d
mov r13d, dword [rbp + 0x18]
mov dword [r12 + 0x40], eax
mov dword [r12 + 0x50], r14d
test r15d, r15d
je 0x1401a9a3a
mov dword [r12 + 0x44], eax
mov eax, dword [rbp + 0x2c]
movss dword [r12 + 0x4c], xmm6
mov dword [r12 + 0x54], eax
cmp dword [rbp + 4], 1
mov rbx, qword [rbp + 0x68]
jne 0x1401a9a53
lea rcx, [rbx + rsi]
mov r8, rbx
mov rdx, rsi
call fcn.1401e75a0
test r13d, r13d
jne 0x1401a9ba3
mov rdi, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x78]
lea r13, [rdi + rsi]
mov r8, rdi
mov rdx, r13
call fcn.1401e75a0
mov r8, rdi
mov rdx, rsi
mov rcx, r13
call fcn.1401e75a0
cmp dword [r12 + 0x38], 0xa
jge 0x1401a9a9e
movd xmm2, dword [rbp + 0x44]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x140281418]
jmp 0x1401a9aa6
movss xmm2, dword [0x1402ab594]
mov r10d, dword [rbp + 0x4c]
mov r11, qword [rbp + 0xb8]
xor r15d, r15d
cmp r10d, 4
mov r8d, r15d
mov r9, r15
jl 0x1401a9b63
lea eax, [r10 - 4]
mov rdi, rsi
lea rdx, [rsi + 0xc]
shr eax, 2
sub rdi, r11
lea rcx, [r11 + 4]
inc eax
lea r8d, [rax*4]
lea r9, [rax*4]
nop dword [rax + rax]
movss xmm1, dword [rdx - 0xc]
movaps xmm0, xmm2
addss xmm0, dword [rcx - 4]
comiss xmm0, xmm1
jb 0x1401a9b05
movaps xmm0, xmm1
movaps xmm1, xmm2
movss dword [rcx - 4], xmm0
movss xmm0, dword [rdi + rcx]
addss xmm1, dword [rcx]
comiss xmm1, xmm0
jb 0x1401a9b1e
movaps xmm1, xmm0
movaps xmm0, xmm2
movss dword [rcx], xmm1
movss xmm1, dword [rdx - 4]
addss xmm0, dword [rcx + 4]
comiss xmm0, xmm1
jb 0x1401a9b37
movaps xmm0, xmm1
movaps xmm1, xmm2
movss dword [rcx + 4], xmm0
movss xmm0, dword [rdx]
addss xmm1, dword [rcx + 8]
comiss xmm1, xmm0
jb 0x1401a9b50
movaps xmm1, xmm0
movss dword [rcx + 8], xmm1
add rcx, 0x10
add rdx, 0x10
sub rax, 1
jne 0x1401a9af0
cmp r8d, r10d
jge 0x1401a9c8c
mov rdx, rsi
lea rax, [r11 + r9*4]
sub rdx, r11
sub r10d, r8d
mov ecx, r10d
movss xmm1, dword [rax + rdx]
movaps xmm0, xmm2
addss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x1401a9b90
movaps xmm0, xmm1
movss dword [rax], xmm0
add rax, 4
sub rcx, 1
jne 0x1401a9b7c
jmp 0x1401a9c8c
mov r10d, dword [rbp + 0x4c]
mov r13, qword [rbp + 0xa8]
xor r15d, r15d
cmp r10d, 4
mov r8d, r15d
mov r9, r15
jl 0x1401a9c57
lea eax, [r10 - 4]
mov rdi, rsi
lea rdx, [rsi + 0xc]
shr eax, 2
sub rdi, r13
lea rcx, [r13 + 4]
inc eax
lea r8d, [rax*4]
lea r9, [rax*4]
nop dword [rax + rax]
movss xmm0, dword [rcx - 4]
movss xmm1, dword [rdx - 0xc]
comiss xmm0, xmm1
jb 0x1401a9c02
movaps xmm0, xmm1
movss xmm1, dword [rcx]
movss dword [rcx - 4], xmm0
movss xmm2, dword [rdi + rcx]
comiss xmm1, xmm2
jb 0x1401a9c18
movaps xmm1, xmm2
movss xmm0, dword [rcx + 4]
movss dword [rcx], xmm1
movss xmm1, dword [rdx - 4]
comiss xmm0, xmm1
jb 0x1401a9c2e
movaps xmm0, xmm1
movss dword [rcx + 4], xmm0
movss xmm0, dword [rcx + 8]
movss xmm1, dword [rdx]
comiss xmm0, xmm1
jb 0x1401a9c44
movaps xmm0, xmm1
movss dword [rcx + 8], xmm0
add rcx, 0x10
add rdx, 0x10
sub rax, 1
jne 0x1401a9bf0
cmp r8d, r10d
jge 0x1401a9c8c
mov rdx, rsi
lea rax, [r13 + r9*4]
sub rdx, r13
sub r10d, r8d
mov ecx, r10d
movss xmm0, dword [rax]
movss xmm1, dword [rax + rdx]
comiss xmm0, xmm1
jb 0x1401a9c7e
movaps xmm0, xmm1
movss dword [rax], xmm0
add rax, 4
sub rcx, 1
jne 0x1401a9c6d
mov r12, qword [rbp + 0x78]
movsxd r8, dword [rbp + 8]
movsxd r14, dword [rbp]
lea r11, [r12 + r8*4]
mov r10, r12
nop
test r14, r14
jle 0x1401a9cdb
mov rdx, rsi
mov rdi, r13
mov rax, r10
sub rdx, r12
sub rdi, r12
mov rcx, r14
nop word [rax + rax]
mov dword [rax + rdx], r15d
mov dword [rax], 0xc1e00000
mov dword [rax + rdi], 0xc1e00000
add rax, 4
sub rcx, 1
jne 0x1401a9cc0
mov rcx, qword [rbp + 0xd0]
cmp r8, rcx
jge 0x1401a9d1b
mov rdx, rsi
mov rdi, r13
mov rax, r11
sub rdx, r12
sub rdi, r12
sub rcx, r8
nop dword [rax]
mov dword [rax + rdx], r15d
mov dword [rax], 0xc1e00000
mov dword [rax + rdi], 0xc1e00000
add rax, 4
sub rcx, 1
jne 0x1401a9d00
add r10, rbx
add r11, rbx
sub qword [rbp + 0xc0], 1
jne 0x1401a9ca0
mov r12, qword [rbp + 0x70]
mov r14, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x10]
mov eax, dword [r14 + 0x20]
mov r9d, dword [rbp + 0x34]
mov r8d, dword [rbp + 0xc]
mov dword [r12 + 0x2c], eax
mov eax, dword [rbp + 0x1d0]
add rdx, 0x10
mov dword [rsp + 0x38], eax
mov eax, dword [r12 + 0x14]
lea rcx, [r12 + 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x90]
lea rcx, [rbp + 0xe8]
mov dword [rsp + 0x20], eax
call fcn.1401a7040
bsr eax, dword [r14 + 0x20]
mov ecx, dword [r14 + 0x18]
sub ecx, eax
mov dword [r12 + 0x38], r15d
dec ecx
cmp ecx, dword [rbp + 0x40]
jle 0x1401a9da6
mov eax, 0xfffffffd
jmp 0x1401a9e25
cmp dword [r14 + 0x30], 0
je 0x1401a9db6
mov dword [r12 + 0x30], 1
mov eax, dword [rbp + 0x1c0]
cdq
idiv dword [r12 + 0x14]
jmp 0x1401a9e25
mov ebx, dword [rbp + 0xc]
mov r8d, r15d
mov rcx, r12
mov edx, ebx
call fcn.1401a7cf0
mov eax, dword [rbp + 0x1d0]
mov r9d, dword [rbp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [r12 + 0x14]
lea rdx, [r12 + 0x58]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rbp + 0x90]
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xe8]
mov r8d, ebx
mov dword [rsp + 0x20], eax
call fcn.1401a7040
mov eax, dword [rbp + 0x1c0]
cdq
idiv dword [r12 + 0x14]
jmp 0x1401a9e25
or eax, 0xffffffff
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1401e6720
mov rbx, qword [rbp + 0x1a0]
mov rsi, qword [rbp + 0x1a8]
mov rdi, qword [rbp + 0x1b0]
movaps xmm6, xmmword [rbp + 0x160]
lea rsp, [rbp + 0x170]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret