Function at 0x140059590
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14012d080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [r11 + 8], rbp
xor r9d, r9d
mov rbp, qword [0x140131c00]
mov qword [r11 + 0x10], r12
mov rdi, rbp
mov qword [r11 + 0x18], r13
mov qword [r11 - 0x20], r14
mov eax, dword [rbp + 0x4b68]
sub eax, 1
mov qword [r11 - 0x28], r15
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [r11 - 0x58], xmm10
mov qword [rsp + 0x38], r9
mov byte [rsp + 0x24], r9b
js 0x140059620
mov r8, qword [rbp + 0x4b70]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rsi, qword [r8]
test rsi, rsi
je 0x140059616
test dword [rsi + 0x14], 0x8000000
jne 0x140059764
sub r8, 0x38
sub rdx, 1
jns 0x140059601
lea r14, [rbp + 0x4d88]
mov rsi, r9
mov rax, qword [r14]
xorps xmm10, xmm10
cmp qword [rbp + 0x4d90], r9
je 0x14005967c
test rax, rax
jne 0x14005967c
comiss xmm10, dword [rbp + 0x4dc0]
movss xmm0, dword [rbp + 0x18]
movss xmm1, dword [rbp + 0x4da4]
mulss xmm0, dword [0x140118cb4]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rbp + 0x4da4], xmm1
jb 0x14005967c
comiss xmm10, xmm1
jb 0x14005967c
mov qword [rbp + 0x4d90], r9
mov ebp, 0xffffffff
lea rdx, [0x1401116f9]
mov ebx, ebp
lea r9, [0x140111d20]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1400596a6
cmp byte [rdx], r8b
jne 0x1400596a6
cmp byte [rdx + 1], r8b
cmove ebx, ebp
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r9 + rcx*4]
test r8b, r8b
jne 0x140059694
mov eax, dword [rdi + 8]
not ebx
mov rbp, qword [0x140131c00]
test al, 2
je 0x1400596de
test byte [rdi + 0xc], 1
mov byte [rsp + 0x21], 1
jne 0x1400596e3
mov byte [rsp + 0x21], 0
and al, 1
mov dword [rsp + 0x28], eax
test rsi, rsi
jne 0x14005977d
mov r15d, dword [rdi + 0x4d7c]
test r15d, r15d
je 0x14005977d
lea eax, [rbx + 1]
mov r12d, ebx
test eax, 0xfffffffe
jne 0x140059712
mov r12d, dword [rbp + 0x49fc]
test dword [rbp + 0x4a00], 0x400
jne 0x14005977d
mov r8d, r12d
mov edx, 0x2001
mov ecx, r15d
call fcn.1400511c0
test al, al
je 0x140059776
mov r8d, r12d
mov edx, 0x2021
mov ecx, r15d
call fcn.140053690
test al, al
je 0x140059776
and r15d, 0xf000
mov edx, r12d
mov ecx, r15d
call fcn.1400535e0
mov rbp, qword [0x140131c00]
mov r12b, 1
jmp 0x140059785
lea r14, [rbp + 0x4d88]
mov rax, r9
mov qword [r14], r9
jmp 0x14005962d
mov rbp, qword [0x140131c00]
xor r12b, r12b
test rsi, rsi
jne 0x1400597fe
mov r15d, dword [rdi + 0x4d80]
test r15d, r15d
je 0x1400597fe
lea eax, [rbx + 1]
mov r13d, ebx
test eax, 0xfffffffe
jne 0x1400597a5
mov r13d, dword [rbp + 0x49fc]
test dword [rbp + 0x4a00], 0x400
jne 0x1400597fe
mov r8d, r13d
mov edx, 0x2001
mov ecx, r15d
call fcn.1400511c0
test al, al
je 0x1400597f7
mov r8d, r13d
mov edx, 0x2021
mov ecx, r15d
call fcn.140053690
test al, al
je 0x1400597f7
and r15d, 0xf000
mov edx, r13d
mov ecx, r15d
call fcn.1400535e0
mov rbp, qword [0x140131c00]
mov r15b, 1
jmp 0x140059806
mov rbp, qword [0x140131c00]
xor r15b, r15b
test rsi, rsi
jne 0x14005982b
cmp byte [rsp + 0x21], 0
je 0x14005982b
cmp qword [r14], 0
jne 0x14005982b
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.140051490
test al, al
je 0x14005982b
mov r8b, 1
jmp 0x140059838
xor r8b, r8b
test rsi, rsi
jne 0x140059846
cmp qword [r14], rsi
jne 0x140059846
test r12b, r12b
jne 0x140059842
test r15b, r15b
je 0x140059846
mov al, 1
jmp 0x140059848
xor al, al
mov byte [rsp + 0x21], al
test r8b, r8b
jne 0x140059859
test al, al
je 0x140059936
mov rax, qword [rdi + 0x4ba8]
test rax, rax
jne 0x1400598d3
mov r9d, dword [rdi + 0x4028]
sub r9d, 1
js 0x140059936
movsxd rdx, r9d
movsxd rax, dword [rbp + 0x4028]
cmp rdx, rax
jge 0x140059936
cmp rdx, 0xffffffff80000001
je 0x140059936
mov rax, qword [rbp + 0x4030]
mov rcx, qword [rax + rdx*8]
cmp byte [rcx + 0xcb], 0
je 0x1400598bc
cmp rcx, qword [rcx + 0x390]
jne 0x1400598bc
test dword [rcx + 0x14], 0x20000
je 0x1400598c7
dec r9d
sub rdx, 1
js 0x140059936
jmp 0x140059879
movsxd rcx, r9d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140059936
mov rax, qword [rax + 0x390]
mov qword [rdi + 0x4d90], rax
mov qword [r14], rax
xor eax, eax
mov qword [rdi + 0x4da0], rax
mov qword [rdi + 0x4db8], rax
mov qword [rdi + 0x4db0], rax
movzx eax, byte [rsp + 0x21]
xor eax, 1
mov byte [rdi + 0x4da8], r8b
add eax, 2
mov dword [rdi + 0x4bf0], eax
test r12b, r12b
jne 0x14005991d
test r15b, r15b
je 0x140059936
mov ecx, dword [rdi + 0x4d80]
mov edx, ebx
or ecx, dword [rdi + 0x4d7c]
and ecx, 0xf000
call fcn.1400535e0
movss xmm0, dword [rdi + 0x18]
mov r13d, 1
mov rsi, qword [r14]
movss xmm6, dword [0x140118c34]
mov rdx, rsi
movaps xmmword [rsp + 0x60], xmm7
addss xmm0, dword [rdi + 0x4da0]
movss dword [rdi + 0x4da0], xmm0
test rsi, rsi
je 0x140059a4f
cmp dword [rdi + 0x4bf0], 3
jne 0x140059a58
subss xmm0, dword [0x140118bd4]
divss xmm0, dword [0x140118bbc]
comiss xmm10, xmm0
jbe 0x140059996
movaps xmm1, xmm10
jmp 0x14005999d
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x4da4]
xor r8d, r8d
maxss xmm7, xmm1
mov edx, r13d
mov ecx, 0x281
movss dword [rdi + 0x4da4], xmm7
call fcn.140051490
xor r8d, r8d
movzx ebx, al
mov edx, r13d
mov ecx, 0x282
call fcn.140051490
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x1400599f4
mov ecx, eax
call fcn.140059440
mov rsi, qword [r14]
movaps xmm7, xmm6
mov dword [rdi + 0x4da4], 0x3f800000
mov edx, 0x279
mov rcx, rbp
call fcn.140050b00
cmp byte [rax], 0
je 0x140059a15
cmp byte [rbp + 0x4710], 0
mov rdx, qword [r14]
mov rsi, rdx
je 0x140059a4f
comiss xmm6, xmm7
seta al
and byte [rdi + 0x4da8], al
je 0x140059a3e
cmp qword [rdi + 0x4ba8], 0
je 0x140059a43
mov byte [rsp + 0x24], r13b
mov qword [r14], 0
jmp 0x140059b03
mov qword [rsp + 0x38], rsi
mov qword [r14], 0
jmp 0x140059b03
test rdx, rdx
je 0x140059b03
cmp dword [rdi + 0x4bf0], 2
jne 0x140059b03
mov eax, dword [rdi + 0x4d7c]
mov ecx, 0xf000
movss xmm0, dword [rdi + 0x4da0]
test eax, eax
subss xmm0, dword [0x140118bd4]
cmovne ecx, eax
mov r8d, 0xf000
mov eax, dword [rdi + 0x4d80]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x140118bbc]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf000
comiss xmm10, xmm0
jbe 0x140059ab7
movaps xmm6, xmm10
jmp 0x140059abb
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4da4]
maxss xmm0, xmm6
movss dword [rdi + 0x4da4], xmm0
test r12b, r12b
jne 0x140059af0
test r15b, r15b
jne 0x140059af0
mov eax, dword [rdi + 0x130]
and eax, r8d
and eax, 0xf000
cmp eax, ecx
je 0x140059b03
mov r12, rdx
jmp 0x140059b08
movzx ecx, r12b
xor ecx, r13d
lea ecx, [rcx*2 - 1]
call fcn.140059440
mov r12, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x28]
lea rbx, [rsp + 0x38]
movaps xmm7, xmmword [rsp + 0x60]
mov dword [rsp + 0x38], 0x211
mov dword [rsp + 0x3c], 0x215
test r15b, r15b
je 0x140059b41
mov esi, dword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, 0xffffffff
call fcn.140051490
test al, al
jne 0x140059b51
add rbx, 4
lea rax, [rsp + 0x40]
cmp rbx, rax
jne 0x140059b27
jmp 0x140059b68
mov byte [rdi + 0x4da8], r13b
mov dword [rdi + 0x4dac], esi
mov dword [rdi + 0x4bf0], 2
cmp byte [rdi + 0x4da8], 0
mov r15, qword [rsp + 0x80]
je 0x140059d7e
cmp dword [rdi + 0x4bf0], 2
jne 0x140059d7e
cmp dword [rdi + 0x2ba8], 0
jg 0x140059bae
cmp byte [rdi + 0x12c], 0
jne 0x140059bae
cmp byte [rdi + 0x12d], 0
jne 0x140059bae
cmp byte [rdi + 0x12f], 0
je 0x140059bb5
mov byte [rdi + 0x4da8], 0
mov r9d, dword [rdi + 0x4dac]
lea eax, [r9 - 0x200]
cmp eax, 0x99
jbe 0x140059bf2
cmp r9d, 0x1000
je 0x140059bf2
cmp r9d, 0x2000
je 0x140059bf2
cmp r9d, 0x4000
je 0x140059bf2
cmp r9d, 0x8000
jne 0x140059c7f
cmp byte [rbp + 0x49f4], 0
je 0x140059c1a
cmp dword [rbp + 0x40e4], 0xffffffff
je 0x140059c1a
lea eax, [r9 - 0x200]
cmp eax, 0x76
ja 0x140059c1a
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
jmp 0x140059c90
mov eax, r9d
test r9d, 0xf000
je 0x140059c65
cmp r9d, 0x1000
jne 0x140059c36
mov eax, 0x296
jmp 0x140059c65
cmp r9d, 0x2000
jne 0x140059c46
mov eax, 0x297
jmp 0x140059c65
cmp r9d, 0x4000
jne 0x140059c56
mov eax, 0x298
jmp 0x140059c65
cmp r9d, 0x8000
mov ecx, 0x299
cmove eax, ecx
cdqe
lea rcx, [rax + rax*2]
cmp dword [rbp + rcx*4 + 0x295c], 0xffffffff
je 0x140059c7f
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
jmp 0x140059c90
cmp dword [rbp + 0x487c], 0xffffffff
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
je 0x140059c97
mov byte [rdi + 0x4da8], 0
mov edx, r9d
mov rcx, rbp
call fcn.140050b00
comiss xmm10, dword [rax + 8]
ja 0x140059d59
cmp byte [rax], 0
jne 0x140059d59
xor edx, edx
mov ecx, r9d
call fcn.140053490
test al, al
je 0x140059d59
cmp byte [rdi + 0x4da8], dl
je 0x140059d59
cmp dword [rdi + 0x40e4], edx
je 0x140059ce4
cmp byte [rdi + 0x40f1], dl
je 0x140059d59
lea rax, [rdi + 0x110]
test rax, rax
jne 0x140059cf7
lea rax, [rbp + 0x110]
movss xmm0, dword [rax]
movss xmm1, dword [0x140118d98]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140059d18
comiss xmm2, xmm1
jb 0x140059d18
movzx ecx, r13b
jmp 0x140059d1a
xor cl, cl
lea rax, [rdi + 0x2ad8]
test rax, rax
jne 0x140059d2d
lea rax, [rbp + 0x110]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140059d46
comiss xmm2, xmm1
jb 0x140059d46
movzx eax, r13b
jmp 0x140059d48
xor al, al
mov edx, dword [rsp + 0x24]
cmp cl, al
movzx edx, dl
cmove edx, r13d
mov dword [rsp + 0x24], edx
mov edx, r9d
mov rcx, rbp
call fcn.140050b00
cmp byte [rax], 0
je 0x140059d77
xor edx, edx
mov ecx, r9d
call fcn.140053490
test al, al
jne 0x140059d7e
mov byte [rdi + 0x4da8], 0
mov rax, qword [r14]
test rax, rax
je 0x140059f18
test byte [rax + 0x14], 4
jne 0x140059f18
mov eax, dword [rdi + 0x4bf0]
cmp eax, 2
jne 0x140059de0
cmp byte [rdi + 0x12d], 0
jne 0x140059f18
mov edx, 0x203
mov rcx, rbp
call fcn.140050b00
mov edx, 0x201
mov rcx, rbp
mov r10, rax
call fcn.140050b00
mov edx, 0x202
mov rcx, rbp
mov r9, rax
call fcn.140050b00
mov edx, 0x204
jmp 0x140059e1b
cmp eax, 3
jne 0x140059f18
mov edx, 0x289
mov rcx, rbp
call fcn.140050b00
mov edx, 0x287
mov rcx, rbp
mov r10, rax
call fcn.140050b00
mov edx, 0x288
mov rcx, rbp
mov r9, rax
call fcn.140050b00
mov edx, 0x28a
movss xmm2, dword [rax + 0xc]
mov rcx, rbp
subss xmm2, dword [r9 + 0xc]
call fcn.140050b00
ucomiss xmm2, xmm10
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jp 0x140059e4d
jne 0x140059e4d
ucomiss xmm3, xmm10
jp 0x140059e4d
je 0x140059f18
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x140118d38]
mov byte [rdi + 0x4c03], r13b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4db0]
addss xmm3, dword [rdi + 0x4db4]
cvttss2si eax, xmm2
movss dword [rdi + 0x4db0], xmm2
movss dword [rdi + 0x4db4], xmm3
cvtsi2ss xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm10
cvtsi2ss xmm5, eax
jp 0x140059ebd
jne 0x140059ebd
ucomiss xmm5, xmm10
jp 0x140059ebd
je 0x140059f18
mov rax, qword [r14]
lea rdx, [rsp + 0x38]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, r13d
mov rcx, qword [rax + 0x390]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140050190
movss xmm0, dword [rdi + 0x4db4]
movss xmm4, dword [rdi + 0x4db0]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4db4], xmm0
movss dword [rdi + 0x4db0], xmm4
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x70]
mov rbp, qword [rsp + 0xb0]
test r12, r12
je 0x140059fab
mov rax, qword [rdi + 0x4ba8]
test rax, rax
je 0x140059f45
cmp r12, qword [rax + 0x390]
je 0x140059fa4
xor edx, edx
xor ecx, ecx
call fcn.140046520
mov rax, qword [0x140131c00]
xor edx, edx
mov rcx, r12
mov word [rax + 0x4c01], r13w
mov byte [rax + 0x4c03], r13b
call fcn.140055090
mov edx, r13d
mov rcx, r12
call fcn.14004fa40
mov rbx, qword [rdi + 0x4ba8]
cmp dword [rbx + 0x3c0], 0
jne 0x140059f93
xor edx, edx
mov rcx, rbx
call fcn.140056e90
cmp word [rbx + 0x176], 2
jne 0x140059fa4
mov dword [rdi + 0x4bb8], r13d
mov qword [r14], 0
cmp byte [rsp + 0x24], 0
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xb8]
je 0x14005a08e
cmp qword [rdi + 0x4ba8], 0
je 0x14005a08e
xor edx, edx
xor ecx, ecx
call fcn.140046520
mov rsi, qword [rdi + 0x4ba8]
mov rbx, rsi
lea rcx, [rsi + 0x380]
cmp qword [rcx], 0
je 0x14005a03e
nop dword [rax]
test byte [rbx + 0x174], 2
jne 0x14005a028
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14005a028
mov rbx, qword [rcx]
lea rcx, [rbx + 0x380]
cmp qword [rcx], 0
jne 0x14005a000
cmp rbx, rsi
je 0x14005a03e
xor edx, edx
mov rcx, rbx
call fcn.14004fa40
mov qword [rbx + 0x3b8], rsi
mov rax, qword [rdi + 0x4ba8]
test byte [rax + 0x174], 2
je 0x14005a059
mov ecx, dword [rdi + 0x4bb8]
xor ecx, 1
jmp 0x14005a05b
xor ecx, ecx
cmp ecx, dword [rdi + 0x4bb8]
je 0x14005a08e
cmp ecx, 1
jne 0x14005a072
mov dword [rax + 0x3c4], 0
call fcn.140056dd0
mov rax, qword [0x140131c00]
mov word [rax + 0x4c01], 1
mov byte [rax + 0x4c03], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a56d0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret