Function at 0x404f00
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40ab8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
mov dword [esp + 0x20], ecx
push str.C:Program_FilesClearDiskData
call dword [sym.imp.MSVCRT.dll__mkdir]
mov eax, dword [esp + 0x144]
xor ebx, ebx
add esp, 4
xor ebp, ebp
cmp eax, ebx
jl 0x40519a
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x140], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CFile::CFile
push ebp
lea eax, [esp + 0x14]
push str.ClearDiskDB_02d.cft
push eax
mov byte [esp + 0x14c], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x1c]
push str.C:Program_FilesClearDiskData_
call fcn.00409e80
mov ecx, dword [esp + 0x10]
push ebx
push 0x8000
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFile::Open
mov esi, eax
cmp esi, ebx
je 0x404fba
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFile::Close
cmp esi, 1
je 0x405153
mov edx, dword [str.222.122.142.214]
mov eax, dword [0x40d0ec]
mov ecx, dword [0x40d0f0]
mov dword [esp + 0x3c], edx
mov edx, dword [0x40d0f4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], edx
mov byte [esp + 0xd4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xd5]
mov byte [esp + 0x70], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x71]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x18]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 3
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push str.http:__222.122.142.214_cleardisk_DB_
push ecx
mov byte [esp + 0x14c], 4
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 5
call fcn.00409eda
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 4
call fcn.00409d12
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 6
call fcn.00409eda
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call fcn.00409d12
push 0x64
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x64
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xd4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x3c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.00403b30
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 3
call fcn.00409d12
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 2
call fcn.00409d12
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 1
call fcn.00409eaa
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], bl
call fcn.00409d12
lea ecx, [esp + 0x10]
mov dword [esp + 0x140], 0xffffffff
call fcn.00409d12
mov eax, dword [esp + 0x148]
inc ebp
cmp ebp, eax
jle 0x404f44
pop edi
pop esi
mov ecx, dword [esp + 0x130]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret 4