Function at 0x457a8a
Capabilities:
Connect socket
Get file size
Read and send data from client to server
Read file on windows
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x3184]
mov eax, 0x3184
call section..text
push 0xffffffffffffffff
push 0x6ae93d
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x7bb3e8]
xor eax, ebp
mov dword [ebp + 0x3180], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x318c]
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x1c], eax
xor esi, esi
push 8
xor eax, eax
mov dword [ebp - 0x18], esi
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x30]
mov dword [ebp - 0x78], esi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 6
jb 0x457b03
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
jb 0x457b0d
mov ecx, dword [ebx]
jmp 0x457b0f
mov ecx, ebx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x7c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x457b45
push esi
push str.getaddrinfo_failed
lea ecx, [ebp + 0x84]
call fcn.00453beb
push 0x7625d4
lea eax, [ebp + 0x84]
push eax
call fcn.0066a234
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x457b66
push esi
push str.Cannot_create_outgoing_socket
jmp 0x457b29
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push eax
push 0x1006
push 0xffff
push edi
mov dword [ebp - 0x20], 0x3e8
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1005
push 0xffff
push edi
call esi
push 4
lea eax, [ebp - 0x24]
push eax
push 0x1b
push 0x29
push edi
call esi
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
push dword [eax + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_connect]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp esi, 0xffffffff
jne 0x457bdc
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
push str.Socket_cannot_connect
jmp 0x457b29
push 0
push 0
push 0x7010
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 1
push 2
lea ecx, [ebp - 0x114]
call fcn.0043c74f
xor eax, eax
mov dword [ebp + 0x148], 0xf
mov dword [ebp - 4], eax
mov dword [ebp + 0x144], eax
mov byte [ebp + 0x134], al
mov byte [ebp - 4], 1
cmp dword [ebx + 0x70], eax
je 0x457c42
mov esi, 0x6dc17c
push esi
call fcn.0040f6ae
pop ecx
push eax
push esi
lea ecx, [ebp + 0x134]
call fcn.0040f427
mov eax, dword [ebx + 0x70]
jmp 0x457c88
cmp dword [ebx + 0x78], eax
je 0x457c6d
mov esi, 0x6dc17c
push esi
call fcn.0040f6ae
pop ecx
push eax
push esi
lea ecx, [ebp + 0x134]
call fcn.0040f427
push 0
push dword [ebx + 0x78]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
jmp 0x457c88
mov esi, 0x6dc184
push esi
call fcn.0040f6ae
pop ecx
push eax
push esi
lea ecx, [ebp + 0x134]
call fcn.0040f427
xor eax, eax
mov esi, 0x6dc188
push esi
push eax
push 0x6dc18c
push str.Connection:_close_r_n
push str.User_Agent:_Hydra_HttpRequest_r_n
push esi
push ebx
push 0x6dc1d4
push str._HTTP_1.1_r_n
lea eax, [ebx + 0x18]
push eax
push 0x6db638
lea eax, [ebp + 0x134]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00442aa4
push eax
call fcn.004440b6
push eax
call fcn.00442aa4
push eax
call fcn.004440b6
push eax
call fcn.004440b6
push eax
call fcn.00442aa4
push eax
call fcn.004440b6
push eax
call fcn.004440b6
push eax
call fcn.004440b6
push eax
call fcn.004440b6
mov ecx, eax
call fcn.0043caa2
push eax
call fcn.004440b6
lea eax, [ebx + 0x48]
cmp dword [eax + 0x10], 0
je 0x457d31
push esi
push eax
push 0x6dc1e8
lea eax, [ebp - 0x114]
push eax
call fcn.004440b6
push eax
call fcn.00442aa4
push eax
call fcn.004440b6
push esi
lea eax, [ebp - 0x114]
push eax
call fcn.004440b6
lea eax, [ebx + 0x60]
cmp dword [eax + 0x10], 0
je 0x457d54
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00442aa4
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x114]
call fcn.0043f431
mov esi, eax
lea eax, [ebp + 0x14c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x114]
call fcn.0043f431
cmp dword [eax + 0x14], 0x10
jb 0x457d83
mov eax, dword [eax]
push 0
push dword [esi + 0x10]
mov esi, dword [sym.imp.WS2_32.dll_send]
push eax
push edi
call esi
push 0
push 1
lea ecx, [ebp + 0x14c]
mov dword [ebx + 0xbc], eax
call fcn.0040facf
push 0
push 1
lea ecx, [ebp + 4]
mov byte [ebp - 4], 1
call fcn.0040facf
cmp dword [ebx + 0xbc], 0xffffffff
jne 0x457dd3
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
push str.Socket_cannot_send
jmp 0x457b29
cmp dword [ebx + 0x78], 0
je 0x457e30
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 0x78]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
and dword [ebp - 0x14], 0
jmp 0x457e11
cmp dword [ebp - 0x14], 0
je 0x457e30
push 0
push dword [ebp - 0x14]
lea eax, [ebp + 0x217c]
push eax
push edi
call esi
cmp eax, 0xffffffff
je 0x457f1c
add dword [ebx + 0xbc], eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0x1002
lea eax, [ebp + 0x217c]
push eax
push dword [ebx + 0x78]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x457ded
and dword [ebp + 0x174], 0
mov dword [ebp + 0x178], 0xf
mov byte [ebp + 0x164], 0
mov byte [ebp - 4], 3
mov byte [ebp - 0xd], 1
xor esi, esi
push 0x2000
lea eax, [ebp + 0x17c]
push 0
push eax
call fcn.0066c620
add esp, 0xc
lea eax, [ebp + 0x17c]
push 0
push 0x1fff
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x457f5a
add dword [ebx + 0xc0], eax
cmp byte [ebp - 0xd], 0
je 0x457f43
push eax
lea eax, [ebp + 0x17c]
push eax
lea ecx, [ebp + 0x164]
call fcn.0040f612
push str._r_n_r_n
call fcn.0040f6ae
pop ecx
push eax
push esi
push str._r_n_r_n
lea ecx, [ebp + 0x164]
call fcn.004427e4
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
jle 0x457f2f
cmp dword [ebp + 0x178], 0x10
mov eax, dword [ebp + 0x164]
jae 0x457ee3
lea eax, [ebp + 0x164]
push dword [ebp - 0x1c]
lea ecx, [eax + 4]
mov eax, dword [ebp + 0x174]
sub eax, edx
add ecx, edx
sub eax, 4
push eax
push ecx
mov ecx, ebx
call fcn.004576d7
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x164]
push 0
add eax, 2
push eax
call fcn.0043ab13
mov byte [ebp - 0xd], 0
jmp 0x457e52
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
push str.Socket_cannot_send_post
jmp 0x457b29
mov esi, dword [ebp + 0x174]
add esi, 0xfffffffc
jns 0x457e52
jmp 0x457e50
push dword [ebp - 0x1c]
mov ecx, ebx
push eax
lea eax, [ebp + 0x17c]
push eax
call fcn.004576d7
jmp 0x457e52
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, 0x6dc188
push edi
call fcn.0040f6ae
pop ecx
push eax
xor esi, esi
lea ecx, [ebp + 0x164]
push esi
push edi
call fcn.004427e4
push eax
push esi
lea eax, [ebp + 0xec]
push eax
lea ecx, [ebp + 0x164]
call fcn.0043b7ad
push 1
push str.______t___0_9_____t_
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.004478ad
lea ecx, [ebp + 0xb4]
call fcn.00447958
push esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xec]
push eax
call fcn.0044708f
test al, al
jne 0x458018
push str.HttpRequest_status_line_not_recognizable__
lea ecx, [ebp]
call fcn.00442ebe
lea eax, [ebp + 0xec]
mov byte [ebp - 4], 7
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x28]
mov eax, dword [ebp]
lea ecx, [ebp]
push 0x7563ac
call dword [eax + 0x24]
push esi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00453afb
push 0x7625d4
lea eax, [ebp + 0x1c]
jmp 0x457b3f
mov eax, dword [ebp + 0xc0]
mov ecx, dword [ebp + 0xbc]
sub eax, ecx
push 0xc
cdq
pop edi
idiv edi
cmp eax, 1
ja 0x458039
lea ecx, [ebp + 0xe0]
jmp 0x45803c
add ecx, 0xc
lea eax, [ebp + 4]
push eax
call fcn.00452d5a
cmp dword [eax + 0x14], 0x10
jb 0x45804d
mov eax, dword [eax]
push eax
call fcn.00678742
pop ecx
push esi
push 1
lea ecx, [ebp + 4]
mov dword [ebx + 0x7c], eax
call fcn.0040facf
lea eax, [ebp + 0x164]
push eax
lea ecx, [ebp + 0x11c]
call fcn.0040fa4b
push 1
push str._.__:___t__.__r_n
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.004478ad
lea ecx, [ebp + 0x4c]
call fcn.00447958
push esi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x11c]
push eax
call fcn.0044708f
test al, al
je 0x4581cc
lea eax, [ebx + 0xb4]
mov dword [ebp - 0x28], fcn.0067a3eb
mov ebx, eax
mov eax, dword [ebp + 0x58]
lea ecx, [ebp + 0x78]
mov esi, dword [ebp + 0x54]
sub eax, esi
cdq
idiv edi
mov dword [ebp - 0x14], eax
cmp eax, 1
jbe 0x4580d8
lea ecx, [esi + 0xc]
lea eax, [ebp + 0x14c]
push eax
call fcn.00452d5a
cmp dword [ebp + 0x160], 0x10
mov ecx, dword [ebp + 0x14c]
mov edi, ecx
mov byte [ebp - 4], 0xb
jae 0x4582df
lea edi, [ebp + 0x14c]
mov edx, edi
mov eax, dword [ebp + 0x15c]
add eax, edx
cmp dword [ebp + 0x160], 0x10
jae 0x45811c
lea ecx, [ebp + 0x14c]
lea edx, [ebp - 0x28]
push edx
push edi
push eax
push ecx
call fcn.00457193
cmp dword [ebp - 0x14], 2
lea ecx, [ebp + 0x78]
jbe 0x458134
lea ecx, [esi + 0x18]
lea eax, [ebp + 4]
push eax
call fcn.004575cf
mov esi, eax
push 0xc
pop eax
mov byte [ebp - 4], al
mov ecx, ebx
lea eax, [ebp + 0x14c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004571d2
mov ecx, dword [ebp - 0x34]
push esi
add ecx, 0x28
call fcn.0040f0f2
xor esi, esi
mov byte [ebp - 4], 0xb
push esi
push 1
lea ecx, [ebp + 4]
call fcn.0040facf
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0x6c]
call fcn.00452d5a
push eax
lea ecx, [ebp + 0x11c]
call fcn.0040f0f2
push esi
push 1
lea ecx, [ebp + 4]
call fcn.0040facf
push esi
push 1
lea ecx, [ebp + 0x14c]
mov byte [ebp - 4], 0xa
call fcn.0040facf
push esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x11c]
push eax
call fcn.0044708f
push 0xc
pop edi
test al, al
jne 0x4580bf
mov ebx, dword [ebp - 0x2c]
push str.location
lea ecx, [ebp + 0x14c]
call fcn.0040f49f
lea eax, [ebp + 0x14c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx + 0xb4]
call fcn.00457241
mov eax, dword [ebp - 0x34]
lea ecx, [ebp + 0x104]
add eax, 0x28
push eax
call fcn.0040fa4b
push esi
push 1
lea ecx, [ebp + 0x14c]
mov byte [ebp - 4], 0xf
call fcn.0040facf
cmp dword [ebp + 0x114], 0
je 0x458234
push dword [ebp - 0x1c]
lea eax, [ebp + 0x104]
mov ecx, ebx
push eax
call fcn.00458764
xor ebx, ebx
lea ecx, [ebp + 0x104]
push ebx
push 1
call fcn.0040facf
lea ecx, [ebp + 0x54]
call fcn.005b5806
lea ecx, [ebp - 0x48]
call fcn.0044c333
lea ecx, [ebp - 0x3c]
call fcn.00420e5c
push ebx
push 1
lea ecx, [ebp + 0x11c]
call fcn.0040facf
lea ecx, [ebp + 0xbc]
call fcn.005b5806
lea ecx, [ebp - 0x5c]
call fcn.0044c333
lea ecx, [ebp - 0x50]
call fcn.00420e5c
push ebx
push 1
lea ecx, [ebp + 0xec]
call fcn.0040facf
push ebx
push 1
lea ecx, [ebp + 0x164]
call fcn.0040facf
push ebx
push 1
lea ecx, [ebp + 0x134]
call fcn.0040facf
lea ecx, [ebp - 0x114]
call fcn.0043cbff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3180]
xor ecx, ebp
call fcn.0065231e
lea esp, [ebp + 0x3184]
pop ebp
ret 4
mov edx, ecx
jmp 0x458105