Function at 0x140032ae4
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
movsxd r12, dword [rdx + 0x34]
mov rbp, rdx
mov rax, qword [rcx]
mov rbx, rcx
mov esi, dword [rdx + 0x38]
mov qword [rsp + 0x20], rax
add esi, r12d
movsx eax, word [rdx + 0x100]
mov word [rsp + 0x80], ax
mov dword [rsp + 0x88], eax
mov eax, dword [rdx + 0x80]
mov dword [rsp + 0x90], eax
mov eax, 1
mov dword [rsp + 0x98], r12d
test r12d, r12d
jne 0x140032b48
test esi, esi
jle 0x140032b48
add esi, eax
mov eax, dword [rcx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0x90]
sub eax, ecx
movsxd r15, ecx
add r15, qword [rbx + 0x88]
mov rcx, rbx
movsxd r14, eax
and r14, 0xfffffffffffffff8
call fcn.140031c84
xor r10d, r10d
mov r11d, Ordinal_133
cmp byte [rbp + 0x20], r10b
je 0x140032b92
mov ecx, r11d
cmp byte [rbp + 0x21], r10b
jne 0x140032b95
mov ecx, r10d
mov eax, dword [rbx + 0xc8]
btr eax, 7
or eax, ecx
mov dword [rbx + 0xc8], eax
cmp byte [rbp + 0x103], r10b
je 0x140032bba
mov ecx, 0xa
cmp esi, ecx
cmovl esi, ecx
and eax, 0xfffffffc
mov rcx, r10
mov dword [rbx + 0xc8], eax
movsxd rax, esi
imul r13, rax, 0x38
cmp r13, r14
jg 0x140032bdb
mov rcx, r15
sub rcx, r13
add rcx, r14
movsxd r9, dword [rsp + 0x88]
mov r8, r14
sub r8, r13
mov qword [rbx + 0x68], rcx
cmp r13, r14
mov rdi, r10
mov rcx, r10
cmovg r8, r14
cmovg rdi, r13
imul rax, r9, 0x38
mov qword [rsp + 0x28], rax
cmp rax, r8
jg 0x140032c17
mov rcx, r15
sub rcx, rax
add rcx, r8
jmp 0x140032c1a
add rdi, rax
movsxd r14, dword [rsp + 0x90]
mov rdx, r8
sub rdx, rax
mov qword [rbx + 0x80], rcx
cmp rax, r8
mov rax, r10
cmovg rdx, r8
shl r14, 3
cmp r14, rdx
jg 0x140032c4d
mov rax, rdx
sub rax, r14
add rax, r15
jmp 0x140032c50
add rdi, r14
mov rcx, rdx
mov qword [rbx + 0x70], rax
sub rcx, r14
mov rax, r10
cmp r14, rdx
cmovg rcx, rdx
shl r12, 3
cmp r12, rcx
jg 0x140032c78
mov rax, rcx
sub rax, r12
add rax, r15
jmp 0x140032c7b
add rdi, r12
mov r15, qword [rsp + 0x20]
mov qword [rbx + 0x78], rax
test rdi, rdi
je 0x140032d2a
mov rdx, rdi
mov rcx, r15
call fcn.140016314
xor r10d, r10d
mov qword [rbx + 0xf8], rax
mov rcx, rax
cmp byte [r15 + 0x61], r10b
jne 0x140032d1c
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x140032cc0
cmp r13, rdi
jg 0x140032cc0
sub rdi, r13
lea rax, [rdi + rcx]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x140032ce1
mov rdx, qword [rsp + 0x28]
cmp rdx, rdi
jg 0x140032ce1
sub rdi, rdx
lea rax, [rdi + rcx]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x140032cfd
cmp r14, rdi
jg 0x140032cfd
sub rdi, r14
lea rax, [rdi + rcx]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x140032d18
cmp r12, rdi
jg 0x140032d18
mov rax, rcx
sub rax, r12
add rax, rdi
mov qword [rbx + 0x78], rax
mov r9d, dword [rsp + 0x88]
mov r11d, Ordinal_133
mov rax, qword [rbp + 0x118]
mov edi, 1
mov qword [rbx + 0xb0], rax
movzx eax, byte [rbp + 0x103]
shl eax, 2
mov qword [rbp + 0x118], r10
xor eax, dword [rbx + 0xc8]
and eax, 0xc
xor dword [rbx + 0xc8], eax
cmp byte [r15 + 0x61], r10b
je 0x140032d6f
and qword [rbx + 0x28], 0
mov word [rbx + 0x20], r10w
jmp 0x140032de2
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x2c], eax
movzx eax, word [rsp + 0x80]
mov word [rbx + 0x20], ax
mov rax, qword [rbx + 0x80]
test r9d, r9d
jle 0x140032dac
add rax, 8
sub r9d, edi
mov qword [rax + 0x20], r15
mov word [rax], di
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test r9d, r9d
jg 0x140032d95
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x28], esi
test esi, esi
jle 0x140032dd1
add rax, 8
sub esi, edi
mov qword [rax + 0x20], r15
mov word [rax], r11w
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test esi, esi
jg 0x140032dbb
mov rcx, qword [rbx + 0x78]
mov r8, r12
xor edx, edx
call fcn.1400c3c80
xor r10d, r10d
or dword [rbx + 0x34], 0xffffffff
and qword [rbx + 0x38], 0
mov dword [rbx + 0x24], 0x2df20da3
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