Function at 0x4225e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ecd9
mov eax, dword fs:[0]
push eax
mov eax, 0x2248
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x20c]
push ecx
lea edx, [ebp + 0x10c]
push edx
push str.id:_s__title:_s
push 0x4b1be4
push 0xb0b
push str.CMainViewWnd::DownloadPro
push str.sourceMainView.cpp
push 2
mov dword [ebp - 0x223c], eax
call fcn.0047d210
xor ebx, ebx
add esp, 0x20
xor eax, eax
mov word [ebp - 0x4c], ax
lea eax, [ebp + 0xb82c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x422667
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp + 0xb82c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004027c0
push 1
push ebx
push 0x4b1be0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.0041ad00
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
mov esi, eax
cmp esi, 0xffffffff
je 0x422b83
lea ebx, [ebx]
push esi
push ebx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00408400
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
push eax
inc esi
push esi
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00408400
mov esi, eax
lea edx, [ebp - 0x4c]
cmp edx, esi
je 0x422746
cmp dword [ebp - 0x38], 8
jb 0x4226f6
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [esi + 0x14], 8
jae 0x422724
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x4c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x42272b
mov ecx, dword [esi]
mov dword [ebp - 0x4c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x3c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x8c], 8
jb 0x422763
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x80
lea eax, [ebp - 0x2230]
push ebx
push eax
mov dword [ebp - 0x2234], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x21b0]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x800
lea edx, [ebp - 0x20b0]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x800
lea eax, [ebp - 0x18b0]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1000
lea ecx, [ebp - 0x10b0]
push ebx
push ecx
call sub.MSVCR100.dll_memset
mov esi, dword [ebp - 0x223c]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
call dword [sym.imp.HFUILib.dll_public:_struct_HWND______thiscall_CWindowWnd::GetHWND_void_const]
lea edx, [ebp + 0x10c]
push edx
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x2230]
push 0x40
push eax
call edi
add esp, 0xc
lea ecx, [ebp + 0xd8b8]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00462380
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x20], ebx
jbe 0x422c19
lea eax, [ebp + 0x10c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422830
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x10c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004026a0
mov eax, dword [ebp - 0x30]
mov esi, 8
cmp dword [ebp - 0x1c], esi
jae 0x42285f
lea eax, [ebp - 0x30]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x422872
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x10c]
push ecx
call fcn.00462eb0
mov eax, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp - 0x1c], esi
jae 0x42288d
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x20b0]
push 0x400
push edx
call edi
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x84]
xor eax, eax
push ecx
mov esi, 7
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
call fcn.00402530
push 1
push 0xffffffffffffffff
push 0x4b1c24
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00408640
cmp eax, 0xffffffff
je 0x422c73
mov edx, dword [ebp - 0x58]
push edx
inc eax
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x68]
call fcn.00408400
mov esi, eax
lea ecx, [ebp - 0x68]
cmp ecx, esi
je 0x422961
cmp dword [ebp - 0x54], 8
jb 0x422911
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
cmp dword [esi + 0x14], 8
jae 0x42293f
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x68]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x422946
mov eax, dword [esi]
mov dword [ebp - 0x68], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x58], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x54], edx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], 8
jb 0x42297e
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x42298a
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x18b0]
push 0x400
push edx
call edi
mov eax, dword [ebp - 0x84]
add esp, 0xc
cmp dword [ebp - 0x70], 8
jae 0x4229ae
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x10b0]
push 0x800
push eax
call edi
lea ecx, [ebp - 0x2234]
add esp, 0xc
push ecx
mov dword [ebp - 0xac], ebx
call fcn.0040d860
add esp, 4
lea edx, [ebp - 0x18b0]
push edx
lea eax, [ebp - 0x20b0]
push eax
lea ecx, [ebp - 0x10b0]
push ecx
lea edx, [ebp - 0x2230]
push edx
push 0x4b1c28
push 0x4b1c70
push 0xb31
push str.CMainViewWnd::DownloadPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x28
push 1
push ebx
push 0x4b1be0
lea ecx, [ebp - 0x4c]
call fcn.0041ad00
mov esi, eax
mov eax, dword [ebp - 0x223c]
cmp byte [eax + 0x2694], bl
jne 0x422b1b
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.updateInstallProgress
call edi
mov dword [ebp - 0x2240], eax
cmp eax, ebx
je 0x422ec1
push str.__gameid_:__
mov byte [ebp - 4], 6
call edi
mov dword [ebp - 0x2238], eax
cmp eax, ebx
je 0x422ec1
lea ecx, [ebp - 0x2230]
mov byte [ebp - 4], 7
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call edi
push eax
lea edx, [ebp - 0x2230]
push edx
lea ecx, [ebp - 0x2238]
call fcn.004153b0
cmp eax, ebx
jl 0x422cea
push str.___speed_:__0b_s____t_t_t_t_t_t_t__remainTime_:__00:00:00____t_t_t_t_t_t_t__progress_:__0_______t_t_t_t_t_t_t__progresssize_:__0k_0k_
call edi
push eax
push str.___speed_:__0b_s____t_t_t_t_t_t_t__remainTime_:__00:00:00____t_t_t_t_t_t_t__progress_:__0_______t_t_t_t_t_t_t__progresssize_:__0k_0k_
lea ecx, [ebp - 0x2238]
call fcn.004153b0
cmp eax, ebx
jl 0x422cea
lea eax, [ebp - 0x2254]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x223c]
mov byte [ebp - 4], 8
mov eax, dword [ecx + 0x2318]
mov edi, dword [ebp - 0x2238]
cmp eax, ebx
je 0x422af6
mov ecx, dword [ebp - 0x2240]
lea edx, [ebp - 0x2254]
push edx
push edi
push ecx
push eax
call fcn.004169f0
lea edx, [ebp - 0x2254]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
mov eax, dword [ebp - 0x2240]
push eax
call edi
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
cmp dword [ebp - 0x54], 8
jb 0x422b2e
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
jb 0x422b51
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
jb 0x422b7a
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, 0xffffffff
jne 0x4226b0
cmp dword [ebp - 0x3c], ebx
jbe 0x422f72
lea esi, [ebp - 0x2234]
call fcn.0040d660
mov ecx, dword [ebp - 0x223c]
call dword [sym.imp.HFUILib.dll_public:_struct_HWND______thiscall_CWindowWnd::GetHWND_void_const]
mov dword [ebp - 0x2234], eax
lea eax, [ebp + 0x10c]
push eax
lea ecx, [ebp - 0x2230]
push 0x40
push ecx
call edi
add esp, 0xc
lea edx, [ebp + 0xd8b8]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00462380
add esp, 8
mov byte [ebp - 4], 9
cmp dword [ebp - 0x20], ebx
ja 0x422cf0
mov ecx, dword [ebp - 0x223c]
push ecx
call fcn.004281d0
mov esi, 8
cmp dword [ebp - 0x1c], esi
jb 0x422c01
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
jmp 0x422f76
push esi
call fcn.004281d0
mov esi, 8
cmp dword [ebp - 0x1c], esi
jb 0x422c36
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x70], esi
jb 0x422c5c
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp - 0x38], esi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
jmp 0x422f76
mov edi, 8
cmp dword [ebp - 0x54], edi
jb 0x422c8a
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
cmp dword [ebp - 0x1c], edi
jb 0x422ca8
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x70], edi
jb 0x422cc9
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], cx
cmp dword [ebp - 0x38], edi
jb 0x422f85
mov edx, dword [ebp - 0x4c]
push edx
jmp 0x422f7c
push eax
call fcn.00401050
lea eax, [ebp + 0x10c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422d00
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp + 0x10c]
push edx
lea ecx, [ebp - 0x30]
call fcn.004026a0
mov eax, dword [ebp - 0x30]
mov esi, 8
cmp dword [ebp - 0x1c], esi
jae 0x422d2f
lea eax, [ebp - 0x30]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x422d42
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x10c]
push eax
call fcn.00462eb0
mov eax, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp - 0x1c], esi
jae 0x422d5d
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20b0]
push 0x400
push ecx
call edi
mov eax, dword [ebp - 0x4c]
add esp, 0xc
cmp dword [ebp - 0x38], esi
jae 0x422d7a
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x10b0]
push 0x800
push edx
call edi
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x4c]
xor eax, eax
push ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
call fcn.00402530
push 1
push 0xffffffffffffffff
push 0x4b1c24
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00408640
lea ecx, [ebp - 0x84]
cmp eax, 0xffffffff
jne 0x422df4
call fcn.004024d0
lea ecx, [ebp - 0x30]
call fcn.004024d0
lea ecx, [ebp - 0x4c]
call fcn.004024d0
jmp 0x422f85
mov edx, dword [ebp - 0x74]
push edx
inc eax
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00408400
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.004085c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.004024d0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x70], esi
jae 0x422e36
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x18b0]
push 0x400
push ecx
call edi
lea edx, [ebp - 0x2234]
add esp, 0xc
push edx
call fcn.0040d860
add esp, 4
lea eax, [ebp - 0x18b0]
push eax
lea ecx, [ebp - 0x20b0]
push ecx
lea edx, [ebp - 0x10b0]
push edx
lea eax, [ebp - 0x2230]
push eax
push 0x4b1c28
push 0x4b1c70
push 0xb65
push str.CMainViewWnd::DownloadPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
mov ecx, dword [ebp - 0x223c]
add esp, 0x28
cmp byte [ecx + 0x2694], bl
jne 0x422f5f
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.updateInstallProgress
call edi
mov esi, eax
mov dword [ebp - 0x2240], esi
cmp esi, ebx
jne 0x422ecb
push 0x8007000e
call fcn.00401050
push str.__gameid_:__
mov byte [ebp - 4], 0xc
call edi
mov dword [ebp - 0x2238], eax
cmp eax, ebx
jne 0x422eea
push 0x8007000e
call fcn.00401050
lea edx, [ebp - 0x2230]
push edx
lea ecx, [ebp - 0x2238]
mov byte [ebp - 4], 0xd
call fcn.004154b0
push str.___speed_:__0b_s____t_t_t_t_t_t_t__remainTime_:__00:00:00____t_t_t_t_t_t_t__progress_:__0_______t_t_t_t_t_t_t__progresssize_:__0k_0k_
lea ecx, [ebp - 0x2238]
call fcn.004154b0
lea eax, [ebp - 0x2254]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x223c]
mov byte [ebp - 4], 0xe
mov eax, dword [ecx + 0x2318]
cmp eax, ebx
mov ebx, dword [ebp - 0x2238]
je 0x422f46
lea edx, [ebp - 0x2254]
push edx
push ebx
push esi
push eax
call fcn.004169f0
lea eax, [ebp - 0x2254]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call edi
push esi
call edi
lea ecx, [ebp - 0x84]
call fcn.004024d0
lea ecx, [ebp - 0x30]
call fcn.004024d0
cmp dword [ebp - 0x38], 8
jb 0x422f85
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 0xe95c