Function at 0x40f5a0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444e28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [esi + 0x14]
add ebx, 0xa4
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [esp + 0x18], eax
jb 0x40f5e9
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x14]
mov ecx, ebx
call fcn.00401f30
mov edi, dword [ebp + 8]
test eax, eax
je 0x40f619
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x88]
mov eax, ebx
call fcn.00401990
push 0xffffffffffffffff
push 0
mov eax, esi
mov ecx, ebx
call fcn.00401990
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], eax
lea eax, [edi + 4]
push eax
lea ebx, [esp + 0x18]
call fcn.004017d0
test eax, eax
jne 0x40f6c4
cmp dword [esi + 0x18], 8
jb 0x40f646
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
jmp 0x40f64a
mov esi, dword [esp + 0x18]
mov ecx, 8
push esi
mov word [esp + 0x38], cx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x40f671
test esi, esi
je 0x40f671
push 0x8007000e
call fcn.0042bb60
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x24]
push edx
call ebx
mov esi, dword [ebp + 0xc]
mov byte [esp + 0x70], 2
cmp dword [esi + 0x14], 0
jne 0x40f6f3
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 0x40f7d3
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 0x40f6dc
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 edi, dword [esi + 0x14]
push edi
mov dword [esp + 0x50], eax
call fcn.0042a88b
push edi
mov ebx, eax
push 0
push ebx
call fcn.0042f7b0
add esp, 0x10
cmp dword [esi + 0x18], 0x10
jb 0x40f73c
mov esi, dword [esi + 4]
jmp 0x40f73f
add esi, 4
push edi
push esi
push ebx
call fcn.004308c0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 1
push 0x11
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp dword [esp + 0x1c], 0
mov esi, eax
mov edi, ebx
mov dword [esp + 0x18], 0
jle 0x40f795
push edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov eax, dword [esp + 0x18]
inc eax
inc edi
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x40f778
mov edx, 0x2011
push ebx
mov word [esp + 0x58], dx
mov dword [esp + 0x60], esi
call fcn.0042bda7
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 0x40f81e
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