Function at 0x422050
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459672
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2654
call fcn.00443830
mov eax, dword [0x4792c4]
push ebx
mov dword [ebp - 0x14], eax
push esi
push edi
mov dword [ebp - 0x2618], ecx
xor eax, eax
mov byte [ebp - 0x614], 0
mov ecx, 0x7f
lea edi, [ebp - 0x613]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x614]
mov dword [ebp - 0x10], esp
push eax
call fcn.00421d90
add esp, 4
lea ecx, [ebp - 0x2650]
call sub.MFC71U.DLL_CFile::CFile
xor esi, esi
push esi
push esi
push esi
push esi
push 1
push esi
lea ecx, [ebp - 0x2664]
mov dword [ebp - 4], esi
mov dword [ebp - 0x261c], esi
call sub.MFC71U.DLL_CInternetFile::CInternetFile
push esi
mov word [ebp - 0x2614], si
xor eax, eax
push esi
mov ecx, 0x7ff
lea edi, [ebp - 0x2612]
rep stosd dword es:[edi], eax
push 0x4000001
push 1
push str.http:__update2.okok8.com_md5.xml
lea ecx, [ebp - 0x2664]
mov dword [ebp - 0x2620], esi
mov byte [ebp - 4], 2
stosw word es:[edi], ax
call sub.MFC71U.DLL_CHtmlEditDoc::OpenURL
mov ebx, eax
mov edx, dword [ebx]
push 0x2000
lea eax, [ebp - 0x2614]
push eax
mov ecx, ebx
mov dword [ebp - 0x261c], ebx
call dword [edx + 0x3c]
cmp eax, 0xd
mov dword [ebp - 0x2628], eax
jb 0x422175
push str._html_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
lea edi, [ebp - 0x2614]
mov esi, str._html_
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42216d
push 0x471394
lea eax, [ebp - 0x263c]
push eax
mov dword [ebp - 0x263c], edx
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [ebp - 0x2628]
xor esi, esi
cmp eax, 0x2b
jb 0x4221b1
push str.__DOCTYPE_HTML_PUBLIC
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
lea edi, [ebp - 0x2614]
mov esi, str.__DOCTYPE_HTML_PUBLIC
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4221af
push 0x471394
lea eax, [ebp - 0x2630]
push eax
mov dword [ebp - 0x2630], edx
call sub.MSVCR71.dll__CxxThrowException
xor esi, esi
push esi
lea ecx, [ebp - 0x2620]
push ecx
push 0x20000005
mov ecx, ebx
call sub.MFC71U.DLL_COleControl::XViewObject::QueryHitRect
cmp eax, esi
jne 0x4221f0
push esi
push esi
push 0x464878
call sub.MFC71U.DLL_AfxMessageBox
push 0x471384
lea edx, [ebp - 0x2638]
push edx
mov dword [ebp - 0x2638], 3
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [ebp - 0x2620]
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
mov dword [ebp - 0x2640], eax
mov byte [ebp - 0x414], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
push str.Temp
lea ecx, [ebp - 0x614]
push ecx
stosw word es:[edi], ax
lea edx, [ebp - 0x414]
push 0x464868
push edx
stosb byte es:[edi], al
call esi
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 0x214], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
push str.md5.xml
lea ecx, [ebp - 0x414]
push ecx
stosw word es:[edi], ax
lea edx, [ebp - 0x214]
push 0x464868
push edx
stosb byte es:[edi], al
call esi
add esp, 0x10
call dword [0x479098]
mov edi, eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.00443830
mov dword [ebp - 0x10], esp
mov eax, esp
push edi
push esi
lea ecx, [ebp - 0x214]
push ecx
push eax
call fcn.00421d50
push eax
lea ecx, [ebp - 0x2624]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push 0
push 0x1002
lea ecx, [ebp - 0x2624]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp - 0x2650]
call sub.MFC71U.DLL_CDataPathProperty::Open
test eax, eax
jne 0x422312
push eax
push eax
push 0x46484c
call sub.MFC71U.DLL_AfxMessageBox
push 0x471384
lea edx, [ebp - 0x262c]
push edx
mov dword [ebp - 0x262c], 2
call sub.MSVCR71.dll__CxxThrowException
mov edi, dword [ebp - 0x2628]
push edi
lea eax, [ebp - 0x2614]
push eax
lea ecx, [ebp - 0x2650]
call sub.MFC71U.DLL_CArchiveStream::Write
mov ecx, dword [ebp - 0x2618]
mov dword [ecx + 0xe0], 2
jmp 0x422340
mov edx, dword [ebx]
push 0x2000
lea eax, [ebp - 0x2614]
push eax
mov ecx, ebx
call dword [edx + 0x3c]
mov esi, eax
test esi, esi
jbe 0x422380
push esi
lea ecx, [ebp - 0x2614]
push ecx
lea ecx, [ebp - 0x2650]
call sub.MFC71U.DLL_CArchiveStream::Write
mov edx, dword [ebp - 0x2618]
mov dword [edx + 0xe0], 2
add edi, esi
jmp 0x422340
lea ecx, [ebp - 0x2650]
call sub.MFC71U.DLL_CDatabase::Close
mov eax, dword [ebp - 0x2618]
mov dword [eax + 0xe0], 3
cmp edi, dword [ebp - 0x2640]
jae 0x4223be
push 0x471394
lea ecx, [ebp - 0x2634]
push ecx
mov dword [ebp - 0x2634], 0
call sub.MSVCR71.dll__CxxThrowException
lea ecx, [ebp - 0x2624]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x2664]
mov byte [ebp - 4], 0
call fcn.00443118
lea ecx, [ebp - 0x2650]
mov dword [ebp - 4], 0xffffffff
call sub.MFC71U.DLL_CEvent::CEvent
xor eax, eax
jmp 0x422448
lea esp, [ebp - 0x2670]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0044370d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret