Function at 0x6013d0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rbx
push r12
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x430], rax
xor r15d, r15d
mov r12, rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x60], r15
xor edx, edx
mov r8d, 0x209
mov ebx, r15d
mov r14d, r15d
call fcn.00602ba0
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x209
call fcn.00602ba0
xor eax, eax
mov word [rsp + 0x68], ax
mov byte [rsp + 0x6a], al
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
je 0x601823
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x220]
mov rcx, rax
mov qword [rsp + 0x588], r13
mov r8d, 0x105
mov dword [rsp + 0x20], 0x105
lea rdx, [rbp + 0x10]
call fcn.00601090
xor r9d, r9d
mov dword [rsp + 0x28], 0x40
mov edx, 0x88b9
mov dword [rsp + 0x20], r15d
mov rcx, r12
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_LoadImageW]
mov r13, rax
test rax, rax
je 0x60181b
xor edx, edx
mov qword [rsp + 0x580], rdi
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x50]
call fcn.00602ba0
movdqa xmm0, xmmword [0x006494f0]
lea rax, section..text
lea rdi, [0x00649400]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 3
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r15
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x601532
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
jmp 0x601813
mov qword [rsp + 0x58], r15
lea r8, [0x00649420]
mov qword [rsp + 0x50], r12
mov r9d, 0x80000000
mov qword [rsp + 0x48], r15
mov rdx, rdi
mov qword [rsp + 0x40], r15
xor ecx, ecx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x578], rsi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
test rax, rax
je 0x6017f4
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x6017f4
mov edx, 5
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
movzx ecx, word [rsp + 0x68]
cmp word [0x00649460], cx
movzx eax, word [rsp + 0x6a]
jne 0x60160e
cmp word [0x00649462], ax
jne 0x60160e
xor edx, edx
lea rcx, str.cnmpaui.dll
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x60174e
lea rdx, str.MaintenanceAppStart
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, rsi
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x10]
call rax
jmp 0x60174e
cmp word [0x00649494], cx
jne 0x6015ca
cmp word [0x00649496], ax
jne 0x6015ca
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0xf000c
lea r8, [0x00649498]
xor edx, edx
mov ecx, 0xf001f
movdqu xmmword [rbp - 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
lea r8, [rbp - 0x40]
mov rdi, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
jne 0x601675
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
je 0x601739
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x601725
mov edx, dword [rax]
mov ecx, 0x40
inc edx
mov eax, edx
add rdx, rdx
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
test rax, rax
je 0x6017ec
mov rdx, qword [rsp + 0x68]
lea r8, [r14 + 4]
mov rcx, rax
call fcn.0060b4b0
lea rcx, str.cnmpaui.dll
mov byte [r14], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x60170d
lea rdx, str.BJMaintenanceEntryPoint
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x60170d
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov r8, r15
mov rdx, r12
call rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r15d, r15d
mov edi, r15d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x601739
call sub.WINSPOOL.DRV_ClosePrinter
mov qword [rsp + 0x60], r15
test rdi, rdi
je 0x601747
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, [0x00649400]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x601762
call sub.WINSPOOL.DRV_ClosePrinter
mov qword [rsp + 0x60], r15
test r14, r14
je 0x601770
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test rbx, rbx
je 0x60177e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x6017d0
nop word [rax + rax]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x6017b0
mov ebx, dword [rbp - 0x18]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyIcon]
mov eax, ebx
jmp 0x60180b
xor r15d, r15d
jmp 0x601739
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
mov rsi, qword [rsp + 0x578]
mov rdi, qword [rsp + 0x580]
mov r13, qword [rsp + 0x588]
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.00601970
add rsp, 0x540
pop r15
pop r14
pop r12
pop rbx
pop rbp
ret