Function at 0x453f40
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 0x530fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe0
push esi
push edi
xor eax, eax
mov dword [ebp - 0xd8], edx
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
call dword [0x538098]
mov esi, eax
cmp esi, 0xffffffff
je 0x45483b
push 0
push esi
call dword [0x5380e4]
push eax
mov dword [ebp - 0x60], eax
call fcn.00504f3f
push dword [ebp - 0x60]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x20], edi
call fcn.00506f10
add esp, 0x10
mov dword [ebp - 0xcc], 0
lea eax, [ebp - 0xcc]
push 0
push eax
push dword [ebp - 0x60]
push edi
push esi
call dword [0x5381fc]
push esi
test eax, eax
jne 0x45400e
call dword [0x5380b4]
push edi
call fcn.00504f70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [0x5380b4]
cmp byte [edi], 0xd0
xorps xmm0, xmm0
mov edx, dword [ebx + 8]
setne al
mov byte [ebp - 0x19], 0
mov byte [edx], al
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x60], eax
jbe 0x454800
mov cl, byte [eax + edi]
cmp cl, 0x20
jbe 0x454710
cmp cl, 0x7f
jae 0x454710
cmp cl, 0x3d
je 0x454710
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov byte [ebp - 0xd0], cl
cmp edx, esi
jae 0x454099
lea eax, [edx + 1]
cmp esi, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x4540b6
push dword [ebp - 0xd0]
mov byte [ebp - 0xd4], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xd4]
push 1
call fcn.00402d20
xorps xmm0, xmm0
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0xe0], edi
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xdc], esi
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 1
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0xae], 0xddd2d3ee
mov word [ebp - 0xaa], 0xdac6
xor edx, edx
mov byte [ebp - 0xa8], 0xc1
movups xmmword [ebp - 0xa7], xmm0
mov dword [ebp - 0x97], edi
mov word [ebp - 0x93], di
mov byte [ebp - 0x91], 0
nop dword [eax]
sub cl, 0x51
lea eax, [ebp + eax - 0xae]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 7
jb 0x454120
mov dword [0x565560], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xae]
mov byte [ebp - 0xa7], 0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xb4], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454170
sub ecx, edx
lea eax, [ebp - 0xae]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402c40
mov eax, dword [ebp - 0x18]
or eax, 0x10
or eax, 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0xb4], 0x10
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x18], eax
setae byte [ebp - 0x1a]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc8]
cmovae eax, ecx
mov dword [ebp - 0x88], ecx
mov edx, eax
mov dword [ebp - 0x24], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4541c7
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push 0
call fcn.00492370
add esp, 0xc
test eax, eax
je 0x4542d7
xorps xmm0, xmm0
mov dword [ebp - 0x82], 0x81e1ffff
xor ecx, ecx
mov dword [ebp - 0x7e], 0xd9d6d7f2
xor eax, eax
mov word [ebp - 0x7a], 0xd6c2
mov byte [ebp - 0x78], 0xcd
xor edx, edx
movups xmmword [ebp - 0x77], xmm0
mov dword [ebp - 0x67], 0
mov word [ebp - 0x63], 0
mov byte [ebp - 0x61], 0
nop dword [eax]
sub cl, 0x51
lea eax, [ebp + eax - 0x82]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 0xb
jb 0x454230
mov dword [0x565530], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x82]
mov byte [ebp - 0x77], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454270
sub ecx, edx
lea eax, [ebp - 0x82]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402c40
or dword [ebp - 0x18], 0x22
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
cmovae ecx, eax
mov dword [ebp - 0x2c], eax
mov edx, ecx
mov dword [ebp - 0x24], ecx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4542a5
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push 0
call fcn.00492370
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
je 0x4542da
mov byte [ebp - 0x11], 0
jmp 0x4542de
mov edx, dword [ebp - 0x44]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 2
je 0x45431f
mov ecx, dword [ebp - 0x30]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x45431f
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x454312
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45484e
push ecx
push edx
call fcn.00504f31
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 1
test al, 1
je 0x45436b
and eax, 0xfffffffe
cmp byte [ebp - 0x1a], 0
mov dword [ebp - 0x18], eax
je 0x45436b
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x454361
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45484e
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x45440f
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x28]
cmp byte [eax], 0
lea esi, [ecx + 9]
jne 0x454386
lea esi, [ecx + 2]
mov eax, dword [ebp - 0x20]
cmp byte [esi + eax], 0x20
jbe 0x4543fd
nop
mov cl, byte [esi + eax]
cmp cl, 0x7f
jae 0x4543fd
mov edx, dword [ebp - 0xdc]
mov byte [ebp - 0x8c], cl
cmp edi, edx
jae 0x4543cb
lea eax, [edi + 1]
cmp edx, 0x10
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x4543eb
push dword [ebp - 0x8c]
mov byte [ebp - 0x90], 0
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x90]
push 1
call fcn.00402d20
mov eax, dword [ebp - 0x20]
inc esi
cmp byte [esi + eax], 0x20
jbe 0x4543fd
mov edi, dword [ebp - 0xe0]
jmp 0x454390
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0xdc]
mov byte [ebp - 0x19], 1
jmp 0x4546be
cmp byte [ebp - 0x19], 0
je 0x45461b
xorps xmm0, xmm0
mov dword [ebp - 0xaf], 0xc1c2d1ff
xor ecx, ecx
mov dword [ebp - 0xab], 0xd2c7dbc4
xor eax, eax
mov dword [ebp - 0x97], 0
movups xmmword [ebp - 0xa7], xmm0
mov word [ebp - 0x93], 0
xor edx, edx
mov byte [ebp - 0x91], 0
nop word [eax + eax]
sub cl, 0x51
lea eax, [ebp + eax - 0xaf]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 8
jb 0x454460
mov dword [0x565624], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xaf]
mov byte [ebp - 0xa7], 0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xb4], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4544b0
sub ecx, edx
lea eax, [ebp - 0xaf]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402c40
mov eax, dword [ebp - 0x18]
or eax, 0x40
mov byte [ebp - 4], 3
lea edi, [ebp - 0xc8]
or eax, 4
cmp dword [ebp - 0xb4], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc8]
cmovae edi, eax
mov edx, edi
mov dword [ebp - 0x24], eax
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x454500
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push edi
push 0
call fcn.00492370
add esp, 0xc
test eax, eax
je 0x454612
xorps xmm0, xmm0
mov dword [ebp - 0x83], 0x81e1ffff
xor ecx, ecx
mov dword [ebp - 0x7f], 0xc5c6d5e3
xor eax, eax
mov dword [ebp - 0x7b], 0xdecbd7c0
movups xmmword [ebp - 0x77], xmm0
mov dword [ebp - 0x67], 0
xor edx, edx
mov word [ebp - 0x63], 0
mov byte [ebp - 0x61], 0
sub cl, 0x51
lea eax, [ebp + eax - 0x83]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 0xc
jb 0x454561
mov dword [0x565528], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x83]
mov byte [ebp - 0x77], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4545a1
sub ecx, edx
lea eax, [ebp - 0x83]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402c40
or dword [ebp - 0x18], 0x88
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0x30]
cmp edi, 0x10
cmovae eax, dword [ebp - 0x44]
mov edx, eax
mov dword [ebp - 0x88], eax
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4545e0
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
push dword [ebp - 0x88]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push 0
call fcn.00492370
add esp, 0xc
test eax, eax
jne 0x454627
mov byte [ebp - 0x11], 1
jmp 0x45462b
mov edi, dword [ebp - 0x30]
mov byte [ebp - 0x11], 1
jmp 0x45462b
mov eax, dword [ebp - 0xc8]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x18]
test al, 8
je 0x45466e
and eax, 0xfffffff7
mov dword [ebp - 0x18], eax
cmp edi, 0x10
jb 0x45466e
mov edx, dword [ebp - 0x44]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x454661
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45484e
push ecx
push edx
call fcn.00504f31
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 1
test al, 4
je 0x4546b8
and eax, 0xfffffffb
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb4]
cmp eax, 0x10
jb 0x4546b8
mov edx, dword [ebp - 0x24]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4546ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45484e
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x454727
mov byte [ebp - 4], 0
cmp esi, 0x10
jb 0x4546f8
mov edx, dword [ebp - 0xf0]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4546ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45484e
push ecx
push edx
call fcn.00504f31
add esp, 8
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x60]
jb 0x454051
jmp 0x454800
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
cmovae eax, dword [ebp - 0x5c]
mov byte [eax], 0
jmp 0x4546fb
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x28]
cmp byte [edx], 0
lea eax, [ecx + 9]
jne 0x454738
lea eax, [ecx + 2]
xorps xmm0, xmm0
xor esi, esi
mov edx, 0xf
mov dword [ebp - 0x34], esi
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x44], 0
mov edi, dword [ebp - 0x20]
add edi, eax
mov byte [ebp - 4], 4
mov cl, byte [edi]
cmp cl, 0x20
jbe 0x4547b5
cmp cl, 0x7f
jae 0x4547b5
mov byte [ebp - 0x90], cl
cmp esi, edx
jae 0x454789
lea eax, [esi + 1]
cmp edx, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0x4547a6
push dword [ebp - 0x90]
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x8c]
push 1
call fcn.00402d20
mov cl, byte [edi + 1]
inc edi
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
cmp cl, 0x20
ja 0x454760
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x4547d3
cmp edx, 0x10
push esi
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0048c8a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x454800
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4547f6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45484e
push edx
push ecx
call fcn.00504f31
add esp, 8
push dword [ebp - 0x20]
call fcn.00504f70
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 0x10
jb 0x45483b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x454831
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45484e
push ecx
push edx
call fcn.00504f31
add esp, 8
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.0050a1d0
int3