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

Disassembly:
mov r11, rsp
sub rsp, 0xc8
mov rax, qword [0x140209040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov qword [r11 + 0x20], rbx
xor eax, eax
mov qword [r11 - 0x10], rsi
mov rbx, rcx
mov qword [r11 - 0x18], rdi
mov rsi, r8
mov edi, dword [rcx + 0x18]
xor ecx, ecx
mov qword [r11 - 0x28], r13
xor r13d, r13d
mov qword [r11 - 0x38], r15
mov r15, rdx
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x64], ecx
test edi, edi
je 0x140067018
mov qword [r11 - 8], rbp
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x30], r14
mov rax, qword [rbx]
mov r14d, ecx
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x198]
mov ecx, dword [rbx + 0x134]
lea rdx, [rbx + 0xf0]
cmp dword [rbx + 0x18], ecx
mov ebp, eax
mov eax, 0xfffffffd
mov r8d, edi
cmovg ebp, eax
cmp ecx, edi
cmovb r8d, ecx
mov rcx, qword [rbx + 0x10]
mov r9, qword [rcx]
call qword [r9 + 0x78]
sub edi, eax
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x30], eax
mov dword [rbx + 0xe0], 0
mov dword [rsi + 8], eax
mov esi, dword [rbx + 0x2c]
mov eax, dword [rbx + 0x34]
mov dword [rsp + 0x6c], edi
mov rdi, qword [rbx + 0xf0]
mov dword [rsp + 0x60], eax
test esi, esi
je 0x140066e53
test rdi, rdi
jne 0x140066e42
lea r8d, [rdi + 0x2a]
lea rdx, [0x1400d6810]
lea rcx, str.buf___NULL
call fcn.14009d2e8
mov eax, dword [rsp + 0x60]
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call fcn.14007baa0
mov dword [rsp + 0x60], eax
inc dword [rsp + 0x64]
mov r8d, 0x800
mov rsi, qword [rsp + 0x70]
test r14d, r14d
mov rdx, rsi
setne cl
xor edi, edi
mov byte [rsp + 0x50], cl
xor r9d, r9d
mov dword [rsp + 0x48], edi
mov rcx, rbx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
call fcn.140022fe0
mov eax, dword [rbx + 0x2c]
cmp dword [rbx + 0x30], eax
jae 0x140066ed5
mov r8d, edi
cmp dword [rsi + 0x3c], edi
jne 0x140066ea8
mov r8, qword [rbx + 0xf0]
mov rax, qword [rbx]
mov r9d, 0x800
mov rdx, qword [rbx + 0x100]
mov rcx, rbx
mov dword [rbx + 0xe0], 0x800
call qword [rax + 0xd0]
test al, al
jne 0x140066ed5
mov eax, dword [rbx + 0x2c]
mov dword [rbx + 0x30], eax
mov edi, dword [rbx + 0x2c]
cmp dword [rbx + 0x30], edi
jb 0x140066f27
mov esi, dword [rbx + 0x54]
mov r14d, edi
mov rbp, qword [rbx + 0xf0]
mov dword [rbx + 0x30], edi
test edi, edi
je 0x140066f1f
test rbp, rbp
jne 0x140066f10
lea r8d, [rbp + 0x2a]
lea rdx, [0x1400d6810]
lea rcx, str.buf___NULL
call fcn.14009d2e8
mov edi, dword [rbx + 0x2c]
mov r8d, r14d
mov rdx, rbp
mov ecx, esi
call fcn.14007baa0
mov esi, eax
mov dword [rbx + 0x38], esi
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x78]
xor eax, eax
mov r8d, edi
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], eax
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x7c]
mov r8d, dword [rbx + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov eax, dword [rbx + 0x2c]
cmp dword [rbx + 0x30], eax
jae 0x140066f83
movzx eax, byte [rbx + 0x24]
mov byte [rsp + 0x80], al
movzx eax, byte [rbx + 0x40]
mov byte [rsp + 0x81], al
movzx eax, byte [rbx + 0x44]
mov byte [rsp + 0x82], al
mov rax, qword [r15]
lea rdx, [rsp + 0x78]
mov r8d, 0xc
mov rcx, r15
call qword [rax + 0x40]
add dword [rbx + 0x16c], 0xc
mov rax, qword [r15]
mov ecx, dword [rbx + 0x30]
mov r8d, dword [rbx + 0x2c]
mov r9, qword [rax + 0x70]
cmp ecx, r8d
jae 0x140066fcd
mov r8d, ecx
lea rdx, [rbx + 0x100]
mov rcx, r15
call r9
xor edx, edx
mov rcx, rbx
call fcn.140020ca0
jmp 0x140066fda
lea rdx, [rbx + 0xf0]
mov rcx, r15
call r9
mov eax, dword [rsp + 0x60]
add r13d, dword [rbx + 0x2c]
mov edi, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x64]
mov dword [rbx + 0x34], eax
mov eax, dword [rsp + 0x68]
add eax, dword [rbx + 0x30]
mov dword [rsp + 0x68], eax
test edi, edi
jne 0x140066db4
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xc0]
cmp r13d, dword [rbx + 0x18]
mov r15, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov dword [rbx + 0x2c], r13d
mov r13, qword [rsp + 0xa0]
mov dword [rbx + 0x30], eax
mov rbx, qword [rsp + 0xe8]
jne 0x14006706a
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008b4b0
add rsp, 0xc8
ret
call fcn.14000d940
int3