Function at 0x4086a0
Capabilities:
Check for time delay via gettickcount
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x760
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x1c], ebx
je 0x40873a
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4086de
xor eax, eax
jmp 0x4086e6
mov eax, dword [eax + 0x10]
sub eax, ecx
sar eax, 2
test eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
jbe 0x40873a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x100]
push eax
call fcn.004038b0
mov esi, eax
xor edi, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40872c
mov ecx, dword [esi + 0x20]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x40872c
push edi
mov ecx, esi
call fcn.00403df0
mov cl, byte [eax + 0x20]
test cl, cl
je 0x408765
inc edi
jmp 0x408707
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
inc eax
cmp eax, ecx
mov dword [ebp - 0x28], eax
jb 0x4086f4
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x40]
mov byte [ebx + 0x128], 1
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0xc]
mov dword [ebp - 0x7c], eax
cmp byte [eax], 0
je 0x40881a
push 0x424284
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
lea edx, [ebp - 0x24]
mov ecx, ebx
push edx
mov dword [ebp - 4], 0
call fcn.004014e0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
push 0
push 0
push 0
mov edi, 1
push 0
push edi
push 0
lea ecx, [ebp - 0x100]
call fcn.0041b2d4
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 4], edi
test eax, eax
mov byte [ebp - 4], 2
jne 0x4087d3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x100]
call sub.MFC42.DLL_CInternetSession::GetHttpConnection
mov esi, eax
mov ecx, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], edi
call fcn.00401510
mov eax, dword [ebp - 0x7c]
cmp byte [eax], 0
jne 0x40882d
test esi, esi
je 0x408808
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CInternetSession::CInternetSession
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x11], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebx + 0x100]
mov byte [ebp - 4], 5
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x40884e
xor ecx, ecx
jmp 0x408856
mov ecx, dword [eax + 0x10]
sub ecx, edx
sar ecx, 2
xor eax, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], eax
cmp eax, ecx
jae 0x409774
mov ecx, dword [ebp - 0x7c]
cmp byte [ecx], 0
je 0x409774
mov ecx, dword [ebx + 0x100]
push eax
call fcn.004038b0
mov edi, eax
mov dword [ebp - 0xa8], edi
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x408892
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea edx, [ebp - 0x18]
push 0x424270
push edx
call sub.MFC42.DLL_CString::Format
mov al, byte [ebx + 0x68]
lea esi, [ebx + 0x68]
add esp, 0xc
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x74], al
push 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
lea ecx, [ebp - 0x74]
push edx
push 0
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov al, byte [ebx + 0xc8]
lea esi, [ebx + 0xc8]
push 0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
mov byte [ebp - 0x8c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
lea ecx, [ebp - 0x8c]
push edx
push 0
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebx + 0x120], eax
mov dword [ebp - 0xc8], 0x84200002
mov dword [ebp - 0x60], ecx
xor esi, esi
mov eax, dword [edi + 0x1c]
cmp eax, esi
je 0x4096ff
mov edx, dword [edi + 0x20]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x4096ff
mov eax, dword [ebp - 0x7c]
cmp byte [eax], 0
je 0x4096ff
push ecx
mov ecx, edi
call fcn.00403df0
mov cl, byte [eax + 0x20]
mov dword [ebp - 0x5c], eax
test cl, cl
jne 0x4096e6
mov ecx, eax
mov esi, dword [ecx + 0xc]
test esi, esi
jne 0x408976
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov dl, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0xec]
mov byte [ebp - 0xec], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0xec]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4089d4
mov edi, dword [ebp - 0xe8]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xe4], ebx
mov byte [ecx + ebx], 0
lea edx, [ebp - 0xec]
push 0x2f
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x58]
push eax
push ecx
mov byte [ebp - 4], 8
call fcn.00402460
add esp, 0x10
push 1
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [ebp - 0x5c]
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x408a18
mov esi, eax
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0xd8], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0xd8]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x408a76
mov edi, dword [ebp - 0xd4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], ebx
mov byte [eax + ebx], 0
lea ecx, [ebp - 0xd8]
push 0x2f
lea edx, [ebp - 0x74]
push ecx
lea eax, [ebp - 0x38]
push edx
push eax
mov byte [ebp - 4], 0xb
call fcn.00402460
add esp, 0x10
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x18]
test eax, 0xfffffc00
je 0x408af7
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x408abf
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 0
fild qword [ebp - 0x130]
sub esp, 8
fmul qword [0x41e538]
fstp qword [esp]
push ecx
lea ecx, [ebp - 0x18]
push 0x4244a0
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
xor edi, edi
jmp 0x408b1d
xor edi, edi
cmp eax, edi
je 0x408b1d
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
jne 0x408b0a
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push ecx
lea edx, [ebp - 0x18]
push 0x424488
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00401450
mov eax, dword [0x424480]
mov ecx, dword [0x424478]
mov edx, dword [0x42447c]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x150], ecx
mov cx, word [0x424484]
cmp eax, edi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x14c], edx
mov word [ebp - 0x144], cx
jne 0x408b6b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x28]
push edx
push edi
push edi
push 1
push edi
push eax
push 1
call sub.MFC42.DLL_CHttpConnection::OpenRequest
mov esi, eax
push 0xffffffffffffffff
lea eax, [ebp - 0x150]
push 0x10000000
push eax
mov ecx, esi
mov dword [ebp - 0x3c], esi
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders
push edi
push edi
push edi
push edi
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::SendRequest
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::QueryInfoStatusCode
mov eax, dword [ebp - 0xdc]
cmp eax, 0x191
je 0x40959b
cmp eax, 0x194
je 0x40959b
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x9c]
push edx
push eax
mov dword [ebp - 4], 0xd
call fcn.00401c10
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
push ecx
call fcn.004017e0
add esp, 0xc
test eax, eax
jne 0x408c0e
lea edx, [ebp - 0x9c]
push edx
call fcn.00401810
add esp, 4
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x160]
push eax
push ecx
call fcn.00401ea0
push 0x424474
push eax
mov byte [ebp - 4], 0x12
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
mov bl, al
mov eax, dword [ebp - 0x15c]
add esp, 0x10
cmp eax, edi
mov byte [ebp - 4], 0x11
je 0x408c5e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x408c55
cmp al, 0xff
je 0x408c55
dec al
mov byte [ecx], al
jmp 0x408c5e
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
test bl, bl
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x154], edi
je 0x408c95
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xa4], eax
cmp eax, edi
mov byte [ebp - 4], 0x13
je 0x408cb6
mov ecx, eax
call fcn.0041b2c8
jmp 0x408cb8
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xa4], eax
cmp eax, edi
mov byte [ebp - 4], 0x14
je 0x408cb6
mov ecx, eax
call fcn.0041b2f8
jmp 0x408cb8
xor eax, eax
mov ebx, eax
mov eax, dword [ebp - 0x34]
cmp eax, edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 0x15
jne 0x408ccd
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edx, dword [ebx]
push edi
push 0x1001
push eax
mov ecx, ebx
call dword [edx + 0x28]
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x76b]
mov byte [ebp - 0x76c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp - 0x3c]
push 0
stosb byte es:[edi], al
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0x11
push eax
push 5
call sub.MFC42.DLL_CHttpFile::QueryInfo
mov esi, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x48], eax
jmp 0x408d27
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x76c]
push 0x200
push eax
mov edx, dword [ecx]
mov byte [ebp - 4], 0x18
call dword [edx + 0x3c]
mov edx, dword [ebx]
mov edi, eax
lea eax, [ebp - 0x76c]
push edi
mov dword [ebp - 4], 0x11
push eax
mov ecx, ebx
mov dword [ebp - 0xb8], edi
mov byte [ebp - 4], 0x1b
call dword [edx + 0x40]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x138], esi
add ecx, edi
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0x11
fild dword [ebp - 0x48]
fild qword [ebp - 0x138]
fld st(1)
fdiv st(1)
fmul qword [0x41e530]
call sub.MSVCRT.dll__ftol
mov ebx, eax
mov eax, dword [ebp - 0x64]
cmp ebx, eax
mov dword [ebp - 0xa4], ebx
jle 0x408e2c
test esi, 0xfffffc00
je 0x408dec
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x408dbf
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
fmul qword [0x41e538]
sub esp, 8
lea ecx, [ebp - 0x18]
sub esp, 8
fstp qword [esp + 8]
fmul qword [0x41e538]
fstp qword [esp]
push eax
push 0x424460
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
jmp 0x408e13
mov eax, dword [ebp - 0x34]
fstp st(0)
test eax, eax
fstp st(0)
jne 0x408dfc
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edx, dword [ebp - 0x48]
push esi
push edx
push eax
lea eax, [ebp - 0x18]
push 0x424448
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [ebp - 0x18]
push 0
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00401450
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.00401430
jmp 0x408e30
fstp st(0)
fstp st(0)
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x1c]
sub eax, dword [edx + 0x120]
je 0x409060
mov ecx, dword [edx + 0x118]
cmp ecx, edi
jae 0x408e5a
dec dword [edx + 0x11c]
sub ecx, edi
dec ecx
jmp 0x408e5c
sub ecx, edi
mov dword [edx + 0x118], ecx
mov ecx, dword [ebp - 0x64]
cmp ebx, ecx
jle 0x409068
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov ecx, dword [eax + 0x11c]
mov edi, dword [eax + 0x10c]
mov dword [ebp - 0x124], esi
sub edi, ecx
fild qword [ebp - 0x128]
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], esi
mov edx, dword [eax + 0x118]
mov eax, dword [eax + 0x108]
fmul qword [0x41e528]
fild qword [ebp - 0x110]
fld qword [0x41e520]
fdiv st(2)
sub eax, edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], esi
fmulp st(1)
fild qword [ebp - 0x120]
fdiv st(2)
faddp st(1)
fst qword [ebp - 0x118]
fstp st(1)
fld qword [0x41e520]
fdiv st(1)
fild qword [ebp - 0x108]
fmulp st(1)
fild qword [ebp - 0x140]
fdiv st(2)
faddp st(1)
call sub.MSVCRT.dll__ftol
mov ecx, eax
mov eax, 0x91a2b3c5
mul ecx
fstp st(0)
mov esi, edx
mov edx, ecx
shr esi, 0xb
lea eax, [esi + esi*4]
lea ebx, [eax + eax*4]
mov eax, 0x88888889
lea ebx, [ebx + ebx*8]
shl ebx, 4
sub edx, ebx
mul edx
mov edi, edx
shr edi, 5
mov eax, edi
shl eax, 4
sub eax, edi
shl eax, 2
sub ecx, eax
sub ecx, ebx
mov ebx, ecx
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString_2
test esi, esi
push ebx
mov byte [ebp - 4], 0x1e
push edi
jbe 0x408f8b
fld qword [ebp - 0x118]
fmul qword [0x41e538]
push esi
lea ecx, [ebp - 0x78]
sub esp, 8
fstp qword [esp]
push 0x424420
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
jmp 0x408fae
fld qword [ebp - 0x118]
fmul qword [0x41e538]
sub esp, 8
lea edx, [ebp - 0x78]
fstp qword [esp]
push 0x424400
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1f
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi + 0x108]
mov edx, eax
mov edi, ecx
shr edx, 0xa
shl edi, 0x16
add edx, edi
push edx
mov edx, dword [esi + 0x11c]
mov edi, edx
shl edi, 0xa
sub edi, edx
add edi, ecx
mov ecx, dword [esi + 0x118]
sub eax, ecx
shl edi, 0x16
shr eax, 0xa
add edi, eax
lea eax, [ebp - 0xa0]
push edi
push 0x424264
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x78]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x42425c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x20
lea ecx, [ebp - 0x18]
push 1
push ecx
mov ecx, esi
call fcn.00401450
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xa4]
cmp ebx, dword [ebp - 0x64]
jle 0x409068
mov dword [ebp - 0x64], ebx
cmp edi, 0x200
jge 0x409182
cmp dword [ebp - 0x48], esi
jne 0x4090b0
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0xac]
mov byte [edx + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
push esi
lea eax, [ebp - 0xac]
push 0x4243f4
push eax
mov byte [ebp - 4], 0x20
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xac]
jmp 0x4090e4
mov ecx, dword [ebp - 0x5c]
mov byte [ecx + 0x20], 0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [ebp - 0x48]
push esi
push edx
lea eax, [ebp - 0x20]
push 0x4243e4
push eax
mov byte [ebp - 4], 0x21
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.00409820
mov esi, dword [ebp - 0x44]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x54]
cmp esi, ebx
je 0x40910d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x54]
cmp esi, ebx
je 0x409124
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x409130
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [ebp - 0x18]
push 0x42424c
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [ebp - 0x18]
mov ecx, edi
push ebx
push edx
call fcn.00401450
push 0x425b84
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0xb4]
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 0x22
call fcn.00401450
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
jmp 0x4091dc
mov ecx, dword [ebp - 0x7c]
cmp byte [ecx], 0
jne 0x408d24
mov esi, dword [ebp - 0x44]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x54]
test esi, esi
je 0x4091a5
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x54]
test esi, esi
je 0x4091bc
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4091c8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [ebp - 0x18]
push 0x42424c
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
xor ebx, ebx
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x409203
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4091fa
cmp al, 0xff
je 0x4091fa
dec al
mov byte [ecx], al
jmp 0x409203
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x98], ebx
cmp eax, ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
je 0x409239
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x409230
cmp al, 0xff
je 0x409230
dec al
mov byte [ecx], al
jmp 0x409239
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ebx
cmp ecx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 7
je 0x409269
mov al, byte [ecx - 1]
test al, al
je 0x40925f
cmp al, 0xff
je 0x40925f
dec al
mov byte [ecx - 1], al
jmp 0x409269
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
jmp 0x4096e6
cmp esi, edi
je 0x4095af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xa8]
push ebx
call fcn.00403cf0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x34]
dec edx
cmp eax, edi
mov dword [ebp - 0x60], edx
je 0x4095e6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4095dd
cmp al, 0xff
je 0x4095dd
dec al
mov byte [ecx], al
jmp 0x4095e6
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], edi
cmp eax, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
je 0x409613
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40960a
cmp al, 0xff
je 0x40960a
dec al
mov byte [ecx], al
jmp 0x409613
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 7
jmp 0x4096e6
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0x60], eax
mov ecx, eax
xor esi, esi
jmp 0x40892a
mov eax, dword [ebp - 0x88]
cmp eax, esi
je 0x409726
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40971d
cmp al, 0xff
je 0x40971d
dec al
mov byte [ecx], al
jmp 0x409726
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x88], esi
cmp ecx, esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 5
je 0x40975c
mov al, byte [ecx - 1]
test al, al
je 0x409752
cmp al, 0xff
je 0x409752
dec al
mov byte [ecx - 1], al
jmp 0x40975c
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x24], eax
jmp 0x40885e
mov al, byte [ebp - 0x11]
xor ecx, ecx
test al, al
setne cl
mov esi, ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CInternetSession::CInternetSession
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret