Function at 0x408b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e9ac
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x6c], edi
xor ecx, ecx
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x6c], 0xbb8b898a
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x6c], al
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x408bc7
lea ecx, [ebp - 0x6c]
mov byte [ebp + eax - 0x6c], 0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408bf3
sub ecx, edx
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040c5d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
xor eax, eax
movq qword [ebp - 0x34], xmm0
push 0x4827b4
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.0040c290
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.00416930
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x408ca1
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409149
push edx
push ecx
call fcn.00447b45
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov esi, dword [ebp - 0x34]
sub ecx, esi
mov word [ebp - 0x88], ax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x78], 0
sar edx, 2
mov eax, edx
mov dword [ebp - 0x74], 7
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x408cfa
movups xmm0, xmmword [ebp - 0x4c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x10], xmm0
jmp 0x409124
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040aa80
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0x11
jae 0x408d6c
movups xmm0, xmmword [ebp - 0x4c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x10], xmm0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x409114
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40910a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40914e
jmp 0x40910a
mov eax, 2
mov dword [ebp - 0x90], 0xdd00d1
mov dword [ebp - 0x94], eax
xor ecx, ecx
mov dword [ebp - 0x8c], 0xba
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x90], ax
inc ecx
mov eax, dword [ebp - 0x94]
cmp ecx, eax
jb 0x408d90
xor ecx, ecx
mov dword [ebp - 0x78], 0
mov word [ebp + eax*2 - 0x90], cx
mov edx, 7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae eax, esi
mov dword [ebp - 0x74], edx
add eax, 4
cmp dword [ebp - 0x14], 8
cmovae ecx, esi
xor edx, edx
mov word [ebp - 0x88], dx
mov edx, dword [ebp - 0x74]
cmp ecx, eax
je 0x408e03
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040c290
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x90]
lea eax, [ecx + 2]
mov dword [ebp - 0x6c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408e10
sub ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x88]
sar ecx, 1
cmp edx, 8
cmovae eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x78]
cmp eax, ecx
jne 0x408e55
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x6c]
call fcn.0040c960
add esp, 0xc
mov byte [ebp - 0x65], 0
test eax, eax
je 0x408e59
mov byte [ebp - 0x65], 1
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x408e99
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408e8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409153
push edx
push ecx
call fcn.00447b45
mov esi, dword [ebp - 0x28]
add esp, 8
cmp byte [ebp - 0x65], 0
je 0x408ef6
movups xmm0, xmmword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x10], xmm0
cmp eax, 8
jb 0x409114
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x408eef
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409158
push ecx
push esi
jmp 0x40910c
push 0x11
push 0xf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00409180
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 5
push eax
call fcn.00443ff0
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.00426540
mov esi, eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00416750
push esi
push eax
mov byte [ebp - 4], 8
call fcn.00444080
add esp, 0x14
lea ecx, [ebp - 0x88]
mov edx, eax
call fcn.00401e20
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040af10
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x408f99
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408f8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40915d
push edx
push ecx
call fcn.00447b45
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x408fe8
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408fde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409162
push edx
push ecx
call fcn.00447b45
add esp, 8
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp edx, 0x10
jb 0x40903d
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409033
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409167
push edx
push ecx
call fcn.00447b45
add esp, 8
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp edx, 8
jb 0x409098
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40908e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40916c
push edx
push ecx
call fcn.00447b45
add esp, 8
movups xmm0, xmmword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x10], xmm0
cmp edx, 8
jb 0x4090f1
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4090e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409171
push edx
push ecx
call fcn.00447b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
jmp 0x408d2f
push edx
push ecx
call fcn.00447b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x34]
call fcn.0040bd50
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.004474f7
mov esp, ebp
pop ebp
ret
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
call fcn.0044ca29
int3