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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x30]
and eax, 0x1f000000
cmp eax, 0xb000000
je 0x1400615b6
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x38], 0
je 0x1400611c4
mov dword [rsp + 0x50], 1
jmp 0x1400611cc
mov dword [rsp + 0x50], 0
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140060b60
test eax, eax
jne 0x1400611fc
mov edx, 0x12
mov rcx, qword [rsp + 0xd0]
call fcn.1400236b0
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x40]
and eax, 0x1f000000
cmp eax, 0x8000000
jne 0x14006141d
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x38], 0
je 0x140061236
lea rax, [0x140003297]
mov qword [rsp + 0x98], rax
jmp 0x140061245
lea rax, [0x1400031a0]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xd0]
call fcn.1400670c0
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0xa0]
lea rax, [rcx + rax*4 + 4]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x80]
mov ecx, dword [rsp + 0x30]
mov rax, qword [rax + 0x20]
lea rax, [rax + rcx*8 + 8]
mov qword [rsp + 0x78], rax
mov eax, 4
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xd8]
mov edx, dword [rdx + 0x40]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xd8]
mov edx, dword [rdx + 0x30]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xd8]
mov edx, dword [rdx + 0x34]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0xd8]
movabs rcx, 0x7fffffffffff
mov rax, qword [rax + 0x18]
and rax, rcx
mov rcx, qword [rsp + 0x78]
sub rcx, 8
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x80]
call fcn.14005f430
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
add rcx, 8
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x80]
call fcn.14005f4d0
mov rax, qword [rsp + 0xd8]
add rax, 8
mov rcx, qword [rsp + 0x78]
add rcx, 0x10
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x80]
call fcn.14005f4d0
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x38], 0
je 0x1400613ff
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xd8]
mov edx, dword [rdx + 0x38]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0xd8]
add rax, 0x10
mov rcx, qword [rsp + 0x78]
add rcx, 0x18
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x80]
call fcn.14005f4d0
mov r8d, 3
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
call fcn.14005fc60
xor eax, eax
jmp 0x140061e2a
mov r8d, 2
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
call fcn.14005fc60
xor eax, eax
jmp 0x140061e2a
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x3c], 0x7fff
jne 0x140061534
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x38], 0
jne 0x140061534
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x30]
and eax, 0x1f000000
cmp eax, 0xc000000
jne 0x140061534
mov rax, qword [rsp + 0xd8]
movabs rcx, 0x7fffffffffff
mov rax, qword [rax]
and rax, rcx
movzx eax, byte [rax + 0xa]
cmp eax, 3
jne 0x140061534
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x40]
and eax, 0x1f000000
cmp eax, 0xb000000
jne 0x140061534
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x34]
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x140061534
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax + 0x34]
cmp eax, 0x8000
jge 0x140061534
mov rax, qword [rsp + 0xd8]
movabs rcx, 0x7fffffffffff
mov rax, qword [rax + 8]
and rax, rcx
mov rcx, qword [rsp + 0xd8]
movabs rdx, 0x7fffffffffff
mov rcx, qword [rcx + 0x18]
and rcx, rdx
mov rdx, rax
call fcn.14001d010
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xd0]
call fcn.14005fad0
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x140061534
mov eax, dword [rsp + 0x54]
jmp 0x140061e2a
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd8]
mov ecx, dword [rcx + 0x40]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0xd8]
add rax, 0x18
mov rcx, qword [rsp + 0xd8]
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x80]
call fcn.14005f4d0
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x44]
dec eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x44], ecx
cmp dword [rsp + 0x58], 0
jne 0x1400615b1
mov edx, 0x13
mov rcx, qword [rsp + 0xd0]
call fcn.1400236b0
jmp 0x140061191
mov rax, qword [rsp + 0xd8]
cmp qword [rax + 8], 0xffffffffffffffff
je 0x1400615fc
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 8]
sar rax, 0x2f
cmp eax, 0xfffffff2
jae 0x140061668
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd8]
movsd xmm0, qword [rax + 8]
ucomisd xmm0, qword [rcx + 8]
jp 0x1400615fc
je 0x140061668
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x38], 0
je 0x14006161c
mov edx, 0x11
mov rcx, qword [rsp + 0xd0]
call fcn.1400236b0
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax + 0x34]
cmp eax, 0x8000
jge 0x140061668
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x44], 0
je 0x14006165e
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140060b60
test eax, eax
je 0x14006165e
jmp 0x1400611fc
mov eax, 0x7fff
jmp 0x140061e2a
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140067fe0
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x20]
movzx eax, byte [rcx + rax*8 + 5]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x38
jne 0x1400616b6
mov dword [rsp + 0x5c], 0x42
jmp 0x1400616be
mov dword [rsp + 0x5c], 0x43
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x40], 0x1a
jne 0x1400616f9
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x20]
lea rax, [rcx + rax*8]
mov ecx, 8
imul rcx, rcx, 1
mov rax, qword [rax + rcx]
mov qword [rsp + 0xa0], rax
jmp 0x14006170d
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x38], 0
jne 0x14006186f
mov rcx, qword [rsp + 0x48]
call fcn.14005f760
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd0]
sub rax, 0x1e0
cmp qword [rsp + 0x48], rax
jne 0x1400617a4
mov rax, qword [rsp + 0xd0]
sub rax, 0x1e0
mov r8, rax
mov edx, 0x1a
mov rcx, qword [rsp + 0xd0]
call fcn.1400864f0
movzx r9d, ax
movzx r8d, word [rsp + 0x20]
mov dx, 0x889
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov dword [rsp + 0x34], 0x7fff
jmp 0x1400617df
mov eax, dword [rsp + 0x2c]
shl eax, 8
mov ecx, dword [rsp + 0x28]
bts ecx, 7
or eax, ecx
xor r9d, r9d
movzx r8d, word [rsp + 0x20]
movzx edx, ax
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x34]
cmp eax, dword [rsp + 0x38]
jae 0x14006180e
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
call fcn.140086f80
mov rax, qword [rsp + 0xd0]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0xb6], cl
cmp dword [rsp + 0x28], 0
jne 0x140061844
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x44], 0
je 0x140061844
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140060b60
test eax, eax
je 0x140061844
jmp 0x1400611fc
cmp dword [rsp + 0x28], 2
ja 0x140061861
mov eax, 0x7fff
sub eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
shl ecx, 0x18
add eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x140061e2a
mov rax, qword [rsp + 0xd8]
movabs rcx, 0x7fffffffffff
mov rax, qword [rax]
and rax, rcx
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x34]
shr eax, 0x18
and eax, 0x1f
sub eax, 4
cmp eax, 8
ja 0x1400618ca
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x38]
and eax, 0x1f000000
test eax, eax
je 0x1400618ca
mov dword [rsp + 0x60], 1
jmp 0x1400618d2
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x44], eax
movzx eax, word [rsp + 0x20]
cmp eax, dword [rsp + 0x38]
jae 0x140061909
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
call fcn.140086f80
mov rax, qword [rsp + 0xd0]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0xb6], cl
mov rax, qword [rsp + 0x48]
cmp qword [rax], 0xffffffffffffffff
jne 0x140061b3a
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x44], 0
je 0x14006199d
cmp qword [rsp + 0x90], 0
je 0x14006199d
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx + rax - 0x130]
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call fcn.14001d010
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14006198d
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0xffffffffffffffff
je 0x14006198d
mov dword [rsp + 0x64], 1
jmp 0x140061995
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1400619da
mov eax, dword [rsp + 0x2c]
shl eax, 8
bts eax, 7
xor r9d, r9d
movzx r8d, word [rsp + 0x20]
movzx edx, ax
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
jmp 0x140061a5f
cmp dword [rsp + 0x40], 0x3a
jne 0x140061a5f
mov rax, qword [rsp + 0xd0]
sub rax, 0x1e0
cmp qword [rsp + 0x48], rax
jne 0x140061a00
mov dword [rsp + 0x6c], 8
jmp 0x140061a08
mov dword [rsp + 0x6c], 9
mov rax, qword [rsp + 0xd0]
sub rax, 0x1e0
mov r8, rax
mov edx, 0x1a
mov rcx, qword [rsp + 0xd0]
call fcn.1400864f0
mov ecx, dword [rsp + 0x6c]
shl ecx, 8
or ecx, 0x89
movzx r9d, ax
movzx r8d, word [rsp + 0x20]
movzx edx, cx
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x44], 0
je 0x140061a91
mov r8d, 1
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140060b60
test eax, eax
je 0x140061a91
jmp 0x1400611fc
mov rax, qword [rsp + 0xd0]
sub rax, 0x1e0
cmp qword [rsp + 0x48], rax
jne 0x140061b35
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
ja 0x140061af8
mov r9w, 0x1d3
movzx r8d, word [rsp + 0x3c]
mov dx, 0x5b0e
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov dword [rsp + 0x3c], eax
movzx r9d, word [rsp + 0x3c]
mov rax, qword [rsp + 0xd8]
movzx r8d, word [rax + 0x30]
mov dx, 0x3b09
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x44], 0
jmp 0x140061c96
movzx eax, word [rsp + 0x20]
mov r8d, eax
movzx edx, word [rsp + 0x2c]
mov rcx, qword [rsp + 0xd0]
call fcn.140096cc0
test eax, eax
jne 0x140061c8e
cmp dword [rsp + 0x40], 0x3a
jne 0x140061bae
mov rax, qword [rsp + 0xd0]
sub rax, 0x1e0
mov r8, rax
mov edx, 0x1a
mov rcx, qword [rsp + 0xd0]
call fcn.1400864f0
movzx r9d, ax
movzx r8d, word [rsp + 0x20]
mov dx, 0x989
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0x44], 0
je 0x140061c8c
cmp qword [rsp + 0x90], 0
jne 0x140061c41
mov r9w, 5
mov rax, qword [rsp + 0xd8]
movzx r8d, word [rax + 0x30]
mov dx, 0x450b
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov dword [rsp + 0x80], eax
mov edx, 0xb
mov rcx, qword [rsp + 0xd0]
call fcn.140086610
movzx r9d, ax
movzx r8d, word [rsp + 0x80]
mov dx, 0x88b
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
jmp 0x140061c8c
mov rcx, qword [rsp + 0x48]
call fcn.14005f760
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x2c]
shl eax, 8
mov ecx, dword [rsp + 0x84]
bts ecx, 7
or eax, ecx
xor r9d, r9d
movzx r8d, word [rsp + 0x20]
movzx edx, ax
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
jmp 0x140061c96
mov dword [rsp + 0x44], 0
xor eax, eax
cmp eax, 1
je 0x140061cf1
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x38]
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
ja 0x140061cf1
mov r9w, 0x1d3
mov rax, qword [rsp + 0xd8]
movzx r8d, word [rax + 0x38]
mov dx, 0x5b0e
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + 0x38], eax
mov eax, dword [rsp + 0x2c]
add eax, 8
shl eax, 8
mov rcx, qword [rsp + 0xd8]
mov ecx, dword [rcx + 0x38]
shr ecx, 0x18
and ecx, 0x1f
or eax, ecx
mov rcx, qword [rsp + 0xd8]
movzx r9d, word [rcx + 0x38]
movzx r8d, word [rsp + 0x20]
movzx edx, ax
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
cmp dword [rsp + 0x44], 0
jne 0x140061d5e
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x38]
shr eax, 0x18
and eax, 0x1f
sub eax, 4
cmp eax, 8
ja 0x140061d8c
xor r9d, r9d
mov rax, qword [rsp + 0xd8]
movzx r8d, word [rax + 0x30]
mov dx, 0x5800
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov rax, qword [rsp + 0xd8]
mov edx, dword [rax + 0x34]
mov rcx, qword [rsp + 0xd0]
call fcn.1400684a0
test eax, eax
jne 0x140061e19
mov r9w, 0xa
mov rax, qword [rsp + 0xd8]
movzx r8d, word [rax + 0x30]
mov dx, 0x3e09
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov dword [rsp + 0x88], eax
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.1400860c0
movzx r9d, ax
movzx r8d, word [rsp + 0x88]
mov dx, 0x4d10
mov rcx, qword [rsp + 0xd0]
call fcn.14005f7b0
mov rcx, qword [rsp + 0xd0]
call fcn.14008f5e0
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0xb5], 1
xor eax, eax
add rsp, 0xc8
ret