Function at 0x4358d0
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 0x46c87d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x4c4080]
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, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0xc]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040be60
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x4c], 0xbdb8bfa2
mov word [ebp - 0x48], 0xbd
lea eax, [ecx - 0x36]
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 5
jb 0x435956
lea edx, [ebp - 0x4c]
mov byte [ebp - 0x47], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x435970
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
mov esi, dword [ebp - 0x1c]
sub edx, ecx
push edx
cmp edi, 0xf
lea ecx, [ebp - 0x2c]
push eax
cmova ecx, dword [ebp - 0x2c]
mov edx, esi
push ecx
call fcn.00440b60
add esp, 0xc
test eax, eax
jne 0x435a1c
mov dword [ebp - 0x54], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
movups xmmword [ebp - 0x64], xmm0
cmp esi, 8
jb 0x435c25
or ecx, 0xffffffff
lea eax, [esi - 8]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp edi, 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
add eax, 8
lea ecx, [ebp - 0x64]
push eax
call fcn.0040dc30
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040bc50
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x435a16
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435a0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435c2a
push ecx
push edx
call fcn.00442ca4
add esp, 8
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0xa0a3a8e4
xor ecx, ecx
mov byte [ebp - 0x48], 0
nop dword [eax]
lea eax, [ecx - 0x36]
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 4
jb 0x435a30
lea edx, [ebp - 0x4c]
mov byte [ebp - 0x48], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x435a47
sub edx, ecx
lea eax, [ebp - 0x4c]
push edx
cmp edi, 0xf
lea ecx, [ebp - 0x2c]
push eax
cmova ecx, dword [ebp - 0x2c]
mov edx, esi
push ecx
call fcn.00440b60
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
je 0x435b73
add eax, 4
mov dword [ebp - 0x54], 0
cmp esi, eax
mov dword [ebp - 0x50], 0
mov ecx, eax
xorps xmm0, xmm0
cmovb ecx, esi
lea eax, [ebp - 0x2c]
cmp edi, 0xf
push ecx
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
push eax
movups xmmword [ebp - 0x64], xmm0
call fcn.0040dc30
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040bc50
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x435ae9
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435adf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435c2a
push ecx
push edx
call fcn.00442ca4
add esp, 8
mov ecx, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
cmp eax, ecx
jb 0x435c25
sub eax, ecx
mov edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
add eax, ecx
lea ecx, [ebp - 0x64]
push edx
push eax
call fcn.0040dc30
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040bc50
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x435b73
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435b69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435c2a
push ecx
push edx
call fcn.00442ca4
add esp, 8
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.0040be60
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0040be60
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x435bc1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435bb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435c2a
push ecx
push edx
call fcn.00442ca4
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x435c03
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435bf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435c2a
push ecx
push edx
call fcn.00442ca4
add esp, 8
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.0044279c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0040fb50
call fcn.0044e09f
int3