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

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x98
xor eax, eax
mov qword [rsp + 0x48], rax
xorps xmm4, xmm4
movaps xmmword [rsp + 0x50], xmm4
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x80], xmm4
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe8], rdx
mov rsi, r8
mov rdi, qword [rcx]
mov ebx, dword [rcx + 8]
lea rcx, [0x14025e9a0]
call fcn.140003d00
mov rbp, rax
mov rcx, rbp
mov edx, 0x3c
xor r8d, r8d
call fcn.140161c30
xor r14d, r14d
cmp r14d, ebx
ja 0x140089b90
mov r15d, r14d
add r15, rdi
mov eax, ebx
sub eax, r14d
cmp eax, 0x100
jb 0x140089b96
mov rax, qword [r15 + 0x50]
movsxd rdx, eax
cmp rax, rdx
jne 0x140089b8b
mov r12d, eax
mov r13d, r12d
cmp byte [rsp + 0xe8], 0
je 0x1400897fc
cmp dword [rsp + 0xec], r13d
jne 0x140089b2a
xor eax, eax
mov rdx, qword [r15 + 0x40]
test rdx, rdx
jne 0x140089889
cmp r13d, 4
je 0x14008985b
test r13d, r13d
je 0x140089852
call fcn.140001915
mov rcx, qword [rax + 0x18]
test r13d, r13d
jge 0x140089848
test rcx, rcx
je 0x140089830
call fcn.1400cfff0
jmp 0x140089835
call fcn.1400cfe70
mov r8, qword [rax + 0x28]
mov ecx, r13d
mov edx, 0xffffffff
call fcn.1400a82b0
jmp 0x140089850
mov ecx, r13d
call fcn.1400a86c0
jmp 0x140089862
lea rax, [0x1402ef6a8]
jmp 0x140089862
lea rax, [0x1402f37a0]
test rax, rax
jne 0x14008986d
xor edx, edx
xor ecx, ecx
jmp 0x14008987e
lea rdx, [rax + 0xc]
mov qword [rsp + 0x40], rax
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], ecx
jmp 0x1400898b8
movzx ecx, word [r15 + 0x38]
shr ecx, 1
mov qword [rsp + 0x40], rax
js 0x140089b90
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x60], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140089bb0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x88], rcx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x90], ecx
test rsi, rsi
je 0x14008992c
cmp dword [rsi + 8], 0
je 0x14008992c
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x90]
lea r8, [rsi + 0xc]
mov r9d, dword [rsi + 8]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x50], r9d
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov r8d, 5
call fcn.1400a6170
test eax, eax
mov rax, qword [rsp + 0x40]
je 0x140089b2a
test rax, rax
mov qword [rsp + 0x40], rax
jne 0x140089948
lea rcx, [rsp + 0x88]
call fcn.14015e490
mov qword [rsp + 0x40], rax
lea rcx, [0x14023b078]
call fcn.140003d00
mov qword [rsp + 0x38], rax
mov r8d, dword [r15 + 4]
mov dword [rsp + 0x6c], r8d
lea rcx, [rax + 0x10]
lea rdx, [0x1402e6008]
call fcn.140004010
lea rcx, [0x140254a18]
call fcn.140003d00
mov qword [rsp + 0x28], rax
mov rcx, rax
mov edx, dword [rsp + 0x6c]
call fcn.14017ae40
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x28]
call fcn.140004010
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.140004010
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x64], r13d
mov ecx, dword [r15 + 0x64]
mov dword [rax + 0x68], ecx
mov rcx, qword [r15 + 0xa0]
mov qword [rax + 0x18], rcx
mov rcx, qword [r15 + 0xb0]
mov qword [rax + 0x20], rcx
mov rcx, qword [r15 + 0x78]
mov qword [rax + 0x28], rcx
mov rcx, qword [r15 + 0x70]
mov qword [rax + 0x30], rcx
mov rcx, qword [r15 + 0x88]
mov qword [rax + 0x38], rcx
mov rcx, qword [r15 + 0x90]
mov qword [rax + 0x40], rcx
mov rcx, qword [r15 + 0xc0]
mov qword [rax + 0x48], rcx
mov rcx, qword [r15 + 0xb8]
mov qword [rax + 0x50], rcx
mov rcx, qword [r15 + 0xc8]
mov qword [rax + 0x58], rcx
mov ecx, dword [r15 + 0x48]
mov dword [rax + 0x60], ecx
mov ecx, dword [r15 + 0x60]
mov dword [rax + 0x6c], ecx
mov r13, rax
mov edx, r12d
mov rcx, rbp
mov r8, r13
mov r9d, 1
call fcn.140161ef0
lea r12d, [r14 + 0x100]
xor eax, eax
mov dword [rsp + 0x84], eax
cmp dword [r15 + 4], 0
je 0x140089b2a
cmp r12d, ebx
ja 0x140089b90
mov edx, r12d
add rdx, rdi
mov ecx, ebx
sub ecx, r12d
mov qword [rsp + 0x20], rdx
cmp ecx, 0x50
jb 0x140089b96
lea rcx, [0x14023b190]
call fcn.140003d00
mov rdx, rax
mov qword [rsp + 0x30], rdx
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x18], eax
mov rax, qword [rcx + 0x30]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x3c]
mov dword [rdx + 0x1c], eax
mov eax, dword [rcx + 0x38]
mov dword [rdx + 0x20], eax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x10], rax
mov eax, dword [rcx + 0x44]
mov dword [rdx + 0x24], eax
mov ecx, dword [rcx + 0x48]
call fcn.140088990
mov rdx, qword [rsp + 0x30]
mov dword [rdx + 0x28], eax
mov rcx, qword [r13 + 8]
inc dword [rcx + 0x14]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
cmp dword [rax + 8], r8d
jbe 0x140089b01
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
lea rcx, [rax + rcx*8 + 0x10]
call fcn.140004010
jmp 0x140089b06
call fcn.14017b110
add r12d, 0x50
mov eax, dword [rsp + 0x84]
inc eax
movsxd rcx, eax
mov edx, dword [r15 + 4]
cmp rcx, rdx
mov dword [rsp + 0x84], eax
jl 0x140089a62
cmp dword [r15], 0
je 0x140089b38
add r14d, dword [r15]
jmp 0x1400897af
mov rcx, rbp
call fcn.140161c90
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x38]
sub ecx, dword [rdx + 0x40]
movsxd rdx, ecx
lea rcx, [0x140280158]
call fcn.140003e20
mov rsi, rax
mov rcx, rbp
call fcn.140161c90
mov rcx, rax
mov rdx, rsi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.140162c20
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140123410
call fcn.1400b3ef0
int3
mov ecx, 0x29
call fcn.1400b4350
int3