Function at 0x4073b2
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov eax, 0x424420
call fcn.0040da7c
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp esi, ebx
je 0x4077a6
cmp byte [esi], bl
je 0x4077a6
push edi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040b3b6
push str._HTTP_1.1_r_n
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0040b3f7
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040b3f7
push str.GET
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040b3f7
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.0040b58f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.0040b58f
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0040b4bd
lea ecx, [ebp - 0x54]
call fcn.0040b487
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040b487
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040b487
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040b487
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0040b487
mov esi, 0x42e4ec
lea ecx, [ebp - 0x48]
push esi
call fcn.0040b3f7
push dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.0040b3f7
push str.Host:
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0040b3f7
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.0040b58f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.0040b58f
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0040b487
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call fcn.0040b487
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0040b487
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.0040b487
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040b487
push str.Accept:___r_n
lea ecx, [ebp - 0x24]
call fcn.0040b3f7
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0040b487
push str.Pragma:_no_cache_r_n
lea ecx, [ebp - 0x24]
call fcn.0040b3f7
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0040b487
push str.Cache_Control:_no_cache_r_n
lea ecx, [ebp - 0x24]
call fcn.0040b3f7
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0040b487
mov edi, dword [ebp + 0x14]
cmp edi, ebx
je 0x40767a
cmp byte [edi], bl
je 0x40767a
push esi
lea ecx, [ebp - 0x48]
call fcn.0040b3f7
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.0040b3f7
push str.Referer:
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call fcn.0040b3f7
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.0040b58f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.0040b58f
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call fcn.0040b487
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x10
call fcn.0040b487
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call fcn.0040b487
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.0040b487
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040b487
push str.Connection:_close_r_n
lea ecx, [ebp - 0x24]
call fcn.0040b3f7
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0040b487
mov al, byte [0x431c94]
push 0xf
mov byte [ebp - 0xa0], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x9f]
rep stosd dword es:[edi], eax
cmp byte [ebp + 0x18], bl
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
jne 0x4076da
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
jl 0x407704
cmp dword [ebp + 0x20], eax
jle 0x407704
jmp 0x4076ec
cmp byte [ebp + 0x18], 1
jne 0x407704
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x20]
je 0x407796
push dword [ebp + 0x20]
push eax
lea eax, [ebp - 0xa0]
push str.Range:_bytes_d__d_r_n
push eax
call fcn.0040e8a1
add esp, 0x10
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0040b3f7
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x14
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0040b487
push esi
lea ecx, [ebp - 0x24]
call fcn.0040b3f7
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call fcn.0040b631
lea ecx, [ebp - 0x18]
call fcn.0040b487
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0040b487
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x407771
dec eax
jmp 0x407773
xor eax, eax
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040b6c3
push eax
push dword [ebp + 8]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x407796
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040b487
mov eax, ebx
jmp 0x4077a8
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret