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

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbp
push rbx
lea rbp, [rax - 0x5f]
sub rsp, 0x98
mov qword [rax + 8], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov r12, rcx
mov rdx, rcx
mov qword [rax - 0x28], r13
xor r13d, r13d
lea rcx, [rbp - 9]
mov qword [rbp - 9], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
call fcn.180063e50
mov rcx, r12
call fcn.180063bb0
lea rcx, [rbp + 0xf]
mov edx, 0x4000
call fcn.180040150
nop word [rax + rax]
mov edx, 0x99bf5f79
mov ecx, 0x6e729370
mov dword [rbp + 0x77], r13d
call fcn.180049ad0
mov rdi, rax
test rax, rax
je 0x18006d5f5
lea rcx, [rbp + 0xf]
call fcn.18003fcc0
lea rcx, [rbp + 0xf]
xor edx, edx
mov ebx, eax
call fcn.18003fcb0
lea r9, [rbp + 0x77]
mov r8d, ebx
mov ecx, 5
mov rdx, rax
call rdi
cmp eax, 0xc0000023
je 0x18006d5d0
cmp eax, 0xc0000004
jne 0x18006d5f5
mov edx, dword [rbp + 0x77]
lea rcx, [rbp + 0xf]
test edx, edx
je 0x18006d5e2
call fcn.180040280
jmp 0x18006d580
call fcn.18003fcc0
lea rcx, [rbp + 0xf]
lea edx, [rax + rax]
call fcn.180040280
jmp 0x18006d580
xor ecx, ecx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
call fcn.18005ddc0
lea rcx, [rbp + 0xf]
xor edx, edx
mov rdi, rax
mov qword [rbp + 0x77], rax
call fcn.18003fcb0
mov ebx, dword [rbp + 0x6f]
mov rsi, rax
test rax, rax
je 0x18006d7d7
nop word [rax + rax]
mov rax, qword [rsi + 0x50]
test rax, rax
je 0x18006d7c8
cmp rax, 4
je 0x18006d7c8
mov eax, dword [rsi + 0x20]
lea rcx, [rbp + 0x7f]
mov dword [rbp + 0x7f], eax
mov eax, dword [rsi + 0x24]
mov dword [rbp + 0x83], eax
call fcn.180047360
mov r14d, dword [rsi + 0x50]
mov ebx, r13d
mov r13d, dword [rbp - 5]
mov r15d, eax
test r13d, r13d
jle 0x18006d695
lea rcx, [rbp - 9]
mov edx, ebx
call fcn.180063af0
mov rdi, rax
cmp r14d, dword [rax + 0x30]
je 0x18006d72a
inc ebx
cmp ebx, r13d
jl 0x18006d672
mov rdi, qword [rbp + 0x77]
mov ebx, dword [rbp + 0x6f]
test bl, 1
jne 0x18006d6a9
mov eax, dword [rdi + 0x2c]
cmp dword [rsi + 0x64], eax
jne 0x18006d7c5
mov ecx, 0xa0
call fcn.1800472c0
xor r13d, r13d
mov rdi, rax
test rax, rax
je 0x18006d766
mov eax, dword [rsi + 0x50]
mov qword [rdi + 0x18], r13
mov byte [rdi + 0x20], 1
mov qword [rdi + 0x28], r13
lea rcx, [0x18008b230]
xor edx, edx
mov qword [rdi], rcx
lea rcx, [rdi + 0x40]
mov dword [rdi + 8], r13d
mov dword [rdi + 0x30], eax
mov qword [rdi + 0x34], r13
mov dword [rdi + 0x3c], 0xffffffff
call fcn.180041a90
lea rcx, [rdi + 0x50]
xor edx, edx
call fcn.180041660
lea rcx, [rdi + 0x88]
xor edx, edx
mov qword [rdi + 0x60], r13
mov dword [rdi + 0x68], r13d
mov qword [rdi + 0x70], r13
mov dword [rdi + 0x78], r13d
mov qword [rdi + 0x80], r13
call fcn.180040150
jmp 0x18006d769
test r15d, r15d
je 0x18006d747
cmp dword [rax + 0x64], 0
jne 0x18006d73d
mov rcx, rax
call fcn.18006d1e0
cmp r15d, dword [rdi + 0x64]
jne 0x18006d691
xor r13d, r13d
mov qword [rdi + 0x70], r13
or r8d, 0xffffffff
mov rdx, rdi
mov rcx, r12
call fcn.180063c50
mov rdi, qword [rbp + 0x77]
mov ebx, dword [rbp + 0x6f]
jmp 0x18006d7c8
mov rdi, r13
mov rdx, qword [rsi + 0x40]
lea rcx, [rbp - 0x29]
call fcn.180045840
lea rcx, [rdi + 0x50]
mov rdx, qword [rax]
call fcn.180042000
lea rcx, [rbp - 0x29]
call fcn.180040e20
lea rdx, [rbp - 0x19]
lea rcx, [rdi + 0x50]
call fcn.180042340
mov rcx, qword [rax]
call fcn.1800414d0
lea rcx, [rbp - 0x19]
xor eax, 0xe427ce1
mov dword [rdi + 0x60], eax
call fcn.180040e20
mov r11d, dword [rsi + 0x58]
mov dword [rdi + 0x34], r11d
mov dword [rdi + 0x64], r15d
mov eax, dword [rsi + 0x64]
mov dword [rdi + 0x3c], eax
jmp 0x18006d74e
xor r13d, r13d
mov eax, dword [rsi]
test eax, eax
je 0x18006d7d7
add rsi, rax
jne 0x18006d630
test bl, 2
je 0x18006d83f
mov r15d, dword [r12 + 4]
test r15d, r15d
jle 0x18006d83f
nop word [rax + rax]
mov edx, r13d
mov rcx, r12
call fcn.180063af0
mov r14, rax
mov esi, dword [rax + 0x34]
test esi, esi
je 0x18006d837
mov edi, dword [r12 + 4]
xor ebx, ebx
test edi, edi
jle 0x18006d837
mov edx, ebx
mov rcx, r12
call fcn.180063af0
mov r11, rax
cmp esi, dword [rax + 0x30]
je 0x18006d82a
inc ebx
cmp ebx, edi
jl 0x18006d810
jmp 0x18006d837
mov eax, dword [rax + 0x64]
cmp dword [r14 + 0x64], eax
jl 0x18006d837
mov qword [r14 + 0x70], r11
inc r13d
cmp r13d, r15d
jl 0x18006d7f0
lea rcx, [rbp + 0xf]
call fcn.18003fca0
lea rcx, [rbp - 9]
call fcn.180063bb0
mov rbx, qword [rbp + 7]
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xb0]
test rbx, rbx
je 0x18006d894
mov rcx, rbx
call fcn.180061c30
mov rcx, rbx
call fcn.1800472a0
add rsp, 0x98
pop rbx
pop rbp
ret