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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov eax, 0xa
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087dc0]
cmp dword [rcx + rax*4], 1
jne 0x180034f73
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180087dc0]
mov dword [rdx + rcx*4], eax
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x180087dc0]
cmp dword [rcx + rax*4], 1
jne 0x180034fb2
movsx rax, word [rsp + 0x20]
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x180087dc0]
mov dword [rdx + rcx*4], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa0], rax
mov r8, 0xffffffffffffffff
mov rdx, qword [str.attachment_]
mov rcx, qword [rsp + 0xa0]
call fcn.18001be50
mov qword [rsp + 0x90], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x178]
call fcn.180022220
mov qword [rsp + 0x28], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x48], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
movsxd rdx, dword [rsp + 0x48]
lea r8, [0x180087dc0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087dc0]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x28], 0
jge 0x1800350ee
mov edx, 1
lea rcx, [rsp + 0x140]
call fcn.180019030
mov r8, 0xffffffffffffffff
mov rdx, qword [str.attachment_]
lea rcx, [rsp + 0x140]
call fcn.18001be50
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x4c]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x1800350d8
xor r9d, r9d
lea r8, [0x180075b8c]
lea rdx, [0x1800759e4]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x140]
call fcn.180011730
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x68], rax
mov r8, 0xffffffffffffffff
mov rdx, qword [str.filename]
mov rcx, qword [rsp + 0x68]
call fcn.18001be50
mov qword [rsp + 0x50], rax
mov r9b, 1
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x178]
call fcn.180022220
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jge 0x18003518c
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x78], rax
mov r8, 0xffffffffffffffff
mov rdx, qword [str.filename]
mov rcx, qword [rsp + 0x78]
call fcn.18001be50
mov qword [rsp + 0x98], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x178]
call fcn.180022220
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jl 0x180035341
mov edx, 1
lea rcx, [rsp + 0x110]
call fcn.180019030
mov rcx, qword [rsp + 0x178]
call fcn.1800324e0
mov rcx, qword [rsp + 0x28]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x88], rax
mov rcx, qword [str.filename]
call fcn.180024ee0
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*2]
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.18001be50
nop
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x70], rax
mov r8, 0xffffffffffffffff
lea rdx, str._t___n
mov rcx, qword [rsp + 0x70]
call fcn.18001be00
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x80]
mov r8b, 1
mov dl, 1
lea rcx, [rsp + 0x110]
call fcn.1800252e0
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x38], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
movsxd rdx, dword [rsp + 0x38]
lea r8, [0x180087dc0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087dc0]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x110]
call fcn.180019300
movzx eax, al
test eax, eax
je 0x1800352e0
mov dword [rsp + 0x30], 0x80004005
lea rcx, [rsp + 0x110]
call fcn.180011730
mov eax, dword [rsp + 0x30]
jmp 0x180035430
lea rcx, [rsp + 0x110]
call fcn.1800324c0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180029d10
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.180013db0
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.180013530
lea rcx, [rsp + 0x60]
call fcn.180010bd0
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x110]
call fcn.180011730
mov eax, dword [rsp + 0x40]
jmp 0x180035430
mov edx, 1
lea rcx, [rsp + 0x128]
call fcn.180019030
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x128]
call fcn.18001bd80
nop
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x34], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
movsxd rdx, dword [rsp + 0x34]
lea r8, [0x180087dc0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087dc0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087dc0]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x3c], 0x80004005
lea rcx, [rsp + 0x128]
call fcn.180011730
mov eax, dword [rsp + 0x3c]
jmp 0x180035430
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.18004d370
add rsp, 0x168
ret