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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r8, rdx
mov rdi, rcx
test rcx, rcx
jne 0x180001aef
xor eax, eax
jmp 0x180001bb2
mov eax, dword [rcx + 0x3c]
mov ecx, dword [rax + rcx + 0x8c]
mov dword [rbp - 0x29], ecx
test ecx, ecx
je 0x180001ae8
mov eax, dword [rax + rdi + 0x88]
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xa0], rsi
mov qword [rbp - 0x19], rax
add rax, rdi
mov ecx, dword [rax + 0x1c]
mov esi, dword [rax + 0x20]
mov qword [rbp - 0x31], rax
add rcx, rdi
add rsi, rdi
mov qword [rbp - 0x11], rcx
mov ecx, dword [rax + 0x24]
add rcx, rdi
cmp byte [rdx], 0xff
mov qword [rbp - 0x21], rcx
je 0x180001b60
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [r8 + rdx], 0
jne 0x180001b45
mov rcx, r8
call fcn.180004cf0
mov dword [rbp - 0x39], eax
mov rax, qword [rbp - 0x31]
jmp 0x180001b66
mov ecx, dword [rdx + 1]
mov dword [rbp - 0x39], ecx
mov eax, dword [rax + 0x18]
xor ebx, ebx
mov dword [rbp - 0x31], eax
test eax, eax
je 0x180001ba0
mov ecx, dword [rsi]
test rcx, rcx
je 0x180001b96
add rcx, rdi
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x180001b80
call fcn.180004cf0
cmp dword [rbp - 0x39], eax
je 0x180001bc8
mov eax, dword [rbp - 0x31]
inc ebx
add rsi, 4
cmp ebx, eax
jb 0x180001b72
xor eax, eax
mov rbx, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0xa8
pop rdi
pop rbp
ret
mov rcx, qword [rbp - 0x21]
mov rax, qword [rbp - 0x11]
movzx ecx, word [rcx + rbx*2]
mov edx, dword [rax + rcx*4]
mov rcx, qword [rbp - 0x19]
cmp edx, ecx
jb 0x180001d70
mov eax, dword [rbp - 0x29]
add eax, ecx
cmp edx, eax
jae 0x180001d70
add rdx, rdi
mov qword [rbp + reloc.OLEAUT32.dll_SafeArrayDestroy], 0xf
mov qword [rbp + 7], 0
cmp byte [rdx], 0
mov byte [rbp - 9], 0
jne 0x180001c11
xor r8d, r8d
jmp 0x180001c1f
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180001c15
lea rcx, [rbp - 9]
call fcn.180001e20
mov rsi, qword [rbp + 7]
test rsi, rsi
je 0x180001d51
cmp rsi, 1
jb 0x180001d51
cmp qword [rbp + 0xf], 0x10
lea rdi, [rbp - 9]
cmovae rdi, qword [rbp - 9]
nop dword [rax]
test rsi, rsi
je 0x180001d51
mov r8, rsi
mov edx, 0x2e
mov rcx, rdi
call fcn.180033464
mov rbx, rax
test rax, rax
je 0x180001d51
cmp byte [rax], 0x2e
je 0x180001c89
sub rdi, rax
dec rdi
add rsi, rdi
lea rdi, [rax + 1]
jmp 0x180001c50
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rbp - 9]
lea rax, [rbp - 9]
cmp rcx, 0x10
cmovae rax, rdx
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x180001d59
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
mov r9, rbx
xor r8d, r8d
call fcn.180001de0
cmp qword [rax + 0x18], 0x10
jb 0x180001cc7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp qword [rbp + 0x2f], 0x10
mov rdi, rax
jb 0x180001ce3
mov rcx, qword [rbp + 0x17]
call fcn.180030be0
test rdi, rdi
je 0x180001d51
lea r8, [rbx + 1]
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
or r9, 0xffffffffffffffff
call fcn.180001de0
cmp qword [rax + 0x18], 0x10
jb 0x180001d07
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.180001ac0
cmp qword [rbp + 0x2f], 0x10
mov rbx, rax
jb 0x180001d25
mov rcx, qword [rbp + 0x17]
call fcn.180030be0
cmp qword [rbp + 0xf], 0x10
mov qword [rbp + 0x2f], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x27], 0
mov byte [rbp + 0x17], 0
jb 0x180001d49
mov rcx, qword [rbp - 9]
call fcn.180030be0
mov rax, rbx
jmp 0x180001ba2
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rbp - 9]
cmp rcx, 0x10
jb 0x180001ba0
mov rcx, rdx
call fcn.180030be0
jmp 0x180001ba0
lea rax, [rdi + rdx]
jmp 0x180001ba2