Function at 0x1400cece0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor ebp, ebp
mov esi, edx
cmp dword [0x14020dcfc], ebp
jne 0x1400cee2d
mov qword [0x14020e1d8], rcx
call fcn.1400b39e0
call fcn.1400e37c0
call fcn.14016c090
call fcn.14000a610
call fcn.1400bd3f0
call fcn.140160010
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rdx, str.ole_initialize:__08x_n
mov ecx, 0xffffff00
mov r8d, eax
mov edi, eax
call fcn.1400b3ec0
lea rcx, [rsp + 0xe0]
call fcn.1400012c0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0xe0]
mov rdx, rax
call fcn.1401782f0
mov rcx, qword [rsp + 0xe8]
xor r8d, r8d
xor edx, edx
call fcn.140006790
lea rcx, [rsp + 0xe0]
mov qword [0x14020e198], rax
call fcn.140177510
mov r9, qword [0x14020e198]
mov ecx, dword [r9]
bt ecx, 0xd
jae 0x1400cede5
mov r8d, dword [r9 + 4]
mov rax, qword [r9 + 0x80]
mov r9, qword [r9 + 0x78]
mov edx, ecx
and r8d, 0x40000
and ecx, 8
and edx, 0x1000000
mov qword [rsp + 0x20], rax
call fcn.1400f0dc0
jmp 0x1400cf2e3
bt ecx, 0x11
jae 0x1400cedff
call fcn.140005680
test eax, eax
je 0x1400cf2e3
xor eax, eax
jmp 0x1400cf3b3
bt ecx, 0xe
jae 0x1400cee31
call fcn.1400db600
test eax, eax
jne 0x1400cee31
xor ecx, ecx
call fcn.1400ce170
test eax, eax
jne 0x1400cf2e3
mov ebx, 1
mov dword [0x14020e190], ebx
jmp 0x1400cf2e3
mov edi, dword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 0x42ff
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.14000cc20
mov rcx, qword [0x14020e198]
cmp qword [rcx + 0x68], rbp
je 0x1400cee77
mov rcx, qword [rcx + 0x68]
call fcn.14000cc10
mov r8d, dword [0x1401fcca0]
test r8d, r8d
jle 0x1400ceec5
mov ecx, dword [0x140203a00]
mov eax, 0x2aaaaaab
imul ecx, r8d
imul ecx
mov eax, 0x2aaaaaab
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [0x140203a04]
mov dword [0x140203a00], edx
imul ecx, r8d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [0x140203a04], edx
cmp byte [0x14020defb], bpl
je 0x1400ceedb
call fcn.1400db600
test eax, eax
je 0x1400cee0e
mov eax, dword [0x14020e0e0]
cmp byte [0x14020defa], bpl
mov ebx, 1
cmovne eax, ebx
cmp byte [0x14020def9], bpl
mov dword [0x14020e0e0], eax
jne 0x1400cef0c
mov rax, qword [0x14020e198]
bt dword [rax], 0x18
jae 0x1400cef13
xor ecx, ecx
call fcn.1400b43b0
cmp byte [0x14020def8], bpl
je 0x1400cef23
mov ecx, ebx
call fcn.1400b4280
call fcn.1400b3ef0
lea rdx, str.load_localization_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
mov r11, qword [0x14020e198]
mov ecx, dword [0x14020dd3c]
mov eax, dword [r11 + 0xa4]
cmp eax, 0xffffffff
cmovne ecx, eax
call fcn.1400cb2d0
mov r11, qword [0x14020e198]
test byte [r11], 8
je 0x1400cef73
mov ecx, ebx
call fcn.1400b4280
mov r11, qword [0x14020e198]
bt dword [r11 + 4], 0x12
jae 0x1400cef83
mov dword [0x14020e0e0], ebx
jmp 0x1400cef98
mov eax, dword [0x14020e0e0]
bt dword [r11 + 8], 0x12
cmovb eax, ebp
mov dword [0x14020e0e0], eax
lea rdx, str.ole_initialize:__08x_n
mov r8d, edi
mov ecx, 0xffffff00
call fcn.1400b3ec0
mov r11, qword [0x14020e198]
bt dword [r11], 0xc
jae 0x1400cefbf
call fcn.140011810
call fcn.1400ce7b0
call fcn.1400ccfc0
test eax, eax
jne 0x1400cf2e3
mov rax, qword [0x14020e198]
cmp dword [rax + 0xc4], ebp
je 0x1400cf01a
call fcn.1400e1820
call fcn.1400db0b0
lea rdx, str.load_everything_icon_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call fcn.1400cc4a0
mov r11, qword [0x14020e198]
mov edx, dword [r11 + 0xc4]
xor ecx, ecx
call fcn.140166430
jmp 0x1400cf2e3
lea rdx, str.create_mutex_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
cmp byte [0x14020dd21], bpl
jne 0x1400cf050
mov ecx, esi
call fcn.1400ce5f0
test eax, eax
jne 0x1400cf050
lea rcx, str.mutex_exists_n
call fcn.1400b3e90
jmp 0x1400cf2e3
mov rax, qword [0x14020e198]
mov ecx, dword [rax]
test cl, 4
je 0x1400cf081
test cl, 0x40
jne 0x1400cf081
bt ecx, 0x10
jb 0x1400cf081
bt dword [rax + 4], 0x1a
jb 0x1400cf081
bt dword [rax + 8], 0x1a
jb 0x1400cf081
cmp qword [rax + 0x70], rbp
je 0x1400cf2e3
call fcn.1400e1820
call fcn.1400db0b0
lea rdx, str.load_everything_icon_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call fcn.1400cc4a0
lea rdx, str.bookmarks_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call fcn.1400043b0
lea rdx, str.filters_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call fcn.1400c1780
lea rdx, str.search_history_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call fcn.1400e8c10
lea rdx, str.set_hook_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x1400ce550]
mov r9d, eax
xor r8d, r8d
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
lea rdx, str.create_tray_n
mov ecx, 0xffffff00
mov rbx, rax
call fcn.1400b3ec0
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
movzx ecx, word [rsp + 0xb0]
test byte [rsp + 0xac], 1
cmove cx, si
mov word [rsp + 0xb0], cx
movzx ecx, cx
call fcn.1400f5db0
lea rdx, str.enter_main_loop_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
nop
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400cf2ca
cmp dword [0x14020e0e0], ebp
je 0x1400cf1c6
mov rax, qword [rsp + 0x50]
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
lea rdx, str.MSG:__p__04x__p__p_n
mov ecx, 0xff00ff00
mov qword [rsp + 0x20], rax
call fcn.1400b3ec0
cmp dword [rsp + 0x40], 0x12
je 0x1400cf2da
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400cf2da
lea rcx, [rsp + 0x38]
call fcn.14010bae0
test eax, eax
jne 0x1400cf170
lea rcx, [rsp + 0x38]
call fcn.140150350
test eax, eax
jne 0x1400cf170
lea rcx, [rsp + 0x38]
call fcn.14011cba0
test eax, eax
jne 0x1400cf170
lea rcx, [rsp + 0x38]
call fcn.14012cf50
test eax, eax
jne 0x1400cf170
lea rcx, [rsp + 0x38]
call fcn.140163a90
test eax, eax
jne 0x1400cf170
cmp dword [rsp + 0x40], 0x100
jne 0x1400cf2af
cmp qword [rsp + 0x48], 0x41
jne 0x1400cf2af
call fcn.1400e17b0
cmp eax, 1
jne 0x1400cf2af
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0xe0]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.Edit
lea rcx, [rsp + 0xe0]
call fcn.14017d2a0
test eax, eax
jne 0x1400cf2af
mov rcx, qword [rsp + 0x38]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400cf170
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400cf170
call fcn.1400fcda0
call qword [sym.imp.USER32.dll_WaitMessage]
jmp 0x1400cf170
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
lea rdx, str.shutdown_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call fcn.140130340
call fcn.1400ff3c0
call fcn.1400bb4b0
call fcn.1400c86c0
call fcn.1400cacf0
call fcn.1400f3910
mov rcx, qword [0x14020e188]
test rcx, rcx
je 0x1400cf32b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14020e188], rbp
cmp byte [0x14020e180], bpl
je 0x1400cf339
call fcn.1400cdf50
lea rdx, str.kill_n
mov ecx, 0xffffff00
call fcn.1400b3ec0
call fcn.1400e8bb0
call fcn.1400c1100
call fcn.140004090
mov rcx, qword [0x14020e198]
call fcn.140005de0
mov rcx, qword [0x14020e1e0]
test rcx, rcx
je 0x1400cf377
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14020e1e8]
test rcx, rcx
je 0x1400cf389
call qword [sym.imp.GDI32.dll_DeleteObject]
call qword [sym.imp.ole32.dll_OleUninitialize]
call fcn.1400cbba0
call fcn.1400bd400
call fcn.14000d5b0
call fcn.14016c190
call fcn.1400d8dc0
call fcn.1400b4200
mov eax, dword [0x14020e190]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1401a8fd0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret