Function at 0x140005b68
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
mov rcx, qword [str._b0_n_]
lea r12, str._b0_n_
mov ebx, 0x100
cmp rcx, r12
je 0x140005bd3
test dword [rcx + 0x1c], ebx
je 0x140005bd3
cmp byte [rcx + 0x19], 4
jb 0x140005bd3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400835a8]
mov edx, 0x24
call fcn.1400043e4
mov rcx, qword [rsi + 0x228]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
nop dword [rax + rax]
mov rcx, rax
call qword [sym.imp.MFC42u.dll_COleControl::GetBorderStyle]
nop dword [rax + rax]
xor r13d, r13d
mov r14, rax
test rax, rax
je 0x140006076
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140006076
cmp dword [rsi + 0x1c8], r13d
je 0x140005c92
cmp dword [rsi + 0x1cc], r13d
je 0x140005c92
mov rdi, qword [rsi + 0x1b8]
mov dword [rbp - 0x44], r13d
mov ebx, dword [rdi - 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x40]
lea eax, [rbx*2 + 2]
lea ebx, [r13 + 0x4a]
mov qword [rbp - 0x50], 0x8014
mov edx, ebx
mov dword [rbp - 0x48], eax
lea r9, [rbp - 0x50]
mov qword [rbp - 0x40], rdi
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
test rax, rax
jne 0x140006072
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea edx, [rbx - 0x49]
mov r8d, ebx
jmp 0x14000606a
cmp qword [rsi + 0x208], r13
je 0x140005efa
mov dword [rbp - 0x44], r13d
mov rcx, qword [str._b0_n_]
cmp rcx, r12
je 0x140005ccf
test dword [rcx + 0x1c], ebx
je 0x140005ccf
cmp byte [rcx + 0x19], 4
jb 0x140005ccf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084800]
mov edx, 0x14
call fcn.1400043e4
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rcx, rax
mov rdi, rax
call fcn.140011db0
mov r15, rax
test rax, rax
jne 0x140005d34
test rdi, rdi
je 0x140005d34
mov rcx, qword [str._b0_n_]
cmp rcx, r12
je 0x140006072
test dword [rcx + 0x1c], ebx
je 0x140006072
cmp byte [rcx + 0x19], 2
jb 0x140006072
lea edx, [rax + 0x16]
mov dword [rsp + 0x20], 8
lea r9, str.Memory_allocation_failed_for_lpszTemp2
lea r8, [0x140084800]
jmp 0x140005ed6
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140005d38
inc ebx
mov rcx, qword [r14 + 0x40]
xorps xmm0, xmm0
xor eax, eax
mov edi, r13d
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x18], rax
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x10], eax
call qword [sym.imp.USER32.dll_IsWindowVisible]
nop dword [rax + rax]
mov r12d, eax
test eax, eax
je 0x140005dec
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x38], 0x2c
mov rcx, r14
call qword [sym.imp.MFC42u.dll_CString::Left]
nop dword [rax + rax]
test eax, eax
jne 0x140005de7
mov rax, qword [str._b0_n_]
lea rcx, str._b0_n_
cmp rax, rcx
je 0x140005dec
test dword [rax + 0x1c], 0x100
je 0x140005dec
cmp byte [rax + 0x19], 2
jb 0x140005dec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea r9, str.GetWindowPlacement
mov edx, 0x25
mov dword [rsp + 0x20], eax
lea r8, [0x1400835a8]
mov rcx, qword [rcx + 0x10]
call fcn.140004454
jmp 0x140005dec
mov edi, 1
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x40]
lea eax, [rbx + rbx]
xor r8d, r8d
mov qword [rbp - 0x50], 0x8006
lea r9, [rbp - 0x50]
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x40], r15
lea ebx, [r8 + 0x4a]
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
test rax, rax
jne 0x140005e4a
lea rax, [rbp - 0x50]
xor r9d, r9d
mov r8d, ebx
mov qword [rsp + 0x20], rax
lea edx, [rbx - 0x49]
mov rcx, rsi
call fcn.1400060b0
mov rcx, r15
call fcn.140010a58
test r12d, r12d
je 0x140005ee4
test edi, edi
je 0x140006072
lea rdx, [rbp - 0x38]
mov rcx, r14
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::Create]
nop dword [rax + rax]
test eax, eax
jne 0x140006072
mov rax, qword [str._b0_n_]
lea rcx, str._b0_n_
cmp rax, rcx
je 0x140006072
test dword [rax + 0x1c], 0x100
je 0x140006072
cmp byte [rax + 0x19], 2
jb 0x140006072
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea r9, str.SetWindowPlacement
mov dword [rsp + 0x20], eax
lea r8, [0x1400835a8]
mov edx, 0x26
mov rcx, qword [rcx + 0x10]
call fcn.140004454
jmp 0x140006072
xor edx, edx
mov rcx, r14
call qword [sym.imp.MFC42u.dll_DDX_DateTimeCtrl]
nop dword [rax + rax]
jmp 0x140006072
call qword [sym.imp.USER32.dll_IsWindowVisible]
nop dword [rax + rax]
test eax, eax
jne 0x140005f40
mov rcx, qword [r14 + 0x40]
mov ebx, 0x8007
mov edx, ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x140005f40
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8d, ebx
xor edx, edx
mov rcx, rsi
call fcn.1400060b0
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetLastActivePopup]
nop dword [rax + rax]
mov rcx, rax
call qword [sym.imp.MFC42u.dll_COleControl::GetBorderStyle]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x40]
mov rbx, rax
call qword [sym.imp.USER32.dll_IsIconic]
nop dword [rax + rax]
test eax, eax
je 0x140005f8a
mov edx, 9
mov rcx, r14
call qword [sym.imp.MFC42u.dll_DDX_DateTimeCtrl]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop dword [rax + rax]
movsxd rax, dword [rsi + 0x224]
test eax, eax
je 0x140005fdf
mov rcx, qword [r14 + 0x40]
mov ebx, 0x8009
mov edx, ebx
mov r8, rax
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x140005fdf
movsxd r9, dword [rsi + 0x224]
mov r8d, ebx
xor edx, edx
mov qword [rsp + 0x20], r13
mov rcx, rsi
call fcn.1400060b0
movsxd rax, dword [rsi + 0x1d4]
cmp eax, 7
jge 0x140006025
mov rcx, qword [r14 + 0x40]
mov ebx, 0x8004
mov edx, ebx
mov r8, rax
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x140006025
movsxd r9, dword [rsi + 0x1d4]
mov r8d, ebx
xor edx, edx
mov qword [rsp + 0x20], r13
mov rcx, rsi
call fcn.1400060b0
mov rax, qword [rsi + 0x1d8]
test rax, rax
je 0x140006072
mov rcx, qword [r14 + 0x40]
mov rbx, rax
shr rbx, 0x20
mov r15d, 0x8005
mov r9, rbx
mov r8d, eax
mov edx, r15d
mov edi, eax
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x140006072
mov qword [rsp + 0x20], rbx
mov r9d, edi
mov r8d, r15d
xor edx, edx
mov rcx, rsi
call fcn.1400060b0
xor eax, eax
jmp 0x14000607b
mov eax, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + 0x80]
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