Function at 0x140033194
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 ebp, 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 ebp, ecx
mov r14, rdx
mov dword [rsp + 0x88], ecx
mov edi, 1
mov dword [rsp + 0x90], eax
test ecx, ecx
jne 0x1400331ef
test ebp, ebp
jle 0x1400331ef
add ebp, 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 rsi, eax
and rsi, 0xfffffffffffffff8
call fcn.14003236c
xor r10d, r10d
cmp byte [r14 + 0x20], r10b
je 0x14003323a
mov al, dil
cmp byte [r14 + 0x21], r10b
jne 0x14003323d
mov al, r10b
btr dword [rbx + 0xc8], 7
movzx eax, al
and eax, edi
shl eax, 7
or dword [rbx + 0xc8], eax
cmp byte [r14 + 0x103], r10b
je 0x140033266
mov ecx, 0xa
cmp ebp, ecx
cmovl ebp, ecx
and dword [rbx + 0xc8], 0xfffffffc
movsxd r15, ebp
mov rdi, r10
mov rax, r10
imul r15, r15, 0x38
add r15, 7
and r15, 0xfffffffffffffff8
cmp r15, rsi
jg 0x140033290
sub rsi, r15
lea rax, [rsi + r13]
jmp 0x140033293
mov rdi, r15
movsxd rcx, dword [rsp + 0x80]
mov qword [rbx + 0x68], rax
mov rax, r10
mov r12, rcx
imul r12, r12, 0x38
add r12, 7
and r12, 0xfffffffffffffff8
cmp r12, rsi
jg 0x1400332bf
sub rsi, r12
lea rax, [rsi + r13]
jmp 0x1400332c2
add rdi, r12
mov qword [rbx + 0x80], rax
movsxd rax, dword [rsp + 0x90]
mov rdx, r10
lea rax, [rax*8 + 7]
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x20], rax
cmp rax, rsi
jg 0x1400332f3
sub rsi, rax
lea rdx, [rsi + r13]
jmp 0x1400332f6
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, rsi
jg 0x14003332f
sub rsi, rax
lea rdx, [rsi + r13]
jmp 0x140033332
add rdi, rax
mov rsi, qword [rsp + 0x98]
mov qword [rbx + 0x78], rdx
test rdi, rdi
je 0x1400333f0
mov rdx, rdi
mov rcx, rsi
call fcn.1400168b4
xor r10d, r10d
mov qword [rbx + 0xf8], rax
mov rdx, rax
cmp byte [rsi + 0x61], r10b
jne 0x1400333d9
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14003337a
cmp r15, rdi
jg 0x14003337a
sub rdi, r15
lea rcx, [rdi + rax]
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x68], rcx
test rax, rax
jne 0x140033396
cmp r12, rdi
jg 0x140033396
sub rdi, r12
lea rax, [rdi + rdx]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x1400333b7
mov rcx, qword [rsp + 0x20]
cmp rcx, rdi
jg 0x1400333b7
sub rdi, rcx
lea rax, [rdi + rdx]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x1400333d5
mov rcx, qword [rsp + 0x28]
cmp rcx, rdi
jg 0x1400333d5
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 [r14 + 0x118]
mov edi, 1
mov qword [rbx + 0xb0], rax
movzx eax, byte [r14 + 0x103]
mov qword [r14 + 0x118], r10
shl eax, 2
xor eax, dword [rbx + 0xc8]
and eax, 0xc
xor dword [rbx + 0xc8], eax
cmp byte [rsi + 0x61], r10b
je 0x140033439
mov word [rbx + 0x20], r10w
mov qword [rbx + 0x28], 0
jmp 0x14003349f
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x2c], r8d
mov word [rbx + 0x20], cx
test ecx, ecx
jle 0x140033465
add rax, 8
sub ecx, edi
mov qword [rax + 0x20], rsi
mov word [rax], di
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test ecx, ecx
jg 0x140033450
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x28], ebp
test ebp, ebp
jle 0x14003348e
add rax, 8
sub ebp, edi
mov ecx, 0x80
mov qword [rax + 0x20], rsi
mov word [rax], cx
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test ebp, ebp
jg 0x140033474
mov rcx, qword [rbx + 0x78]
mov r8, r9
xor edx, edx
call fcn.1400c8410
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