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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov qword [rsp + 0x80], r14
lea rdx, [0x140000000]
movaps xmmword [rsp + 0x50], xmm6
mov esi, r8d
mov rdi, rcx
nop dword [rax]
cmp esi, 0x30000
jg 0x14003539b
je 0x140035720
lea eax, [rsi - 0x10000]
cmp eax, 0xd
ja case.0x1400353b6.196618
cdqe
mov ecx, dword [rdx + rax*4 + 0x35d18]
add rcx, rdx
jmp rcx
lea eax, [rsi - 0x30001]
cmp eax, 0xc
ja case.0x1400353b6.196618
cdqe
mov ecx, dword [rdx + rax*4 + 0x35d50]
add rcx, rdx
jmp rcx
cmp byte [rbx + 0x10], 0
je 0x14003574b
and esi, 0x20000
or esi, 0x10001
jmp 0x140035370
cmp byte [rbx + 0x10], 0
je 0x1400358a3
and esi, 0x20000
bts esi, 0x10
jmp 0x140035370
mov rdx, rbx
mov rcx, rdi
call fcn.140034bd0
jmp 0x140035cf6
lea rsi, [rbx + 0x18]
movsx rax, word [rsi + 0xe00]
cmp eax, 0x63
je 0x140035cf6
movsx r10, word [rsi + 0xdfe]
add rax, rax
shl r10, 4
add r10, rsi
mov qword [rsp + 0x88], r15
movups xmm0, xmmword [rsi + rax*8]
mov dword [r10 + 0xc], 0xffffffff
movq r15, xmm0
movups xmmword [rbp - 0x40], xmm0
mov rax, r15
mov dword [r10], r15d
psrldq xmm0, 8
movd r11d, xmm0
shr rax, 0x20
mov dword [r10 + 8], eax
mov dword [r10 + 4], r11d
test r11d, r11d
je 0x1400354cb
mov ecx, dword [rsi + 0xe04]
xor r8d, r8d
lea eax, [rcx + r11]
cmp eax, dword [rsi + 0xe08]
jle 0x140035476
mov qword [r10 + 4], r8
jmp 0x1400354bd
mov dword [r10 + 0xc], ecx
add dword [rsi + 0xe04], r11d
cmp dword [r10 + 4], r8d
jle 0x1400354bd
nop word [rax + rax]
mov ecx, dword [r10]
mov eax, dword [r10 + 0xc]
add ecx, r8d
mov rdx, qword [rdi + 0x10]
add eax, r8d
movsxd r9, ecx
inc r8d
movsxd rcx, eax
movzx eax, word [rdx + r9*2]
mov word [rsi + rcx*2 + 0x630], ax
cmp r8d, dword [r10 + 4]
jl 0x140035490
mov r8d, r11d
mov edx, r15d
mov rcx, rdi
call fcn.1400366e0
mov r14d, dword [rbp - 0x3c]
test r14d, r14d
je 0x1400354f7
movsxd rax, dword [rbp - 0x34]
mov r9d, r14d
add rax, 0x318
mov edx, r15d
mov rcx, rdi
lea r8, [rsi + rax*2]
call fcn.140036530
add dword [rsi + 0xe08], r14d
lea eax, [r15 + r14]
mov r15, qword [rsp + 0x88]
mov dword [rbx], eax
inc word [rsi + 0xdfe]
inc word [rsi + 0xe00]
jmp 0x140035cf6
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
jne 0x140035571
mov eax, dword [rbx]
test eax, eax
jle 0x140035cf6
dec eax
mov dword [rbx], eax
jmp 0x140035cf6
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
je 0x140035555
mov rdx, rbx
mov rcx, rdi
call fcn.140035eb0
mov rcx, rdi
call fcn.1400360a0
jmp 0x140035cf6
inc dword [rbx]
mov rdx, rbx
mov rcx, rdi
call fcn.1400360a0
jmp 0x140035cf6
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x140035582
jle 0x140035578
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
jmp 0x140035cf6
mov edx, dword [rbx]
mov rcx, rdi
call fcn.1400368b0
mov rdx, rbx
mov dword [rbx], eax
mov rcx, rdi
call fcn.1400360a0
jmp 0x140035cfa
mov eax, dword [rbx + 8]
mov rcx, rdi
cmp dword [rbx + 4], eax
je 0x1400355b6
mov rdx, rbx
call fcn.140035eb0
jmp 0x140035cfa
mov edx, dword [rbx]
call fcn.1400367f0
mov rdx, rbx
mov dword [rbx], eax
mov rcx, rdi
call fcn.1400360a0
jmp 0x140035cfa
xor r8d, r8d
mov qword [rbx + 4], r8
mov dword [rbx], r8d
mov byte [rbx + 0xf], r8b
jmp 0x140035cfa
mov eax, dword [rdi + 0x3c]
xor r8d, r8d
mov qword [rbx + 4], r8
mov byte [rbx + 0xf], r8b
mov dword [rbx], eax
jmp 0x140035cfa
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx + 8]
mov eax, dword [rdi + 0x3c]
cmp r8d, ecx
je 0x14003562d
mov edx, r8d
cmp r8d, eax
jle 0x140035613
mov dword [rbx + 4], eax
mov edx, eax
mov r9d, ecx
cmp ecx, eax
jle 0x140035620
mov dword [rbx + 8], eax
mov r9d, eax
mov r8d, edx
mov ecx, r9d
cmp edx, r9d
jne 0x14003562d
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, eax
jle 0x140035637
mov dword [rbx], eax
mov edx, eax
cmp r8d, ecx
je 0x14003564f
mov edx, r8d
jle 0x140035646
mov dword [rbx + 4], ecx
mov edx, ecx
mov dword [rbx], edx
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
cmp byte [rbx + 0x10], 0
je 0x140035660
xor r8d, r8d
mov dword [rbx], r8d
jmp 0x140035cf6
test edx, edx
jle 0x140035cf6
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov ecx, edx
cmp word [rax + rcx*2 - 2], 0xa
je 0x140035cf6
dec edx
mov dword [rbx], edx
test edx, edx
jg 0x140035670
jmp 0x140035cf6
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov r8d, dword [rdi + 0x3c]
cmp ecx, eax
je 0x1400356c6
mov edx, ecx
cmp ecx, r8d
jle 0x1400356ab
mov dword [rbx + 4], r8d
mov edx, r8d
mov r9d, eax
cmp eax, r8d
jle 0x1400356ba
mov dword [rbx + 8], r8d
mov r9d, r8d
mov ecx, edx
mov eax, r9d
cmp edx, r9d
jne 0x1400356c6
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, r8d
jle 0x1400356d3
mov dword [rbx], r8d
mov edx, r8d
cmp ecx, eax
je 0x1400356e9
mov edx, ecx
jle 0x1400356e0
mov dword [rbx + 4], eax
mov edx, eax
mov dword [rbx], edx
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
cmp byte [rbx + 0x10], 0
jne 0x140035658
cmp edx, r8d
jge 0x140035cf6
nop dword [rax]
mov rax, qword [rdi + 0x10]
movsxd rcx, edx
cmp word [rax + rcx*2], 0xa
je 0x140035cf6
inc edx
mov dword [rbx], edx
cmp edx, r8d
jl 0x140035700
jmp 0x140035cf6
mov rdx, rbx
mov rcx, rdi
call fcn.1400360a0
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x14003573b
mov eax, dword [rbx]
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
test eax, eax
jle 0x140035744
dec eax
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140035cf6
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 4]
bt esi, 0x11
jae 0x140035769
cmp ecx, eax
jne 0x140035765
mov eax, dword [rbx]
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
jmp 0x140035778
mov dword [rbx], eax
jmp 0x140035778
cmp ecx, eax
je 0x140035778
mov rdx, rbx
mov rcx, rdi
call fcn.140035eb0
mov rdx, rbx
mov rcx, rdi
call fcn.1400360a0
mov r8d, dword [rbx]
lea rcx, [rbp - 0x40]
movzx r9d, byte [rbx + 0x10]
mov rdx, rdi
call fcn.1400360e0
mov ecx, dword [rbp - 0x30]
test ecx, ecx
je 0x140035cfa
cmp byte [rbx + 0xf], 0
je 0x1400357af
movss xmm6, dword [rbx + 0x14]
jmp 0x1400357b4
movss xmm6, dword [rbp - 0x40]
mov r14d, dword [rbp - 0x34]
mov rdx, rdi
add r14d, ecx
lea rcx, [rbp - 0x28]
mov r8d, r14d
mov dword [rbx], r14d
call fcn.140036a30
mov r11d, dword [rbp - 0x14]
xor r8d, r8d
movss xmm2, dword [rbp - 0x28]
test r11d, r11d
jle 0x140035859
mov r10, qword [0x14007c440]
movss xmm3, dword [0x14004c650]
movsxd rax, r14d
lea r9, [rax + rax]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
movzx ecx, word [r9 + rax]
cmp ecx, 0xa
je 0x140035859
mov rdx, qword [r10 + 0x18f0]
cmp ecx, dword [rdx + 0x20]
jge 0x140035825
mov rax, qword [rdx + 0x28]
movss xmm1, dword [rax + rcx*4]
jmp 0x14003582a
movss xmm1, dword [rdx + 0x48]
movss xmm0, dword [r10 + 0x18f8]
divss xmm0, dword [rdx]
mulss xmm0, xmm1
ucomiss xmm0, xmm3
jp 0x140035842
je 0x140035859
addss xmm2, xmm0
comiss xmm2, xmm6
ja 0x140035859
inc dword [rbx]
inc r8d
add r9, 2
cmp r8d, r11d
jl 0x140035800
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
mov eax, dword [rdi + 0x3c]
cmp ecx, edx
je 0x14003587e
cmp ecx, eax
jle 0x14003586f
mov dword [rbx + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x140035878
mov dword [rbx + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x14003587e
mov dword [rbx], ecx
mov ecx, dword [rbx]
cmp ecx, eax
jle 0x140035888
mov dword [rbx], eax
mov ecx, eax
movss dword [rbx + 0x14], xmm6
mov byte [rbx + 0xf], 1
bt esi, 0x11
jae 0x140035cfa
mov dword [rbx + 8], ecx
jmp 0x140035cfa
mov ecx, dword [rbx + 8]
mov eax, dword [rbx + 4]
bt esi, 0x11
jae 0x1400358be
cmp eax, ecx
jne 0x1400358ba
mov eax, dword [rbx]
mov dword [rbx + 4], eax
jmp 0x1400358cf
mov dword [rbx], ecx
jmp 0x1400358d2
cmp eax, ecx
je 0x1400358d2
jle 0x1400358c9
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
mov dword [rbx + 8], eax
mov rdx, rbx
mov rcx, rdi
call fcn.1400360a0
mov r8d, dword [rbx]
lea rcx, [rbp - 0x40]
movzx r9d, byte [rbx + 0x10]
mov rdx, rdi
call fcn.1400360e0
mov r14d, dword [rbp - 0x2c]
cmp r14d, dword [rbp - 0x34]
je 0x140035cfa
cmp byte [rbx + 0xf], 0
je 0x14003590c
movss xmm6, dword [rbx + 0x14]
jmp 0x140035911
movss xmm6, dword [rbp - 0x40]
mov r8d, r14d
mov dword [rbx], r14d
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140036a30
mov r11d, dword [rbp - 0x14]
xor r8d, r8d
movss xmm2, dword [rbp - 0x28]
test r11d, r11d
jle 0x140035859
mov r10, qword [0x14007c440]
movss xmm3, dword [0x14004c650]
nop word [rax + rax]
lea eax, [r8 + r14]
movsxd rcx, eax
mov rax, qword [rdi + 0x10]
movzx r9d, word [rax + rcx*2]
cmp r9d, 0xa
je 0x140035859
mov rdx, qword [r10 + 0x18f0]
cmp r9d, dword [rdx + 0x20]
jge 0x140035983
mov rax, qword [rdx + 0x28]
movss xmm1, dword [rax + r9*4]
jmp 0x140035988
movss xmm1, dword [rdx + 0x48]
movss xmm0, dword [r10 + 0x18f8]
divss xmm0, dword [rdx]
mulss xmm0, xmm1
ucomiss xmm0, xmm3
jp 0x1400359a4
je 0x140035859
addss xmm2, xmm0
comiss xmm2, xmm6
ja 0x140035859
inc dword [rbx]
inc r8d
cmp r8d, r11d
jl 0x140035950
jmp 0x140035859
mov eax, dword [rbx + 8]
mov edx, dword [rbx]
cmp dword [rbx + 4], eax
jne 0x1400359d0
mov dword [rbx + 8], edx
mov dword [rbx + 4], edx
mov rcx, rdi
call fcn.1400368b0
mov rdx, rbx
mov dword [rbx], eax
mov rcx, rdi
mov dword [rbx + 8], eax
call fcn.1400360a0
jmp 0x140035cfa
mov eax, dword [rbx + 8]
mov edx, dword [rbx]
cmp dword [rbx + 4], eax
jne 0x1400359fd
mov dword [rbx + 8], edx
mov dword [rbx + 4], edx
mov rcx, rdi
call fcn.1400367f0
jmp 0x1400359d8
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x140035a16
mov eax, dword [rbx]
mov dword [rbx + 4], eax
jmp 0x140035a18
mov dword [rbx], eax
inc eax
mov rdx, rbx
mov rcx, rdi
mov dword [rbx + 8], eax
call fcn.1400360a0
mov edx, dword [rbx + 8]
mov dword [rbx], edx
jmp 0x140035cf6
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x140035a65
mov r8d, dword [rbx]
cmp r8d, dword [rdi + 0x3c]
jge 0x140035cf6
mov r9d, 1
mov rdx, rbx
mov rcx, rdi
call fcn.140036000
jmp 0x140035cf6
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
je 0x140035a75
mov rdx, rbx
mov rcx, rdi
call fcn.140035f60
jmp 0x140035cf6
mov eax, dword [rdi + 0x3c]
mov r8d, dword [rbx]
cmp r8d, eax
jle 0x140035a85
mov dword [rbx], eax
mov r8d, eax
test r8d, r8d
jle 0x140035cf6
dec r8d
mov r9d, 1
mov rdx, rbx
mov rcx, rdi
call fcn.140036000
dec dword [rbx]
jmp 0x140035cf6
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x140035ab6
mov eax, dword [rbx]
mov dword [rbx + 4], eax
xor r8d, r8d
mov dword [rbx + 8], r8d
mov dword [rbx], r8d
mov byte [rbx + 0xf], r8b
jmp 0x140035cfa
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x140035ae6
mov eax, dword [rbx]
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
mov eax, dword [rdi + 0x3c]
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140035cf6
mov dword [rbx], eax
mov eax, dword [rdi + 0x3c]
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140035cf6
mov r9d, dword [rbx + 4]
mov ecx, dword [rbx + 8]
mov eax, dword [rdi + 0x3c]
cmp r9d, ecx
je 0x140035b2b
mov edx, r9d
cmp r9d, eax
jle 0x140035b11
mov dword [rbx + 4], eax
mov edx, eax
mov r8d, ecx
cmp ecx, eax
jle 0x140035b1e
mov dword [rbx + 8], eax
mov r8d, eax
mov r9d, edx
mov ecx, r8d
cmp edx, r8d
jne 0x140035b2b
mov dword [rbx], edx
mov edx, dword [rbx]
mov r8d, edx
cmp edx, eax
jle 0x140035b3b
mov dword [rbx], eax
mov edx, eax
mov r8d, eax
cmp r9d, ecx
jne 0x140035b48
mov dword [rbx + 8], edx
mov dword [rbx + 4], edx
jmp 0x140035b4f
mov dword [rbx], ecx
mov edx, ecx
mov r8d, ecx
cmp byte [rbx + 0x10], 0
je 0x140035b64
xor r8d, r8d
mov dword [rbx], r8d
mov dword [rbx + 8], r8d
jmp 0x140035cf6
test edx, edx
jle 0x140035b8d
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov ecx, edx
cmp word [rax + rcx*2 - 2], 0xa
je 0x140035b8d
lea r8d, [rdx - 1]
mov dword [rbx], r8d
mov edx, r8d
test r8d, r8d
jg 0x140035b70
mov dword [rbx + 8], r8d
jmp 0x140035cf6
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov r9d, dword [rdi + 0x3c]
cmp ecx, eax
je 0x140035bcd
mov edx, ecx
cmp ecx, r9d
jle 0x140035bb2
mov dword [rbx + 4], r9d
mov edx, r9d
mov r8d, eax
cmp eax, r9d
jle 0x140035bc1
mov dword [rbx + 8], r9d
mov r8d, r9d
mov ecx, edx
mov eax, r8d
cmp edx, r8d
jne 0x140035bcd
mov dword [rbx], edx
mov r8d, dword [rbx]
mov edx, r8d
cmp r8d, r9d
jle 0x140035be1
mov dword [rbx], r9d
mov r8d, r9d
mov edx, r9d
cmp ecx, eax
jne 0x140035bef
mov dword [rbx + 8], r8d
mov dword [rbx + 4], r8d
jmp 0x140035bf6
mov dword [rbx], eax
mov r8d, eax
mov edx, eax
cmp byte [rbx + 0x10], 0
je 0x140035c0a
mov edx, r9d
mov dword [rbx], r9d
mov dword [rbx + 8], edx
jmp 0x140035cf6
cmp r8d, r9d
jge 0x140035c2c
nop
mov rax, qword [rdi + 0x10]
movsxd rcx, r8d
cmp word [rax + rcx*2], 0xa
je 0x140035c2c
lea edx, [r8 + 1]
mov dword [rbx], edx
mov r8d, edx
cmp edx, r9d
jl 0x140035c10
mov dword [rbx + 8], edx
jmp 0x140035cf6
xor r8d, r8d
cmp esi, 0x10000
cmovge esi, r8d
test esi, esi
jle 0x140035cfa
mov word [rbp + 0x30], si
cmp esi, 0xa
jne 0x140035c5c
cmp byte [rbx + 0x10], r8b
jne 0x140035cfa
cmp byte [rbx + 0xc], r8b
je 0x140035cbd
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x140035cbd
movsxd rsi, dword [rbx]
cmp esi, dword [rdi + 0x3c]
jge 0x140035cbd
mov r9d, 1
lea rcx, [rbx + 0x18]
mov r8d, r9d
mov edx, esi
call fcn.140034e50
test rax, rax
je 0x140035c96
mov rcx, qword [rdi + 0x10]
movzx edx, word [rcx + rsi*2]
mov word [rax], dx
mov edx, dword [rbx]
mov r8d, 1
mov rcx, rdi
call fcn.1400366e0
mov edx, dword [rbx]
mov r9d, r8d
lea r8, [rbp + 0x30]
mov rcx, rdi
call fcn.140036530
test al, al
je 0x140035cfa
jmp 0x140035cf4
mov rdx, rbx
mov rcx, rdi
call fcn.140035f60
mov edx, dword [rbx]
lea r8, [rbp + 0x30]
mov r9d, 1
mov rcx, rdi
call fcn.140036530
test al, al
je 0x140035cfa
mov edx, dword [rbx]
lea rcx, [rbx + 0x18]
mov r9d, 1
xor r8d, r8d
call fcn.140034e50
inc dword [rbx]
mov byte [rbx + 0xf], 0
movaps xmm6, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret