Function at 0x531590
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x75898c
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x898]
mov ebx, 0x77e880
xor eax, eax
jmp 0x5315e0
cmp dword [eax*8 + 0x8054d8], esi
je 0x5315f1
inc eax
cmp eax, 0x28
jb 0x5315e0
jmp 0x5315f8
mov ebx, dword [eax*8 + 0x8054dc]
cmp esi, 0x64
jne 0x5316b8
mov byte [esp + 0x84], 0
lea ecx, [esp + 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x531613
sub ecx, edx
lea eax, [esp + 0x484]
push ecx
push ebx
push esi
push str.HTTP_1.1__d__s_r_nContent_Type:_text_html_r_nContent_Length:__ld_r_n_r_n
push 0x400
push 0x400
push eax
call fcn.006f8d83
add esp, 0x1c
lea esi, [esp + 0x484]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x531648
mov edi, dword [sym.imp.WS2_32.dll_send]
lea eax, [esp + 0x484]
push 0
sub esi, ecx
push esi
push eax
push dword [ebp + 0x48]
call edi
cmp eax, esi
jne 0x53168e
lea ecx, [esp + 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x531675
push 0
sub ecx, edx
lea eax, [esp + 0x88]
push ecx
push eax
push dword [ebp + 0x48]
call edi
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x880
ret 4
push ebx
push esi
push str._html__body__h2_Error:__d____s__h2___body___html_
push 0x400
lea eax, [esp + 0x94]
push 0x400
push eax
call fcn.006f8d83
add esp, 0x18
cmp esi, 0x191
jne 0x531609
cmp dword [ebp + 0x4c], 0
je 0x53163e
lea edi, [esp + 0x84]
lea ecx, [edi + 1]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x531700
push 0
sub edi, ecx
mov dword [esp + 0x4c], 0xf
push 0x77e880
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], al
call fcn.00409620
mov dword [esp + 0x30], vtable.wbs::StringBase_char_.0
push 0
push 0x77e880
lea ecx, [esp + 0x20]
mov dword [esp + 0x898], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00409620
mov dword [esp + 0x14], vtable.wbs::StringBase_char_.0
mov ecx, dword [ebp + 0x4c]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x6c]
mov byte [esp + 0x894], 1
push eax
call fcn.0052a160
mov esi, eax
mov ecx, dword [ebp + 0x4c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x894], 2
push eax
call fcn.00529f00
add esi, 4
mov byte [esp + 0x890], 3
cmp dword [esi + 0x14], 0x10
jb 0x5317b6
mov esi, dword [esi]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x5317c1
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x4c]
add eax, 8
cmp dword [eax + 0x14], 0x10
jb 0x5317cf
mov eax, dword [eax]
push edi
push esi
push ecx
push eax
push ebx
push 0x191
push str.HTTP_1.1__d__s_r_nContent_Type:_text_html_r_nWWW_Authenticate:_Digest_realm__s__qop_auth__nonce__s__algorithmMD5_opaque__s__r_nContent_Length:__ld_r_n_r_n
push 0x400
lea eax, [esp + 0x4a4]
push 0x400
push eax
call fcn.006f8d83
add esp, 0x28
mov dword [esp + 0x4c], vtable.wbs::StringBase_char_.0
cmp dword [esp + 0x64], 0x10
jb 0x531813
push dword [esp + 0x50]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x80], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x68], vtable.wbs::StringBase_char_.0
jb 0x531846
push dword [esp + 0x6c]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
mov dword [esp + 0x14], vtable.wbs::StringBase_char_.0
jb 0x531879
push dword [esp + 0x18]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x890], 0xffffffff
mov dword [esp + 0x30], vtable.wbs::StringBase_char_.0
jb 0x5318b4
push dword [esp + 0x34]
call fcn.006f75a9
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
jmp 0x53163e