Function at 0x140037eb0
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0xf8], ebx
mov qword [rsp + 0x40], rbx
mov word [r11 - 0x58], bx
xor eax, eax
mov qword [r11 - 0x56], rax
mov qword [r11 - 0x4e], rax
mov dword [r11 - 0x46], eax
mov word [r11 - 0x42], ax
mov word [rsp + 0x68], ax
mov qword [r11 - 0x6e], rax
mov qword [r11 - 0x66], rax
mov dword [rsp + 0x7a], eax
mov word [rsp + 0x7e], ax
lea rcx, [r11 - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rdx, qword [rdi + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140037c10
nop
mov word [rsp + 0x68], 8
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140037f39
mov rcx, qword [rax]
jmp 0x140037f3c
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jns 0x140037f64
lea rcx, [rsp + 0x50]
call fcn.140037e50
xor eax, eax
jmp 0x140038215
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14011dd50]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x14011dd30]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140037f9d
lea rcx, [rsp + 0x50]
call fcn.140037e50
xor eax, eax
jmp 0x140038215
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov eax, dword [rdi + 0x18]
neg eax
sbb edx, edx
call qword [r8 + 0x178]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov eax, dword [rdi + 0x18]
neg eax
sbb dx, dx
call qword [r8 + 0x188]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov eax, dword [rdi + 0x10]
neg eax
sbb dx, dx
call qword [r8 + 0x230]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov edx, dword [rdi + 0x20]
call qword [rax + 0xd0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov edx, dword [rdi + 0x24]
call qword [rax + 0xe0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x68]
call qword [rax + 0x1a0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x128]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140038094
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x1400380dd
mov rax, qword [0x140160e18]
mov qword [rsp + 0x58], rax
lea rdx, str.Message_from_Spect
lea rcx, [rsp + 0x58]
call fcn.14002d430
lea rdx, str.orSoft
lea rcx, [rsp + 0x58]
call fcn.14002d580
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
lea rcx, [rsp + 0x58]
call fcn.14002d2c0
cmp dword [rdi + 0x14], 0
je 0x14003812c
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x5c]
sub r11d, r9d
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
sub eax, r8d
mov dword [rsp + 0x30], SafeArrayGetElement
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], eax
or rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400b6200
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
or dx, 0xffff
call qword [rax + 0x148]
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [rdi + 0x1c], 0
je 0x1400381e8
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400381e8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetMessageA]
cmp dword [rsp + 0xa8], 0xf
jne 0x1400381ab
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [rsp + 0xf0], ebx
lea rdx, [rsp + 0xf0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0xf0], eax
jne 0x1400381e3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140038160
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400381f8
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_OleUninitialize]
nop
lea rcx, [rsp + 0x50]
call fcn.140037e50
nop
jmp 0x140038213
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rdi
ret