Function at 0x4a7ab0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0xffffffffffffffff
push 0x56305b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x5cabc0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
push 0x5cabc0
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.00539870
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
push 0x5d2ac0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 4
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 5
cmp eax, edi
mov byte [esp + 0x7c], bl
jne 0x4a7b84
cmp dword [0x5cb044], edi
jne 0x4a7b84
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x7c], 6
je 0x4a7b57
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4a7b59
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x84], bl
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x18]
mov esi, dword [0x5cb044]
mov byte [esp + 0x7c], 4
mov edx, dword [ecx]
call dword [edx + 8]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00473910
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4a7e93
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x100]
cmp eax, edi
jl 0x4a7e8f
cmp dword [esp + 0x14], edi
je 0x4a7e8f
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 0x4a7c37
push eax
call fcn.005505fa
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 0x4a7c62
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.00442c80
jmp 0x4a7ca7
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.00442d60
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x1c]
push eax
call fcn.00442c80
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], bl
push ecx
call edi
test eax, eax
jge 0x4a7ca7
push eax
call fcn.005505fa
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x80], 0xb
test ecx, ecx
je 0x4a7cbe
call fcn.004127c0
jmp 0x4a7cc0
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
call fcn.004126a0
lea edx, [esp + 0x38]
mov byte [esp + 0x80], 7
push edx
call edi
test eax, eax
jge 0x4a7cec
push eax
call fcn.005505fa
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4a7de5
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 0x4a7d2c
push eax
call fcn.005505fa
mov bl, 0xc
xor ebp, ebp
cmp word [esp + 0x38], 8
mov byte [esp + 0x80], bl
mov dword [esp + 0x1c], ebp
jne 0x4a7d53
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.00442c80
jmp 0x4a7d98
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.00442d60
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x1c]
push eax
call fcn.00442c80
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], bl
push ecx
call edi
cmp eax, ebp
jge 0x4a7d98
push eax
call fcn.005505fa
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x80], 0xe
cmp ecx, ebp
je 0x4a7daf
call fcn.004127c0
jmp 0x4a7db1
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 0x4a7dcc
call fcn.00412770
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x38]
mov byte [esp + 0x80], 7
push edx
call edi
cmp eax, ebp
jge 0x4a7de5
push eax
call fcn.005505fa
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push eax
call fcn.00539f10
test al, al
pop ebp
jne 0x4a7e1e
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 0x4a7e1e
lea edx, [esp + 0x24]
push edx
call edi
mov eax, dword [esp + 0x10]
xor edi, edi
jmp 0x4a7e93
lea eax, [esp + 0x24]
push eax
call edi
mov eax, dword [esp + 0x10]
mov byte [esp + 0x7c], 3
test eax, eax
je 0x4a7e38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x7c], 2
test eax, eax
je 0x4a7e4b
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 1
call fcn.00539930
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 0x4a7ea2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x7c], 2
cmp eax, edi
je 0x4a7eb5
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 1
call fcn.00539930
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