Function at 0x4026e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], esi
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov al, byte [esi + 0xc4]
mov byte [ebp - 4], 3
test al, al
jne 0x402a19
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x48]
and eax, 0xffff
mov ebx, dword [ebp - 0x46]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4e]
and eax, 0xffff
mov esi, dword [ebp - 0x42]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4a]
and eax, 0xffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
and eax, 0xffff
and edi, 0xffff
and ebx, 0xffff
mov dword [ebp - 0x24], eax
and esi, 0xffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x24]
push esi
push ecx
push ebx
push edi
lea edx, [ebp - 0x14]
push str._02d:_02d:_02d:_03d
push edx
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 0x10]
add esp, 0x18
xor esi, esi
test eax, eax
jle 0x40280f
mov ecx, dword [ebp + 0xc]
xor eax, eax
lea edx, [ebp - 0x1c]
mov al, byte [esi + ecx]
push eax
push str._02x
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push 0x20
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0040785e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040781c
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, eax
jl 0x4027c5
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push edx
push eax
push ecx
lea edx, [ebp - 0x18]
push str._s_s_s_r_n
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x402841
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov dword [ebp + 0x10], eax
jmp 0x402848
mov dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x10]
push 0x3ed
call sub.MFC42.DLL_CWnd::GetDlgItem
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x2c], esi
call sub.MFC42.DLL_CWnd::GetWindowTextLengthA
cmp eax, 0x186a0
jle 0x4029d2
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0xc5]
test cl, cl
je 0x40299d
push 0x40b0b8
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 6
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x4028a7
mov edx, dword [ebp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x40b538
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0x3ed
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x3c]
push ebx
push edi
push edx
push eax
push ecx
lea edx, [ebp - 0x14]
push 0x40b08c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x20
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0x10]
push eax
push 0x40b078
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call fcn.0040781c
mov bl, 9
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov edx, dword [ebp - 0x14]
push 0
push 0x1001
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CStdioFile::Open
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x64]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CStdioFile::Flush
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.004078dc
jmp 0x402982
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 6
call fcn.0040781c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0040781c
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x303
push edx
call edi
jmp 0x4029d8
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextLengthA
push 0xffffffffffffffff
push eax
mov eax, dword [esi + 0x20]
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x20]
push edx
push 0
push 0xc2
push eax
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040781c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040781c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040781c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0040781c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0040781c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc