Function at 0x4fd4e0
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 0x58e02f
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 + 0x80]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
cmp byte [eax + 0x167], bl
jne 0x4fd553
mov ecx, dword [esi + 0x3114]
cmp ecx, ebx
je 0x4fd52e
cmp dword [esi + 0x3118], ebx
je 0x4fd553
lea edx, [esi + 0x3110]
push ebx
push edx
lea edx, [esi + 0x3118]
push edx
mov edx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push edx
add eax, 0x190
push ecx
push eax
mov ecx, esi
call fcn.005027c0
mov edi, dword [ebp + 8]
push 1
cmp edi, ebx
je 0x4fd564
mov eax, dword [0x63f31c]
push eax
jmp 0x4fd56b
mov ecx, dword [0x63f318]
push ecx
mov ecx, esi
call fcn.004e9db0
mov ecx, esi
call fcn.005019c0
mov ecx, esi
call fcn.00501d80
cmp eax, ebx
jne 0x4fdb0c
mov eax, dword [esi + 0x3080]
mov dword [ebp - 0x2c], ebx
cmp eax, 2
je 0x4fd6b7
cmp edi, ebx
jne 0x4fd6b7
cmp byte [esi + 0x3090], bl
jne 0x4fd6b7
mov ecx, dword [esi + 0x80]
cmp byte [ecx + 0x29d], bl
jne 0x4fd5d0
cmp dword [esi + 0x24], ebx
jl 0x4fd6b7
jg 0x4fd5d0
cmp dword [esi + 0x20], ebx
jbe 0x4fd6b7
mov eax, dword [esi + 0x308c]
cmp eax, ebx
je 0x4fd5df
mov eax, dword [eax + 0x5c]
jmp 0x4fd5e1
xor eax, eax
mov edx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
or edx, edi
je 0x4fd667
cmp eax, ebx
je 0x4fd667
cmp dword [ecx + 0x294], ebx
je 0x4fd66f
mov ecx, esi
call fcn.00501cf0
mov edi, eax
mov eax, dword [esi + 0x308c]
cmp eax, ebx
je 0x4fd62c
cmp byte [eax + 0x1a0], bl
jne 0x4fd627
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
sub ecx, 1
sbb eax, ebx
cmp eax, edx
jl 0x4fd62c
jg 0x4fd627
cmp ecx, edi
jbe 0x4fd62c
add edi, 1
adc edx, ebx
mov al, byte [esi + 0x8c]
cmp al, bl
mov eax, dword [esi + 0x20]
je 0x4fd643
mov ecx, dword [esi + 0x24]
add eax, 0x30
adc ecx, ebx
jmp 0x4fd646
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.0054ea2a
add esp, 0x18
mov byte [esi + 0x30dd], 1
jmp 0x4fd6d1
cmp dword [ecx + 0x294], ebx
jne 0x4fd676
mov dword [ebp - 0x2c], 1
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
cmp eax, ebx
jl 0x4fd695
jg 0x4fd686
cmp ecx, ebx
jbe 0x4fd695
cmp byte [esi + 0x8c], bl
je 0x4fd699
add ecx, 0x30
adc eax, ebx
jmp 0x4fd699
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.0054ea2a
add esp, 0x10
mov byte [esi + 0x30dd], bl
jmp 0x4fd6d1
lea edx, [ebp - 0x88]
push 0x63e040
push edx
call fcn.0054ea2a
add esp, 8
mov byte [esi + 0x3090], bl
mov eax, dword [esi + 0x80]
mov ecx, dword [eax + 0x14]
cmp ecx, 0x50
jne 0x4fd6e5
cmp dword [eax + 0x24], 1
je 0x4fd6f3
cmp ecx, 0x1bb
jne 0x4fd706
cmp dword [eax + 0x24], 2
jne 0x4fd706
lea eax, [ebp - 0x48]
push 0x63e040
push eax
call fcn.0054ea2a
add esp, 8
jmp 0x4fd718
push ecx
lea ecx, [ebp - 0x48]
push str.:_ld
push ecx
call fcn.0054ea2a
add esp, 0xc
mov edx, dword [0x639ad4]
mov dword [ebp - 0x18], edx
mov eax, dword [esi + 0x80]
mov byte [ebp - 4], 1
cmp byte [eax + 0x2ab], bl
je 0x4fd73b
cmp byte [eax + 0x2ad], bl
jne 0x4fd756
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x4fd756
push eax
lea eax, [ebp - 0x18]
push str.Referer:__s_r_n
push eax
call fcn.00562ecb
add esp, 0xc
jmp 0x4fd763
push 0x63e040
lea ecx, [ebp - 0x18]
call fcn.0056a289
push 0x63e040
lea ecx, [ebp - 0x28]
call fcn.0056a16e
mov eax, dword [esi + 0x80]
mov byte [ebp - 4], 2
cmp byte [eax + 0x2b0], bl
je 0x4fd7d7
mov edi, dword [eax + 0x20]
cmp edi, ebx
je 0x4fd7d7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x4fd7d7
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0x20]
mov dl, byte [eax + ecx - 1]
cmp dl, 0xa
lea eax, [eax + ecx - 1]
je 0x4fd7b3
cmp dl, 0xd
jne 0x4fd7b7
mov byte [eax], bl
jmp 0x4fd792
cmp ecx, 1
jle 0x4fd7d7
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x28]
mov edx, dword [ecx + 0x20]
push edx
push str.If_Modified_Since:__s_r_n
push eax
call fcn.00562ecb
add esp, 0xc
mov ecx, dword [0x639ad4]
mov dword [ebp - 0x14], ecx
mov edx, dword [esi + 0x80]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 3
mov edi, dword [edx + 0xd0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4fd816
mov edx, dword [edx + 0xd0]
lea eax, [ebp - 0x14]
push edx
push 0x615e9c
push eax
call fcn.00562ecb
add esp, 0xc
jmp 0x4fd827
lea ecx, [ebp - 0x14]
push str.application_x_www_form_urlencoded
push ecx
call fcn.00562ecb
add esp, 8
mov edx, dword [0x639ad4]
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x80]
mov byte [ebp - 4], 4
cmp byte [eax + 0x150], bl
je 0x4fd861
mov eax, dword [eax + 0x154]
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.00562ecb
add esp, 0x10
mov eax, dword [esi + 0x80]
cmp byte [eax + 0x164], bl
je 0x4fd88b
mov eax, dword [eax + 0x160]
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.00562ecb
add esp, 0x10
mov eax, dword [0x639ad4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4fd8ac
mov dword [ebp - 0x2c], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov ecx, 0x63e040
jmp 0x4fd8b4
mov ecx, 0x63e040
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 0x309c]
mov dword [ebp - 0x30], 0x616a34
cmp eax, ebx
jne 0x4fd8c8
mov dword [ebp - 0x30], ecx
cmp eax, ebx
mov dword [ebp - 0x34], eax
jne 0x4fd8d2
mov dword [ebp - 0x34], ecx
cmp eax, ebx
mov dword [ebp - 0x38], str.Cookie:
jne 0x4fd8e0
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0x80]
cmp byte [ecx + 0x167], bl
je 0x4fd909
mov edx, dword [esi + 0x30a4]
lea ecx, [ebp - 0x3c]
push edx
call fcn.0056a16e
or dword [ebp - 0x24], 1
mov edi, dword [eax]
mov byte [ebp - 4], 6
jmp 0x4fd90f
mov edi, dword [esi + 0x3110]
mov eax, dword [esi + 0x3110]
cmp dword [eax - 8], ebx
je 0x4fd937
mov ecx, dword [esi + 0x80]
cmp byte [ecx + 0x167], bl
jne 0x4fd937
mov eax, dword [esi + 0x3114]
mov edx, str.Connection:_Keep_Alive_r_n
cmp eax, ebx
je 0x4fd93c
mov edx, 0x63e040
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x80]
cmp ecx, ebx
je 0x4fd950
mov ecx, str.HEAD
jmp 0x4fd96c
cmp byte [eax + 0x150], bl
jne 0x4fd967
mov cl, byte [eax + 0x164]
cmp cl, bl
mov ecx, 0x62ff44
je 0x4fd96c
mov ecx, str.POST
mov ebx, dword [eax + 0x154]
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 + 0x158]
push edx
mov edx, dword [esi + 0x3098]
push eax
push 0x63e040
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.00562ecb
mov al, byte [ebp - 0x24]
add esp, 0x4c
test al, 1
mov dword [ebp - 4], 5
je 0x4fd9da
lea ecx, [ebp - 0x3c]
call fcn.0056a100
mov ecx, esi
mov dword [esi + 0x3088], 1
call fcn.004eaa00
mov ecx, dword [esi + 0x80]
mov ebx, 4
mov dword [esi + 0x5c], ebx
cmp dword [ecx + 0x24], 2
jne 0x4fda44
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.00535a30
mov edi, eax
mov eax, dword [esi + 0x80]
mov cl, byte [eax + 0x164]
test cl, cl
je 0x4fdaa6
mov ecx, dword [eax + 0x15c]
test ecx, ecx
je 0x4fdaa6
mov edx, dword [eax + 0x160]
push edx
push ecx
mov ecx, esi
call fcn.00535a30
jmp 0x4fdaa6
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x4fda55
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 + 0x3084]
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004e9f20
mov edi, eax
mov eax, dword [esi + 0x80]
mov cl, byte [eax + 0x164]
test cl, cl
je 0x4fdaa6
mov ecx, dword [eax + 0x15c]
test ecx, ecx
je 0x4fdaa6
mov edx, dword [eax + 0x160]
mov eax, dword [esi + 0x3084]
push 0
push edx
push ecx
push eax
call sub.WSOCK32.dll_send
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0056a100
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0056a100
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0056a100
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0056a100
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0056a100
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