Function at 0x1400289e0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rbx, qword [rcx]
lea rdx, [rbp - 9]
mov r12, qword [rcx + 0x10]
xor eax, eax
mov qword [rcx + 0x20], rax
mov r15, rcx
xor sil, sil
mov word [rbp - 0x29], 0x15ff
mov rcx, rbx
mov dword [rbp - 0x27], 2
mov word [rbp - 0x23], 0x8eb
mov r14d, eax
mov qword [rbp - 0x21], rax
mov r13d, eax
mov word [rbp - 0x49], 0x25ff
mov edi, eax
mov dword [rbp - 0x47], eax
mov qword [rbp - 0x43], rax
mov qword [rbp - 0x39], 0x25ff0e70
mov qword [rbp - 0x31], rax
mov byte [rbp + 0x67], sil
mov byte [rbp + 0x6f], al
mov qword [rbp + 0x77], rax
call fcn.140027c90
mov r9d, dword [rbp + 0x18]
mov r8d, eax
bt r9d, 0xc
jb 0x140028caa
mov r10, rbx
cmp sil, 5
jb 0x140028a90
mov r8d, SafeArrayGetUBound
mov qword [rbp - 0x43], rbx
lea r10, [rbp - 0x49]
lea r13d, [r8 - 0xd]
jmp 0x140028c14
movzx eax, byte [rbp + 4]
and al, 0xc7
cmp al, 5
jne 0x140028ae6
movzx eax, byte [rbp - 9]
lea rdi, [rbp - 0x19]
mov ecx, r8d
lea r10, [rbp - 0x19]
mov rsi, rbx
mov edx, ebx
rep movsb byte [rdi], byte [rsi]
sub edx, r12d
mov ecx, r9d
add edx, dword [rbp + 0x14]
shr rcx, 2
and ecx, 0xf
sub rax, rcx
mov dword [rbp + rax - 0x1d], edx
cmp byte [rbp + 2], 0xff
jne 0x140028c10
cmp byte [rbp + 6], 4
jne 0x140028c10
mov r13d, 1
jmp 0x140028c10
movzx edx, byte [rbp + 2]
cmp dl, 0xe8
jne 0x140028b10
movsxd rax, dword [rbp + 0xc]
lea r10, [rbp - 0x29]
movzx ecx, byte [rbp - 9]
add rax, rbx
add rcx, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rbp - 0x21], rcx
jmp 0x140028c14
movzx eax, dl
and al, 0xfd
cmp al, 0xe9
jne 0x140028b6e
movzx ecx, byte [rbp - 9]
movsx rax, byte [rbp + 0xc]
add rcx, rbx
cmp dl, 0xeb
je 0x140028b2e
movsxd rax, dword [rbp + 0xc]
add rcx, rax
mov rax, qword [r15]
cmp rax, rcx
ja 0x140028b51
add rax, 5
cmp rcx, rax
jae 0x140028b51
cmp rdi, rcx
mov r14, rcx
cmovae r14, rdi
jmp 0x140028c14
xor r13d, r13d
mov qword [rbp - 0x43], rcx
cmp rbx, r14
lea r10, [rbp - 0x49]
mov r8d, SafeArrayGetUBound
setae r13b
jmp 0x140028c14
movzx esi, byte [rbp + 3]
movzx ecx, dl
and cl, 0xf0
cmp cl, 0x70
je 0x140028ba4
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x140028ba4
movzx eax, sil
and al, 0xf0
cmp al, 0x80
je 0x140028ba4
and dl, 0xfe
cmp dl, 0xc2
jne 0x140028c10
xor r13d, r13d
cmp rbx, r14
setae r13b
jmp 0x140028c10
movzx edi, byte [rbp - 9]
add rdi, rbx
cmp cl, 0x70
je 0x140028bbd
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
movsxd rax, dword [rbp + 0xc]
jne 0x140028bc2
movsx rax, byte [rbp + 0xc]
add rdi, rax
mov rax, qword [r15]
cmp rax, rdi
ja 0x140028be4
add rax, 5
cmp rdi, rax
jae 0x140028be4
cmp qword [rbp + 0x77], rdi
mov r14, rdi
cmovae r14, qword [rbp + 0x77]
jmp 0x140028c10
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x140028caa
cmp dl, 0xf
mov qword [rbp - 0x31], rdi
mov ecx, esi
lea r10, [rbp - 0x39]
cmovne ecx, edx
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
and cl, 0xf
xor cl, 0x71
mov byte [rbp - 0x39], cl
movzx esi, byte [rbp + 0x67]
cmp rbx, r14
jae 0x140028c26
movzx eax, byte [rbp - 9]
cmp r8d, eax
jne 0x140028caa
movzx r12d, byte [rbp + 0x6f]
lea eax, [r8 + r12]
cmp eax, 0x32
ja 0x140028caa
mov eax, dword [r15 + 0x24]
cmp eax, 8
jae 0x140028caa
mov byte [rax + r15 + 0x28], sil
mov rsi, r10
mov eax, dword [r15 + 0x24]
mov ecx, r8d
mov byte [rax + r15 + 0x30], r12b
mov rax, qword [r15 + 0x10]
inc dword [r15 + 0x24]
lea rdi, [rax + r12]
add r12b, r8b
rep movsb byte [rdi], byte [rsi]
movzx esi, byte [rbp + 0x67]
add sil, byte [rbp - 9]
mov byte [rbp + 0x6f], r12b
mov byte [rbp + 0x67], sil
test r13d, r13d
jne 0x140028cc7
movzx ebx, sil
lea rdx, [rbp - 9]
add rbx, qword [r15]
mov rdi, r14
movzx r12d, r12b
mov rcx, rbx
mov qword [rbp + 0x77], r14
add r12, rax
call fcn.140027c90
mov r9d, dword [rbp + 0x18]
mov r8d, eax
bt r9d, 0xc
jae 0x140028a70
xor eax, eax
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp sil, 5
jae 0x140028dca
mov r8, qword [r15]
movzx edi, sil
add rdi, r8
movzx edx, byte [rdi]
test dl, dl
je 0x140028cec
cmp dl, 0x90
je 0x140028cec
cmp dl, 0xcc
jne 0x140028d1a
movzx eax, sil
mov ecx, 1
mov esi, 5
sub esi, eax
cmp esi, ecx
jbe 0x140028dca
mov eax, ecx
cmp byte [rax + rdi], dl
jne 0x140028d16
inc ecx
cmp ecx, esi
jb 0x140028d04
jmp 0x140028dca
movzx esi, byte [rbp + 0x67]
cmp sil, 2
jae 0x140028d61
test dl, dl
je 0x140028d32
cmp dl, 0x90
je 0x140028d32
cmp dl, 0xcc
jne 0x140028caa
movzx eax, sil
mov ecx, 1
mov esi, 2
sub esi, eax
cmp esi, ecx
jbe 0x140028d61
nop word [rax + rax]
mov eax, ecx
cmp byte [rax + rdi], dl
jne 0x140028caa
inc ecx
cmp ecx, esi
jb 0x140028d50
lea rcx, [r8 - 5]
mov r8d, gethostbyname
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [rbp + 0x17], 0x1000
jne 0x140028caa
test byte [rbp + 0x1b], 0xf0
je 0x140028caa
mov rax, qword [r15]
movzx edx, byte [rax - 5]
test dl, dl
je 0x140028da5
cmp dl, 0x90
je 0x140028da5
cmp dl, 0xcc
jne 0x140028caa
mov ecx, 1
add rax, 0xfffffffffffffffc
nop
cmp byte [rax], dl
jne 0x140028caa
inc ecx
inc rax
cmp ecx, 5
jb 0x140028db0
mov dword [r15 + 0x20], 1
mov rcx, qword [r15 + 8]
mov eax, 1
mov qword [rbp - 0x43], rcx
mov ecx, dword [rbp - 0x41]
movsd xmm0, qword [rbp - 0x49]
movzx edx, r12b
add rdx, qword [r15 + 0x10]
mov qword [r15 + 0x18], rdx
movsd qword [rdx], xmm0
mov dword [rdx + 8], ecx
movzx ecx, word [rbp - 0x3d]
mov word [rdx + 0xc], cx
jmp 0x140028cac