Function at 0x4063e0
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x437a3a
mov eax, dword fs:[0]
push eax
mov eax, 0xd2ec
call fcn.00437850
mov eax, dword [0x43d01c]
xor eax, esp
mov dword [esp + 0xd2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43d01c]
xor eax, esp
push eax
lea eax, [esp + 0xd300]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd310]
mov ebp, dword [esp + 0xd330]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd334]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
push 0x400
push 0x100
lea ecx, [esp + 0x204]
push ecx
push 0x14
lea edx, [esp + 0x1f8]
push edx
sub esp, 0x1c
lea eax, [esp + 0xd344]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov dword [esp + 0xd33c], 0
lea esi, [esp + 0x54]
lea edi, [esp + 0x730]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, esi
mov ecx, edi
call fcn.004061f0
mov ecx, str.HTTP
lea eax, [esp + 0x1e8]
mov dl, byte [eax]
or esi, 0xffffffff
cmp dl, byte [ecx]
jne 0x4064c9
test dl, dl
je 0x4064c5
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4064c9
add eax, 2
add ecx, 2
test dl, dl
jne 0x4064a6
xor eax, eax
jmp 0x4064cd
sbb eax, eax
sbb eax, esi
test eax, eax
je 0x4064ef
lea ecx, [esp + 0xd314]
mov dword [esp + 0xd308], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 1
jmp 0x406a9b
lea ecx, [esp + 0x54]
push ecx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4064d1
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
mov dword [esp + 0x28], ebx
cmp ebx, esi
je 0x4064d1
mov eax, dword [esp + 0x20]
mov edx, 2
push eax
mov word [esp + 0x48], dx
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esp + 0x1fc]
push ecx
mov word [esp + 0x4a], ax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40654b
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
push 0x10
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4064d1
cmp byte [esp + 0x6fc], al
jne 0x406586
push 0x400
push 0x43a280
lea ecx, [esp + 0x704]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
test ebp, ebp
jne 0x4065b0
mov edx, 0x43a284
call fcn.00406120
mov edx, dword [str.GET]
mov al, byte [0x43a290]
mov dword [esp + 0x2fc], edx
mov byte [esp + 0x300], al
jmp 0x4065d6
mov edx, 0x43a294
call fcn.00406120
mov ecx, dword [str.POST]
mov dx, word [0x43a2a0]
mov dword [esp + 0x2fc], ecx
mov word [esp + 0x300], dx
lea eax, [esp + 0x6fc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4065e0
mov ebp, dword [sym.imp.WS2_32.dll_send]
push 0
sub eax, edx
push eax
lea eax, [esp + 0x704]
push eax
push ebx
call ebp
lea eax, [esp + 0x6fc]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406606
lea edi, [esp + 0x2fc]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406617
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0xb
mov ecx, eax
push 0x43a2a4
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call ebp
lea eax, [esp + 0x2fc]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406641
mov ecx, dword [str._HTTP_1.0_r_n]
mov edx, dword [0x43a2b4]
push 0
push 0x8f
mov dword [eax], ecx
mov ecx, dword [0x43a2b8]
push 0x43a2d8
mov dword [eax + 4], edx
push ebx
mov dword [eax + 8], ecx
call ebp
lea edi, [esp + 0x2fc]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406680
push 0
push 0x18
push 0x43a2bc
mov ecx, 0x24
mov esi, str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg__application_vnd.ms_excel__application_msword__application_vnd.ms_powerpoint____r_n
push ebx
rep movsd dword es:[edi], dword [esi]
call ebp
lea edi, [esp + 0x2fc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4066a8
mov ecx, 6
mov esi, str.Accept_Language:_en_us_r_n
rep movsd dword es:[edi], dword [esi]
push 0
push 0x20
push 0x43a414
push ebx
movsb byte es:[edi], byte [esi]
call ebp
lea edi, [esp + 0x2fc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4066d1
mov ecx, 8
mov esi, str.Accept_Encoding:_gzip__default_r_n
rep movsd dword es:[edi], dword [esi]
push 0
push 0x17
push 0x43a45c
push ebx
movsb byte es:[edi], byte [esi]
call ebp
lea eax, [esp + 0x2fc]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406700
mov edx, dword [str.User_Agent:_Neeao_4.0_r_n]
mov ecx, dword [0x43a478]
mov dword [eax], edx
mov edx, dword [0x43a47c]
mov dword [eax + 4], ecx
mov ecx, dword [0x43a480]
mov dword [eax + 8], edx
mov edx, dword [0x43a484]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x43a488]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x406799
push eax
lea edx, [esp + 0xb00]
push str.Content_Length:__ld_r_n
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push ebx
lea edx, [esp + 0xb00]
call fcn.00406120
lea eax, [esp + 0xafc]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406772
lea edi, [esp + 0x2fc]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406783
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 6
push 0x43a4a4
push ebx
call ebp
lea eax, [esp + 0x2fc]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4067b0
mov ecx, dword [str.Host:]
mov dx, word [0x43a4b0]
mov dword [eax], ecx
mov cl, byte [0x43a4b2]
mov word [eax + 4], dx
mov byte [eax + 6], cl
lea eax, [esp + 0x1fc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4067e0
push 0
sub eax, edx
push eax
lea edx, [esp + 0x204]
push edx
push ebx
call ebp
lea eax, [esp + 0x1fc]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406800
lea edi, [esp + 0x2fc]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406811
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 2
mov ecx, eax
push 0x43a4b4
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call ebp
lea eax, [esp + 0x2fc]
dec eax
jmp 0x406840
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406840
mov cx, word [0x43a4b8]
mov esi, dword [esp + 0x3c]
mov dl, byte [0x43a4ba]
mov word [eax], cx
mov byte [eax + 2], dl
test esi, esi
je 0x406899
cmp byte [esi], 0
je 0x406899
push ebx
mov edx, esi
call fcn.00406120
mov eax, esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406872
lea edi, [esp + 0x2fc]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406883
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 2
push 0x43a4bc
push ebx
call ebp
lea eax, [esp + 0x2fc]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4068b0
mov cx, word [0x43a4c0]
mov esi, dword [esp + 0x40]
mov dl, byte [0x43a4c2]
mov word [eax], cx
mov byte [eax + 2], dl
test esi, esi
je 0x406917
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x406917
push 0
push edi
push esi
push ebx
call ebp
mov eax, esi
mov byte [esi + edi], 0
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4068f0
lea edi, [esp + 0x2fc]
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406901
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x2fc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406921
sub eax, edx
add eax, eax
add eax, eax
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
add esp, 4
lea ecx, [esp + 0x2fc]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x406947
mov ebp, 0xa
push ebp
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
add esp, 4
xor eax, eax
mov ebx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov edi, edi
mov eax, dword [esp + 0x28]
push 0
mov esi, 1
push esi
lea edx, [esp + 0xb04]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x406993
mov dword [esp + 0x1c], esi
mov al, byte [esp + 0xafc]
cmp al, 0xa
je 0x4069a8
cmp al, 0xd
je 0x4069bb
add dword [esp + 0x20], esi
jmp 0x4069bb
cmp dword [esp + 0x20], 0
jne 0x4069b3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
mov esi, ebx
sub esi, edi
mov byte [esp + 0x18], al
cmp esi, ebp
jb 0x4069d9
add ebp, ebp
push ebp
push edi
call dword [sym.imp.MSVCR90.dll_realloc]
mov edi, eax
add esp, 8
lea ebx, [esi + edi]
mov cl, byte [esp + 0x18]
mov byte [ebx], cl
inc ebx
cmp dword [esp + 0x1c], 0
je 0x406970
mov edx, dword [esp + 0x24]
mov dword [edx + 4], edi
push 0xa
mov byte [ebx], 0
mov dword [esp + 0x3c], 0xa
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebp, dword [esp + 0x2c]
mov edi, dword [sym.imp.WS2_32.dll_recv]
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push 0
push 0xc7ff
lea eax, [esp + 0xb04]
push eax
push ebp
call edi
mov ebx, eax
test ebx, ebx
jl 0x406a4b
lea ecx, [esp + 0xafc]
push ecx
lea esi, [esp + 0x34]
mov byte [esp + ebx + 0xb00], 0
call fcn.00406340
test ebx, ebx
jg 0x406a16
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov byte [ecx], 0
sub ecx, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x2c]
add edx, 4
sub edx, eax
jmp 0x406a70
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406a70
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0xd314]
mov dword [esp + 0xd308], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0xd300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd2e8]
xor ecx, esp
call fcn.004035d2
add esp, 0xd2f8
ret 0x28