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

Disassembly:
jmp 0x18014a350
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
xor r13d, r13d
xor edx, edx
mov dword [rbp + 0x208], r13d
mov rbx, rcx
mov dword [rbp + 0x1f8], r13d
mov dword [rsp + 0x38], r13d
mov dword [rbp + 0x1f0], r13d
mov dword [rbp + 0x200], r13d
mov dword [rsp + 0x3c], r13d
call fcn.180005236
mov edx, dword [rax + 4]
mov rcx, rbx
call fcn.180005236
mov rsi, rax
mov r15d, r13d
cmp dword [rax + 4], r13d
jbe 0x18014a498
nop word [rax + rax]
mov r14d, r15d
lea rcx, [r14 + r14*2]
mov edx, dword [rsi + rcx*4 + 0x14]
lea rdi, [rsi + rcx*4]
mov rcx, rbx
call fcn.180005236
movzx edx, word [rdi + 0x10]
mov r10, rax
sub edx, 0x120
je 0x18014a470
sub edx, 5
je 0x18014a453
sub edx, 2
je 0x18014a43c
sub edx, 2
je 0x18014a41f
cmp edx, 7
jne 0x18014a48b
lea rax, [r14 + r14*2]
mov rdx, r10
mov r8d, dword [rsi + rax*4 + 0x18]
lea r9, [rbp + 0x1f0]
mov rcx, rbx
call fcn.180003242
jmp 0x18014a48b
lea rax, [r14 + r14*2]
mov rdx, r10
mov r8d, dword [rsi + rax*4 + 0x18]
lea r9, [rbp + 0x200]
mov rcx, rbx
call fcn.180001f87
jmp 0x18014a48b
lea r9, [rsp + 0x3c]
mov rdx, r10
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.18000318e
jmp 0x18014a48b
lea rax, [r14 + r14*2]
mov rdx, r10
mov r8d, dword [rsi + rax*4 + 0x18]
lea r9, [rbp + 0x1f8]
mov rcx, rbx
call fcn.1800051f0
jmp 0x18014a48b
lea rax, [r14 + r14*2]
mov r8, r10
mov r9d, dword [rsi + rax*4 + 0x18]
lea rdx, [rbp + 0x208]
mov rcx, rbx
call fcn.1800059e8
inc r15d
cmp r15d, dword [rsi + 4]
jb 0x18014a3c0
mov edx, dword [rsi + 8]
test edx, edx
jne 0x18014a3a2
mov eax, dword [rbp + 0x1f0]
mov rcx, qword [rbx + 0x40]
inc eax
movsxd rdi, eax
test rcx, rcx
je 0x18014a4c4
call fcn.180003427
mov qword [rbx + 0x40], r13
mov qword [rbx + 0x48], r13
mov eax, 8
mov rsi, 0xffffffffffffffff
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1800030d5
mov qword [rbx + 0x48], rdi
movsxd rdi, dword [rbp + 0x1f8]
mov qword [rbx + 0x40], rax
mov qword [rax], r13
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x18014a507
call fcn.180003427
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], r13
mov eax, SafeArrayGetDim
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1800030d5
test rax, rax
je 0x18014a546
mov rdx, rdi
test rdi, rdi
je 0x18014a549
lea rcx, [rax + 8]
nop dword [rax]
mov qword [rcx - 8], rsi
mov dword [rcx], 0xffffffff
lea rcx, [rcx + 0xc]
sub rdx, 1
jne 0x18014a530
jmp 0x18014a549
mov rax, r13
mov qword [rbx + 0x68], rdi
movsxd rdi, dword [rbp + 0x200]
mov qword [rbx + 0x60], rax
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x18014a56e
call fcn.180003427
mov qword [rbx + 0x70], r13
mov qword [rbx + 0x78], r13
mov eax, 8
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1800030d5
test rax, rax
je 0x18014a5a1
mov rdx, rdi
mov rcx, rax
test rdi, rdi
je 0x18014a5a4
mov qword [rcx], rsi
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x18014a592
jmp 0x18014a5a4
mov rax, r13
mov qword [rbx + 0x78], rdi
movsxd rdi, dword [rbp + 0x208]
mov qword [rbx + 0x70], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18014a5d2
call fcn.180003427
mov qword [rbx + 0x80], r13
mov qword [rbx + 0x88], r13
mov eax, SafeArrayGetDim
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1800030d5
test rax, rax
je 0x18014a616
mov rdx, rdi
test rdi, rdi
je 0x18014a619
lea rcx, [rax + 8]
nop word [rax + rax]
mov qword [rcx - 8], rsi
mov dword [rcx], 0xffffffff
lea rcx, [rcx + 0xc]
sub rdx, 1
jne 0x18014a600
jmp 0x18014a619
mov rax, r13
mov qword [rbx + 0x88], rdi
movsxd rdi, dword [rsp + 0x38]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x18014a64b
call fcn.180003427
mov qword [rbx + 0x90], r13
mov qword [rbx + 0x98], r13
mov eax, SafeArrayGetDim
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1800030d5
test rax, rax
je 0x18014a686
mov rdx, rdi
test rdi, rdi
je 0x18014a689
lea rcx, [rax + 8]
mov qword [rcx - 8], rsi
mov dword [rcx], 0xffffffff
lea rcx, [rcx + 0xc]
sub rdx, 1
jne 0x18014a670
jmp 0x18014a689
mov rax, r13
mov qword [rbx + 0x98], rdi
movsxd rdi, dword [rsp + 0x3c]
mov qword [rbx + 0x90], rax
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x18014a6bb
call fcn.180003427
mov qword [rbx + 0xa0], r13
mov qword [rbx + 0xa8], r13
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1800030d5
test rax, rax
je 0x18014a6f7
mov rdx, rdi
test rdi, rdi
je 0x18014a6fa
lea rcx, [rax + 0xc]
mov dword [rcx - 0xc], 0xffffffff
mov qword [rcx - 4], rsi
lea rcx, [rcx + 0x10]
sub rdx, 1
jne 0x18014a6e0
jmp 0x18014a6fa
mov rax, r13
xor edx, edx
mov qword [rbx + 0xa0], rax
mov rcx, rbx
mov qword [rbx + 0xa8], rdi
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x3c], r13d
mov dword [rbp + 0x208], r13d
mov dword [rbp + 0x1f0], 1
mov dword [rbp + 0x1f8], r13d
mov dword [rbp + 0x200], r13d
call fcn.180005236
mov edx, dword [rax + 4]
mov rcx, rbx
call fcn.180005236
mov rsi, rax
mov r15d, r13d
cmp dword [rax + 4], r13d
jbe 0x18014a838
nop word [rax + rax]
mov r14d, r15d
lea rcx, [r14 + r14*2]
mov edx, dword [rsi + rcx*4 + 0x14]
lea rdi, [rsi + rcx*4]
mov rcx, rbx
call fcn.180005236
movzx edx, word [rdi + 0x10]
mov r10, rax
sub edx, 0x120
je 0x18014a812
sub edx, 5
je 0x18014a7f7
sub edx, 2
je 0x18014a7dc
sub edx, 2
je 0x18014a7bf
cmp edx, 7
jne 0x18014a82b
lea rax, [r14 + r14*2]
mov rdx, r10
mov r8d, dword [rsi + rax*4 + 0x18]
lea r9, [rbp + 0x1f0]
mov rcx, rbx
call fcn.1800011d1
jmp 0x18014a82b
lea rax, [r14 + r14*2]
mov rdx, r10
mov r8d, dword [rsi + rax*4 + 0x18]
lea r9, [rbp + 0x1f8]
mov rcx, rbx
call fcn.180004dfe
jmp 0x18014a82b
lea r9, [rbp + 0x200]
mov rdx, r10
lea r8, [rbp + 0x208]
mov rcx, rbx
call fcn.180001019
jmp 0x18014a82b
lea rax, [r14 + r14*2]
mov rdx, r10
mov r8d, dword [rsi + rax*4 + 0x18]
lea r9, [rsp + 0x3c]
mov rcx, rbx
call fcn.180001e10
jmp 0x18014a82b
lea rax, [r14 + r14*2]
mov r8, r10
mov r9d, dword [rsi + rax*4 + 0x18]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1800038a0
inc r15d
cmp r15d, dword [rsi + 4]
jb 0x18014a760
mov edx, dword [rsi + 8]
test edx, edx
jne 0x18014a73e
mov edx, dword [rbx + 0x68]
mov rcx, qword [rbx + 0x60]
call fcn.1800035e4
mov edx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x70]
call fcn.1800021d5
mov edx, dword [rbx + 0x88]
mov rcx, qword [rbx + 0x80]
call fcn.1800051be
mov edx, dword [rbx + 0x98]
mov rcx, qword [rbx + 0x90]
call fcn.1800045bb
mov edx, dword [rbx + 0xa8]
mov rcx, qword [rbx + 0xa0]
call fcn.180005b0f
lea rcx, [0x180167330]
mov r12, r13
cmp qword [rbx + 0x68], r13
jbe 0x18014acb6
mov r14, r13
nop dword [rax + rax]
cmp dword [0x1802492d4], r13d
je 0x18014aca5
cmp dword [0x1802492d8], 2
jb 0x18014aca5
mov r15, qword [rbx + 0x60]
mov edx, 0x100
add r15, r14
mov edi, dword [r15 + 4]
add edi, dword [r15]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x34], 0xff
call fcn.180005df3
mov qword [rsp + 0x28], rax
lea rdx, str.0x_.8x
mov dword [rsp + 0x30], r13d
lea rcx, [rbp + 0xa0]
mov r8d, edi
mov byte [rax], r13b
call qword [0x1802597b8]
lea rax, [rbp + 0xa0]
mov edi, r13d
cmp byte [rbp + 0xa0], r13b
je 0x18014a93d
inc edi
lea rax, [rax + 1]
cmp byte [rax], r13b
jne 0x18014a932
lea edx, [rdi + 0x100]
xor ecx, ecx
call fcn.180005df3
lea r8d, [rdi + 1]
mov rcx, rax
lea rdx, [rbp + 0xa0]
mov rsi, rax
call fcn.180004e58
test rsi, rsi
jne 0x18014a9a4
cmp dword [rsp + 0x34], r13d
jbe 0x18014a97e
mov rax, qword [rsp + 0x28]
mov dword [rsp + 0x30], r13d
mov byte [rax], r13b
jmp 0x18014aa02
mov rcx, qword [rsp + 0x28]
mov edx, 0x100
mov dword [rsp + 0x34], 0xff
call fcn.180005df3
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], r13d
mov byte [rax], r13b
jmp 0x18014aa02
mov edi, r13d
mov rax, rsi
cmp byte [rsi], r13b
je 0x18014a9bb
nop
inc edi
lea rax, [rax + 1]
cmp byte [rax], r13b
jne 0x18014a9b0
cmp edi, dword [rsp + 0x34]
jae 0x18014a9c8
mov rax, qword [rsp + 0x28]
jmp 0x18014a9e7
mov rcx, qword [rsp + 0x28]
lea eax, [rdi + 0xff]
lea edx, [rdi + 0x100]
mov dword [rsp + 0x34], eax
call fcn.180005df3
mov qword [rsp + 0x28], rax
lea r8d, [rdi + 1]
mov dword [rsp + 0x30], edi
mov rdx, rsi
mov rcx, rax
call fcn.180004e58
mov rcx, rsi
call fcn.180003427
mov rax, qword [rbx + 0x60]
mov edx, 0x100
xor ecx, ecx
mov edi, dword [r14 + rax]
lea rax, [0x180167330]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x54], 0xff
call fcn.180005df3
mov qword [rsp + 0x48], rax
lea rdx, str.0x_.8x
mov dword [rsp + 0x50], r13d
lea rcx, [rbp - 0x60]
mov r8d, edi
mov byte [rax], r13b
call qword [0x1802597b8]
lea rax, [rbp - 0x60]
mov edi, r13d
cmp byte [rbp - 0x60], r13b
je 0x18014aa6d
inc edi
lea rax, [rax + 1]
cmp byte [rax], r13b
jne 0x18014aa62
lea edx, [rdi + 0x100]
xor ecx, ecx
call fcn.180005df3
lea r8d, [rdi + 1]
mov rcx, rax
lea rdx, [rbp - 0x60]
mov rsi, rax
call fcn.180004e58
test rsi, rsi
jne 0x18014aad1
cmp dword [rsp + 0x54], r13d
jbe 0x18014aaab
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x50], r13d
mov byte [rax], r13b
jmp 0x18014ab32
mov rcx, qword [rsp + 0x48]
mov edx, 0x100
mov dword [rsp + 0x54], 0xff
call fcn.180005df3
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], r13d
mov byte [rax], r13b
jmp 0x18014ab32
mov edi, r13d
mov rax, rsi
cmp byte [rsi], r13b
je 0x18014aaeb
nop dword [rax]
inc edi
lea rax, [rax + 1]
cmp byte [rax], r13b
jne 0x18014aae0
cmp edi, dword [rsp + 0x54]
jae 0x18014aaf8
mov rax, qword [rsp + 0x48]
jmp 0x18014ab17
mov rcx, qword [rsp + 0x48]
lea eax, [rdi + 0xff]
lea edx, [rdi + 0x100]
mov dword [rsp + 0x54], eax
call fcn.180005df3
mov qword [rsp + 0x48], rax
lea r8d, [rdi + 1]
mov dword [rsp + 0x50], edi
mov rdx, rsi
mov rcx, rax
call fcn.180004e58
mov rcx, rsi
call fcn.180003427
mov rax, qword [rbx + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, rbx
mov r8d, dword [r14 + rax + 8]
call fcn.180003a9e
mov edx, 2
lea rcx, [rsp + 0x58]
mov rdi, rax
call fcn.1800047e1
mov rcx, rax
lea rdx, str.PROC
call fcn.180001faa
mov rdx, qword [rdi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
je 0x18014ab8b
call fcn.180003427
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov r9, qword [rbx]
lea rdx, [rsp + 0x78]
mov r8d, dword [r15]
mov rcx, rbx
call qword [r9 + 0x38]
lea rdx, [0x18018948c]
mov rcx, rsi
mov rdi, rax
call fcn.180001faa
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.180004831
mov rcx, rax
lea rdx, [0x1801924e8]
call fcn.180001faa
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180004831
mov rcx, rax
lea rdx, [0x180189494]
call fcn.180001faa
mov rcx, rax
lea rdx, str.__MODULE
call fcn.180001faa
mov rdx, qword [rdi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
je 0x18014ac18
call fcn.180003427
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov r9, qword [rbx]
lea rdx, [rbp - 0x78]
mov r8d, dword [r15]
mov rcx, rbx
call qword [r9 + 0x40]
lea rdx, str.__SOURCE_NAME
mov rcx, rsi
mov rdi, rax
call fcn.180001faa
mov rdx, qword [rdi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
je 0x18014ac5d
call fcn.180003427
mov qword [rdi], r13
mov qword [rdi + 8], r13
lea rdx, [0x180158e94]
mov rcx, rsi
call fcn.180001faa
lea rcx, [rsp + 0x58]
call fcn.18000561e
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18014ac8f
call fcn.180003427
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18014ac9e
call fcn.180003427
lea rcx, [0x180167330]
inc r12
add r14, 0xc
cmp r12, qword [rbx + 0x68]
jb 0x18014a8b0
mov r14, r13
cmp qword [rbx + 0x78], r13
jbe 0x18014af5d
cmp dword [0x1802492d4], r13d
je 0x18014af49
cmp dword [0x1802492d8], 2
jb 0x18014af49
mov rax, qword [rbx + 0x70]
mov edx, 0x100
mov edi, dword [rax + r14*8]
lea r15, [rax + r14*8]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x34], 0xff
call fcn.180005df3
mov qword [rsp + 0x28], rax
lea rdx, str.0x_.8x
mov dword [rsp + 0x30], r13d
lea rcx, [rbp - 0x60]
mov r8d, edi
mov byte [rax], r13b
call qword [0x1802597b8]
lea rax, [rbp - 0x60]
mov edi, r13d
cmp byte [rbp - 0x60], r13b
je 0x18014ad4b
nop word [rax + rax]
inc edi
lea rax, [rax + 1]
cmp byte [rax], r13b
jne 0x18014ad40
lea edx, [rdi + 0x100]
xor ecx, ecx
call fcn.180005df3
lea r8d, [rdi + 1]
mov rcx, rax
lea rdx, [rbp - 0x60]
mov rsi, rax
call fcn.180004e58
test rsi, rsi
jne 0x18014adaf
cmp dword [rsp + 0x34], r13d
jbe 0x18014ad89
mov rax, qword [rsp + 0x28]
mov dword [rsp + 0x30], r13d
mov byte [rax], r13b
jmp 0x18014ae12
mov rcx, qword [rsp + 0x28]
mov edx, 0x100
mov dword [rsp + 0x34], 0xff
call fcn.180005df3
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], r13d
mov byte [rax], r13b
jmp 0x18014ae12
mov edi, r13d
mov rax, rsi
cmp byte [rsi], r13b
je 0x18014adcb
nop word [rax + rax]
inc edi
lea rax, [rax + 1]
cmp byte [rax], r13b
jne 0x18014adc0
cmp edi, dword [rsp + 0x34]
jae 0x18014add8
mov rax, qword [rsp + 0x28]
jmp 0x18014adf7
mov rcx, qword [rsp + 0x28]
lea eax, [rdi + 0xff]
lea edx, [rdi + 0x100]
mov dword [rsp + 0x34], eax
call fcn.180005df3
mov qword [rsp + 0x28], rax
lea r8d, [rdi + 1]
mov dword [rsp + 0x30], edi
mov rdx, rsi
mov rcx, rax
call fcn.180004e58
mov rcx, rsi
call fcn.180003427
mov rax, qword [rbx + 0x70]
lea rdx, [rbp - 0x78]
mov rcx, rbx
mov r8d, dword [rax + r14*8 + 4]
call fcn.180003a9e
mov edx, 2
lea rcx, [rsp + 0x58]
mov rdi, rax
call fcn.1800047e1
mov rcx, rax
lea rdx, str.PROCREF
call fcn.180001faa
mov rdx, qword [rdi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
je 0x18014ae6a
call fcn.180003427
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov r9, qword [rbx]
lea rdx, [rsp + 0x78]
mov r8d, dword [r15]
mov rcx, rbx
call qword [r9 + 0x38]
lea rdx, [0x18018948c]
mov rcx, rsi
mov rdi, rax
call fcn.180001faa
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180004831
mov rcx, rax
lea rdx, [0x180189494]
call fcn.180001faa
mov rcx, rax
lea rdx, str.__MODULE
call fcn.180001faa
mov rdx, qword [rdi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
je 0x18014aedb
call fcn.180003427
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov r9, qword [rbx]
lea rdx, [rsp + 0x68]
mov r8d, dword [r15]
mov rcx, rbx
call qword [r9 + 0x40]
lea rdx, str.__SOURCE_NAME
mov rcx, rsi
mov rdi, rax
call fcn.180001faa
mov rdx, qword [rdi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
je 0x18014af21
call fcn.180003427
mov qword [rdi], r13
mov qword [rdi + 8], r13
lea rdx, [0x180158e94]
mov rcx, rsi
call fcn.180001faa
lea rcx, [rsp + 0x58]
call fcn.18000561e
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18014af49
call fcn.180003427
inc r14
lea rcx, [0x180167330]
cmp r14, qword [rbx + 0x78]
jb 0x18014acc3
xor eax, eax
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret