Function at 0x4505e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x100
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 1
push esi
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
call fcn.0044f0e0
mov edx, eax
test edx, edx
je 0x450bab
mov ecx, edx
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450670
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.00402b80
mov dword [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x547cc0]
mov word [ebp - 0x30], 0xdbdb
movups xmmword [ebp - 0x2e], xmm0
nop dword [eax]
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 8
jb 0x4506a0
mov dword [0x55d624], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4506d2
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00402b80
mov edi, 0x4001
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.00482d20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x450740
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450736
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0044f3a0
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x28]
je 0x450b73
mov ecx, dword [ebp - 0x54]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x450bc6
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push 1
cmovae eax, dword [ebp - 0x64]
push 0x54281c
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xc4]
call fcn.0048aa20
or edi, 0x1000
mov dword [ebp - 0x18], edi
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 4
call fcn.00482d90
or edi, 0x2000
mov dword [ebp - 0x18], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0x10
jb 0x45082e
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450824
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
movaps xmm0, xmmword [0x549d10]
xor eax, eax
movups xmmword [ebp - 0xfc], xmm0
mov dword [ebp - 0xb4], 0
movaps xmm0, xmmword [0x546df0]
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
movups xmmword [ebp - 0xec], xmm0
nop word [eax + eax]
lea ecx, [eax - 0x79]
xor byte [ebp + eax - 0xfc], cl
inc eax
cmp eax, 0x16
jb 0x450870
xorps xmm0, xmm0
mov dword [0x55d574], eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0xe6], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x68], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4508b0
sub ecx, edx
lea eax, [ebp - 0xfc]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402b80
or edi, 0x800
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 7
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
cmovae eax, dword [ebp - 0x7c]
mov ecx, eax
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4508f0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x9c]
sub eax, edx
cmp eax, ecx
jb 0x450bc6
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
push ecx
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0xac]
push edx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x94]
call fcn.0048aa20
or edi, 0x400
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x450978
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45096e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x11]
cmp dword [ebp - 0x80], 0x10
lea ecx, [ebp - 0x94]
push eax
cmovae ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x48]
call fcn.0044f620
mov al, byte [ebp - 0x11]
sub esp, 0x14
mov byte [ebp - 0x12], al
mov ecx, esp
lea eax, [ebp - 0x48]
push eax
call fcn.00483010
mov dl, byte [ebp - 0x12]
lea ecx, [ebp - 0xdc]
call fcn.0044fec0
add esp, 0x18
push esi
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
call fcn.00483010
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xf4]
call fcn.00483010
or edi, 2
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x450a24
call fcn.00496930
add dword [edx + 4], 0x30
jmp 0x450a2c
push ecx
mov ecx, edx
call fcn.0048e710
lea ecx, [ebp - 0x10c]
call fcn.00424a90
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xc8]
cmp ecx, 0x10
jb 0x450a75
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450a6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
cmp ecx, 0x10
jb 0x450ac8
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450abe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0x10
jb 0x450b15
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450b0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0x10
jb 0x450b67
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450b5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x28]
jne 0x450770
lea ecx, [ebp - 0x2c]
call fcn.00485200
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x450bab
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450ba1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450bc1
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00500390
call fcn.004023f0
int3