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

Disassembly:
push rbx
push rbp
sub rsp, 0x28
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rdi, qword [rcx + 8]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x20], r13
xor r13d, r13d
mov r12d, edx
mov rbp, rcx
mov ebx, r13d
call fcn.1401497d0
movzx eax, byte [rbp + 0x10]
cmp al, 2
je 0x14018a4b8
cmp al, 1
jne 0x14018a269
test r12d, r12d
je 0x14018a4d1
cmp byte [rdi + 0x20], bl
je 0x14018a27d
test r12d, r12d
je 0x14018a288
mov ebx, 8
jmp 0x14018a4d1
test r12d, r12d
je 0x14018a288
cmp byte [rdi + 0x27], 2
je 0x14018a290
cmp byte [rdi + 0x89], bl
je 0x14018a299
mov rax, qword [rdi + 0x80]
jmp 0x14018a2dd
cmp r12d, 1
jle 0x14018a2b6
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14018a2b6
cmp qword [rax], rbp
jne 0x14018a2da
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14018a2a8
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x14018a312
cmp qword [rax + 0x80], rbp
je 0x14018a2ef
cmp byte [rax + 0x88], bl
je 0x14018a2ef
mov ebx, 0x106
jmp 0x14018a4d1
mov rax, qword [rax]
mov rcx, qword [rax]
test rcx, rcx
je 0x14018a2b6
mov ebx, 0x106
jmp 0x14018a4d1
mov rax, qword [rax + 0x78]
test rax, rax
je 0x14018a312
cmp qword [rax], rbp
je 0x14018a309
cmp dword [rax + 8], 1
jne 0x14018a309
cmp byte [rax + 0xc], 1
jne 0x14018a2e5
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14018a2f8
cmp dword [rdi + 0x40], r13d
sete al
mov byte [rdi + 0x23], al
nop dword [rax]
cmp qword [rdi + 0x18], r13
jne 0x14018a336
mov rcx, rdi
call fcn.140189cf0
mov ebx, eax
test eax, eax
je 0x14018a320
jmp 0x14018a381
test ebx, ebx
jne 0x14018a381
test r12d, r12d
je 0x14018a3bb
cmp byte [rdi + 0x20], r13b
je 0x14018a34c
mov ebx, 8
jmp 0x14018a381
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov r8d, r13d
cmp byte [rax + 0x29], 2
mov edx, r13d
sete r8b
cmp r12d, 1
setg dl
call fcn.140156820
mov ebx, eax
test eax, eax
jne 0x14018a381
mov rcx, rdi
call fcn.14018a110
mov ebx, eax
test eax, eax
je 0x14018a3bb
cmp byte [rdi + 0x27], r13b
jne 0x14018a3bb
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14018a3bb
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x14018a3b7
mov rsi, qword [rcx + 0x20]
call fcn.140145ea0
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r13d
jne 0x14018a3b7
mov rcx, rsi
call fcn.140188850
mov qword [rdi + 0x18], r13
cmp bl, 5
jne 0x14018a3fb
cmp byte [rdi + 0x27], r13b
jne 0x14018a3fb
mov rsi, qword [rdi + 8]
add rsi, 0x2b8
je 0x14018a3fb
mov rax, qword [rsi]
test rax, rax
je 0x14018a3fb
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x14018a3fb
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x14018a3f4
inc dword [rsi + 0x10]
jmp 0x14018a320
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x14018a4d1
cmp byte [rbp + 0x10], r13b
jne 0x14018a426
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r13b
je 0x14018a426
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x78]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x78], rax
test r12d, r12d
setne al
inc al
mov byte [rbp + 0x10], al
cmp al, byte [rdi + 0x27]
jbe 0x14018a439
mov byte [rdi + 0x27], al
test r12d, r12d
je 0x14018a4d1
mov rsi, qword [rdi + 0x18]
mov qword [rdi + 0x80], rbp
cmp r12d, 1
setg al
mov byte [rdi + 0x88], al
mov rcx, qword [rsi + 0x70]
movzx eax, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1c]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0x1e]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0x1f]
shl edx, 8
or edx, eax
cmp dword [rdi + 0x40], edx
je 0x14018a4b8
mov rcx, qword [rsi + 0x78]
call fcn.140188c10
mov ebx, eax
test eax, eax
jne 0x14018a4d1
mov r8d, dword [rdi + 0x40]
mov rdx, qword [rsi + 0x70]
mov eax, r8d
mov byte [rdx + 0x1f], r8b
shr eax, 0x18
mov byte [rdx + 0x1c], al
mov eax, r8d
shr eax, 0x10
mov byte [rdx + 0x1d], al
mov eax, r8d
shr eax, 8
mov byte [rdx + 0x1e], al
test r12d, r12d
je 0x14018a4d1
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov edx, dword [rax + 0x320]
call fcn.140156990
mov ebx, eax
cmp byte [rbp + 0x11], 0
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
je 0x14018a507
dec dword [rbp + 0x14]
jne 0x14018a507
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x14018a503
call qword [0x1402bc390]
mov byte [rbp + 0x12], 0
mov eax, ebx
add rsp, 0x28
pop rbp
pop rbx
ret