Function at 0x4af880
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0xffffffffffffffff
push 0x57920b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x5e5830
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
push 0x5e5830
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 1
call fcn.0054c1a0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
push 0x5ed920
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 4
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov bl, 5
cmp eax, edi
mov byte [esp + 0x7c], bl
jne 0x4af954
cmp dword [0x5e5cb4], edi
jne 0x4af954
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x7c], 6
je 0x4af927
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4af929
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x84], bl
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x18]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x7c], 4
mov edx, dword [ecx]
call dword [edx + 8]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0047a470
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4afc63
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x100]
cmp eax, edi
jl 0x4afc5f
cmp dword [esp + 0x14], edi
je 0x4afc5f
push ebp
mov word [esp + 0x28], di
push str.stormBox_url
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, dword [eax]
push eax
mov byte [esp + 0x8c], 8
call dword [ecx + 0x2c]
push esi
mov byte [esp + 0x84], 7
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x38]
push eax
call esi
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
push ecx
push edx
call ebp
cmp eax, edi
jge 0x4afa07
push eax
call fcn.00565a92
cmp word [esp + 0x38], 8
mov bl, 9
mov dword [esp + 0x1c], edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x80], bl
jne 0x4afa32
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.00448330
jmp 0x4afa77
lea ecx, [esp + 0x48]
push ecx
call esi
lea edx, [esp + 0x38]
lea ecx, [esp + 0x48]
push edx
push 8
mov byte [esp + 0x88], 0xa
call fcn.00448410
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x1c]
push eax
call fcn.00448330
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], bl
push ecx
call edi
test eax, eax
jge 0x4afa77
push eax
call fcn.00565a92
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x80], 0xb
test ecx, ecx
je 0x4afa8e
call fcn.00412aa0
jmp 0x4afa90
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
call fcn.00412980
lea edx, [esp + 0x38]
mov byte [esp + 0x80], 7
push edx
call edi
test eax, eax
jge 0x4afabc
push eax
call fcn.00565a92
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4afbb5
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push str.P2PURL
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
lea eax, [esp + 0x38]
push eax
call esi
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
push ecx
push edx
call ebp
test eax, eax
jge 0x4afafc
push eax
call fcn.00565a92
mov bl, 0xc
xor ebp, ebp
cmp word [esp + 0x38], 8
mov byte [esp + 0x80], bl
mov dword [esp + 0x1c], ebp
jne 0x4afb23
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.00448330
jmp 0x4afb68
lea ecx, [esp + 0x48]
push ecx
call esi
lea edx, [esp + 0x38]
lea ecx, [esp + 0x48]
push edx
push 8
mov byte [esp + 0x88], 0xd
call fcn.00448410
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x1c]
push eax
call fcn.00448330
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], bl
push ecx
call edi
cmp eax, ebp
jge 0x4afb68
push eax
call fcn.00565a92
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x80], 0xe
cmp ecx, ebp
je 0x4afb7f
call fcn.00412aa0
jmp 0x4afb81
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x4afb9c
call fcn.00412a50
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x38]
mov byte [esp + 0x80], 7
push edx
call edi
cmp eax, ebp
jge 0x4afbb5
push eax
call fcn.00565a92
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push eax
call fcn.0054c840
test al, al
pop ebp
jne 0x4afbee
mov ecx, dword [esp + 0xc]
push str.http:__127.0.0.1
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x4afbee
lea edx, [esp + 0x24]
push edx
call edi
mov eax, dword [esp + 0x10]
xor edi, edi
jmp 0x4afc63
lea eax, [esp + 0x24]
push eax
call edi
mov eax, dword [esp + 0x10]
mov byte [esp + 0x7c], 3
test eax, eax
je 0x4afc08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x7c], 2
test eax, eax
je 0x4afc1b
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 1
call fcn.0054c260
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x7c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x10]
cmp eax, edi
mov byte [esp + 0x7c], 3
je 0x4afc72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x7c], 2
cmp eax, edi
je 0x4afc85
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 1
call fcn.0054c260
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x7c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret