Function at 0x408670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47089a
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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 edi, ecx
mov dword [ebp - 0xe0], edi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xe0], edi
call fcn.00408410
mov esi, eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 0
push eax
call fcn.00445610
add esp, 4
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0040a820
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040a820
mov byte [ebp - 4], 3
cmp dword [ebp - 0x4c], 0
je 0x408b52
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x40873a
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408730
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b5b
push edx
push ecx
call fcn.0044945e
add esp, 8
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x408798
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40878e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b60
push edx
push ecx
call fcn.0044945e
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
push eax
push 0x484cb0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
call fcn.0040c030
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0xb8], 3
mov dword [ebp - 0xb4], 0xd200cf
mov dword [ebp - 0xb0], 0xbd00d8
nop dword [eax + eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0xb4], ax
inc ecx
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
jb 0x408800
xor ecx, ecx
mov word [ebp + eax*2 - 0xb4], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x98], 7
lea edx, [ecx + 2]
mov word [ebp - 0xac], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408845
sub ecx, edx
lea eax, [ebp - 0xb4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.0040c030
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.00423ef0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x4088c9
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4088bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b65
push edx
push ecx
call fcn.0044945e
add esp, 8
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xc8]
cmp edx, 8
jb 0x40892a
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408920
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b6a
push edx
push ecx
call fcn.0044945e
add esp, 8
cmp byte [ebp - 0x2c], 0
je 0x408940
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0040a820
jmp 0x408b25
lea ecx, [ebp - 0x28]
call fcn.00424b90
xor eax, eax
mov byte [ebp - 4], 0xc
push eax
push 0x484cb0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
call fcn.0040c030
mov byte [ebp - 4], 0xd
xor ecx, ecx
mov dword [ebp - 0x94], 0xd
mov dword [ebp - 0x90], 0xd500d3
mov dword [ebp - 0x8c], 0xc900cf
mov dword [ebp - 0x88], 0xd300df
mov dword [ebp - 0x84], 0xa400ac
mov dword [ebp - 0x80], 0x9c00b0
mov dword [ebp - 0x7c], 0xac00b1
mov dword [ebp - 0x78], 0xc700a2
nop word [eax + eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x90], ax
inc ecx
mov eax, dword [ebp - 0x94]
cmp ecx, eax
jb 0x4089d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x90], cx
xor eax, eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x98], 7
lea edx, [ecx + 2]
mov word [ebp - 0xac], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a15
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.0040c030
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x74]
call fcn.00424600
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x408a95
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b6f
push edx
push ecx
call fcn.0044945e
add esp, 8
mov edx, dword [ebp - 0xc8]
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
cmp edx, 8
jb 0x408af2
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ae8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b74
push edx
push ecx
call fcn.0044945e
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x44]
call fcn.0040a4a0
lea ecx, [ebp - 0x74]
call fcn.00408b80
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
push 0
push 0
call fcn.0044ac55
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
int3