Function at 0x140001848
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ecx, 0x8007
mov rsi, r8
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.14000fdac
mov rcx, rax
call fcn.1400106c4
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 0x40]
call fcn.140021140
xor r12d, r12d
lea rax, vtable.CInternetExplorerClassFactory.0
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x29], r12d
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r12
mov dword [rbp - 0x11], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x39], eax
mov rax, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x35]
lea ebx, [r12 + 4]
lea r9d, [r12 + 1]
lea rdx, [rbp - 0x49]
lea rcx, [0x14003c668]
mov r8d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
lea rax, [rbp - 0x31]
lea r9d, [r12 + 1]
lea rdx, [rbp - 0x49]
lea rcx, [0x14003c678]
mov r8d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
lea ecx, [rbx + 0x14]
call fcn.14001f3a8
mov rbx, rax
test rax, rax
je 0x1400019a1
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rbx], rax
mov qword [rbx + 8], rax
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x21], rax
test rax, rax
je 0x1400019a1
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r8, [0x14000142c]
mov dword [rbx + 8], eax
lea rax, [rbp - 0x11]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
mov dword [rbx + 0xc], 0x3c
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x19], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r15b, r12b
mov edi, r12d
test rsi, rsi
je 0x140001a30
lea rdx, [rbp - 0x59]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x140001a30
mov ebx, r12d
cmp dword [rbp - 0x59], r12d
jle 0x140001a27
mov r14, rax
mov rdx, qword [r14]
lea rcx, str.__pt
mov r8d, 5
call fcn.14002012c
test eax, eax
je 0x1400019f9
inc ebx
add r14, 8
cmp ebx, dword [rbp - 0x59]
jl 0x1400019d3
jmp 0x140001a27
xor edx, edx
movsxd rbx, ebx
mov rcx, qword [rsi + rbx*8]
lea r8d, [rdx + 0x10]
add rcx, 0xa
call fcn.140020074
mov rdx, qword [rsi + rbx*8]
lea rcx, str._n___param__ws___and_result_d_0x_x__n
mov r9d, eax
mov r8d, eax
mov edi, eax
call fcn.1400012fc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 9]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [0x140052ee8], edi
call qword [sym.imp.USER32.dll_GetMessageW]
mov esi, 0x7e9
jmp 0x140001abe
cmp eax, 0xffffffff
je 0x140001ac2
mov eax, dword [rbp - 1]
cmp eax, esi
jne 0x140001a77
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbp + 0xf], eax
jne 0x140001a74
cmp dword [rbp + 7], edi
jne 0x140001a74
test edi, edi
je 0x140001a74
mov r15b, 1
jmp 0x140001a96
mov eax, dword [rbp - 1]
cmp eax, 0x7ea
jne 0x140001aa2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbp + 0xf], eax
jne 0x140001aa2
mov rax, qword [rbp + 7]
cmp eax, dword [rbp - 0x11]
jne 0x140001aa2
test eax, eax
je 0x140001aa2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbp - 0x29], r12d
je 0x140001ac2
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp - 9]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001a4f
test edi, edi
je 0x140001ae1
test r15b, r15b
jne 0x140001ae1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, edi
mov edx, esi
mov r8d, eax
mov ecx, edi
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140001af4
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x140001b1d
mov edx, 0x14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x21]
mov qword [rbp - 0x19], r12
test rcx, rcx
je 0x140001b2c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x21], r12
mov ecx, dword [rbp - 0x35]
test ecx, ecx
je 0x140001b3d
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov dword [rbp - 0x35], r12d
mov ecx, dword [rbp - 0x31]
test ecx, ecx
je 0x140001b4e
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov dword [rbp - 0x31], r12d
mov rax, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 7]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001edd0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret