Function at 0x405b90
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x421f28
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x42d1d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x42d1d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x405e95
cmp eax, 0xffffffff
je 0x405e95
xor ecx, ecx
cmp dword [ebx + 0x84], 2
push 0
setne cl
dec ecx
and ecx, 0x800000
or ecx, 0x4400040
push ecx
push 0x42fb2c
push esi
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [0x423200]
xor esi, esi
mov dword [ebx + 0xc], eax
cmp eax, esi
je 0x405e7e
cmp eax, 0xffffffff
je 0x405e7e
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call dword [0x423218]
test eax, eax
jne 0x405c5b
push 0x42ac98
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.additional_header_failed...
call fcn.00412c6b
mov eax, dword [ebx + 0xbc]
cmp eax, esi
jbe 0x405ddf
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov dword [esp + 0x50], esi
mov eax, dword [ebx + 0x84]
sub eax, 1
je 0x405c9a
sub eax, 1
jne 0x405ca9
lea eax, [esp + 0x18]
push eax
mov edx, str.https:__
jmp 0x405ca4
lea ecx, [esp + 0x18]
push ecx
mov edx, str.http:__
call fcn.00406a40
cmp dword [ebx + 0x28], 0x10
jb 0x405cb4
mov edx, dword [ebx + 0x14]
jmp 0x405cb7
lea edx, [ebx + 0x14]
lea eax, [esp + 0x18]
push eax
call fcn.00406a60
mov eax, dword [ebx + 0x84]
cmp eax, 1
jne 0x405cd5
cmp dword [ebx + 0x80], 0x50
je 0x405d1e
cmp eax, 2
jne 0x405ce6
cmp dword [ebx + 0x80], 0x1bb
je 0x405d1e
mov edx, dword [ebx + 0x80]
xor eax, eax
push edx
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
lea eax, [esp + 0x38]
xor ecx, ecx
push 0x42556c
push eax
mov word [esp + 0x40], cx
call fcn.00411951
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
call fcn.00406a60
lea edx, [esp + 0x18]
push edx
mov edx, edi
call fcn.00406a60
mov eax, dword [ebx + 0xb8]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x34], eax
mov esi, dword [ebx + 0xb8]
mov ecx, dword [ebx + 0xa4]
test eax, eax
je 0x405d54
cmp eax, ecx
je 0x405d59
call fcn.00411515
cmp dword [esp + 0x38], esi
je 0x405dce
lea esi, [esp + 0x34]
call fcn.00406a80
mov eax, dword [eax]
mov ecx, 0x10
cmp dword [eax + 0x34], ecx
jb 0x405d79
mov edx, dword [eax + 0x20]
jmp 0x405d7c
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], ecx
jb 0x405d86
mov eax, dword [eax + 4]
jmp 0x405d89
add eax, 4
cmp dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
jae 0x405d97
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
call dword [0x423214]
test eax, eax
je 0x405db7
lea edi, [esp + 0x10]
lea esi, [esp + 0x34]
call fcn.00406ab0
mov eax, dword [esp + 0x34]
jmp 0x405d40
push 0x42ac98
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], str.add_cookie_failed...
call fcn.00412c6b
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.00402340
push ebx
call fcn.00405980
mov edi, dword [0x42307c]
inc eax
push eax
push 8
call edi
push eax
call dword [0x423074]
push ebx
mov esi, eax
call fcn.00405980
inc eax
push eax
push esi
push ebx
call fcn.00405a40
mov edx, dword [ebx + 0xc]
push eax
push esi
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push edx
call dword [0x42321c]
test eax, eax
jne 0x405e50
call dword [0x423060]
cmp eax, 0x2f88
je 0x405e50
push esi
push 0
call edi
push eax
call dword [0x423078]
push 0x42ac98
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], str.request_failed...
call fcn.00412c6b
push esi
push 0
call edi
push eax
call dword [0x423078]
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00410e2c
mov esp, ebp
pop ebp
ret 8
push 0x42ac98
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], str.request_failed...
call fcn.00412c6b
push 0x42ac98
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.handle_not_opened...
call fcn.00412c6b
int3