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

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18028e088]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, word [r8 + 4]
xor r15d, r15d
rol ax, 8
mov r14, rdx
movzx r12d, ax
mov rbx, rcx
mov ebp, r15d
test r12d, r12d
je 0x1801b00ef
nop word [rax + rax]
mov rax, qword [rbx]
lea rdx, [rsp + 0x38]
mov r8d, 0x10
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rax, 0x10
jb 0x1801b0472
cmp dword [rsp + 0x38], 0x656d616e
je 0x1801b00ef
inc ebp
cmp ebp, r12d
jl 0x1801b00c0
cmp ebp, r12d
je 0x1801b0472
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
test al, al
je 0x1801b0472
mov ecx, dword [rsp + 0x44]
mov eax, ecx
shr eax, 0x10
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
mov edi, ecx
and edi, 0xff0000
mov qword [rsp + 0x98], r13
or edi, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edi, 8
shl eax, 8
mov rcx, rbx
or edi, eax
mov eax, 0xfffffffc
add edi, 3
and rdi, rax
mov eax, dword [rsp + 0x40]
mov r13d, eax
mov qword [rsp + 0x30], rdi
mov edx, eax
shl r13d, 0x10
and eax, 0xff00
or r13d, eax
mov eax, edx
and eax, 0xff0000
shr rdx, 0x10
or rax, rdx
shl r13d, 8
shr rax, 8
or r13, rax
mov rax, qword [rbx]
call qword [rax + 0x60]
sub rax, rdi
mov qword [rsp + 0x28], rax
lea rcx, [rax + 0x74]
test rcx, rcx
jne 0x1801b01ab
call fcn.1800c7f60
mov rsi, rax
jmp 0x1801b020f
lea rax, [rcx + 0x30]
cmp rax, rcx
jb 0x1801b0476
mov rcx, rax
call fcn.1801d1e08
mov rcx, qword [rsp + 0x28]
mov rsi, rax
add rcx, 0x74
lea rax, [rcx + 0x30]
test rax, rax
je 0x1801b01e0
test rsi, rsi
je 0x1801b047c
jmp 0x1801b01e5
test rsi, rsi
je 0x1801b020c
lea rax, [0x1802292a0]
mov dword [rsi + 8], 1
mov qword [rsi], rax
lea rax, [rsi + 0x30]
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
jmp 0x1801b020f
mov rsi, r15
mov rcx, qword [rsi + 0x20]
mov r8, r13
mov rax, qword [rbx]
mov rdx, rcx
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rax, r13
jb 0x1801b0425
mov rax, qword [rbx]
mov r8, rdi
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rax, rdi
jb 0x1801b0425
mov rdi, qword [rsp + 0x28]
mov rcx, rbx
mov rax, qword [rbx]
sub rdi, r13
mov rdx, qword [rsp + 0x20]
mov r8, rdi
add rdx, r13
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rax, rdi
jb 0x1801b0425
mov rdx, qword [rsp + 0x20]
mov rdi, r12
add rdx, 0xc
shl rdi, 4
add rdi, rdx
mov rbx, r15
cmp rdx, rdi
jae 0x1801b02bd
mov r8, qword [rsp + 0x30]
nop dword [rax]
mov eax, dword [rdx + 8]
bswap eax
mov ecx, eax
cmp rcx, r13
jbe 0x1801b02a4
sub eax, r8d
bswap eax
mov dword [rdx + 8], eax
cmp dword [rdx], 0x64616568
mov rax, rdx
cmovne rax, rbx
add rdx, 0x10
mov rbx, rax
cmp rdx, rdi
jb 0x1801b0290
mov r13, qword [rsp + 0x28]
mov eax, 0x72
bswap eax
movsxd r12, ebp
mov r8, r13
mov rbp, qword [rsp + 0x20]
add r12, r12
add r8, rbp
mov edx, 0x18
mov dword [rbp + r12*8 + 0x18], eax
lea rcx, [rbp + 0x42]
mov eax, r13d
add rcx, r13
bswap eax
mov dword [rbp + r12*8 + 0x14], eax
mov dword [r8], 0x5000000
mov dword [r8 + 4], 0x3004200
mov dword [r8 + 8], 0x9040100
mov dword [r8 + 0xc], 0x30000100
mov dword [r8 + 0x10], 0x3000000
mov dword [r8 + 0x14], 0x9040100
mov dword [r8 + 0x18], 0x30000200
mov dword [r8 + 0x1c], 0x3000000
mov dword [r8 + 0x20], 0x9040100
mov dword [r8 + 0x24], 0x30000300
mov dword [r8 + 0x28], 0x3000000
mov dword [r8 + 0x2c], 0x9040100
mov dword [r8 + 0x30], 0x30000400
mov dword [r8 + 0x34], 0x3000000
mov dword [r8 + 0x38], 0x9040100
mov dword [r8 + 0x3c], 0x30000600
mov word [r8 + 0x40], r15w
nop dword [rax]
movsx eax, byte [r14]
lea rcx, [rcx + 2]
rol ax, 8
lea r14, [r14 + 1]
mov word [rcx - 2], ax
sub rdx, 1
jne 0x1801b0380
lea rdi, [r8 + 0x72]
mov ecx, 2
lea rax, [r8 + 0x74]
cmp rdi, rax
cmova rcx, r15
test rcx, rcx
je 0x1801b03b7
xor eax, eax
rep stosb byte [rdi], al
mov edx, 0x72
mov rcx, r8
call fcn.1801afec0
bswap eax
mov dword [rbp + r12*8 + 0x10], eax
test rbx, rbx
je 0x1801b0420
mov eax, dword [rbx + 8]
mov ebx, eax
mov edi, eax
and eax, 0xff00
shl ebx, 0x10
or ebx, eax
mov eax, edi
and eax, 0xff0000
shr rdi, 0x10
or rax, rdi
shl ebx, 8
shr rax, 8
or rbx, rax
lea rax, [rbx + 0x36]
cmp rax, r13
jae 0x1801b0420
lea rdx, [r13 + 0x74]
mov dword [rbx + rbp + 8], r15d
mov rcx, rbp
call fcn.1801afec0
mov ecx, 0xb1b0afba
sub ecx, eax
bswap ecx
mov dword [rbx + rbp + 8], ecx
mov r15, rsi
jmp 0x1801b043d
mov ecx, 0xffffffff
lock xadd dword [rsi + 8], ecx
cmp ecx, 1
jne 0x1801b043d
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x90]
mov rax, r15
mov rsi, qword [rsp + 0x88]
mov r13, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1801ccd30
add rsp, 0x50
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x1801b0458
call fcn.1800bea50
int3
call fcn.1800bea50
int3