Function at 0x402490
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f758
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4621a0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [edi + 0x88]
call fcn.00405280
mov dword [esp + 0x14], ebx
lea eax, [edi + 4]
mov dword [esp + 0x70], ebx
push eax
lea ebx, [esp + 0x18]
call fcn.00404b30
test eax, eax
je 0x40251c
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x402505
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
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x40252a
mov ebx, dword [eax + 4]
jmp 0x40252d
lea ebx, [eax + 4]
mov eax, 8
push ebx
mov word [esp + 0x38], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x402554
test ebx, ebx
je 0x402554
push 0x8007000e
call fcn.00433fc0
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x24]
push ecx
call ebx
mov byte [esp + 0x70], 2
cmp dword [esi + 0x14], 0
jne 0x4025d3
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0xd0]
lea ecx, [esp + 0x24]
push ecx
push ecx
push ecx
push ecx
lea ecx, [esp + 0x44]
push ecx
push eax
call edx
test eax, eax
je 0x4026c2
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call esi
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4025bc
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
lea ecx, [esp + 0x54]
push ecx
call ebx
lea edx, [esp + 0x44]
push edx
call ebx
mov eax, 8
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov word [esp + 0x48], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x14]
push eax
call fcn.00433591
add esp, 4
cmp dword [esi + 0x18], 0x10
mov edi, eax
mov eax, dword [esi + 0x14]
jb 0x402616
mov esi, dword [esi + 4]
jmp 0x402619
add esi, 4
push eax
push esi
push edi
call fcn.0043a490
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402630
lea ecx, [esp + 0x1c]
push ecx
push 1
sub eax, edx
push 0x11
mov dword [esp + 0x28], eax
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 0x402684
push esi
lea edx, [esp + 0x1c]
push edx
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 0x402667
mov eax, 0x2011
push edi
mov word [esp + 0x58], ax
mov dword [esp + 0x60], ebx
call fcn.0043428a
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 0x40270d
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