Function at 0x434720
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Reference http user-agent string
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7757
mov eax, dword fs:[0]
push eax
mov eax, 0x151c
call fcn.0057caa0
mov eax, dword [0x62f490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14dc], edx
mov edi, ecx
mov dword [ebp - 0x1510], 0
lea ecx, [ebp - 0x14c0]
mov dword [ebp - 4], 0
call fcn.0040a1e0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x14d4], 0x50
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404770
lea edx, [ebp - 0x14d4]
lea ecx, [ebp - 0x1440]
call fcn.004344b0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1428]
push 0
push 0x60169d
mov dword [ebp - 0x1414], 0xf
mov dword [ebp - 0x1418], 0
mov byte [ebp - 0x1428], 0
call fcn.00404ba0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1440]
mov esi, dword [ebp - 0x142c]
mov edx, 0x60169d
mov ebx, dword [ebp - 0x1440]
cmp esi, 0x10
push 0
cmovae ecx, ebx
call fcn.00405e80
add esp, 4
test eax, eax
jne 0x434826
cmp dword [ebp - 0x1430], eax
setne al
test eax, eax
sete al
test al, al
jne 0x434e8c
cmp word [ebp - 0x14d4], 0
je 0x434e8c
cmp esi, 0x10
lea ecx, [ebp - 0x1440]
cmovae ecx, ebx
call fcn.00435780
test al, al
je 0x43486f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1440]
push eax
lea ecx, [ebp - 0x1428]
call fcn.00404770
jmp 0x434917
xorps xmm0, xmm0
mov dword [ebp - 0x1460], 0
movq qword [ebp - 0x1468], xmm0
mov dword [ebp - 0x1468], 0
mov dword [ebp - 0x1464], 0
mov dword [ebp - 0x1460], 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
lea eax, [ebp - 0x1440]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404770
lea ecx, [ebp - 0x1468]
call fcn.00435530
mov esi, dword [ebp - 0x1468]
add esp, 0x18
test al, al
je 0x4348fa
lea eax, [ebp - 0x1428]
cmp eax, esi
je 0x4348fa
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00404770
mov byte [ebp - 4], 3
test esi, esi
je 0x434917
push dword [ebp - 0x1464]
push esi
call fcn.00406d40
push esi
call fcn.0044f788
add esp, 4
mov edx, 0x60169d
lea ecx, [ebp - 0x1428]
call fcn.00406d80
test al, al
je 0x434a32
push 0x604de4
lea edx, [ebp - 0x1440]
mov byte [ebp - 0x14c0], 0
lea ecx, [ebp - 0x1474]
call fcn.00409960
mov esi, eax
add esp, 4
lea eax, [ebp - 0x14bc]
cmp eax, esi
je 0x434999
cmp dword [ebp - 0x14a8], 0x10
jb 0x434972
push dword [ebp - 0x14bc]
call fcn.0044f788
add esp, 4
push esi
lea ecx, [ebp - 0x14bc]
mov dword [ebp - 0x14a8], 0xf
mov dword [ebp - 0x14ac], 0
mov byte [ebp - 0x14bc], 0
call fcn.00404560
cmp dword [ebp - 0x1460], 0x10
jb 0x4349b0
push dword [ebp - 0x1474]
call fcn.0044f788
add esp, 4
lea eax, [ebp - 0x14c0]
mov ecx, edi
push eax
call fcn.004132e0
cmp dword [ebp - 0x1414], 0x10
jb 0x4349d5
push dword [ebp - 0x1428]
call fcn.0044f788
add esp, 4
cmp dword [ebp - 0x142c], 0x10
mov dword [ebp - 0x1414], 0xf
mov dword [ebp - 0x1418], 0
mov byte [ebp - 0x1428], 0
jb 0x434a07
push dword [ebp - 0x1440]
call fcn.0044f788
add esp, 4
lea ecx, [ebp - 0x14c0]
mov dword [ebp - 0x142c], 0xf
mov dword [ebp - 0x1430], 0
mov byte [ebp - 0x1440], 0
call fcn.004066d0
jmp 0x434f7b
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
push 4
lea eax, [ebp - 0x1444]
mov dword [ebp - 0x1444], 0x1388
push eax
push 0x1005
push 0xffff
push ebx
call esi
push 4
lea eax, [ebp - 0x1444]
push eax
push 0x1006
push 0xffff
push ebx
call esi
push dword [ebp - 0x14d4]
xorps xmm0, xmm0
mov dword [ebp - 0x14c6], 0
mov eax, 2
movq qword [ebp - 0x14ce], xmm0
mov word [ebp - 0x14c2], 0
mov word [ebp - 0x14d0], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0x1414], 0x10
mov word [ebp - 0x14ce], ax
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14cc], eax
lea eax, [ebp - 0x14d0]
push 0x10
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x434b8d
mov byte [ebp - 0x14c0], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x1528]
call fcn.004187a0
push eax
mov edx, 0x604df4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1474]
call fcn.00405a10
add esp, 4
lea ecx, [ebp - 0x14bc]
push eax
call fcn.00409840
lea ecx, [ebp - 0x1474]
call fcn.00404500
lea ecx, [ebp - 0x1528]
mov byte [ebp - 4], 3
call fcn.00404500
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x14c0]
mov ecx, edi
push eax
call fcn.004132e0
lea ecx, [ebp - 0x1428]
call fcn.00404500
lea ecx, [ebp - 0x1440]
call fcn.00404500
lea ecx, [ebp - 0x14c0]
call fcn.004066d0
lea ecx, [ebp + 8]
call fcn.00404500
jmp 0x434f8c
push 0x60169d
lea ecx, [ebp - 0x145c]
call fcn.00404430
push str._HTTP_1.1_r_n
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404770
lea ecx, [ebp - 0x14f4]
call fcn.00433e50
mov esi, eax
mov edx, dword [ebp - 0x14dc]
lea ecx, [ebp - 0x150c]
push 0x6048cc
mov byte [ebp - 4], 7
call fcn.00409960
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1474]
call fcn.00405b40
add esp, 4
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1528]
call fcn.00405aa0
add esp, 4
lea ecx, [ebp - 0x145c]
push eax
call fcn.00409840
lea ecx, [ebp - 0x1528]
call fcn.00404500
lea ecx, [ebp - 0x1474]
call fcn.00404500
lea ecx, [ebp - 0x150c]
call fcn.00404500
lea ecx, [ebp - 0x14f4]
mov byte [ebp - 4], 6
call fcn.00404500
lea eax, [ebp - 0x1440]
mov edx, str.Host:
push eax
lea ecx, [ebp - 0x150c]
call fcn.00408140
add esp, 4
push 0x604c88
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14f4]
call fcn.00405aa0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x145c]
mov byte [ebp - 4], 0xb
call fcn.004045c0
lea ecx, [ebp - 0x14f4]
call fcn.00404500
lea ecx, [ebp - 0x150c]
mov byte [ebp - 4], 6
call fcn.00404500
push str.Connection:Close_r_n
lea ecx, [ebp - 0x145c]
call fcn.00408230
push str.Keep_Alive:_timeout10_r_n
lea ecx, [ebp - 0x145c]
call fcn.00408230
push str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8_r_n
lea ecx, [ebp - 0x145c]
call fcn.00408230
push str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_42.0.2311.90_Safari_537.36_r_n
lea ecx, [ebp - 0x145c]
call fcn.00408230
push str.Accept_Encoding:deflate_r_n
lea ecx, [ebp - 0x145c]
call fcn.00408230
push str.Accept_Language:_zh_CN_zh_q0.8_r_n
lea ecx, [ebp - 0x145c]
call fcn.00408230
push 0x604c88
lea ecx, [ebp - 0x145c]
call fcn.00408230
cmp dword [ebp - 0x1448], 0x10
lea eax, [ebp - 0x145c]
push 0
push dword [ebp - 0x144c]
cmovae eax, dword [ebp - 0x145c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jne 0x434dcd
mov byte [ebp - 0x14c0], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x150c]
call fcn.004187a0
push eax
mov edx, 0x604f64
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14f4]
call fcn.00405a10
add esp, 4
lea ecx, [ebp - 0x14bc]
push eax
call fcn.00409840
lea ecx, [ebp - 0x14f4]
call fcn.00404500
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x150c]
call fcn.00404500
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x14c0]
mov ecx, edi
push eax
call fcn.004132e0
lea ecx, [ebp - 0x145c]
call fcn.00404500
jmp 0x434b5f
push 0
push 0x1400
lea eax, [ebp - 0x1410]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x434e62
mov byte [ebp - 0x14c0], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x150c]
call fcn.004187a0
push eax
mov edx, 0x604f84
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14f4]
call fcn.00405a10
add esp, 4
lea ecx, [ebp - 0x14bc]
push eax
call fcn.00409840
lea ecx, [ebp - 0x14f4]
call fcn.00404500
lea ecx, [ebp - 0x150c]
mov byte [ebp - 4], 6
call fcn.00404500
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x14c0]
mov ecx, edi
push eax
call fcn.004132e0
lea ecx, [ebp - 0x145c]
call fcn.00404500
jmp 0x434b5f
push eax
lea eax, [ebp - 0x1410]
push eax
lea ecx, [ebp - 0x14f4]
call fcn.00409810
push eax
lea ecx, [ebp - 0x14bc]
call fcn.00409840
lea ecx, [ebp - 0x14f4]
jmp 0x434da3
push 7
push 0x604ddc
lea ecx, [ebp - 0x14bc]
mov byte [ebp - 0x14c0], 0
call fcn.00404ba0
lea eax, [ebp - 0x14c0]
mov ecx, edi
push eax
call fcn.004132e0
cmp dword [ebp - 0x1414], 0x10
jb 0x434eca
push dword [ebp - 0x1428]
call fcn.0044f788
add esp, 4
cmp dword [ebp - 0x142c], 0x10
mov dword [ebp - 0x1414], 0xf
mov dword [ebp - 0x1418], 0
mov byte [ebp - 0x1428], 0
jb 0x434efc
push dword [ebp - 0x1440]
call fcn.0044f788
add esp, 4
cmp dword [ebp - 0x1490], 0x10
mov dword [ebp - 0x142c], 0xf
mov dword [ebp - 0x1430], 0
mov byte [ebp - 0x1440], 0
jb 0x434f2e
push dword [ebp - 0x14a4]
call fcn.0044f788
add esp, 4
cmp dword [ebp - 0x14a8], 0x10
mov dword [ebp - 0x1490], 0xf
mov dword [ebp - 0x1494], 0
mov byte [ebp - 0x14a4], 0
jb 0x434f60
push dword [ebp - 0x14bc]
call fcn.0044f788
add esp, 4
mov dword [ebp - 0x14a8], 0xf
mov dword [ebp - 0x14ac], 0
mov byte [ebp - 0x14bc], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x434f8c
push dword [ebp + 8]
call fcn.0044f788
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00577678
mov esp, ebp
pop ebp
ret