Function at 0x140004050
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd30
mov rax, qword [0x14002a930]
xor rax, rsp
mov qword [rsp + 0xd20], rax
lea r8, [0x14002de00]
mov r9d, 0x400
mov edx, 0x66
mov rbx, rcx
call qword [sym.imp.USER32.dll_LoadStringA]
lea rbp, [0x14002da00]
mov r9d, 0x400
mov edx, 0x6d
mov rcx, rbx
mov r8, rbp
call qword [sym.imp.USER32.dll_LoadStringA]
xor esi, esi
lea rax, [0x140008e00]
lea edx, [rsi + 0x6b]
mov rcx, rbx
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 3
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x84], esi
mov qword [rsp + 0x88], rbx
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, qword [rsp + 0x88]
lea edx, [rsi + 0x6c]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 6
mov qword [rsp + 0xa8], 0x6d
mov qword [rsp + 0xb0], rbp
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
mov rdi, rax
je 0x140004385
cmp dword [rsp + 0x60], 6
jl 0x140004385
mov r8, qword [rax + 8]
lea rdx, [0x1400253c8]
lea rcx, [rsp + 0x4e0]
call fcn.140010260
mov r8, qword [rdi + 0x10]
lea rdx, [0x1400253c8]
lea rcx, [rsp + 0xc0]
call fcn.140010260
mov r8, qword [rdi + 0x18]
lea rdx, [0x1400253c8]
lea rcx, [rsp + 0x900]
call fcn.140010260
mov r8, qword [rdi + 0x20]
lea rdx, [0x1400253c8]
lea rcx, [rsp + 0x2d0]
call fcn.140010260
mov r8, qword [rdi + 0x28]
lea rdx, [0x1400253c8]
lea rcx, [rsp + 0x6f0]
call fcn.140010260
mov r8, qword [rdi + 0x30]
lea rdx, [0x1400253c8]
lea rcx, [rsp + 0xb10]
call fcn.140010260
lea rdx, [rsp + 0x4e0]
lea rcx, [0x14002d6d0]
mov r8d, 0x104
call fcn.140010750
lea rdx, [rsp + 0xc0]
lea rcx, [0x14002d5c0]
mov r8d, 0x104
call fcn.140010750
lea rdx, [rsp + 0x900]
lea rcx, [0x14002d4b0]
mov r8d, 0x104
call fcn.140010750
lea rdx, [rsp + 0x2d0]
lea rcx, [0x14002d3a0]
mov r8d, 0x104
call fcn.140010750
lea rdx, [rsp + 0x6f0]
lea rcx, [0x14002d290]
mov r8d, 0x104
call fcn.140010750
lea rdx, [rsp + 0xb10]
lea rcx, [0x14002d180]
mov r8d, 0x104
call fcn.140010750
lea rcx, str.Commdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.CreateCommInstance
mov rcx, rax
mov qword [0x14002e458], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14002e460], rax
je 0x1400042f1
lea r8, [0x14002d4b0]
lea rdx, [0x14002d5c0]
lea rcx, [0x14002d6d0]
call rax
mov rcx, qword [0x14002e458]
lea rdx, str.RegisterLangID
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14002e4d8], rax
je 0x140004313
call rax
lea rdx, [0x14002b630]
lea rcx, [0x14002e248]
xor r8d, r8d
call sub.gdiplus.dll_GdiplusStartup
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 0x80000000
lea r8, [0x14002de00]
mov r9d, 0xcf0000
mov rdx, rbp
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x80000000
mov qword [0x14002e240], rbx
call qword [sym.imp.USER32.dll_CreateWindowExA]
test rax, rax
je 0x140004381
mov rcx, rbx
call fcn.1400043c0
xor eax, eax
jmp 0x14000438a
mov eax, 0xa
mov rcx, qword [rsp + 0xd20]
xor rcx, rsp
call fcn.14000fef0
lea r11, [rsp + 0xd30]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret