Function at 0x1400a5270
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp + 0x188], rax
mov rsi, rcx
call fcn.14012bcac
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, str.__xUSSR
mov rcx, rax
call fcn.1400a4df0
mov dword [rsi + 0x15c], eax
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
mov rcx, rsi
call qword [rbx + 0x288]
mov edx, eax
mov rcx, rsi
call qword [rbx + 0x290]
mov ecx, eax
call fcn.14009c500
mov r11, qword [rsi]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [r11 + 0x238]
nop
lea rcx, [rsi + 0x290]
mov rdx, rax
call fcn.1400a43c0
nop
or edi, 0xffffffff
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400a534e
lock dec dword [rbx + 8]
jne 0x1400a534e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x1400a534e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14011c934
mov r11, rax
xor r13d, r13d
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400a5371
mov ecx, 0x80004005
call fcn.14008ec20
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0xa28
or eax, ecx
jge 0x1400a53ab
mov edx, 0xa28
lea rcx, [rsp + 0x30]
call fcn.14008f160
mov rbx, qword [rsp + 0x30]
mov r8d, 0xa28
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14025de70
test eax, eax
js 0x1400a5946
cmp eax, dword [rbx - 0xc]
jg 0x1400a5946
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
lea rcx, [rbp - 0x60]
call fcn.1400a4d20
nop
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14009a770
mov r14, rax
lea rax, [rbp - 0x60]
cmp rax, r14
je 0x1400a5425
lea rcx, [rbp - 0x60]
call fcn.14009aed0
mov r11, qword [r14]
mov qword [rbp - 0x60], r11
test r11, r11
je 0x1400a5425
lock inc dword [r11 + 0x10]
mov rbx, qword [rsp + 0x30]
mov r12, qword [r14]
test r12, r12
je 0x1400a546d
mov eax, edi
lock xadd dword [r12 + 0x10], eax
dec eax
jne 0x1400a5465
test r12, r12
je 0x1400a5465
mov rcx, qword [r12]
test rcx, rcx
je 0x1400a544e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x1400a545d
call fcn.14011bc00
mov rcx, r12
call fcn.14011bc00
mov qword [r14], r13
mov rbx, qword [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14009b650
test eax, eax
jne 0x1400a54ca
lea r8, [0x1402c7bc8]
mov edx, 0x402
lea rcx, [rbp - 0x68]
call fcn.14009c790
mov r8d, reloc.WSOCK32.dll_recv
mov rdx, rax
mov rcx, rsi
call fcn.1400a4070
nop
lea rcx, [rbp - 0x60]
call fcn.1400a44e0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x1400a54c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400a5951
lea rcx, [rsi + 0x168]
mov rax, qword [rcx]
mov edx, 0x3e8
call qword [rax + Ordinal_26]
test eax, eax
jne 0x1400a54ec
lea rcx, [rbp - 0x60]
call fcn.1400a44e0
nop
jmp 0x1400a54ab
mov rax, qword [rsi]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [rax + 0x240]
nop
mov rdx, rax
lea rcx, [rsi + 0x2a0]
call fcn.1400a43c0
nop
mov r12, qword [rsp + 0x78]
test r12, r12
je 0x1400a5540
lock dec dword [r12 + 8]
jne 0x1400a553b
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
lock dec dword [r12 + 0xc]
jne 0x1400a553b
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
call fcn.14011eba0
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsi + 0x290]
call fcn.1400a63d0
test eax, eax
jne 0x1400a5568
lea rcx, [rbp - 0x60]
call fcn.1400a44e0
nop
jmp 0x1400a54ab
call fcn.1400ac530
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea r14, [rsi + 0x7a0]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadMenuW]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rdx, rax
mov rcx, r14
call fcn.14012c2a4
call fcn.14011eba0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
mov edx, 0x80
lea r9d, [rdx - 0x70]
lea r8d, [rdx - 0x7f]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadImageW]
mov rdx, rax
lea rcx, [rsi + 0x2c8]
call fcn.1400ade70
test r14, r14
mov rdx, r13
je 0x1400a55e4
mov rdx, qword [r14 + 8]
lea rcx, [rsi + 0x2c8]
call fcn.1400ade80
mov r11d, dword [0x1403e3d20]
test r11b, 1
jne 0x1400a568b
or r11d, 1
mov dword [0x1403e3d20], r11d
lea rcx, [rbp + 0x160]
call fcn.1400abfe0
nop
cmp qword [rax + 0x18], 8
jb 0x1400a5623
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140090560
nop
mov r8, rax
lea rdx, [0x1402c8988]
lea rcx, [0x1403e3d18]
call fcn.1400a4100
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a5668
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbp + 0x178], 8
jb 0x1400a567e
mov rcx, qword [rbp + 0x160]
call fcn.14011bc00
lea rcx, [0x1402c2170]
call fcn.14025ee9c
nop
mov rcx, qword [rsi + 0xa0]
call fcn.14025db40
mov rcx, qword [0x1403e3d18]
call fcn.14025f90c
mov qword [rsi + 0xa0], rax
lea rdx, [0x1403e3d18]
lea rcx, [rsi + 0x2c8]
call fcn.1400ae700
lea rdx, [0x1403bf050]
cmp qword [reloc.WSOCK32.dll_getsockopt], 8
cmovae rdx, qword [0x1403bf050]
lea rcx, [rbp + 0xc0]
call fcn.1400903f0
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140099db0
nop
cmp qword [rax + 0x18], 8
jb 0x1400a56fa
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140090560
nop
cmp qword [rbp + 0x128], 8
jb 0x1400a571e
mov rcx, qword [rbp + 0x110]
call fcn.14011bc00
mov qword [rbp + 0x128], 7
mov qword [rbp + 0x120], r13
mov word [rbp + 0x110], r13w
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0xe8]
call fcn.1400903f0
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140099ef0
nop
cmp qword [rax + 0x18], 8
jb 0x1400a5763
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140090560
nop
cmp qword [rbp + 0x150], 8
jb 0x1400a5787
mov rcx, qword [rbp + 0x138]
call fcn.14011bc00
mov qword [rbp + 0x150], 7
mov qword [rbp + 0x148], r13
mov word [rbp + 0x138], r13w
lea r8, str.SETTINGS.XML
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140095490
nop
mov rbx, qword [rsi]
mov rdx, rax
mov rcx, qword [rsi + 0x2a0]
call fcn.1400902b0
movzx edx, al
mov rcx, rsi
call qword [rbx + 0x248]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a57f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x38], 8
mov dword [rsp + 0x3c], 0xc000
lea rcx, [rsp + 0x38]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, rsi
call fcn.14012dd54
call fcn.1400afcc0
cmp dword [rsi + 0x17c], 0
je 0x1400a5847
mov rax, qword [rsi + 0x290]
test rax, rax
mov rcx, r13
je 0x1400a5842
mov rcx, qword [rax + 0x40]
call fcn.14009bb10
mov rax, qword [rsi + 0x290]
mov qword [rsi + 0x40], rax
mov rax, qword [rsi]
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x278]
cmp dword [rsi + 0x178], 0
je 0x1400a5876
lea rcx, [rsi + 0x2c8]
call fcn.1400ae320
mov rbx, qword [rsi]
call fcn.14009c4c0
movzx edx, ax
mov rcx, rsi
call qword [rbx + 0x288]
mov edx, eax
mov rcx, rsi
call fcn.1400a37e0
mov r11, qword [rsi + 0x40]
test r11, r11
je 0x1400a58a1
mov r13, qword [r11 + 0x40]
call fcn.1400a8ec0
movzx r8d, al
lea rdx, str.TaskSpace:_is_registered
mov rcx, r13
call qword [sym.imp.USER32.dll_SetPropW]
cmp dword [rsi + 0x158], 0
je 0x1400a58cd
xor edx, edx
mov rcx, rsi
call fcn.1400a5130
mov dword [rsi + 0x180], 1
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a58f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400a5917
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x60]
call fcn.1400a44e0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x1400a593f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
jmp 0x1400a5951
mov ecx, 0x80070057
call fcn.14008ec20
nop
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.14025db20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret