Function at 0x4831a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd970
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x587614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0xd0]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov ebx, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [ebp - 0xd0]
push 0x58cfe8
push str._sJobs.pjr
push eax
mov dword [ebp - 4], 0
call ebx
add esp, 8
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov ecx, esi
call fcn.00483420
lea ecx, [ebp - 0xc8]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push 0x58cfe8
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xc8]
push str._sBackup
push eax
mov dword [ebp - 0xd4], edx
call ebx
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 0x18
test eax, eax
je 0x483270
push dword [ebp - 0xc8]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
add esp, 4
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x34]
push eax
call edi
or ecx, 0xffffffff
test eax, eax
lea eax, [ebp - 0xd8]
cmove ecx, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0xdc], ecx
push eax
call edi
test eax, eax
mov eax, 0xffffffff
cmove eax, dword [ebp - 0x50]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x7c]
push eax
call edi
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0xd8]
cmove ecx, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xcc], ecx
push eax
call edi
add esp, 0x20
test eax, eax
jne 0x4832eb
mov edi, dword [ebp - 0x90]
inc edi
jmp 0x4832ed
xor edi, edi
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
add esp, 8
test eax, eax
jne 0x483315
mov eax, dword [ebp - 0xb0]
add eax, 0x76c
jmp 0x483317
xor eax, eax
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push dword [ebp - 0xcc]
push edi
push eax
push 0x58cfe8
lea eax, [ebp - 0xc8]
push str._sBackupJobs__04d__02d__02d__02d__02d.pjr
push eax
call ebx
add esp, 0x1c
lea eax, [ebp - 0xc8]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov ecx, esi
call fcn.00483420
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
mov eax, esp
mov dword [ebp - 0xcc], esp
push eax
call fcn.00491720
add esp, 4
push dword [0x58d1f4]
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push str.PaperKind
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push 0x4da15c
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
mov byte [ebp - 4], 0
call fcn.00492850
add esp, 0x10
cmp dword [esi + 0xd8], 0
je 0x4833e1
nop
lea ecx, [esi + 0xd4]
call sub.mfc140u.dll_Ordinal_12678
test eax, eax
je 0x4833d8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 4]
cmp dword [esi + 0xd8], 0
jne 0x4833c0
lea ecx, [ebp - 0xd0]
mov dword [0x58cfd8], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b61c2
mov esp, ebp
pop ebp
ret