Function at 0x140032390
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, 0x28
mov rax, qword [rdx + 0x148]
mov rbx, rcx
mov qword [rcx + 0xb0], rax
mov rdi, rdx
mov esi, dword [rdx + 0x38]
mov eax, dword [rdx + 0x90]
movsx rbp, word [rdx + 0x130]
mov qword [rdx + 0x148], 0
mov r15, qword [rcx]
mov ecx, dword [rdx + 0x34]
add esi, ecx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x78], eax
test ecx, ecx
jne 0x1400323eb
test esi, esi
jle 0x1400323eb
inc esi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0x78]
sub eax, ecx
movsxd r12, ecx
add r12, qword [rbx + 0x88]
mov rcx, rbx
movsxd r14, eax
and r14, 0xfffffffffffffff8
call fcn.140030ad0
cmp byte [rdi + 0x20], 0
je 0x140032430
cmp byte [rdi + 0x21], 0
je 0x140032430
mov eax, 0x20
xor r8d, r8d
jmp 0x140032436
xor r8d, r8d
mov eax, r8d
and dword [rbx + 0xc8], 0xffffffdf
or dword [rbx + 0xc8], eax
movzx eax, byte [rdi + 0x133]
mov edx, dword [rbx + 0xc8]
test al, al
je 0x14003248b
mov ecx, 0xa
cmp esi, ecx
cmovl esi, ecx
movzx ecx, al
shl ecx, 2
mov eax, 3
xor ecx, edx
and ecx, 0xc
xor ecx, edx
mov dword [rbx + 0xc8], ecx
shr ecx, 2
and cx, 3
sub ax, cx
shl ax, 2
mov word [rbx + 0xc0], ax
and dword [rbx + 0xc8], 0xfffffffc
mov rdi, r8
movsxd rax, esi
mov rcx, r8
imul rax, rax, 0x38
mov qword [rsp + 0x80], rax
cmp rax, r14
jg 0x1400324b5
sub r14, rax
lea rcx, [r14 + r12]
jmp 0x1400324b8
mov rdi, rax
imul rax, rbp, 0x38
mov qword [rbx + 0x68], rcx
mov rcx, r8
mov qword [rsp + 0x88], rax
cmp rax, r14
jg 0x1400324d9
sub r14, rax
lea rcx, [r14 + r12]
jmp 0x1400324dc
add rdi, rax
movsxd r13, dword [rsp + 0x78]
mov rax, r8
shl r13, 3
mov qword [rbx + 0x80], rcx
cmp r13, r14
jg 0x1400324fd
sub r14, r13
lea rax, [r14 + r12]
jmp 0x140032500
add rdi, r13
movsxd rdx, dword [rsp + 0x70]
mov rcx, rdx
mov qword [rbx + 0x70], rax
shl rcx, 3
mov rax, r8
mov qword [rsp + 0x78], rcx
cmp rcx, r14
jg 0x140032526
sub r14, rcx
lea rax, [r14 + r12]
jmp 0x140032529
add rdi, rcx
mov qword [rbx + 0x78], rax
test rdi, rdi
je 0x1400325e3
mov rdx, rdi
mov rcx, r15
call fcn.140007120
mov qword [rbx + 0x100], rax
mov rdx, rax
cmp byte [r15 + 0x67], 0
jne 0x1400325d7
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x140032573
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
jg 0x140032573
sub rdi, rcx
lea rax, [rdi + rdx]
mov rcx, qword [rbx + 0x80]
mov qword [rbx + 0x68], rax
test rcx, rcx
jne 0x140032597
mov rax, qword [rsp + 0x88]
cmp rax, rdi
jg 0x140032597
sub rdi, rax
lea rcx, [rdi + rdx]
mov rax, qword [rbx + 0x70]
mov qword [rbx + 0x80], rcx
test rax, rax
jne 0x1400325b3
cmp r13, rdi
jg 0x1400325b3
sub rdi, r13
lea rax, [rdi + rdx]
mov rcx, qword [rsp + 0x78]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x1400325d1
cmp rcx, rdi
jg 0x1400325d1
sub rdi, rcx
lea rax, [rdi + rdx]
mov qword [rbx + 0x78], rax
jmp 0x1400325dc
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
xor r8d, r8d
cmp byte [r15 + 0x67], 0
mov edi, 1
je 0x1400325fe
mov word [rbx + 0x20], r8w
mov qword [rbx + 0x24], 0
jmp 0x140032677
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x28], edx
mov word [rbx + 0x20], bp
test ebp, ebp
jle 0x140032635
add rax, 0x18
nop dword [rax]
nop dword [rax + rax]
dec ebp
mov word [rax - 4], di
mov qword [rax], r15
mov dword [rax + 8], r8d
lea rax, [rax + 0x38]
test ebp, ebp
jg 0x140032620
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x24], esi
test esi, esi
jle 0x140032666
add rax, 0x18
nop dword [rax]
nop dword [rax + rax]
dec esi
mov word [rax - 4], r8w
mov qword [rax], r15
mov dword [rax + 8], r8d
lea rax, [rax + 0x38]
test esi, esi
jg 0x140032650
mov r8, rcx
xor edx, edx
mov rcx, qword [rbx + 0x78]
call fcn.1401b1bc0
xor r8d, r8d
mov byte [rbx + 0xc7], dil
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r8d
mov word [rbx + 0xc4], 0xff02
mov qword [rbx + 0x38], r8
mov dword [rbx + 0x2c], edi
mov dword [rbx + 0x40], r8d
mov qword [rbx + 0x50], r8
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret