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

Disassembly:
push rbx
push r13
sub rsp, 0x98
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [0x14004f298]
xor ebx, ebx
mov qword [rsp + 0x48], r8
mov r13, rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
test rax, rax
je 0x140009c53
cmp qword [0x14004f290], rbx
je 0x140009c53
mov qword [rsp + 0x90], rsi
lea r8, [rsp + 0x64]
mov esi, 1
mov dword [rsp + 0x60], ebx
mov ecx, esi
mov dword [rsp + 0x64], ebx
lea rdx, [rsp + 0x60]
call qword [0x1400335f0]
test eax, eax
jne 0x140009c4f
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140009c4f
cmp dword [rsp + 0x64], ebx
jbe 0x140009c4f
mov ecx, eax
mov qword [rsp + 0x88], rdi
mov eax, 0x48
mov qword [rsp + 0x80], r12
mul rcx
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x78], r14
cmovo rax, rdi
mov rcx, rax
call fcn.14001a9b4
mov ecx, dword [rsp + 0x64]
mov r14, rax
mov eax, 0x40
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14001a9b4
mov r12, rax
test r14, r14
je 0x140009c0b
test rax, rax
je 0x140009c03
mov eax, dword [rsp + 0x60]
xor edx, edx
mov rcx, r14
lea r8, [rax + rax*8]
shl r8, 3
call fcn.14001c070
mov r8d, dword [rsp + 0x64]
xor edx, edx
shl r8, 6
mov rcx, r12
call fcn.14001c070
mov rax, qword [0x14004f290]
lea r9, [rsp + 0x64]
mov r8, r14
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], r12
mov ecx, esi
call qword [0x1400335f0]
test eax, eax
jne 0x140009c03
mov esi, dword [rsp + 0x60]
mov edi, ebx
mov r10d, ebx
mov r11d, ebx
mov r9d, ebx
test esi, esi
je 0x140009c03
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rbp
mov ebp, dword [rsp + 0x60]
mov qword [rsp + 0x70], r15
mov r15d, dword [rsp + 0x60]
test edi, edi
jne 0x140009b48
mov edx, r9d
lea r8, [rdx + rdx*8]
cmp dword [r14 + r8*8 + 0x3c], ebx
je 0x140009b38
mov edx, dword [r14 + r8*8 + 0x24]
cmp edx, 0x80000000
je 0x140009b09
cmp edx, 0xb
je 0x140009b09
cmp edx, 0xd
jne 0x140009b38
mov rax, qword [r14 + r8*8]
mov edx, 1
mov edi, edx
mov ebp, dword [r14 + r8*8 + 8]
mov rcx, qword [r14 + r8*8 + 0x14]
mov r15d, dword [r14 + r8*8 + 0x1c]
mov qword [rsp + 0x40], rax
test byte [r14 + r8*8 + 0x10], dl
je 0x140009b38
test byte [r14 + r8*8 + 0x40], dl
cmovne r10d, edx
inc r9d
cmp r9d, esi
jb 0x140009ae0
test edi, edi
je 0x140009bf6
test r10d, r10d
je 0x140009bc2
mov r10d, dword [rsp + 0x44]
mov r9d, ebx
mov r13d, 1
nop dword [rax + rax]
test r11d, r11d
jne 0x140009bbd
mov edx, r9d
lea r8, [rdx + rdx*8]
cmp dword [r14 + r8*8 + 0x3c], ebx
je 0x140009bb5
test byte [r14 + r8*8 + 0x44], r13b
je 0x140009bb5
mov edx, dword [r14 + r8*8 + 0x24]
cmp edx, 0x80000000
je 0x140009bb5
cmp edx, 0xb
je 0x140009bb5
cmp edx, 0xd
je 0x140009bb5
test byte [r14 + r8*8 + 0x10], r13b
je 0x140009bb5
test byte [r14 + r8*8 + 0x40], r13b
je 0x140009bb5
cmp dword [r14 + r8*8], eax
jne 0x140009bb5
cmp dword [r14 + r8*8 + 4], r10d
jne 0x140009bb5
cmp dword [r14 + r8*8 + 8], ebp
cmove r11d, r13d
inc r9d
cmp r9d, esi
jb 0x140009b60
mov r13, qword [rsp + 0x50]
test edi, edi
je 0x140009bf6
mov rax, qword [rsp + 0x58]
mov ebx, 1
test rax, rax
je 0x140009bd8
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140009be5
mov dword [rax], r15d
test r13, r13
je 0x140009bf6
neg r11d
sbb ecx, ecx
add ecx, 4
mov dword [r13], ecx
mov rbp, qword [rsp + 0xc8]
mov r15, qword [rsp + 0x70]
mov rcx, r14
call fcn.14001a9bc
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
test r12, r12
je 0x140009c25
mov rcx, r12
call fcn.14001a9bc
mov r12, qword [rsp + 0x80]
mov eax, ebx
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x98
pop r13
pop rbx
ret
mov eax, ebx
jmp 0x140009c2f
mov eax, ebx
jmp 0x140009c37