Function at 0x443a40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462abd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa4]
sub ecx, 1
mov dword [ebp - 0xa4], ecx
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CString::operator_2
push 0x5c
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x443ad1
mov byte [ebp - 0x90], 0
mov dword [ebp - 0xa4], 0
jmp 0x443adf
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x90], 0
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 3
ja case.default.0x443b06
mov eax, dword [ebp - 0x10c]
jmp dword [eax*4 + 0x443e1a]
push str.Seal.tpl
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
jmp case.default.0x443b06
push str.BstCard.tpl
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
jmp case.default.0x443b06
push str.NameCard.tpl
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
jmp case.default.0x443b06
push str.OfficeCd.tpl
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ebp + ecx - 0x90]
cmp edx, 0x5c
jne 0x443ba8
push 0x4743e0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf0]
call sub.MFC42.DLL_CString::CString
jmp 0x443c2b
push str.Template
push 0x5c
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xf4]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0xf8]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x124]
push ecx
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xec]
call fcn.0045ecce
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00405d30
push eax
lea ecx, [ebp - 0xec]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x443c65
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00405d30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 0x10]
push edx
push 0x5c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x100]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xfc]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xa0]
call fcn.0045ec0e
mov byte [ebp - 4], 7
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00405d30
push eax
lea ecx, [ebp - 0xec]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x443dcf
push 0
push 0x1002
mov ecx, dword [ebp + 0xc]
call fcn.00405d30
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x443d75
mov dword [ebp - 0x104], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::CFile
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x104]
jmp 0x443e0c
mov dword [ebp - 0xd0], 0x64
push 0x4743f8
lea ecx, [ebp - 0xcc]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x24
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Write
mov dword [ebp - 0xa8], 0x2c
mov dword [ebp - 0xac], 0
push 8
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::Write
mov dword [ebp - 0x108], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CFile::CFile
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret