Function at 0x140146d10
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rsi, qword [rcx + 0x10]
xor r12d, r12d
mov r10, qword [rcx]
mov r13d, r8d
mov qword [rsp + 0x70], rsi
mov r14, rdx
mov dword [rbp + 0x70], r8d
mov rdi, rcx
mov dword [rbp + 0x88], r12d
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x50], r10
test rsi, rsi
jne 0x140146d74
xor eax, eax
add rsp, 0x138
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x128], r15
mov r15d, 0x65
test r14, r14
je 0x140146d8b
movzx r15d, byte [rdx]
lea eax, [r15 - 0x13]
mov qword [rsp + 0x130], rbx
cmp eax, 0x8c
ja case.0x140146dbd.21
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x147ee0]
mov ecx, dword [rdx + rax*4 + 0x147e7c]
add rcx, rdx
jmp rcx
mov rcx, qword [r14 + 0x38]
movsx rax, word [r14 + 0x32]
shl rax, 5
add rax, qword [rcx + 0x20]
cmp byte [rcx], r12b
jne 0x140146ddb
mov r11d, dword [rax + 0x14]
jmp 0x140146dfe
cmp byte [rcx + 1], r12b
je case.0x140146dbd.154
mov r9d, dword [rax + 0x10]
mov edx, PathResolve
mov r8d, dword [rcx + 8]
mov dword [rsp + 0x20], r13d
mov rcx, rsi
call fcn.140167a30
mov r11d, r13d
mov eax, r11d
mov rbx, qword [rsp + 0x130]
mov r15, qword [rsp + 0x128]
add rsp, 0x138
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r9d, dword [r14 + 0x2c]
test r9d, r9d
jns 0x140146e40
mov eax, dword [rdi + 0x68]
test eax, eax
jle 0x140146e3c
movsx r11d, word [r14 + 0x30]
add r11d, eax
jmp 0x140146dfe
mov r9d, dword [rdi + 0x6c]
movzx eax, byte [r14 + 0x36]
mov rcx, rdi
movsx r8d, word [r14 + 0x30]
mov rdx, qword [r14 + 0x40]
mov byte [rsp + 0x28], al
mov dword [rsp + 0x20], r13d
call fcn.140146420
mov r11d, eax
jmp 0x140146dfe
mov r9d, r13d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call fcn.14011bf70
jmp 0x140146dfb
mov rdx, qword [r14 + 8]
mov r9d, r13d
xor r8d, r8d
mov rcx, rsi
call fcn.14011c1b0
jmp 0x140146dfb
mov rbx, qword [r14 + 8]
xor r8d, r8d
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r8 + 0x61]
call fcn.140167a30
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x140146f21
cmp byte [rcx + 0x51], r12b
jne 0x140146f21
test eax, eax
jns 0x140146ec4
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.1401255e0
mov qword [rdi + 0x10], r12
test rbx, rbx
jne 0x140146eef
mov byte [rdi + 1], r12b
jmp 0x140146dfb
mov r15, 0xffffffffffffffff
inc r15
cmp byte [rbx + r15], r12b
jne 0x140146ef6
mov rcx, qword [rsi]
and r15d, 0x3fffffff
mov r8d, r15d
mov rdx, rbx
call fcn.140142330
mov qword [rdi + 0x10], rax
mov byte [rdi + 1], 0xff
jmp 0x140146dfb
mov r8, rbx
xor edx, edx
call fcn.1401255e0
jmp 0x140146dfb
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, r13d
lea edx, [r8 + 0x1a]
jmp 0x140146df3
mov rdx, qword [r14 + 8]
mov r15, 0xffffffffffffffff
add rdx, 2
jne 0x140146f5a
mov eax, r12d
jmp 0x140146f6e
mov rax, r15
nop dword [rax]
inc rax
cmp byte [rdx + rax], r12b
jne 0x140146f60
and eax, 0x3fffffff
mov rcx, qword [rsi]
lea ebx, [rax - 1]
mov r8d, ebx
call fcn.14014ee50
mov rdi, rax
mov dword [rsp + 0x20], r12d
mov eax, ebx
mov r9d, r13d
cdq
mov rcx, rsi
sub eax, edx
mov edx, 0x1c
sar eax, 1
mov r8d, eax
call fcn.140167a30
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x140146ff4
cmp byte [rcx + 0x51], r12b
jne 0x140146ff4
test eax, eax
jns 0x140146fb9
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1401255e0
mov r11d, r13d
test rdi, rdi
jne 0x140146fe7
mov qword [rbx + 0x10], r12
mov byte [rbx + 1], r12b
jmp 0x140146dfe
mov qword [rbx + 0x10], rdi
mov byte [rbx + 1], r15b
jmp 0x140146dfe
mov r8, rdi
mov edx, r15d
call fcn.1401255e0
jmp 0x140146dfb
movsx r8d, word [r14 + 0x30]
mov r9d, r13d
mov edx, 0x1d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.140167a30
mov rax, qword [r14 + 8]
cmp byte [rax + 1], r12b
je 0x140146dfb
movsx rcx, word [r14 + 0x30]
mov rax, qword [rdi + 0x208]
mov r8, qword [rsi + 8]
mov rdi, qword [rax + rcx*8 - 8]
mov rcx, qword [rsi]
test r8, r8
je 0x14014708c
cmp byte [rcx + 0x51], r12b
jne 0x14014708c
movsxd rax, dword [rsi + 0x3c]
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 - 0x17]
mov r8, qword [rbx - 8]
call fcn.1401255e0
mov r11d, r13d
test rdi, rdi
jne 0x14014707f
mov qword [rbx - 8], r12
mov byte [rbx - 0x17], r12b
jmp 0x140146dfe
mov qword [rbx - 8], rdi
mov byte [rbx - 0x17], 0xfe
jmp 0x140146dfe
mov r8, rdi
mov edx, 0xfffffffe
call fcn.1401255e0
jmp 0x140146dfb
mov r11d, dword [r14 + 0x2c]
jmp 0x140146dfe
mov rdx, qword [r14 + 0x10]
mov rcx, rdi
call fcn.140146d10
mov r11d, eax
jmp 0x140146dfe
mov rdx, qword [r14 + 0x10]
mov rcx, rdi
call fcn.140146d10
mov dword [rbp + 0x70], eax
cmp eax, r13d
je 0x1401470eb
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov r8d, eax
mov edx, 0x20
mov rcx, rsi
call fcn.140167a30
mov dword [rbp + 0x70], r13d
mov rcx, qword [r14 + 8]
xor edx, edx
call fcn.140138450
movsx r9d, al
mov r8d, r13d
mov edx, 0x28
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.140167a30
mov r11d, dword [rbp + 0x70]
mov r8d, 1
mov edx, r11d
mov rcx, rdi
call fcn.140145c80
jmp 0x140146dfe
mov rdx, qword [r14 + 0x10]
lea r8, [rbp + 0x88]
mov rcx, rdi
call fcn.140147f70
mov rdx, qword [r14 + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.140147f70
mov r9d, r15d
mov dword [rsp + 0x38], 0x20
mov r8, qword [r14 + 0x18]
mov rcx, rdi
mov rdx, qword [r14 + 0x10]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.14011bb30
jmp 0x140147a13
mov rdx, qword [r14 + 0x10]
lea r8, [rbp + 0x88]
mov rcx, rdi
call fcn.140147f70
mov rdx, qword [r14 + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.140147f70
cmp r15d, 0x49
mov dword [rsp + 0x38], 0xa0
mov r9d, r12d
sete r9b
add r9d, 0x4e
jmp 0x14014715a
mov rdx, qword [r14 + 0x10]
lea r8, [rbp + 0x88]
mov rcx, rdi
call fcn.140147f70
mov rdx, qword [r14 + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.140147f70
mov r9d, ebx
mov dword [rsp + 0x20], r13d
mov r8d, eax
mov edx, r15d
mov rcx, rsi
call fcn.140167a30
jmp 0x140147a13
mov rdx, qword [r14 + 0x10]
movzx eax, byte [rdx]
cmp al, 0x84
jne 0x14014721d
mov r9d, r13d
mov r8d, 1
mov rcx, rdi
call fcn.14011bf70
jmp 0x140147a13
cmp al, 0x85
jne 0x14014723b
mov rdx, qword [rdx + 8]
mov r9d, r13d
mov r8d, 1
mov rcx, rsi
call fcn.14011c1b0
jmp 0x140147a13
lea r8, [rbp + 0x88]
mov byte [rbp - 0x80], 0x84
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x7c], 0x4400
mov rcx, rdi
call fcn.140147f70
mov rdx, qword [r14 + 0x10]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.140147f70
mov r9d, ebx
mov dword [rsp + 0x20], r13d
mov r8d, eax
mov edx, 0x5a
mov rcx, rsi
call fcn.140167a30
jmp 0x140147a13
mov rdx, qword [r14 + 0x10]
lea r8, [rbp + 0x88]
mov rcx, rdi
call fcn.140147f70
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov r8d, eax
mov edx, r15d
mov rcx, rsi
call fcn.140167a30
jmp 0x140147a13
mov edx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
mov dword [rsp + 0x20], r12d
mov r9d, r13d
mov rcx, rsi
lea r8d, [rdx - 0x16]
call fcn.140167a30
mov rdx, qword [r14 + 0x10]
lea r8, [rbp + 0x88]
mov rcx, rdi
call fcn.140147f70
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, eax
mov edx, r15d
mov rcx, rsi
call fcn.140167a30
xor r8d, r8d
mov ebx, eax
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r8 + 0x17]
call fcn.140167a30
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x140147329
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
jmp 0x140147a13
mov rdx, qword [r14 + 0x38]
test rdx, rdx
jne 0x140147359
mov r8, qword [r14 + 8]
lea rdx, str.misuse_of_aggregate:__s__
mov rcx, rdi
call fcn.140144b90
jmp 0x140146dfb
movsx rax, word [r14 + 0x32]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x30]
mov r11d, dword [rax + rcx*8 + 0x10]
jmp 0x140146dfe
test dword [r14 + 4], 0x4000
movzx edx, byte [r10 + 0x4e]
mov dword [rbp + 0x88], r12d
mov qword [rsp + 0x48], r12
je 0x1401473b1
mov qword [rsp + 0x58], r12
mov ebx, r12d
mov rcx, qword [r14 + 8]
mov r15, 0xffffffffffffffff
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x78], rcx
test rcx, rcx
jne 0x1401473c3
mov eax, r12d
jmp 0x1401473d4
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140147390
mov ebx, dword [rax]
jmp 0x140147393
mov rax, r15
inc rax
cmp byte [rcx + rax], r12b
jne 0x1401473c6
and eax, 0x3fffffff
mov byte [rsp + 0x28], r12b
mov r9d, ebx
mov byte [rsp + 0x20], dl
mov r8d, eax
mov rdx, rcx
mov qword [rsp + 0x68], rax
mov rcx, r10
call fcn.140149990
mov qword [rsp + 0x60], rax
mov rdx, rax
test rax, rax
je 0x1401477d6
cmp qword [rax + 0x18], r12
je 0x1401477d6
movzx eax, word [rax + 2]
mov ecx, 0x200
test cx, ax
je 0x1401474e9
mov rcx, rsi
call fcn.1401704c0
mov r14, qword [rsp + 0x58]
mov r8d, r13d
mov rcx, rdi
mov dword [rbp + 0x80], eax
mov rdx, qword [r14 + 8]
mov rdx, qword [rdx]
call fcn.1401461e0
cmp ebx, 1
jle 0x1401474b9
mov eax, 0x28
lea r15d, [rbx - 1]
mov ebx, eax
nop word [rax + rax]
mov r9d, dword [rbp + 0x80]
mov r8d, r13d
mov edx, 0x4d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.140167a30
mov r8d, 1
mov edx, r13d
mov rcx, rdi
call fcn.140145c80
inc dword [rdi + 0x70]
mov r8d, r13d
mov rdx, qword [r14 + 8]
mov rdx, qword [rbx + rdx]
call fcn.1401461e0
mov rcx, rdi
call fcn.140145a00
lea rbx, [rbx + 0x28]
sub r15, 1
jne 0x140147460
mov r15, 0xffffffffffffffff
sub r15d, dword [rbp + 0x80]
mov rdx, qword [rsi + 0x30]
js 0x1401474dc
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x1401474dc
mov eax, dword [rsi + 0x3c]
movsxd rcx, r15d
mov dword [r8 + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [rdx + 0x64], eax
jmp 0x140146dfb
mov ecx, 0x400
test cx, ax
je 0x140147512
mov rdx, qword [rsp + 0x58]
mov r8d, r13d
mov rcx, rdi
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140146d10
mov r11d, eax
jmp 0x140146dfe
mov r15d, r12d
test ebx, ebx
jle 0x14014759d
mov r13, qword [rsp + 0x58]
mov rsi, r12
mov r14d, r12d
cmp r15d, 0x20
jge 0x14014754f
mov rax, qword [r13 + 8]
xor r8d, r8d
mov rcx, qword [rsi + rax]
lea edx, [r8 + 1]
call fcn.140122080
mov rdx, qword [rsp + 0x60]
test eax, eax
je 0x14014754f
bts r14d, r15d
test byte [rdx + 2], 0x20
je 0x140147572
test r12, r12
jne 0x140147572
mov rdx, qword [r13 + 8]
mov rcx, rdi
mov rdx, qword [rdx + rsi]
call fcn.1401480e0
mov rdx, qword [rsp + 0x60]
mov r12, rax
inc r15d
add rsi, 0x28
cmp r15d, ebx
jl 0x140147528
mov rsi, qword [rsp + 0x70]
mov r13d, dword [rbp + 0x80]
mov qword [rsp + 0x48], r12
xor r12d, r12d
mov dword [rbp + 0x88], r14d
mov r14, qword [rbp + 0x78]
mov rcx, qword [rsp + 0x58]
mov r15d, dword [rbp + 0x88]
test rcx, rcx
je 0x140147631
test r15d, r15d
jne 0x1401475db
mov r9d, dword [rdi + 0x44]
mov r8d, dword [rdi + 0x48]
mov dword [rbp + 0x80], r8d
cmp ebx, r9d
jg 0x1401475db
lea eax, [r8 + rbx]
sub r9d, ebx
mov dword [rdi + 0x48], eax
mov dword [rdi + 0x44], r9d
jmp 0x1401475ee
mov eax, dword [rdi + 0x54]
lea r8d, [rax + 1]
add eax, ebx
mov dword [rdi + 0x54], eax
mov dword [rbp + 0x80], r8d
movzx r9d, word [rdx + 2]
test r9b, 0xc0
je 0x140147611
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
movzx eax, byte [rdx]
add al, 0x66
test al, 0xfd
jne 0x140147611
and r9b, 0xc0
mov byte [rdx + 0x36], r9b
inc dword [rdi + 0x70]
mov rdx, rcx
mov rcx, rdi
mov r9b, 3
call fcn.1401462d0
mov rcx, rdi
call fcn.140145a00
mov rcx, qword [rsp + 0x58]
jmp 0x140147638
mov dword [rbp + 0x80], r12d
cmp ebx, 2
jl 0x140147663
test byte [r14 + 4], 0x80
je 0x140147663
mov r9, qword [rcx + 8]
mov r9, qword [r9 + 0x28]
mov rdx, qword [rsp + 0x60]
mov r8d, ebx
mov rcx, qword [rsp + 0x50]
call fcn.140173990
mov r14, rax
jmp 0x140147675
test ebx, ebx
jle 0x140147670
mov r9, qword [rcx + 8]
mov r9, qword [r9]
jmp 0x14014764c
mov r14, qword [rsp + 0x60]
test byte [r14 + 2], 0x20
je 0x14014771b
cmp qword [rsp + 0x48], 0
jne 0x140147696
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x22]
call fcn.140167a30
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x14014770c
cmp byte [rcx + 0x51], 0
jne 0x14014770c
test eax, eax
jns 0x1401476c8
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rax, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rax + 0x10]
mov qword [rbp + 0x88], rax
call fcn.1401255e0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x88]
test rax, rax
jne 0x140147702
mov qword [rcx + 0x10], r12
mov byte [rcx + 1], al
jmp 0x14014771b
mov qword [rcx + 0x10], rax
mov byte [rcx + 1], 0xfc
jmp 0x14014771b
mov r8, qword [rsp + 0x48]
mov edx, 0xfffffffc
call fcn.1401255e0
mov r12d, dword [rbp + 0x80]
mov r8d, r15d
mov r9d, r12d
mov dword [rsp + 0x20], r13d
mov edx, 0x23
mov rcx, rsi
call fcn.140167a30
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x14014777c
cmp byte [rcx + 0x51], 0
jne 0x14014777c
test eax, eax
jns 0x140147755
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1401255e0
mov qword [rbx + 0x10], r14
mov byte [rbx + 1], 0xfb
mov ebx, dword [rsp + 0x40]
jmp 0x140147789
mov r8, r14
mov edx, 0xfffffffb
call fcn.1401255e0
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14014779e
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], bl
test ebx, ebx
je 0x140147e70
test r15d, r15d
jne 0x140147e70
mov r8d, ebx
mov edx, r12d
mov rcx, rdi
call fcn.140145c80
mov r11d, dword [rbp + 0x70]
cmp ebx, dword [rdi + 0x44]
jle 0x140146dfe
mov dword [rdi + 0x44], ebx
mov dword [rdi + 0x48], r12d
jmp 0x140146dfe
mov r9, qword [rsp + 0x78]
lea rdx, str.unknown_function:__.s__
mov r8d, dword [rsp + 0x68]
mov rcx, rdi
call fcn.140144b90
jmp 0x140146dfb
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call fcn.14013f960
mov r11d, eax
jmp 0x140146dfe
mov rcx, rsi
call fcn.1401704c0
mov rcx, rsi
mov ebx, eax
call fcn.1401704c0
xor r8d, r8d
mov dword [rbp + 0x80], eax
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
mov r15d, eax
lea edx, [r8 + 0x1a]
call fcn.140167a30
mov r9d, r15d
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call fcn.140146670
mov edx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
mov dword [rsp + 0x20], r12d
mov r9d, r13d
mov rcx, rsi
lea r8d, [rdx - 0x16]
call fcn.140167a30
mov r8, qword [rsi + 0x30]
mov r15, 0xffffffffffffffff
mov eax, r15d
sub eax, ebx
js 0x140147890
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x140147890
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
xor r9d, r9d
dec eax
mov dword [rsp + 0x20], r12d
mov dword [r8 + 0x64], eax
mov rcx, rsi
mov r8d, r13d
lea edx, [r9 + 0x25]
call fcn.140167a30
sub r15d, dword [rbp + 0x80]
mov r8, qword [rsi + 0x30]
js 0x1401478d2
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1401478d2
mov eax, dword [rsi + 0x3c]
movsxd rcx, r15d
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
jmp 0x140146dfb
mov rbx, qword [r14 + 0x10]
lea r8, [rbp + 0x88]
mov rax, qword [r14 + 0x20]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x70], rbx
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
mov r14, qword [rax]
mov qword [rbp + 0x70], r14
call fcn.140147f70
lea r8, [rsp + 0x40]
mov dword [rbp + 0x80], eax
mov rdx, r14
mov rcx, rdi
call fcn.140147f70
movzx ecx, byte [rdi + 0x1f]
mov edx, eax
test cl, cl
jne 0x14014793f
inc dword [rdi + 0x54]
mov r15d, dword [rdi + 0x54]
inc dword [rdi + 0x54]
mov r14d, dword [rdi + 0x54]
jmp 0x140147965
sub cl, 1
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r15d, dword [rdi + rax*4 + 0x24]
jne 0x140147958
inc dword [rdi + 0x54]
mov r14d, dword [rdi + 0x54]
jmp 0x140147965
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0x24]
mov eax, dword [rbp + 0x80]
mov r9d, 0x53
mov r8, qword [rbp + 0x70]
mov rcx, rdi
mov dword [rsp + 0x38], 0x20
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], edx
mov rdx, rbx
mov dword [rsp + 0x20], eax
call fcn.14011bb30
mov rbx, qword [rsp + 0x78]
mov rcx, rdi
mov edx, dword [rsp + 0x40]
mov rbx, qword [rbx + 0x28]
call fcn.14015cda0
lea r8, [rsp + 0x40]
mov rdx, rbx
call fcn.140147f70
mov rdx, qword [rsp + 0x70]
mov r9d, 0x51
mov dword [rsp + 0x38], 0x20
mov r8, rbx
mov dword [rsp + 0x30], r14d
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x80]
mov dword [rsp + 0x20], eax
call fcn.14011bb30
mov r9d, r14d
mov dword [rsp + 0x20], r13d
mov r8d, r15d
mov edx, 0x48
mov rcx, rsi
call fcn.140167a30
mov edx, r15d
mov rcx, rdi
call fcn.14015cda0
mov edx, r14d
call fcn.14015cda0
cmp dword [rbp + 0x88], r12d
je 0x140147a58
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x140147a58
mov ecx, r12d
lea rax, [rdi + 0x88]
mov edx, dword [rbp + 0x88]
cmp dword [rax + 0xc], edx
je 0x140147a54
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140147a31
movzx eax, r8b
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
jmp 0x140147a58
mov byte [rax + 6], 1
mov r11d, r13d
cmp dword [rsp + 0x40], r12d
je 0x140146dfe
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x140146dfe
lea rax, [rdi + 0x88]
nop word [rax + rax]
mov ecx, dword [rsp + 0x40]
cmp dword [rax + 0xc], ecx
je 0x140147aa5
inc r12d
add rax, 0x14
cmp r12d, 0xa
jl 0x140147a80
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], ecx
inc byte [rdi + 0x1f]
jmp 0x140146dfe
mov byte [rax + 6], 1
jmp 0x140146dfe
mov rbx, qword [r14 + 0x40]
mov r9d, r13d
movsx eax, word [r14 + 0x30]
mov edx, 0x86
mov dword [rsp + 0x20], r12d
movsx ecx, word [rbx + 0x3e]
inc ecx
lea r8d, [rax + 1]
imul ecx, dword [r14 + 0x2c]
add r8d, ecx
mov rcx, rsi
call fcn.140167a30
movzx eax, word [r14 + 0x30]
test ax, ax
js 0x140146dfb
movsx rax, ax
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
add rcx, rcx
cmp byte [rax + rcx*8 + 0x29], 0x45
jne 0x140146dfb
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
lea edx, [r9 + 0x27]
jmp 0x140146df3
cmp qword [rdi + 0x1c8], r12
jne 0x140147b39
lea rdx, str.RAISE___may_only_be_used_within_a_trigger_program
mov rcx, rdi
call fcn.140144b90
xor eax, eax
jmp 0x140146e01
movzx eax, byte [r14 + 1]
cmp al, 2
jne 0x140147b5c
mov rax, qword [rdi + 0x1c0]
mov rcx, rdi
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
movzx eax, byte [r14 + 1]
mov rbx, qword [r14 + 8]
cmp al, 4
jne 0x140147bde
mov r9d, 4
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x12]
call fcn.140167a30
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x140146f21
cmp byte [rcx + 0x51], r12b
jne 0x140146f21
test eax, eax
jns 0x140147ba1
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.1401255e0
mov qword [rdi + 0x10], r12
test rbx, rbx
je 0x140146ee6
mov r15, 0xffffffffffffffff
nop
inc r15
cmp byte [rbx + r15], r12b
jne 0x140147bd0
jmp 0x140146eff
mov rcx, rdi
movsx esi, al
call fcn.14014ebd0
mov r14, rax
cmp esi, 2
jne 0x140147c03
mov rcx, qword [rdi + 0x1c0]
test rcx, rcx
cmovne rdi, rcx
mov byte [rdi + 0x21], 1
mov r9d, esi
mov dword [rsp + 0x20], r12d
mov edx, reloc.WSOCK32.dll_shutdown
mov r8d, 0x713
mov rcx, r14
call fcn.140167a30
xor r9d, r9d
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.140167d80
jmp 0x140146dfb
mov rax, qword [r14 + 0x20]
mov rcx, rsi
mov qword [rsp + 0x70], rax
mov rbx, qword [rax + 8]
movsxd r15, dword [rax]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x40], r15d
call fcn.1401704c0
mov r9, qword [r14 + 0x10]
mov dword [rbp + 0x80], eax
mov qword [rsp + 0x68], r9
test r9, r9
je 0x140147cd5
movups xmm0, xmmword [r9]
lea r8, [rbp + 0x88]
mov rdx, r9
mov rcx, rdi
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [r9 + 0x10]
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [r9 + 0x20]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [r9 + 0x30]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [r9 + 0x40]
movsd qword [rbp - 0x40], xmm0
call fcn.140147f70
movzx ecx, byte [rbp - 0x80]
lea r10, [rbp - 0x30]
and dword [rbp - 0x7c], 0xffffefff
mov r9, qword [rsp + 0x68]
mov dword [rbp - 0x54], eax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x4a], cl
mov byte [rbp - 0x80], 0x9f
mov byte [rbp - 0x30], 0x4f
jmp 0x140147cd8
mov r10, r12
lea rax, [r15 - 1]
mov r15, 0xffffffffffffffff
mov qword [rsp + 0x78], rax
test rax, rax
jle 0x140147e14
lea rdx, [rax - 1]
shr rdx, 1
inc rdx
mov qword [rbp + 0x88], rdx
inc dword [rdi + 0x70]
mov rcx, qword [rbx]
test r9, r9
mov rax, qword [rbp - 0x18]
mov r14, qword [rsi + 0x30]
cmovne rax, rcx
mov qword [rbp - 0x18], rax
cmove r10, rcx
mov qword [rsp + 0x48], r10
movsxd rbx, dword [r14 + 0x78]
lea eax, [rbx + 1]
mov dword [r14 + 0x78], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x140147d5f
mov rdx, qword [r14 + 0x80]
lea eax, [rbx*2 + 1]
mov rcx, qword [r14]
movsxd r8, eax
shl r8, 2
call fcn.140142210
mov r10, qword [rsp + 0x48]
mov qword [r14 + 0x80], rax
mov rcx, qword [r14 + 0x80]
test rcx, rcx
je 0x140147d6f
mov dword [rcx + rbx*4], r15d
not ebx
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, ebx
mov rdx, r10
mov rcx, rdi
call fcn.1401485a0
mov rdx, qword [rsp + 0x50]
mov r8d, r13d
mov rcx, rdi
mov rdx, qword [rdx + 0x28]
call fcn.1401461e0
mov r14d, dword [rbp + 0x80]
xor r8d, r8d
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r8 + 0xe]
call fcn.140167a30
mov rcx, rdi
call fcn.140145a00
mov r9, qword [rsi + 0x30]
not ebx
test ebx, ebx
js 0x140147dde
mov rdx, qword [r9 + 0x80]
test rdx, rdx
je 0x140147dde
mov eax, dword [rsi + 0x3c]
movsxd rcx, ebx
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
mov rbx, qword [rsp + 0x50]
dec eax
mov r10, qword [rsp + 0x48]
add rbx, 0x50
sub qword [rbp + 0x88], 1
mov dword [r9 + 0x64], eax
mov r9, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
jne 0x140147d02
mov rax, qword [rsp + 0x78]
jmp 0x140147e1b
mov r14d, dword [rbp + 0x80]
test byte [rsp + 0x40], 1
je 0x140147e51
inc dword [rdi + 0x70]
lea rax, [rax + rax*4]
mov rdx, qword [rsp + 0x70]
mov r8d, r13d
mov rcx, rdi
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + rax*8]
call fcn.1401461e0
mov rcx, rdi
call fcn.140145a00
sub r15d, r14d
jmp 0x1401474c0
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, r13d
mov rcx, rsi
lea edx, [r8 + 0x1a]
call fcn.140167a30
sub r15d, r14d
jmp 0x1401474c0
mov r11d, dword [rbp + 0x70]
jmp 0x140146dfe