Function at 0x4054b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66bcec
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x74b1ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x1ec], eax
mov esi, ecx
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1dc], esi
cmp dword [eax + 0x10], 0
jne 0x405535
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x708e70
mov byte [esi], 0
call fcn.004036b0
jmp 0x405903
mov ecx, 0x1d
lea edi, [ebp - 0xf0]
mov esi, str.XBPVW_
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x7fe91c], 2
jl 0x4056a1
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x70a720]
movaps xmm3, xmmword [0x70a790]
movaps xmm6, xmmword [0x70a750]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x210], xmm0
mov edx, dword [ebp - 0x210]
movd xmm7, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x70a770]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0xf0]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0xf0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x70a770]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0xec]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0xec], xmm1
add ecx, 8
cmp ecx, 0x70
jl 0x405591
cmp ecx, 0x74
jge 0x4056ce
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x39
sub dl, al
add dl, 0x36
xor byte [ebp + ecx - 0xf0], dl
inc ecx
cmp ecx, 0x74
jl 0x4056a1
push 0xa
push str.User_Agent
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004036b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405711
sub ecx, edx
lea eax, [ebp - 0xf0]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004036b0
lea eax, [ebp - 0x1e8]
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov byte [ebp - 0x1d1], 0
push eax
lea ecx, [ebp - 0x208]
movlpd qword [ebp - 0x1e8], xmm0
call fcn.00404c80
mov edi, eax
mov dword [ebp - 0x1e0], 0x3c
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1dc], 0
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00404c80
mov ecx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x200], ecx
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1fc], ecx
lea ecx, [ebp - 0x44]
push eax
push ecx
lea ecx, [ebp - 0x1f4]
call fcn.004082b0
mov esi, eax
push dword [ebp - 0x1ec]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00403520
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00404b90
lea ecx, [ebp - 0x1d1]
mov byte [ebp - 4], 4
push ecx
push edi
lea ecx, [ebp - 0x200]
mov edx, eax
push ecx
push esi
lea ecx, [ebp - 0x1d0]
call fcn.0040b2e0
add esp, 0x10
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x40582c
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405822
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405923
push edx
push ecx
call fcn.004cd516
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
push fcn.004019e0
push 1
push 0x18
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 7
push eax
call fcn.004cd555
mov eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1f4]
push eax
push dword [eax]
lea eax, [ebp - 0x1dc]
push eax
call fcn.0040a290
push 0x40
push dword [ebp - 0x1f4]
call fcn.004cd516
add esp, 8
push fcn.00405090
push 1
push 0x30
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
push eax
call fcn.004cd555
cmp dword [ebp - 0x170], 0
jne 0x4058d3
mov eax, dword [ebp - 0x1c8]
add eax, 0xffffff38
cmp eax, 6
ja 0x4058d3
mov ecx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1c4]
push eax
call fcn.00403520
lea ecx, [ebp - 0x1d0]
call fcn.00405150
mov eax, dword [ebp - 0x1d8]
jmp 0x405905
mov esi, dword [ebp - 0x1d8]
mov ecx, esi
push 0
push 0x708e70
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.004036b0
lea ecx, [ebp - 0x1d0]
call fcn.00405150
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cd30a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e9059
int3