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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp byte [0x140008050], 0
mov r14, rdx
mov esi, ecx
jne 0x140003412
mov ecx, 0x22d3b5ed
call fcn.140001000
mov qword [0x140008048], rax
mov r8, rax
test rax, rax
je 0x140003734
movsxd rax, dword [rax + 0x3c]
cmp dword [rax + r8], 0x4550
jne 0x140003734
mov ecx, dword [rax + r8 + 0x88]
add rcx, r8
mov edx, dword [rcx + 0x18]
mov dword [0x140008040], edx
mov r10d, dword [rcx + 0x20]
add r10, r8
mov qword [0x140008030], r10
mov r9d, dword [rcx + 0x1c]
add r9, r8
mov qword [0x140008028], r9
mov ecx, dword [rcx + 0x24]
add rcx, r8
mov qword [0x140008038], rcx
test edx, edx
je 0x140003734
test r10, r10
je 0x140003734
test r9, r9
je 0x140003734
test rcx, rcx
je 0x140003734
mov byte [0x140008050], 1
mov dword [r14 + 4], esi
test esi, esi
je 0x140003734
xor edi, edi
cmp dword [0x140008040], edi
lea ebp, [rdi + 1]
jbe 0x1400035f8
nop
mov rax, qword [0x140008030]
mov ecx, dword [rax + rdi*4]
mov rax, qword [0x140008038]
add rcx, qword [0x140008048]
movzx edx, word [rax + rdi*2]
mov rax, qword [0x140008028]
mov ebx, dword [rax + rdx*4]
add rbx, qword [0x140008048]
call fcn.1400014f0
cmp eax, esi
je 0x140003475
inc edi
cmp edi, dword [0x140008040]
jb 0x140003430
jmp 0x1400035f8
movzx eax, byte [rbx]
mov r9d, 0xff
cmp al, 0x4c
jne 0x1400034c1
cmp byte [rbx + 1], 0x8b
jne 0x140003558
cmp byte [rbx + 2], 0xd1
jne 0x140003558
cmp byte [rbx + 3], 0xb8
jne 0x140003558
cmp byte [rbx + 6], 0
jne 0x140003558
cmp byte [rbx + 7], 0
jne 0x140003558
movzx ecx, byte [rbx + 5]
movzx eax, byte [rbx + 4]
jmp 0x1400035f0
cmp al, 0xe9
jne 0x140003558
movzx ecx, bp
nop dword [rax]
movzx r8d, cx
mov edx, r8d
shl edx, 5
add rdx, rbx
cmp byte [rdx], 0x4c
jne 0x140003500
cmp byte [rdx + 1], 0x8b
jne 0x140003500
cmp byte [rdx + 2], 0xd1
jne 0x140003500
cmp byte [rdx + 3], 0xb8
jne 0x140003500
cmp byte [rdx + 6], 0
jne 0x140003500
cmp byte [rdx + 7], 0
je 0x14000353c
mov eax, r8d
neg eax
shl eax, 5
movsxd rdx, eax
add rdx, rbx
cmp byte [rdx], 0x4c
jne 0x140003531
cmp byte [rdx + 1], 0x8b
jne 0x140003531
cmp byte [rdx + 2], 0xd1
jne 0x140003531
cmp byte [rdx + 3], 0xb8
jne 0x140003531
cmp byte [rdx + 6], 0
jne 0x140003531
cmp byte [rdx + 7], 0
je 0x140003545
inc cx
cmp cx, r9w
jbe 0x1400034d0
jmp 0x140003558
movzx eax, byte [rdx + 4]
sub eax, r8d
jmp 0x14000354c
movzx eax, byte [rdx + 4]
add eax, r8d
movzx ecx, byte [rdx + 5]
shl ecx, 8
or ecx, eax
mov dword [r14], ecx
cmp byte [rbx + 3], 0xe9
jne 0x1400035f8
movzx ecx, bp
nop word [rax + rax]
movzx r8d, cx
mov edx, r8d
shl edx, 5
add rdx, rbx
cmp byte [rdx], 0x4c
jne 0x1400035a0
cmp byte [rdx + 1], 0x8b
jne 0x1400035a0
cmp byte [rdx + 2], 0xd1
jne 0x1400035a0
cmp byte [rdx + 3], 0xb8
jne 0x1400035a0
cmp byte [rdx + 6], 0
jne 0x1400035a0
cmp byte [rdx + 7], 0
je 0x1400035dc
mov eax, r8d
neg eax
shl eax, 5
movsxd rdx, eax
add rdx, rbx
cmp byte [rdx], 0x4c
jne 0x1400035d1
cmp byte [rdx + 1], 0x8b
jne 0x1400035d1
cmp byte [rdx + 2], 0xd1
jne 0x1400035d1
cmp byte [rdx + 3], 0xb8
jne 0x1400035d1
cmp byte [rdx + 6], 0
jne 0x1400035d1
cmp byte [rdx + 7], 0
je 0x1400035e5
inc cx
cmp cx, r9w
jbe 0x140003570
jmp 0x1400035f8
movzx eax, byte [rdx + 4]
sub eax, r8d
jmp 0x1400035ec
movzx eax, byte [rdx + 4]
add eax, r8d
movzx ecx, byte [rdx + 5]
shl ecx, 8
or ecx, eax
mov dword [r14], ecx
cmp dword [r14], 0
je 0x140003734
call fcn.1400014c0
mov edi, eax
xor ebx, ebx
and edi, 0xf
cmp byte [0x140008080], bl
jne 0x1400036b3
mov ecx, 0x34c755b7
call fcn.140001000
mov qword [0x140008078], rax
mov rdx, rax
test rax, rax
je 0x140003734
movsxd rax, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140003734
mov ecx, dword [rax + rdx + 0x88]
add rcx, rdx
mov r9d, dword [rcx + 0x18]
mov dword [0x140008070], r9d
mov r8d, dword [rcx + 0x20]
add r8, rdx
mov qword [0x140008060], r8
mov r10d, dword [rcx + 0x1c]
add r10, rdx
mov qword [0x140008058], r10
mov ecx, dword [rcx + 0x24]
add rcx, rdx
mov qword [0x140008068], rcx
test r9d, r9d
je 0x140003734
test r8, r8
je 0x140003734
test r10, r10
je 0x140003734
test rcx, rcx
je 0x140003734
mov byte [0x140008080], bpl
jmp 0x1400036ba
mov r9d, dword [0x140008070]
xor r8d, r8d
test r9d, r9d
je 0x140003734
mov rax, qword [0x140008068]
movzx edx, word [rax + r8*2]
mov rax, qword [0x140008058]
mov r9d, dword [rax + rdx*4]
add r9, qword [0x140008078]
xor edx, edx
mov rax, r9
nop word [rax + rax]
movzx ecx, word [0x140008004]
xor cx, 0x25
cmp word [rax], cx
jne 0x14000370c
cmp byte [rax + 2], 0xc3
jne 0x14000370c
cmp ebx, edi
je 0x140003718
inc ebx
inc edx
inc rax
cmp edx, 0x20
jb 0x1400036f0
jmp 0x140003721
mov eax, edx
add rax, r9
mov qword [r14 + 8], rax
cmp qword [r14 + 8], 0
jne 0x140003751
inc r8d
cmp r8d, dword [0x140008070]
jb 0x1400036c2
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, ebp
jmp 0x140003736