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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx]
mov esi, dword [rdx + 0x38]
mov rbx, rcx
mov ecx, dword [rdx + 0x34]
mov qword [rsp + 0x98], rax
movsx eax, word [rdx + 0x100]
mov dword [rsp + 0x80], eax
mov eax, dword [rdx + 0x80]
add esi, ecx
mov rbp, rdx
mov dword [rsp + 0x88], ecx
mov edi, 1
mov dword [rsp + 0x90], eax
test ecx, ecx
jne 0x1400325f3
test esi, esi
jle 0x1400325f3
add esi, edi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
lea rdx, [rsp + 0x90]
lea ecx, [rcx*8 + 7]
and ecx, 0xfffffff8
sub eax, ecx
movsxd r13, ecx
mov rcx, rbx
add r13, qword [rbx + 0x88]
movsxd r14, eax
and r14, 0xfffffffffffffff8
call fcn.14003177c
xor r10d, r10d
cmp byte [rbp + 0x20], r10b
je 0x14003263e
mov al, dil
cmp byte [rbp + 0x21], r10b
jne 0x140032641
mov al, r10b
btr dword [rbx + 0xc8], 7
movzx eax, al
and eax, edi
shl eax, 7
or dword [rbx + 0xc8], eax
cmp byte [rbp + 0x103], r10b
je 0x14003266a
mov ecx, 0xa
cmp esi, ecx
cmovl esi, ecx
and dword [rbx + 0xc8], 0xfffffffc
movsxd rax, esi
mov rdi, r10
mov rcx, r10
imul r15, rax, 0x38
add r15, 7
and r15, 0xfffffffffffffff8
cmp r15, r14
jg 0x140032694
sub r14, r15
lea rcx, [r14 + r13]
jmp 0x140032697
mov rdi, r15
mov qword [rbx + 0x68], rcx
movsxd rcx, dword [rsp + 0x80]
mov rdx, r10
imul r12, rcx, 0x38
add r12, 7
and r12, 0xfffffffffffffff8
cmp r12, r14
jg 0x1400326c0
sub r14, r12
lea rdx, [r14 + r13]
jmp 0x1400326c3
add rdi, r12
movsxd rax, dword [rsp + 0x90]
mov qword [rbx + 0x80], rdx
mov rdx, r10
lea rax, [rax*8 + 7]
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x20], rax
cmp rax, r14
jg 0x1400326f4
sub r14, rax
lea rdx, [r14 + r13]
jmp 0x1400326f7
add rdi, rax
movsxd r8, dword [rsp + 0x88]
mov qword [rbx + 0x70], rdx
mov rdx, r10
mov r9, r8
shl r9, 3
mov qword [rsp + 0x90], r9
lea rax, [r9 + 7]
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x28], rax
cmp rax, r14
jg 0x140032730
sub r14, rax
lea rdx, [r14 + r13]
jmp 0x140032733
add rdi, rax
mov r14, qword [rsp + 0x98]
mov qword [rbx + 0x78], rdx
test rdi, rdi
je 0x1400327f1
mov rdx, rdi
mov rcx, r14
call fcn.1400165f4
xor r10d, r10d
mov qword [rbx + 0xf8], rax
mov rdx, rax
cmp byte [r14 + 0x61], r10b
jne 0x1400327da
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x14003277b
cmp r15, rdi
jg 0x14003277b
sub rdi, r15
lea rax, [rdi + rdx]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x140032797
cmp r12, rdi
jg 0x140032797
sub rdi, r12
lea rax, [rdi + rdx]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x1400327b8
mov rcx, qword [rsp + 0x20]
cmp rcx, rdi
jg 0x1400327b8
sub rdi, rcx
lea rax, [rdi + rdx]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x1400327d6
mov rcx, qword [rsp + 0x28]
cmp rcx, rdi
jg 0x1400327d6
sub rdi, rcx
lea rax, [rdi + rdx]
mov qword [rbx + 0x78], rax
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
mov rax, qword [rbp + 0x118]
mov edi, 1
mov qword [rbx + 0xb0], rax
movzx eax, byte [rbp + 0x103]
mov qword [rbp + 0x118], r10
shl eax, 2
xor eax, dword [rbx + 0xc8]
and eax, 0xc
xor dword [rbx + 0xc8], eax
cmp byte [r14 + 0x61], r10b
je 0x140032839
mov word [rbx + 0x20], r10w
mov qword [rbx + 0x28], 0
jmp 0x14003289f
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x2c], r8d
mov word [rbx + 0x20], cx
test ecx, ecx
jle 0x140032865
add rax, 8
sub ecx, edi
mov qword [rax + 0x20], r14
mov word [rax], di
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test ecx, ecx
jg 0x140032850
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x28], esi
test esi, esi
jle 0x14003288e
add rax, 8
sub esi, edi
mov ecx, 0x80
mov qword [rax + 0x20], r14
mov word [rax], cx
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test esi, esi
jg 0x140032874
mov rcx, qword [rbx + 0x78]
mov r8, r9
xor edx, edx
call fcn.1400c6610
xor r10d, r10d
or dword [rbx + 0x34], 0xffffffff
mov dword [rbx + 0x24], 0x2df20da3
mov qword [rbx + 0x38], 0
mov word [rbx + 0xc2], 0xff02
mov dword [rbx + 0x30], edi
mov dword [rbx + 0x40], r10d
mov qword [rbx + 0x50], r10
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret