Function at 0x100048f0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002e1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1004004c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
lea ecx, [edi + 0x88]
call dword [sym.imp.MSVCP90.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__]
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [edi + 4]
push ecx
lea ebx, [esp + 0x18]
mov dword [esp + 0x74], eax
call fcn.10007030
test eax, eax
je 0x1000497b
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10004964
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x10004989
mov ebx, dword [eax + 4]
jmp 0x1000498c
lea ebx, [eax + 4]
mov ecx, 8
push ebx
mov word [esp + 0x38], cx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x100049b3
test ebx, ebx
je 0x100049b3
push 0x8007000e
call fcn.1002c510
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x24]
push edx
call ebx
mov byte [esp + 0x70], 2
cmp dword [esi + 0x14], 0
jne 0x10004a32
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push edx
push edx
push edx
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
test eax, eax
je 0x10004b1b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x24]
push ecx
call esi
lea edx, [esp + 0x34]
push edx
call esi
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10004a1b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x54]
push eax
call ebx
lea ecx, [esp + 0x44]
push ecx
call ebx
mov edx, 8
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov word [esp + 0x48], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x14]
push eax
call fcn.1002c493
add esp, 4
cmp dword [esi + 0x18], 0x10
mov edi, eax
mov eax, dword [esi + 0x14]
jb 0x10004a75
mov esi, dword [esi + 4]
jmp 0x10004a78
add esi, 4
push eax
push esi
push edi
call sub.MSVCR90.dll_memcpy
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004a88
sub eax, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 1
push 0x11
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp dword [esp + 0x1c], 0
mov ebx, eax
mov esi, edi
mov dword [esp + 0x18], 0
jle 0x10004add
nop
push esi
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov eax, dword [esp + 0x18]
inc eax
inc esi
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x10004ac0
mov edx, 0x2011
push edi
mov word [esp + 0x58], dx
mov dword [esp + 0x60], ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x2c]
push edx
push edx
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf0]
push 0xffffffffffffffff
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x24]
push eax
mov byte [edi + 0x7c], 1
mov dword [edi + 0x80], 0
call esi
lea ecx, [esp + 0x34]
push ecx
call esi
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10004b66
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8