Function at 0x404280
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425304
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x22c]
test eax, eax
jne 0x4042c3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
mov ecx, 0x440ba8
call sub.MFC42u.DLL_CStringArray::SetSize
lea eax, [ebp - 0x2a8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x2a8]
push str.Temp
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea edx, [ebp - 0x2a8]
lea ecx, [ebp - 0x14]
push edx
call sub.MFC42u.DLL_CString::CString_1
push 0x4335d0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVCRT.dll__waccess]
push 0
push eax
call edi
add esp, 8
cmp eax, 0xffffffff
je 0x40434e
push 0x4335cc
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::operator_1
mov ecx, dword [ebp - 0x14]
push 0
push ecx
call edi
add esp, 8
cmp eax, 0xffffffff
jne 0x404331
mov edx, dword [ebp - 0x14]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40438c
push eax
push eax
push str.Problem_in_creating_Temp_Folder
call sub.MFC42u.DLL_AfxMessageBox
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call sub.MFC42u.DLL_CString::CString_4
mov ecx, 0x440bc0
call fcn.00402350
lea ecx, [ebp - 0x14]
push str._none.html
lea edx, [ebp - 0x2c]
push ecx
push edx
call sub.MFC42u.DLL_operator
push 0x10
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x4043e4
mov ecx, dword [ebp - 0x2c]
push 0x3001
push ecx
mov ecx, eax
call sub.MFC42u.DLL_CFile::CFile_1
mov edi, eax
jmp 0x4043e6
xor edi, edi
push str._HTML__BODY_bgcolor__F5FFFF____html_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [edi]
push 2
push 0
mov ecx, edi
mov byte [ebp - 4], 3
call dword [edx + 0x30]
mov eax, dword [ebp - 0x18]
mov edx, dword [edi]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x40]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
push 0xb8
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x404441
push 0
mov ecx, eax
call fcn.00416d80
jmp 0x404443
xor eax, eax
push 0
push 0
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [esi + 0x288], eax
call fcn.00416ef0
mov eax, dword [esi + 0x22c]
mov ecx, dword [esi + 0x288]
push 5
lea ebx, [eax + eax*4]
shl ebx, 2
mov dword [ebp - 0x28], ebx
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0x288]
xor edi, edi
push ebx
push edi
call fcn.00417240
mov ecx, dword [esi + 0x288]
push str.Loading_Registry_Files...
call fcn.00416fc0
mov ecx, dword [esi + 0x288]
push 1
call fcn.00417020
mov ecx, dword [esi + 0x288]
push edi
call fcn.00416fe0
lea ecx, [esi + 0x24c]
push 0x440958
call fcn.00423f2c
mov eax, dword [esi + 0x22c]
mov dword [ebp - 0x20], edi
cmp eax, edi
jle 0x40456a
lea eax, [ebp - 0x24]
mov ecx, 0x440bc0
push eax
call fcn.004023a0
push str._regmodtime.html
lea ecx, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::CString
push 0x10
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x38], eax
cmp eax, edi
mov byte [ebp - 4], 8
je 0x404521
mov edx, dword [ebp - 0x34]
push 0x3001
push edx
mov ecx, eax
call sub.MFC42u.DLL_CFile::CFile_1
mov edi, eax
push str._HTML__BODY_bgcolor__F5FFFF__
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], edi
call fcn.00423f2c
push str._H3__center_REGISTRY_MODIFICATION_TIME__center___H3__br_
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [edi]
push 2
push 0
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x18]
mov edx, dword [edi]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x40]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [esi + 0x22c]
jge 0x4049a8
lea edx, [ebp - 0x74]
push eax
push edx
lea ecx, [esi + 0x218]
mov dword [esi + 0x26c], 0
call fcn.00401a90
lea edi, [esi + 0x24c]
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00423f0e
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x8c]
call sub.MFC42u.DLL_CFile::CFile
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call sub.MFC42u.DLL_CException::CException
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call sub.MFC42u.DLL_CString::CString_3
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x4c], 0x42b464
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xffffffff
call fcn.00423f2c
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
push 0x8040
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call sub.MFC42u.DLL_CFile::Open
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0xd
call sub.MFC42u.DLL_CFile::GetLength
mov edi, eax
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebx, eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x38], ebx
push edi
push ebx
call sub.MFC42u.DLL_CFile::Read
lea edi, [esi + 0x240]
push 0x440958
mov ecx, edi
mov dword [esi + 0x230], 0
call fcn.00423f2c
mov edx, dword [ebx + 0x1028]
add ebx, 0x1020
mov dword [ebp - 0x94], edx
lea ecx, [ebp - 0x94]
mov eax, dword [ebx + 0xc]
lea edx, [ebp - 0x24]
push ecx
push edx
mov ecx, esi
mov dword [ebp - 0x90], eax
call fcn.0040f6d0
lea eax, [esi + 0x24c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x58]
push str._h5__font_face___courier__
push eax
call sub.MFC42u.DLL_operator_2
mov byte [ebp - 4], 0x13
push str._:__br___font__font_face___courier__color___999999__
lea ecx, [ebp - 0x7c]
push eax
push ecx
call sub.MFC42u.DLL_operator
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
push edx
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MFC42u.DLL_operator_1
push str.__font___h5_
lea ecx, [ebp - 0x5c]
push eax
push ecx
mov byte [ebp - 4], 0x15
call sub.MFC42u.DLL_operator
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x16
call fcn.00423f0e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0x20]
push 2
push 0
mov edx, dword [ecx]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax - 8]
mov edx, dword [edx]
add ecx, ecx
push ecx
mov ecx, dword [ebp - 0x20]
push eax
call dword [edx + 0x40]
lea edx, [ebx - 0x20]
push ebx
mov ecx, esi
mov dword [esi + 0x244], edx
call fcn.00404b60
test eax, eax
mov dword [ebp - 0x50], eax
mov dword [esi + 0x248], 0
je 0x4048ad
push 0x440958
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
push eax
push 0x43334c
push ecx
mov byte [ebp - 4], 0x17
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x60]
push edx
push str.ControlSet00
push eax
call sub.MFC42u.DLL_operator_2
push eax
mov ecx, edi
mov byte [ebp - 4], 0x18
call fcn.00423f0e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x17
call sub.MFC42u.DLL_CString::CString
push str.ControlComputerNameComputerName_
lea ecx, [ebp - 0x6c]
push edi
push ecx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x270]
mov byte [ebp - 4], 0x19
call fcn.00423f0e
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x17
call sub.MFC42u.DLL_CString::CString
push str.ControlWindows_
lea edx, [ebp - 0x68]
push edi
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x274]
mov byte [ebp - 4], 0x1a
call fcn.00423f0e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x17
call sub.MFC42u.DLL_CString::CString
push str.ControlTimeZoneInformation_
lea eax, [ebp - 0x70]
push edi
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x278]
mov byte [ebp - 4], 0x1b
call fcn.00423f0e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
call sub.MFC42u.DLL_CString::CString
push str.Services_
lea ecx, [ebp - 0x78]
push edi
push ecx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x27c]
mov byte [ebp - 4], 0x1c
call fcn.00423f0e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x17
call sub.MFC42u.DLL_CString::CString
push str.EnumUSBSTOR_
push edi
lea edx, [ebp - 0x54]
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x280]
mov byte [ebp - 4], 0x1d
call fcn.00423f0e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x17
call sub.MFC42u.DLL_CString::CString
push str.MountedDevices_
lea ecx, [esi + 0x284]
call fcn.00423f2c
push ebx
mov ecx, esi
call fcn.00410760
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esi + 0x288]
call fcn.00417050
push ebx
mov ecx, esi
call fcn.00404e70
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [ebp - 0x8c]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 0x4c], 0x42b464
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1e
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x4c], 0x42a938
mov byte [ebp - 4], 3
call fcn.00424262
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x40456f
mov eax, dword [esi + 0x250]
test eax, eax
jne 0x4049d0
mov eax, dword [esi + 0x254]
test eax, eax
jne 0x4049d0
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4049d0
mov eax, dword [esi + 0x25c]
test eax, eax
je 0x404a01
push 0x43321c
lea ecx, [ebp - 0x1c]
call fcn.00423f32
mov eax, dword [0x440bb0]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, 0x440ba8
mov byte [ebp - 4], 0x1f
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esi + 0x288]
push ebx
call fcn.00416fe0
mov ecx, dword [esi + 0x288]
mov edx, dword [ecx]
call dword [edx + 0x60]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x288], 0
mov eax, dword [ecx]
call dword [eax + 0x54]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret