Function at 0x421a40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49edc1
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2234], esi
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x421a8d
lea eax, [ebp + 8]
push eax
push str.id:_s
push 0x4b1be4
push 0xa86
push str.CMainViewWnd::DownloadPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
mov ebx, dword [esi + 0x23a8]
mov esi, dword [ebx]
add esp, 0x1c
cmp esi, ebx
je 0x421b15
lea ecx, [ecx]
cmp dword [ebp + 0x1c], 8
mov edi, dword [esi + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2240], edi
jae 0x421ad5
lea eax, [ebp + 8]
lea ecx, [edi + 0x100]
jmp 0x421ae0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421b06
test dx, dx
je 0x421b02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421b06
add eax, 4
add ecx, 4
test dx, dx
jne 0x421ae0
xor eax, eax
jmp 0x421b0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421b4a
mov esi, dword [esi]
cmp esi, ebx
jne 0x421ac0
mov ebx, 8
cmp dword [ebp + 0x1c], ebx
jb 0x421b2c
mov ecx, dword [ebp + 8]
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 - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 0x20
xor eax, eax
lea ecx, [edi + 0xb820]
mov word [ebp - 0x64], ax
mov eax, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
lea edx, [eax + 2]
lea esp, [esp]
mov si, word [eax]
add eax, 2
test si, si
jne 0x421b70
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.004027c0
push 1
push 0
push 0x4b1be0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0041ad00
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x422129
nop
push ebx
push 0
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00408400
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x54]
push edx
inc ebx
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00408400
mov esi, eax
lea ecx, [ebp - 0x64]
cmp ecx, esi
je 0x421c48
cmp dword [ebp - 0x50], 8
jb 0x421bf4
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [esi + 0x14], 8
jae 0x421c24
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x64]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x421c2b
mov eax, dword [esi]
mov dword [ebp - 0x64], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x54], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x50], edx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
jmp 0x421c4a
xor ebx, ebx
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x88], esi
jb 0x421c6b
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x80
lea edx, [ebp - 0x222c]
push ebx
push edx
mov dword [ebp - 0x2230], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x100
lea eax, [ebp - 0x21ac]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x800
lea ecx, [ebp - 0x20ac]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x800
lea edx, [ebp - 0x18ac]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x10ac]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x2234]
add esp, 0xc
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.HFUILib.dll_public:_struct_HWND______thiscall_CWindowWnd::GetHWND_void_const]
mov dword [ebp - 0x2230], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x421d03
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x222c]
push 0x40
push ecx
call edi
mov esi, dword [ebp - 0x2240]
add esp, 0xc
lea eax, [esi + 0xd8ac]
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.00462380
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], ebx
jbe 0x4221f7
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x421d44
lea eax, [ebp - 0x2c]
push eax
lea eax, [esi + 0x100]
push eax
call fcn.00462eb0
add esp, 8
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402d10
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x421d6f
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x421d83
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20ac]
push 0x400
push ecx
call edi
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x80]
xor edx, edx
mov esi, 7
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00402530
push 1
push 0xffffffffffffffff
push 0x4b1c24
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00408640
cmp eax, 0xffffffff
je 0x42226f
mov ecx, dword [ebp - 0x38]
push ecx
inc eax
push eax
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x48]
call fcn.00408400
mov esi, eax
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x421e53
cmp dword [ebp - 0x34], 8
jb 0x421e04
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [esi + 0x14], 8
jae 0x421e31
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x48]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x421e38
mov edx, dword [esi]
mov dword [ebp - 0x48], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x34], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x88], 8
jb 0x421e70
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x421e7c
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18ac]
push 0x400
push ecx
call edi
mov eax, dword [ebp - 0x80]
add esp, 0xc
cmp dword [ebp - 0x6c], 8
jae 0x421e9a
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x10ac]
push 0x800
push edx
call edi
mov esi, dword [ebp + 0x24]
lea eax, [ebp - 0x2230]
add esp, 0xc
push eax
mov dword [ebp - 0xa8], esi
call fcn.0040d860
add esp, 4
lea ecx, [ebp - 0x18ac]
push ecx
lea edx, [ebp - 0x20ac]
push edx
lea eax, [ebp - 0x10ac]
push eax
lea ecx, [ebp - 0x222c]
push ecx
push 0x4b1c28
push 0x4b1c70
push 0xab6
push str.CMainViewWnd::DownloadPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x28
push 1
push 0
push 0x4b1be0
lea ecx, [ebp - 0x64]
call fcn.0041ad00
mov edx, dword [ebp - 0x2234]
cmp byte [edx + 0x2694], 0
mov ebx, eax
jne 0x4220be
test esi, esi
jne 0x4220be
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.updateInstallProgress
call esi
mov dword [ebp - 0x2244], eax
test eax, eax
je 0x4224e7
push str.__gameid_:__
mov byte [ebp - 4], 7
call esi
mov dword [ebp - 0x2238], eax
test eax, eax
je 0x4224e7
lea eax, [ebp - 0x222c]
mov byte [ebp - 4], 8
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push eax
lea ecx, [ebp - 0x222c]
push ecx
lea ecx, [ebp - 0x2238]
call fcn.004153b0
test eax, eax
js 0x4222a9
push str.___speed_:__0b_s____t_t_t_t_t_t_t_t_t__remainTime_:__00:00:00____t_t_t_t_t_t_t_t_t__progress_:__0_______t_t_t_t_t_t_t_t_t__progresssize_:__0k_0k_
call esi
push eax
push str.___speed_:__0b_s____t_t_t_t_t_t_t_t_t__remainTime_:__00:00:00____t_t_t_t_t_t_t_t_t__progress_:__0_______t_t_t_t_t_t_t_t_t__progresssize_:__0k_0k_
lea ecx, [ebp - 0x2238]
call fcn.004153b0
test eax, eax
js 0x4222a9
lea edx, [ebp - 0x2258]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x2234]
mov edi, dword [eax + 0x2318]
test edi, edi
je 0x422093
xor eax, eax
mov dword [ebp - 0xa0], vtable.CHtmlFunc.0
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xa
push 0xc
mov dword [ebp - 0x90], eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x4222af
xor eax, eax
mov dword [esi], esi
mov dword [ebp - 0x94], esi
mov dword [esi + 4], esi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 0xb
mov edi, dword [edi + 0x3c]
cmp edi, eax
je 0x422037
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [ebp - 0x98], edi
mov ecx, dword [ebp - 0x2238]
mov edx, dword [ebp - 0x2244]
lea eax, [ebp - 0x2258]
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00414ce0
mov byte [ebp - 4], 9
mov eax, dword [esi]
mov dword [esi], esi
mov dword [esi + 4], esi
cmp eax, esi
je 0x422077
mov edi, dword [eax]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
cmp edi, esi
jne 0x422065
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp - 0x98]
add esp, 4
test eax, eax
je 0x422093
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x2258]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x2238]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [ebp - 0x2244]
push eax
call esi
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
cmp dword [ebp - 0x34], 8
jb 0x4220d1
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
cmp dword [ebp - 0x18], 8
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
jb 0x4220f9
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
jb 0x422120
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp ebx, 0xffffffff
jne 0x421bb0
cmp dword [ebp - 0x54], 0
jbe 0x4225c9
lea esi, [ebp - 0x2230]
call fcn.0040d660
mov ecx, dword [ebp - 0x2234]
call dword [sym.imp.HFUILib.dll_public:_struct_HWND______thiscall_CWindowWnd::GetHWND_void_const]
mov ebx, 8
mov dword [ebp - 0x2230], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x422160
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x222c]
push 0x40
push ecx
call edi
mov esi, dword [ebp - 0x2240]
add esp, 0xc
lea edx, [esi + 0xd8ac]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00462380
add esp, 8
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x1c], 0
ja 0x4222e7
mov ecx, dword [ebp - 0x2234]
push ecx
call fcn.004281d0
cmp dword [ebp - 0x18], ebx
jb 0x4221b4
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], ebx
jb 0x4221d9
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], dx
cmp dword [ebp + 0x1c], ebx
jb 0x421b2c
mov eax, dword [ebp + 8]
push eax
jmp 0x421b23
mov eax, dword [ebp - 0x2234]
push eax
call fcn.004281d0
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x42221a
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
xor edx, edx
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x6c], edi
jb 0x42223d
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x50], edi
jb 0x42225b
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
jmp 0x421b1d
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x422286
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], edi
jb 0x42221f
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x42221f
push eax
call fcn.00401050
lea edx, [ebp - 0x223c]
push edx
lea ecx, [ebp - 0x2264]
mov dword [ebp - 0x223c], 0
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x4bfb94
lea eax, [ebp - 0x2264]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402d10
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x422302
lea eax, [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x422316
lea eax, [ebp - 0x2c]
push eax
add esi, 0x100
push esi
call fcn.00462eb0
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], ebx
jae 0x422331
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x20ac]
push 0x400
push edx
call edi
add esp, 0xc
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0x64]
xor eax, eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.00402530
push 1
push 0xffffffffffffffff
mov bl, 0xd
push 0x4b1c24
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00408640
cmp eax, 0xffffffff
jne 0x4223e0
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jb 0x422396
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], ebx
jb 0x4223b9
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], ebx
jb 0x421b15
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x421b1a
mov ecx, dword [ebp - 0x38]
push ecx
inc eax
push eax
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x48]
call fcn.00408400
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.004085c0
mov byte [ebp - 4], bl
mov ebx, 8
cmp dword [ebp - 0x88], ebx
jb 0x422422
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x42242d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18ac]
push 0x400
push ecx
call edi
mov eax, dword [ebp - 0x64]
add esp, 0xc
cmp dword [ebp - 0x50], ebx
jae 0x42244a
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x10ac]
push 0x800
push edx
call edi
mov edi, dword [ebp + 0x24]
lea eax, [ebp - 0x2230]
add esp, 0xc
push eax
mov dword [ebp - 0xa8], edi
call fcn.0040d860
add esp, 4
lea ecx, [ebp - 0x18ac]
push ecx
lea edx, [ebp - 0x20ac]
push edx
lea eax, [ebp - 0x10ac]
push eax
lea ecx, [ebp - 0x222c]
push ecx
push 0x4b1c28
push 0x4b1c70
push 0xaef
push str.CMainViewWnd::DownloadPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
mov edx, dword [ebp - 0x2234]
add esp, 0x28
cmp byte [edx + 0x2694], 0
jne 0x42258c
cmp edi, esi
jne 0x42258c
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.updateInstallProgress
call edi
mov esi, eax
mov dword [ebp - 0x223c], esi
test esi, esi
jne 0x4224f1
push 0x8007000e
call fcn.00401050
push str.__gameid_:__
mov byte [ebp - 4], 0xf
call edi
mov dword [ebp - 0x2238], eax
test eax, eax
jne 0x422510
push 0x8007000e
call fcn.00401050
lea eax, [ebp - 0x222c]
push eax
lea ecx, [ebp - 0x2238]
mov byte [ebp - 4], 0x10
call fcn.004154b0
push str.___speed_:__0b_s____t_t_t_t_t_t_t_t_t__remainTime_:__00:00:00____t_t_t_t_t_t_t_t_t__progress_:__0_______t_t_t_t_t_t_t_t_t__progresssize_:__0k_0k_
lea ecx, [ebp - 0x2238]
call fcn.004154b0
lea ecx, [ebp - 0x2258]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [ebp - 0x2234]
mov byte [ebp - 4], 0x11
mov eax, dword [edx + 0x2318]
mov ebx, dword [ebp - 0x2238]
test eax, eax
je 0x42256c
lea ecx, [ebp - 0x2258]
push ecx
push ebx
push esi
push eax
call fcn.004169f0
lea edx, [ebp - 0x2258]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call edi
push esi
call edi
mov ebx, 8
xor esi, esi
cmp dword [ebp - 0x34], ebx
jb 0x42259e
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], ebx
jb 0x4223c5
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x4223c5
mov ebx, 8
jmp 0x4223c5