Function at 0x100404510
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
push r13
push r14
push r15
sub rsp, 0x190
mov qword [r11 - 0xa8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
mov rax, qword [0x100420010]
xor rax, rsp
mov qword [rsp + 0x188], rax
lea rax, str.sql_ntdbms_storengdmudmpld_sqlwriter.yukon_svc_svc.cxx
mov qword [rsp + 0x48], rax
lea rax, str.YKWSVCC
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x2fc
mov qword [rsp + 0x5c], 0x200
xor ebx, ebx
mov dword [rsp + 0xb8], 0x1000000
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [r11 - 0x128], rbx
mov qword [r11 - 0x120], rbx
mov qword [r11 - 0x118], rbx
mov qword [r11 - 0x110], rbx
mov qword [r11 - 0x108], rbx
mov qword [r11 - 0x100], rbx
mov qword [r11 - 0xf8], rbx
lea rax, [rsp + 0x48]
mov qword [r11 - 0x28], rax
mov dword [rsp + 0xd0], ebx
lea r12, str.CYKWServiceModule::_WinMain
mov qword [r11 - 0xd0], r12
mov rax, qword [rsp + 0x50]
mov qword [r11 - 0xc8], rax
mov r8d, dword [rsp + 0x58]
mov dword [r11 - 0xc0], r8d
mov r14d, dword [rsp + 0x5c]
mov dword [r11 - 0xbc], r14d
mov r15d, dword [rsp + 0x60]
mov dword [r11 - 0xb8], r15d
lea rdi, [0x1004243d0]
lea esi, [rbx + 2]
lea r13d, [rbx + 1]
nop
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x100404669
cmp dword [rcx + 0x28], 0
je 0x100404669
mov rax, qword [rcx]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov rdx, qword [rsp + 0x48]
call qword [rax + 8]
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [0x10041465c]
call qword [rax + 0x18]
mov rcx, qword [rdi]
call fcn.1004067a0
mov r8d, dword [rsp + 0x58]
add rdi, 8
sub rsi, r13
jne 0x100404620
cmp byte [rsp + 0xbb], sil
je 0x1004046a1
lea rdi, [rsp + 0x68]
mov esi, 0xa
mov rcx, qword [rdi]
test rcx, rcx
je 0x100404697
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rdi], rbx
add rdi, 8
sub rsi, 1
jne 0x100404686
lea rcx, [0x100408d90]
call qword [sym.imp.VCRUNTIME140.dll__set_se_translator]
nop
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rdx, [rsp + 0x108]
mov qword [rsp + 0x180], rdx
lea rsi, str.sql_ntdbms_storengdmudmpld_sqlwriter.yukon_svc_svc.cxx
mov qword [rsp + 0x108], rsi
lea r14, str.YKWSVCC
mov qword [rsp + 0x110], r14
mov dword [rsp + 0x118], 0x302
mov dword [rsp + 0x11c], 0x200
mov dword [rsp + 0x120], ebx
mov word [rsp + 0x178], bx
mov byte [rsp + 0x17a], 0
mov byte [rsp + 0x17b], 1
movzx ecx, bx
mov word [rsp + 0x40], bx
cmp cx, 0xa
jae 0x10040473e
movzx eax, cx
mov qword [rsp + rax*8 + 0x128], rbx
inc cx
mov word [rsp + 0x40], cx
jmp 0x100404723
mov qword [rsp + 0x20], rdi
lea r9, str.Trace:_VSS_command_line:__s
mov r8d, 4
lea rcx, [rsp + 0xd0]
call fcn.1004019a0
mov eax, dword [0x1004153bc]
mov dword [rsp + 0x180], eax
movzx eax, word [0x1004153c0]
mov word [rsp + 0x184], ax
lea rdx, [rsp + 0x180]
mov rcx, rdi
call fcn.1004044b0
mov rdi, rax
mov dword [0x100420740], ebx
mov dword [0x100420730], ebx
nop dword [rax + rax]
test rdi, rdi
je 0x100404866
lea rax, [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x315
mov dword [rsp + 0x5c], 0x200
mov dword [rsp + 0x60], ebx
mov word [rsp + 0xb8], bx
mov byte [rsp + 0xba], 0
mov byte [rsp + 0xbb], 1
movzx ecx, bx
mov word [rsp + 0x44], bx
cmp cx, 0xa
jae 0x10040480c
movzx eax, cx
mov qword [rsp + rax*8 + 0x68], rbx
inc cx
mov word [rsp + 0x44], cx
jmp 0x1004047f4
mov r9, rdi
lea r8, str.Current_token___s
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd0]
call fcn.100401860
movzx ecx, word [rdi]
cmp cx, 0x63
jne 0x10040483a
mov dword [0x100420740], r13d
jmp 0x10040484e
mov eax, dword [0x100420730]
cmp cx, 0x77
cmove eax, r13d
mov dword [0x100420730], eax
lea rdx, [rsp + 0x180]
mov rcx, rdi
call fcn.1004044b0
mov rdi, rax
jmp 0x1004047a0
lea rdi, [0x1004243d0]
mov dword [rsp + 0xc0], ebx
cmp ebx, 2
jge 0x100404892
movsxd rax, ebx
mov rcx, qword [rdi + rax*8]
mov rax, qword [rcx]
mov r8d, dword [0x100420730]
xor edx, edx
call qword [rax]
inc ebx
jmp 0x10040486d
call fcn.100402590
nop
mov ebx, dword [0x10042005c]
lea rcx, [rsp + 0xd0]
call fcn.1004016e0
mov eax, ebx
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.10040fdf0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret