Function at 0x408c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47091a
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x48f088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0xbd8d8b88
lea eax, [ecx - 0x46]
xor byte [ebp + ecx - 0x2c], al
inc ecx
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jb 0x408c86
mov byte [ebp + eax - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408cb1
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.0040c370
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x3c], 1
call fcn.004456b0
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00426370
mov esi, eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x2c], 0
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.004266c0
add eax, 0x18
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00416590
push esi
push eax
mov byte [ebp - 4], 5
call fcn.00445740
add esp, 0x18
test eax, eax
jns 0x408d53
neg eax
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.00410a50
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x408d5f
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.00410a50
mov ecx, eax
lea eax, [ebp - 0x13]
mov dword [ebp - 0x48], 0
add esp, 8
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, eax
je 0x408d87
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0040c370
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0040acb0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x408dc6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408dbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408eca
push edx
push ecx
call fcn.0044945e
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x408dfa
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408df0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ecf
push edx
push ecx
call fcn.0044945e
add esp, 8
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00408ee0
cmp byte [ebp - 0x2c], 0
je 0x408e25
lea ecx, [ebp - 0x38]
call fcn.0040baf0
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x408e5c
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408e52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ed4
push edx
push ecx
call fcn.0044945e
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 8
jb 0x408ead
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ea3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ed9
push edx
push ecx
call fcn.0044945e
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dec
mov esp, ebp
pop ebp
ret
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
int3