Function at 0x14002dbd0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rax, qword [0x140109328]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rax, r9
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x68], r8
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x58], rcx
lea rdx, [0x140106190]
mov r8d, 5
mov rcx, qword [0x140106190]
cmp rcx, rdx
je 0x14002dc5c
test byte [rcx + 0x1c], 1
je 0x14002dc5c
cmp byte [rcx + 0x19], r8b
jb 0x14002dc5c
lea edx, [r8 + 0x3a]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.14000b0f0
xor r15d, r15d
xor eax, eax
mov dword [rsp + 0x50], eax
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x70], rbx
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x78], rdi
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x10]
call sub.msvcrt.dll_memset
xor ecx, ecx
mov byte [rbp], cl
xor eax, eax
mov qword [rbp + 1], rax
mov dword [rbp + 9], eax
mov word [rbp + 0xd], ax
mov byte [rbp + 0xf], al
mov esi, ecx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x78], rcx
mov r14d, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rcx
mov dword [rsp + 0x70], ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x30], rcx
mov dword [rsp + 0x60], ecx
lea rax, [r12 + 0x120]
mov qword [rsp + 0x68], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [r12 + 0x148]
lea r12d, [r15 + 2]
mov r8d, 0x80040378
test rcx, rcx
je 0x14002dd35
call fcn.14001d4a4
jmp 0x14002dd6f
mov r15d, r8d
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002dd6f
test byte [rcx + 0x1c], r12b
je 0x14002dd6f
cmp byte [rcx + 0x19], r12b
jb 0x14002dd6f
mov edx, 0x40
mov r9d, r8d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15d, r15d
js 0x14002eae1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x148], 0
je 0x14002de41
test byte [0x14010bb40], r12b
je 0x14002ddb6
lea rdx, [0x1400dbda8]
call fcn.14000a488
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x70]
mov rdx, r13
mov r13, qword [rsp + 0x58]
mov rcx, qword [r13 + 0x148]
call fcn.14001e588
mov r15d, eax
test byte [0x14010bb40], r12b
je 0x14002ddf4
lea rdx, [0x1400dbd98]
call fcn.14000a488
mov r8d, 0x800403c9
cmp r15d, r8d
jne 0x14002de36
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002de36
test byte [rcx + 0x1c], r12b
je 0x14002de36
cmp byte [rcx + 0x19], r12b
jb 0x14002de36
mov edx, 0x41
mov r9d, r8d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rsp + 0x78]
jmp 0x14002de83
mov r9d, 0x80040378
mov r15d, r9d
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002de7e
test byte [rcx + 0x1c], r12b
je 0x14002de7e
cmp byte [rcx + 0x19], r12b
jb 0x14002de7e
mov edx, 0x42
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov r13, qword [rsp + 0x58]
lea rcx, [r13 + 0x120]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15d, r15d
js 0x14002eae1
cmp qword [rbp - 0x68], 0
jne 0x14002dedb
mov r15d, 0x800403fa
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x43
jmp 0x14002e3ca
mov rax, qword [rbp - 0x60]
test rax, rax
jne 0x14002df34
mov r8d, 0x80040208
mov r15d, r8d
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x44
mov r9d, r8d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov rax, qword [rbp - 0x60]
test r15d, r15d
js 0x14002eae1
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r15d, eax
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
cmp rcx, rdx
je 0x14002df9d
test byte [rcx + 0x1c], r12b
je 0x14002df9d
movzx r8d, byte [rcx + 0x19]
mov edx, r12d
test eax, eax
mov eax, 5
cmovns edx, eax
cmp r8d, edx
jl 0x14002df96
lea edx, [rax + 0x40]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
test r15d, r15d
jns 0x14002dfd4
mov dword [rsp + 0x50], r15d
mov r15d, 0x800403fe
cmp rcx, rdx
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x46
jmp 0x14002e3ca
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14002e097
call fcn.1400cb4ec
test al, al
jne 0x14002e097
lea rcx, [r13 + 0x120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [r13 + 0x148], 0
je 0x14002e048
test byte [0x14010bb40], r12b
je 0x14002e01e
xor r8d, r8d
lea rdx, [0x1400dbd28]
call fcn.14002426c
lea rdx, [rbp - 0x80]
call fcn.14000d200
mov r15d, eax
test byte [0x14010bb40], r12b
je 0x14002e042
mov r8d, eax
lea rdx, [0x1400dbd18]
call fcn.14002426c
mov rsi, qword [rbp - 0x80]
jmp 0x14002e088
mov r8d, 0x80040378
mov r15d, r8d
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002e088
test byte [rcx + 0x1c], r12b
je 0x14002e088
cmp byte [rcx + 0x19], r12b
jb 0x14002e088
mov edx, 0x48
mov r9d, r8d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
lea rcx, [r13 + 0x120]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14002e0eb
mov dword [rsp + 0x50], 0xc00d2767
mov r8d, 0x80040378
mov r15d, r8d
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x47
mov r9d, r8d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rax, qword [rsi]
lea r8, [rbp - 0x50]
lea rdx, [0x1400de1b0]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002e162
test byte [rcx + 0x1c], r12b
je 0x14002e162
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e162
lea edx, [r8 + 0x44]
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
test r15d, r15d
js 0x14002eae1
test byte [0x14010bb40], r12b
je 0x14002e183
xor r8d, r8d
lea rdx, [0x1400dbd08]
call fcn.14002426c
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x38]
mov rdx, qword [rbp - 0x68]
mov r8d, dword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov r15d, eax
test byte [0x14010bb40], r12b
je 0x14002e1c8
mov r8d, eax
lea rdx, [0x1400dbcf8]
call fcn.14002426c
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
cmp rcx, rdx
je 0x14002e21e
test byte [rcx + 0x1c], r12b
je 0x14002e21e
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e217
lea edx, [r8 + 0x45]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
test r15d, r15d
jns 0x14002e255
mov dword [rsp + 0x50], r15d
mov r15d, 0x800403fa
cmp rcx, rdx
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x4b
jmp 0x14002e3ca
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
cmp rcx, rdx
je 0x14002e2cc
test byte [rcx + 0x1c], r12b
je 0x14002e2cc
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e2c5
lea edx, [r8 + 0x47]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.1400054b8
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
test r15d, r15d
js 0x14002e2d8
cmp dword [rsp + 0x60], 0
jne 0x14002e31a
mov dword [rsp + 0x50], r15d
mov eax, 0x800403fa
mov r15d, eax
cmp rcx, rdx
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x4d
mov r9d, eax
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
mov rax, qword [rax + 0x30]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
cmp rcx, rdx
je 0x14002e398
test byte [rcx + 0x1c], r12b
je 0x14002e398
movzx r8d, byte [rcx + 0x19]
mov edx, r12d
test eax, eax
mov eax, 5
cmovns edx, eax
cmp r8d, edx
jl 0x14002e391
lea edx, [rax + 0x49]
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
test r15d, r15d
jns 0x14002e3e2
mov dword [rsp + 0x50], r15d
mov r15d, 0x800403fa
cmp rcx, rdx
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x4f
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
jmp 0x14002eae1
test byte [0x14010bb40], r12b
je 0x14002e3fa
xor r8d, r8d
lea rdx, [0x1400dbd48]
call fcn.14002426c
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x10], xmm0
mov rax, qword [rsi]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x60]
mov r8, qword [rbp - 0x30]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov r15d, eax
test byte [0x14010bb40], r12b
je 0x14002e44e
mov r8d, eax
lea rdx, [0x1400dbd38]
call fcn.14002426c
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
cmp rcx, rdx
je 0x14002e4a4
test byte [rcx + 0x1c], r12b
je 0x14002e4a4
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e49d
lea edx, [r8 + 0x4b]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
mov eax, 0x80070057
cmp r15d, eax
jne 0x14002e4ef
mov dword [rsp + 0x50], eax
mov eax, 0x800403fa
mov r15d, eax
cmp rcx, rdx
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
mov edx, 0x51
mov r9d, eax
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x50]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002e559
test byte [rcx + 0x1c], r12b
je 0x14002e559
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e559
lea edx, [r8 + 0x4d]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov r15, qword [rbp - 0x48]
mov edx, dword [rbx - 0x10]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
jne 0x14002e580
call fcn.140004e84
int3
mov rcx, qword [0x14010a798]
mov edx, dword [rcx - 0x10]
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rdx, rax
test rax, rax
jne 0x14002e59e
call fcn.140004e84
int3
mov rax, qword [r15]
mov r8, rbx
mov rcx, r15
mov rax, qword [rax + 0x48]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
lea rbx, [0x140106190]
cmp rcx, rbx
je 0x14002e5fc
test byte [rcx + 0x1c], r12b
je 0x14002e5fc
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e5fc
lea edx, [r8 + 0x4e]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rax, qword [rsi]
lea r8, [rbp - 0x78]
lea rdx, [0x1400de1a0]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14002e66c
test byte [rcx + 0x1c], r12b
je 0x14002e66c
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e66c
lea edx, [r8 + 0x4f]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
test r15d, r15d
js 0x14002eae1
lea rcx, [r13 + 0x120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [r13 + 0x148]
test rcx, rcx
je 0x14002e71d
mov r9, qword [rcx + 0x48]
lea r8, [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rcx + 0x50]
call fcn.140043650
mov rbx, rax
test rax, rax
je 0x14002e6c8
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
mov rcx, rbx
call qword [case.0x14006e230.0]
mov r14, rbx
mov qword [rbp - 0x28], rbx
jmp 0x14002e6ce
mov r15d, 0x8007000e
mov rcx, qword [0x140106190]
lea rbx, [0x140106190]
cmp rcx, rbx
je 0x14002e755
test byte [rcx + 0x1c], r12b
je 0x14002e755
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e755
lea edx, [r8 + 0x50]
mov qword [rsp + 0x20], r14
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
jmp 0x14002e755
mov eax, 0x80040378
mov r15d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14002e755
test byte [rcx + 0x1c], r12b
je 0x14002e755
cmp byte [rcx + 0x19], r12b
jb 0x14002e755
mov edx, 0x56
mov r9d, eax
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
lea rcx, [r13 + 0x120]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15d, r15d
js 0x14002eae1
movzx r9d, word [rbp + 0x10]
cmp r12w, r9w
je 0x14002e7be
mov eax, DispGetParam
cmp ax, r9w
je 0x14002e7be
mov r15d, 0x80070057
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14002eae1
test byte [rcx + 0x1c], r12b
je 0x14002eae1
cmp byte [rcx + 0x19], r12b
jb 0x14002eae1
lea edx, [rax + 0x40]
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.14002c830
test r15d, r15d
js 0x14002eae1
mov ecx, 0x2828
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rbp + 0x12], ax
test byte [0x14010bb40], r12b
je 0x14002e7ee
xor r8d, r8d
lea rdx, [0x1400dbce8]
call fcn.14002426c
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
and qword [rsp + 0x40], 0
mov qword [rsp + 0x38], r14
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x80
lea r9, [rbp + 0x10]
mov rdx, qword [rbp - 0x68]
mov r8d, dword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov r15d, eax
test byte [0x14010bb40], r12b
je 0x14002e84e
mov r8d, eax
lea rdx, [0x1400dbcd8]
call fcn.14002426c
mov rcx, qword [0x140106190]
mov r13d, 5
cmp rcx, rbx
je 0x14002e88f
test byte [rcx + 0x1c], r12b
je 0x14002e88f
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
cmovns eax, r13d
cmp edx, eax
jl 0x14002e88f
lea edx, [r13 + 0x53]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
mov rax, qword [rax + 0x30]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14002e8ec
test byte [rcx + 0x1c], r12b
je 0x14002e8ec
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
cmovns eax, r13d
cmp edx, eax
jl 0x14002e8ec
mov edx, 0x59
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov r15d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14002e94a
test byte [rcx + 0x1c], r12b
je 0x14002e94a
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
cmovns eax, r13d
cmp edx, eax
jl 0x14002e94a
mov edx, 0x5a
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
lea r8, [rbp - 0x58]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rbp - 0x20]
call fcn.14002ccac
mov r15d, eax
test eax, eax
js 0x14002eae1
mov ecx, 0x2011
mov rax, qword [rbp - 0x60]
mov word [rax], cx
lea r13, [rax + 8]
mov rdx, r13
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.OLEAUT32.dll_DispGetParam]
mov r15d, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x14002e9d0
test byte [rcx + 0x1c], r12b
je 0x14002e9d0
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002e9d0
lea edx, [r8 + 0x56]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x14002e9f8
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
and qword [rbx + 0xf8], 0
lea rdx, [rbx + 0xf8]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_DispGetParam]
mov r15d, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14002ea54
test byte [rcx + 0x1c], r12b
je 0x14002ea54
movzx edx, byte [rcx + 0x19]
mov eax, r12d
test r15d, r15d
mov r8d, 5
cmovns eax, r8d
cmp edx, eax
jl 0x14002ea54
lea edx, [r8 + 0x57]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
test r15d, r15d
js 0x14002eae1
mov rcx, qword [rbx + 0x100]
test rcx, rcx
je 0x14002ea77
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
and qword [rbx + 0x100], 0
lea rdx, [rbx + 0x100]
mov rcx, qword [r13]
call qword [sym.imp.OLEAUT32.dll_DispGetParam]
mov r15d, eax
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x14002ead8
test byte [r10 + 0x1c], r12b
je 0x14002ead8
movzx edx, byte [r10 + 0x19]
mov eax, r12d
test r15d, r15d
mov ecx, 5
cmovns eax, ecx
cmp edx, eax
jl 0x14002ead8
lea edx, [rcx + 0x58]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
mov r10, qword [0x140106190]
test r15d, r15d
jns 0x14002ebc9
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r9d, eax
mov r10, qword [0x140106190]
lea rcx, [0x140106190]
cmp r10, rcx
je 0x14002eb40
test byte [r10 + 0x1c], r12b
je 0x14002eb40
mov ecx, r12d
test eax, eax
mov eax, 5
cmovns ecx, eax
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jl 0x14002eb39
mov edx, 0x5e
lea r8, [0x1400de1c0]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
mov r10, qword [0x140106190]
lea rcx, [0x140106190]
mov eax, 0xc00d28b1
cmp r15d, eax
jne 0x14002eb50
mov dword [rsp + 0x50], eax
jmp 0x14002eb93
mov eax, 0xc00d28a1
cmp r15d, eax
jne 0x14002eb66
mov dword [rsp + 0x50], eax
mov r15d, 0x800403fb
jmp 0x14002eb99
mov eax, 0xc00d28a0
cmp r15d, eax
jne 0x14002eb7c
mov dword [rsp + 0x50], eax
mov r15d, 0x800403fa
jmp 0x14002eb99
cmp r15d, 0x8007000e
je 0x14002eb8e
cmp r15d, 0x80004005
jne 0x14002eb99
mov dword [rsp + 0x50], r15d
mov r15d, 0x800403fe
cmp r10, rcx
je 0x14002ebc9
test byte [r10 + 0x1c], r12b
je 0x14002ebc9
cmp byte [r10 + 0x19], r12b
jb 0x14002ebc9
mov edx, 0x5f
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
mov r10, qword [0x140106190]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14002ebe4
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
and qword [rbp - 0x58], 0
mov r10, qword [0x140106190]
or ebx, 0xffffffff
cmp dword [rdi - 0x10], 0
je 0x14002ee62
cmp r15d, 0x800403c9
je 0x14002ee62
mov r13, qword [rsp + 0x68]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test r15d, r15d
jns 0x14002ee2c
mov esi, dword [rsp + 0x50]
test esi, esi
cmove esi, r15d
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov r8d, esi
lea rdx, str.0x_08x
lea rcx, [rsp + 0x68]
call fcn.140008d6c
mov rbx, qword [rsp + 0x68]
cmp esi, 0x80040208
je 0x14002edb8
cmp esi, 0xc00d2767
je 0x14002ed7a
cmp esi, 0xc00d28a0
je 0x14002ed38
cmp esi, 0xc00d28a1
je 0x14002ecf3
cmp esi, 0xc00d28b0
je 0x14002edb8
mov edx, 1
lea rcx, [0x1400dc1c8]
cmp esi, 0xc00d28b1
je 0x14002ecba
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
mov edi, 0xc00d3822
jmp 0x14002edd4
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov edi, 0xc00d3821
mov r8d, edi
call fcn.1400300a8
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x148], rsi
je 0x14002edf9
mov r8d, 0xc00d28b1
jmp 0x14002edf1
mov edx, 1
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov edi, 0xc00d3820
mov r8d, edi
lea rcx, [0x1400dc1c8]
call fcn.1400300a8
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x148], rsi
je 0x14002edf9
mov r8d, 0xc00d28a1
jmp 0x14002edf1
mov edx, 1
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov edi, 0xc00d381f
mov r8d, edi
lea rcx, [0x1400dc1c8]
call fcn.1400300a8
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x148], rsi
je 0x14002edf9
mov r8d, 0xc00d28a0
jmp 0x14002edf1
mov edx, 1
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov edi, 0xc00d3823
mov r8d, edi
lea rcx, [0x1400dc1c8]
call fcn.1400300a8
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x148], rsi
je 0x14002edf9
mov r8d, 0xc00d2767
jmp 0x14002edf1
mov edx, 1
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
mov edi, 0xc00d381e
lea rcx, [0x1400dc1c8]
mov r9, rbx
mov r8d, edi
call fcn.1400300a8
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x148], 0
je 0x14002edf9
mov r8d, esi
mov edx, edi
call fcn.1400153c8
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14002ee1d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x28]
jmp 0x14002ee52
mov edx, 4
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, 0x400d3781
lea rcx, [0x1400dc1c8]
call fcn.1400300a8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r10, qword [0x140106190]
test r15d, r15d
jns 0x14002ee76
mov ecx, r15d
call fcn.14003722c
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x14002eeb6
test byte [r10 + 0x1c], 1
je 0x14002eeb6
movzx eax, byte [r10 + 0x19]
test r15d, r15d
mov ecx, 5
cmovns r12d, ecx
cmp eax, r12d
jl 0x14002eeb6
lea edx, [rcx + 0x5b]
mov r9d, r15d
lea r8, [0x1400de1c0]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
nop
test r14, r14
je 0x14002eecc
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14002eee3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002eefa
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002ef11
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14002ef28
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002ef3f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
test rsi, rsi
je 0x14002ef55
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14002ef77
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14002ef9c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov eax, r15d
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400cc650
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret