Function at 0x451630
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc5f4
mov eax, dword fs:[0]
push eax
sub esp, 0x244
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 ebx, ecx
call sub.mfc140u.dll_CDialog::OnInitDialog
movsd xmm0, qword [ebx + 0xa8]
lea ecx, [ebx + 0xc0]
sub esp, 8
movsd qword [esp], xmm0
call fcn.00455210
movsd xmm0, qword [ebx + 0xb0]
lea ecx, [ebx + 0x168]
sub esp, 8
movsd qword [esp], xmm0
call fcn.00455210
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0xe5
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push dword [ebp - 0x24c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x143
push dword [ebx + 0x230]
call esi
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x58cfe8
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 1
push str._sMargin_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push 0
push dword [ebp - 0x244]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 0x14
test eax, eax
je 0x451725
push dword [ebp - 0x244]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
add esp, 4
push str..msf
lea ecx, [ebp - 0x244]
call dword [0x4c00c0]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindfirst64i32]
add esp, 8
lea ecx, [ebp - 0x244]
mov edi, eax
push 0xffffffffffffffff
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
cmp edi, 0xffffffff
je 0x4517f1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
push dword [eax]
push 0
push 0x143
push dword [ebx + 0x230]
call esi
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindnext64i32]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x451763
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__findclose]
add esp, 4
push dword [0x58d234]
push 0xffffffffffffffff
push 0x14c
push dword [ebx + 0x230]
call esi
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
push 0x14e
push dword [ebx + 0x230]
call esi
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
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