Function at 0x1400012b0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.mfc90u.dll_CDocObjectServer::DoBeginPrinting]
call sub.acdb18.dll_class_AcDbHostApplicationServices____ptr64___cdecl_acdbHostApplicationServices_void_
mov r8, qword [rax]
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [r8 + 0x38]
test eax, eax
je 0x1400012ed
xor eax, eax
jmp 0x1400013b5
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x80]
call qword [0x14005d800]
nop
lea rdx, str.Recent
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rcx, [rsp + 0x28]
call qword [sym.imp.adui18.dll_public:_void___cdecl_CAdUiPathname::constructor_void____ptr64]
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x28]
call qword [sym.imp.adui18.dll_public_virtual:_enum_PathErr___cdecl_CAdUiPathname::Parse_wchar_t_const____ptr64__int____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.adui18.dll_public:_int___cdecl_CAdUiPathname::Exists_void____ptr64]
test eax, eax
jne 0x14000137c
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000137c
lea rcx, [rsp + 0x28]
call qword [sym.imp.adui18.dll_public:_void___cdecl_CAdUiPathname::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor eax, eax
jmp 0x1400013b5
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
mov r11, qword [rbx]
xor ebx, ebx
cmp dword [r11 - 0x10], ebx
setne bl
lea rcx, [rsp + 0x28]
call qword [sym.imp.adui18.dll_public:_void___cdecl_CAdUiPathname::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, ebx
add rsp, 0x60
pop rbx
ret

Function at 0x14000b690
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14008a020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
movzx ecx, word [rdx]
mov rdi, rdx
test cx, cx
je 0x14000b779
mov ebp, 0xd
mov eax, dword [rsi + 8]
cmp eax, 1
je 0x14000b728
cmp eax, 2
je 0x14000b725
cmp eax, 3
je 0x14000b6e0
cmp eax, 4
je 0x14000b6dd
xor ebx, ebx
jmp 0x14000b74e
cmp eax, 3
sete dl
lea rax, [rsp + 0x30]
mov ebx, 2
cmp cx, 0xa
jne 0x14000b713
cmp byte [rsi + 0xd], 0
je 0x14000b713
mov eax, CSingleDocTemplate::GetNextDoc
test dl, dl
mov ebx, 4
cmovne ax, bp
mov word [rsp + 0x30], ax
lea rax, [rsp + 0x32]
test dl, dl
je 0x14000b71c
mov word [rax], cx
jmp 0x14000b74e
rol cx, 8
mov word [rax], cx
jmp 0x14000b74e
cmp eax, 1
movzx eax, byte [rsi + 0xd]
lea rdx, [rsp + 0x30]
sete r9b
mov byte [rsp + 0x28], al
movzx eax, byte [rsi + 0xc]
mov r8d, 8
mov byte [rsp + 0x20], al
call fcn.14000b3a0
mov ebx, eax
mov r9, qword [rsi]
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov edx, 1
call qword [sym.imp.MSVCR90.dll_fwrite]
cmp eax, ebx
jne 0x14000b795
mov cx, word [rdi + 2]
add rdi, 2
test cx, cx
jne 0x14000b6c2
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004f900
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
or eax, 0xffffffff
jmp 0x14000b77b