Function at 0x4e26b0
Capabilities:
Make an http request with a cookie
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56497f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x40], esi
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
cmp byte [eax + 0x1ff], bl
jne 0x4e2720
mov ecx, dword [esi + 0x2ef8]
cmp ecx, ebx
je 0x4e26fb
cmp dword [esi + 0x2efc], ebx
je 0x4e2720
lea edx, [esi + 0x2ef4]
push ebx
push edx
lea edx, [esi + 0x2efc]
push edx
mov edx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push edx
add eax, 0x22c
push ecx
push eax
mov ecx, esi
call fcn.004e6c50
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4e272f
mov eax, dword [0x5c81d4]
push eax
jmp 0x4e2736
mov ecx, dword [0x5c81d0]
push ecx
mov ecx, esi
call fcn.004cf990
mov ecx, esi
call fcn.004e5e90
mov ecx, esi
call fcn.004e6240
cmp eax, ebx
jne 0x4e2c95
mov eax, dword [esi + 0x2e70]
mov dword [ebp - 0x2c], ebx
cmp eax, 2
je 0x4e286a
cmp edi, ebx
jne 0x4e286a
cmp byte [esi + 0x2e80], bl
jne 0x4e286a
mov ecx, dword [esi + 0x7c]
cmp byte [ecx + 0x338], bl
jne 0x4e2798
cmp dword [esi + 0x24], ebx
jl 0x4e286a
jg 0x4e2798
cmp dword [esi + 0x20], ebx
jbe 0x4e286a
mov eax, dword [esi + 0x2e7c]
cmp eax, ebx
je 0x4e27a7
mov eax, dword [eax + 0x5c]
jmp 0x4e27a9
xor eax, eax
mov edx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
or edx, edi
je 0x4e281a
cmp eax, ebx
je 0x4e281a
cmp dword [ecx + 0x330], ebx
je 0x4e2822
mov ecx, esi
call fcn.004e61b0
mov edi, eax
mov eax, dword [esi + 0x2e7c]
cmp eax, ebx
je 0x4e27df
cmp byte [eax + 0x298], bl
je 0x4e27df
add edi, 1
adc edx, ebx
mov al, byte [esi + 0x88]
cmp al, bl
mov eax, dword [esi + 0x20]
je 0x4e27f6
mov ecx, dword [esi + 0x24]
add eax, 0x30
adc ecx, ebx
jmp 0x4e27f9
mov ecx, dword [esi + 0x24]
push edx
push edi
push ecx
push eax
lea eax, [ebp - 0x88]
push str.Range:_bytes_I64d__I64d_r_n
push eax
call fcn.00527718
add esp, 0x18
mov byte [esi + 0x2ef1], 1
jmp 0x4e2884
cmp dword [ecx + 0x330], ebx
jne 0x4e2829
mov dword [ebp - 0x2c], 1
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
cmp eax, ebx
jl 0x4e2848
jg 0x4e2839
cmp ecx, ebx
jbe 0x4e2848
cmp byte [esi + 0x88], bl
je 0x4e284c
add ecx, 0x30
adc eax, ebx
jmp 0x4e284c
xor ecx, ecx
xor eax, eax
push eax
push ecx
lea ecx, [ebp - 0x88]
push str.Range:_bytes_I64d__r_n
push ecx
call fcn.00527718
add esp, 0x10
mov byte [esi + 0x2ef1], bl
jmp 0x4e2884
lea edx, [ebp - 0x88]
push 0x5c6ff0
push edx
call fcn.00527718
add esp, 8
mov byte [esi + 0x2e80], bl
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x14]
cmp ecx, 0x50
jne 0x4e2895
cmp dword [eax + 0x24], 1
je 0x4e28a3
cmp ecx, 0x1bb
jne 0x4e28b6
cmp dword [eax + 0x24], 2
jne 0x4e28b6
lea eax, [ebp - 0x48]
push 0x5c6ff0
push eax
call fcn.00527718
add esp, 8
jmp 0x4e28c8
push ecx
lea ecx, [ebp - 0x48]
push str.:_ld
push ecx
call fcn.00527718
add esp, 0xc
mov edx, dword [0x5c2a74]
mov dword [ebp - 0x18], edx
mov eax, dword [esi + 0x7c]
mov byte [ebp - 4], 1
cmp byte [eax + 0x342], bl
je 0x4e28e8
cmp byte [eax + 0x344], bl
jne 0x4e2903
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x4e2903
push eax
lea eax, [ebp - 0x18]
push str.Referer:__s_r_n
push eax
call fcn.0053afda
add esp, 0xc
jmp 0x4e2910
push 0x5c6ff0
lea ecx, [ebp - 0x18]
call fcn.00542347
push 0x5c6ff0
lea ecx, [ebp - 0x28]
call fcn.0054222c
mov eax, dword [esi + 0x7c]
mov byte [ebp - 4], 2
cmp byte [eax + 0x347], bl
je 0x4e297b
mov edi, dword [eax + 0x20]
cmp edi, ebx
je 0x4e297b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x4e297b
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 0x20]
mov dl, byte [eax + ecx - 1]
cmp dl, 0xa
lea eax, [eax + ecx - 1]
je 0x4e295a
cmp dl, 0xd
jne 0x4e295e
mov byte [eax], bl
jmp 0x4e293c
cmp ecx, 1
jle 0x4e297b
mov ecx, dword [esi + 0x7c]
lea eax, [ebp - 0x28]
mov edx, dword [ecx + 0x20]
push edx
push str.If_Modified_Since:__s_r_n
push eax
call fcn.0053afda
add esp, 0xc
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x14], ecx
mov edx, dword [esi + 0x7c]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 3
mov edi, dword [edx + 0x1c4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e29b7
mov edx, dword [edx + 0x1c4]
lea eax, [ebp - 0x14]
push edx
push 0x5a3e24
push eax
call fcn.0053afda
add esp, 0xc
jmp 0x4e29c8
lea ecx, [ebp - 0x14]
push str.application_x_www_form_urlencoded
push ecx
call fcn.0053afda
add esp, 8
mov edx, dword [0x5c2a74]
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x7c]
mov byte [ebp - 4], 4
cmp byte [eax + 0x1e8], bl
je 0x4e29ff
mov eax, dword [eax + 0x1ec]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
mov eax, dword [eax - 8]
push eax
push ecx
push str.Content_Type:__s_r_nContent_Length:__d_r_n
push edx
call fcn.0053afda
add esp, 0x10
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x1fc], bl
je 0x4e2a26
mov eax, dword [eax + 0x1f8]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x20]
push str.Content_Type:__s_r_nContent_Length:__d_r_n
push edx
call fcn.0053afda
add esp, 0x10
mov eax, dword [0x5c2a74]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4e2a47
mov dword [ebp - 0x2c], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov ecx, 0x5c6ff0
jmp 0x4e2a4f
mov ecx, 0x5c6ff0
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 0x2e8c]
mov dword [ebp - 0x30], 0x5a495c
cmp eax, ebx
jne 0x4e2a63
mov dword [ebp - 0x30], ecx
cmp eax, ebx
mov dword [ebp - 0x34], eax
jne 0x4e2a6d
mov dword [ebp - 0x34], ecx
cmp eax, ebx
mov dword [ebp - 0x38], str.Cookie:
jne 0x4e2a7b
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0x7c]
cmp byte [ecx + 0x1ff], bl
je 0x4e2aa1
mov edx, dword [esi + 0x2e90]
lea ecx, [ebp - 0x3c]
push edx
call fcn.0054222c
or dword [ebp - 0x24], 1
mov edi, dword [eax]
mov byte [ebp - 4], 6
jmp 0x4e2aa7
mov edi, dword [esi + 0x2ef4]
mov eax, dword [esi + 0x2ef4]
cmp dword [eax - 8], ebx
je 0x4e2acc
mov ecx, dword [esi + 0x7c]
cmp byte [ecx + 0x1ff], bl
jne 0x4e2acc
mov eax, dword [esi + 0x2ef8]
mov edx, str.Connection:_Keep_Alive_r_n
cmp eax, ebx
je 0x4e2ad1
mov edx, 0x5c6ff0
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x7c]
cmp ecx, ebx
je 0x4e2ae2
mov ecx, str.HEAD
jmp 0x4e2afe
cmp byte [eax + 0x1e8], bl
jne 0x4e2af9
mov cl, byte [eax + 0x1fc]
cmp cl, bl
mov ecx, 0x5bd330
je 0x4e2afe
mov ecx, str.POST
mov ebx, dword [eax + 0x1ec]
push ebx
mov ebx, dword [ebp - 0x2c]
push ebx
mov ebx, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x38]
push ebx
push edi
mov edi, dword [ebp - 0x18]
push edi
lea edi, [ebp - 0x88]
push edi
mov edi, dword [ebp - 0x28]
push edi
push edx
lea edx, [ebp - 0x48]
push edx
mov edx, dword [eax]
mov eax, dword [eax + 0x1f0]
push edx
mov edx, dword [esi + 0x2e88]
push eax
push 0x5c6ff0
push edx
push ecx
lea eax, [ebp - 0x1c]
push str._s__s_HTTP_1.1_r_nAccept:___r_n_sUser_Agent:__s_r_nHost:__s_s_r_n_s_s_s_s_s_s_s_s_s_s_r_n_s
push eax
call fcn.0053afda
mov al, byte [ebp - 0x24]
add esp, 0x4c
test al, 1
mov dword [ebp - 4], 5
je 0x4e2b6c
lea ecx, [ebp - 0x3c]
call fcn.005421be
mov ecx, esi
mov dword [esi + 0x2e78], 1
call fcn.004d0590
mov ecx, dword [esi + 0x7c]
mov ebx, 4
mov dword [esi + 0x5c], ebx
cmp dword [ecx + 0x24], 2
jne 0x4e2bd0
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00511300
mov edi, eax
mov eax, dword [esi + 0x7c]
mov cl, byte [eax + 0x1fc]
test cl, cl
je 0x4e2c2f
mov ecx, dword [eax + 0x1f4]
test ecx, ecx
je 0x4e2c2f
mov edx, dword [eax + 0x1f8]
push edx
push ecx
mov ecx, esi
call fcn.00511300
jmp 0x4e2c2f
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x4e2be1
mov edx, str.send___GET
mov eax, dword [ebp - 0x1c]
push edx
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x2e74]
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004cfaf0
mov edi, eax
mov eax, dword [esi + 0x7c]
mov cl, byte [eax + 0x1fc]
test cl, cl
je 0x4e2c2f
mov ecx, dword [eax + 0x1f4]
test ecx, ecx
je 0x4e2c2f
mov edx, dword [eax + 0x1f8]
mov eax, dword [esi + 0x2e74]
push 0
push edx
push ecx
push eax
call sub.WSOCK32.dll_send
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.005421be
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005421be
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005421be
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.005421be
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005421be
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4