Function at 0x401170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d073
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x47c028]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x47c028]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
lea eax, [esp + 0x44]
mov edi, 8
push eax
mov esi, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3824
push 0
call sub.MFC80U.DLL_Ordinal_1049
add esp, 4
lea ecx, [esp + 0xfc]
push ecx
call fcn.00466050
push str.tasktypegettaskinfo
lea ecx, [esp + 0xd4]
mov dword [esp + 0x2ac], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0xe8], edi
mov edx, dword [esp + 0xd4]
jae 0x401228
lea edx, [esp + 0xd4]
lea ecx, [esp + 0xfc]
call fcn.00466120
lea ecx, [esp + 0xd0]
mov byte [esp + 0x2a8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.http:__pandora.cupid.qiyi.com_c.txt
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x2a8], 2
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x38]
lea edx, [esp + 0x18]
call fcn.00468cc0
add esp, 4
test eax, eax
je 0x401ffa
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov eax, edi
and eax, 7
mov dword [esp + 0x290], ecx
xor ecx, ecx
mov dword [esp + 0x2c], eax
or eax, ecx
mov esi, edi
mov dword [esp + 0x30], ecx
je 0x401313
mov edx, dword [esp + 0x38]
add edi, 1
adc edx, 0
mov eax, edi
and eax, 7
xor ecx, ecx
or eax, ecx
jne 0x4012a9
cmp edi, esi
mov dword [esp + 0x38], edx
jne 0x4012cb
cmp edx, dword [esp + 0x290]
je 0x401313
push edi
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
push esi
push ebx
push eax
mov dword [esp + 0x20], eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push ebx
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [esp + 0x30]
add esp, 4
or eax, dword [esp + 0x30]
je 0x401313
mov edx, dword [esp + 0x290]
add esi, 1
mov byte [esi + ebx - 1], 8
adc edx, 0
mov eax, esi
and eax, 7
xor ecx, ecx
or eax, ecx
jne 0x4012fd
xor ebx, ebx
xor ecx, ecx
mov eax, ecx
cdq
mov esi, edi
sub esi, eax
mov eax, dword [esp + 0x38]
sbb eax, edx
test eax, eax
ja 0x401338
jb 0x401332
cmp esi, 0x2000
jae 0x401338
mov dword [esp + 0x2c], esi
jmp 0x401340
mov dword [esp + 0x2c], 0x2000
mov edx, dword [esp + 0x14]
push 8
lea eax, [esp + 0x290]
push str.www.qiyi.com
push eax
lea esi, [ecx + edx]
call sub.MSVCR80.dll_strncpy
add esp, 0xc
lea eax, [esp + 0x28c]
call fcn.004035a0
mov edx, dword [esp + 0x2c]
push esi
lea esi, [esp + 0xd4]
mov ecx, eax
mov dword [esp + 0xe0], 1
call fcn.004028a0
add ebx, 1
mov ecx, ebx
shl ecx, 0xd
mov edx, edi
sub edx, ecx
xor eax, eax
add esp, 4
test edx, edx
setg al
test eax, eax
jne 0x401317
lea ecx, [esp + 0x140]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x140]
mov byte [esp + 0x2a8], 4
mov edi, dword [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.00469040
push edi
mov esi, eax
call sub.MFC80U.DLL_Ordinal_266
lea ecx, [esp + 0x14c]
add esp, 0xc
push ecx
lea edi, [esp + 0x128]
call fcn.00469610
add esp, 4
cmp esi, ebx
mov byte [esp + 0x2a8], 5
je 0x401f98
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x401f98
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x401f98
push str.tasktypegettasksuccesstaskversion
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, edi
push ecx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x2ac], 6
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esp + 0xe8], 8
mov edx, dword [esp + 0xd4]
jae 0x40147c
lea edx, [esp + 0xd4]
lea ecx, [esp + 0xfc]
call fcn.00466120
lea ecx, [esp + 0xd0]
mov byte [esp + 0x2a8], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4014a9
xor eax, eax
jmp 0x4014c0
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 0x21c]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x290], ebx
call fcn.00467ea0
mov byte [esp + 0x2a8], 7
xor edi, edi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4015d3
mov ecx, esi
sub ecx, ebx
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4015d3
mov eax, dword [esp + 0x14]
sub esp, 0x1c
lea edx, [ebx + eax + 0x38]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x401554
mov esi, dword [esp + 0x40]
mov edx, esi
sub edx, ecx
mov eax, 0x30c30c31
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x401562
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov ebx, dword [esp + 0x30]
lea eax, [ecx + ebx]
mov dword [esp + 0x30], eax
je 0x401588
sub esi, ecx
mov eax, 0x30c30c31
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x401592
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [ecx + ebx + 0x1c]
push edx
push eax
lea ecx, [esp + 0x240]
call fcn.00467fd0
test eax, eax
jne 0x4015bc
sub dword [esp + 0x18], 1
add edi, 1
add ebx, 0x54
jmp 0x4014e6
cmp eax, 1
jne 0x4015c8
mov dword [esp + 0x28c], eax
add edi, 1
add ebx, 0x54
jmp 0x4014e6
cmp dword [esp + 0x28c], 0
je 0x4016de
push 1
push 2
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
lea ecx, [esp + 0x4c]
push str.tasktypeclear
push ecx
mov byte [esp + 0x2b0], 8
call fcn.004023b0
lea edx, [esp + 0x54]
push str.taskversion
push edx
call fcn.004023b0
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0x64]
push str.btypei
push edx
call fcn.004023b0
lea eax, [esp + 0x6c]
push 0x46e68c
push eax
call fcn.00402570
mov ecx, dword [esp + 0x54]
add esp, 0x28
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea edx, [esp + 0x4c]
push str.finish
push edx
call fcn.00402570
mov eax, dword [esp + 0x20]
add esp, 8
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov byte [esp + 0x2a8], 9
cmp dword [eax + 0x18], 8
jb 0x40169e
mov eax, dword [eax + 4]
jmp 0x4016a1
add eax, 4
mov edx, eax
lea ecx, [esp + 0xfc]
call fcn.00466120
lea ecx, [esp + 0xd0]
mov byte [esp + 0x2a8], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2a8], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x28c], edi
mov dword [esp + 0x14], edi
test ebx, ebx
je 0x4017e2
sub esi, ebx
mov eax, 0x30c30c31
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4017e2
mov eax, dword [esp + 0x14]
sub esp, 0x1c
lea edx, [ebx + eax + 0x38]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x401753
mov esi, dword [esp + 0x40]
mov edx, esi
sub edx, ecx
mov eax, 0x30c30c31
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x401761
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, dword [esp + 0x30]
lea ebx, [ecx + eax]
je 0x401783
sub esi, ecx
mov eax, 0x30c30c31
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40178d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push ebx
lea eax, [ecx + edx + 0x1c]
push eax
lea ebx, [esp + 0x240]
call fcn.00468500
test eax, eax
jne 0x4017c1
sub dword [esp + 0x18], 1
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
add edi, 1
add dword [esp + 0x14], 0x54
jmp 0x4016f3
cmp eax, 1
jne 0x4017cd
mov dword [esp + 0x28c], eax
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
add edi, 1
add dword [esp + 0x14], 0x54
jmp 0x4016f3
cmp dword [esp + 0x28c], 0
je 0x4018e5
push 1
push 2
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
lea ecx, [esp + 0x4c]
push str.tasktypeclear
mov bl, 0xa
push ecx
mov byte [esp + 0x2b0], bl
call fcn.004023b0
lea edx, [esp + 0x54]
push str.taskversion
push edx
call fcn.004023b0
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0x64]
push str.btypeiprotect
push edx
call fcn.004023b0
lea eax, [esp + 0x6c]
push 0x46e68c
push eax
call fcn.00402570
mov ecx, dword [esp + 0x54]
add esp, 0x28
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea edx, [esp + 0x4c]
push str.finish
push edx
call fcn.00402570
mov eax, dword [esp + 0x20]
add esp, 8
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov byte [esp + 0x2a8], 0xb
cmp dword [eax + 0x18], 8
jb 0x4018ae
mov eax, dword [eax + 4]
jmp 0x4018b1
add eax, 4
mov edx, eax
lea ecx, [esp + 0xfc]
call fcn.00466120
lea ecx, [esp + 0xd0]
mov byte [esp + 0x2a8], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2a8], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov edx, dword [esp + 0x2c]
xor edi, edi
lea esi, [esp + 0x15c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28c], edi
call fcn.00466490
mov byte [esp + 0x2a8], 0xc
cmp dword [esp + 0x178], 0x10
mov eax, dword [esp + 0x164]
jae 0x401922
lea eax, [esp + 0x164]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x401b6c
mov dword [esp + 0x14], edi
jmp 0x401940
mov esi, dword [esp + 0x20]
test esi, esi
je 0x401a44
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x401a44
mov eax, dword [esp + 0x14]
sub esp, 0x1c
lea edx, [eax + esi + 0x38]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4019a8
mov esi, dword [esp + 0x40]
mov edx, esi
sub edx, ecx
mov eax, 0x30c30c31
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4019b6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, dword [esp + 0x30]
lea ebx, [eax + ecx]
je 0x4019d8
sub esi, ecx
mov eax, 0x30c30c31
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4019e2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [edx + ecx + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x180]
call fcn.004665e0
test eax, eax
je 0x401a15
cmp eax, 1
jne 0x401a08
mov dword [esp + 0x28c], eax
add edi, 1
add dword [esp + 0x14], 0x54
jmp 0x401940
mov eax, dword [esp + 0x1b8]
test eax, eax
je 0x401a3a
push eax
mov esi, eax
call fcn.004037e0
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x18], 0
jmp 0x401a4b
mov eax, dword [esp + 0x1b8]
test eax, eax
je 0x401a69
push eax
mov esi, eax
call fcn.004037e0
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
mov dword [esp + 0x1b8], eax
cmp dword [esp + 0x28c], 0
je 0x401b73
push 1
push 2
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
lea ecx, [esp + 0x4c]
push str.tasktypeclear
mov bl, 0xd
push ecx
mov byte [esp + 0x2b0], bl
call fcn.004023b0
lea edx, [esp + 0x54]
push str.taskversion
push edx
call fcn.004023b0
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0x64]
push str.btypec
push edx
call fcn.004023b0
lea eax, [esp + 0x6c]
push 0x46e68c
push eax
call fcn.00402570
mov ecx, dword [esp + 0x54]
add esp, 0x28
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea edx, [esp + 0x4c]
push str.finish
push edx
call fcn.00402570
mov eax, dword [esp + 0x20]
add esp, 8
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov byte [esp + 0x2a8], 0xe
cmp dword [eax + 0x18], 8
jb 0x401b35
mov eax, dword [eax + 4]
jmp 0x401b38
add eax, 4
mov edx, eax
lea ecx, [esp + 0xfc]
call fcn.00466120
lea ecx, [esp + 0xd0]
mov byte [esp + 0x2a8], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2a8], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov eax, dword [esp + 0x1b8]
xor edi, edi
cmp eax, edi
je 0x401b91
push eax
mov esi, eax
call fcn.004037e0
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x1b8], edi
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0x1bc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28c], edi
call fcn.00467870
mov byte [esp + 0x2a8], 0xf
cmp dword [esp + 0x1d8], 0x10
mov eax, dword [esp + 0x1c4]
jae 0x401bcc
lea eax, [esp + 0x1c4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x401e15
mov dword [esp + 0x14], edi
nop
mov esi, dword [esp + 0x20]
test esi, esi
je 0x401cc7
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x401cc7
mov eax, dword [esp + 0x14]
sub esp, 0x1c
lea edx, [eax + esi + 0x38]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x401c48
mov esi, dword [esp + 0x40]
mov edx, esi
sub edx, ecx
mov eax, 0x30c30c31
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x401c56
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, dword [esp + 0x30]
lea ebx, [eax + ecx]
je 0x401c78
sub esi, ecx
mov eax, 0x30c30c31
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x401c82
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [edx + ecx + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x1e0]
call fcn.00467a60
test eax, eax
jne 0x401cae
sub dword [esp + 0x18], 1
add edi, 1
add dword [esp + 0x14], 0x54
jmp 0x401be0
cmp eax, 1
jne 0x401cba
mov dword [esp + 0x28c], eax
add edi, 1
add dword [esp + 0x14], 0x54
jmp 0x401be0
mov eax, dword [esp + 0x218]
test eax, eax
je 0x401d12
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esp + 0x2a8], 0x10
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x401cf0
push eax
call fcn.004619f0
add esp, 4
mov ecx, esi
mov byte [esp + 0x2a8], 0xf
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
mov dword [esp + 0x218], eax
cmp dword [esp + 0x28c], 0
je 0x401e1c
push 1
push 2
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
lea ecx, [esp + 0x4c]
push str.tasktypeclear
mov bl, 0x11
push ecx
mov byte [esp + 0x2b0], bl
call fcn.004023b0
lea edx, [esp + 0x54]
push str.taskversion
push edx
call fcn.004023b0
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0x64]
push str.btypef
push edx
call fcn.004023b0
lea eax, [esp + 0x6c]
push 0x46e68c
push eax
call fcn.00402570
mov ecx, dword [esp + 0x54]
add esp, 0x28
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea edx, [esp + 0x4c]
push str.finish
push edx
call fcn.00402570
mov eax, dword [esp + 0x20]
add esp, 8
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov byte [esp + 0x2a8], 0x12
cmp dword [eax + 0x18], 8
jb 0x401dde
mov eax, dword [eax + 4]
jmp 0x401de1
add eax, 4
mov edx, eax
lea ecx, [esp + 0xfc]
call fcn.00466120
lea ecx, [esp + 0xd0]
mov byte [esp + 0x2a8], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2a8], 0xf
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov eax, dword [esp + 0x218]
test eax, eax
je 0x401e62
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esp + 0x2a8], 0x13
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x401e3e
push eax
call fcn.004619f0
add esp, 4
mov ecx, esi
mov byte [esp + 0x2a8], 0xf
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x218], 0
mov byte [esp + 0x2a8], 0xc
lea ecx, [esp + 0x1bc]
mov dword [esp + method.CFireFoxCookieRW.virtual_0], vtable.CFireFoxCookieRW.0
call fcn.004677b0
mov byte [esp + 0x2a8], 7
lea ecx, [esp + 0x15c]
mov dword [esp + method.CChromCookieRW.virtual_0], vtable.CChromCookieRW.0
call fcn.004677b0
mov dword [esp + method.CIECookieRW.virtual_0], vtable.CIECookieRW.0
mov byte [esp + 0x2a8], 0x14
mov eax, dword [esp + 0x27c]
test eax, eax
je 0x401ec5
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x21c]
mov byte [esp + 0x2a8], 5
call fcn.004677b0
lea ecx, [esp + 0x124]
mov byte [esp + 0x2a8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x2a8], 3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401f1a
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
push edx
push eax
call fcn.004027a0
mov eax, dword [esp + 0x28]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 0xc
xor edi, edi
lea ecx, [esp + 0x140]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x2a8], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x108]
mov dword [esp + 0x2a8], 0x15
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x104]
cmp eax, edi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x401f73
push eax
call esi
mov eax, dword [esp + 0x100]
cmp eax, edi
je 0x401f81
push eax
call esi
mov eax, dword [esp + 0xfc]
cmp eax, edi
je 0x40201c
push eax
call esi
jmp 0x40201c
lea ecx, [esp + 0x124]
mov byte [esp + 0x2a8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x2a8], 3
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x401fd9
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
push ecx
push eax
call fcn.004027a0
mov edx, dword [esp + 0x28]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 0xc
lea ecx, [esp + 0x140]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2a8], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [esp + 0xfc]
push eax
mov dword [esp + 0x2ac], 0xffffffff
call fcn.004660b0
xor eax, eax
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.0046ae55
mov esp, ebp
pop ebp
ret