Function at 0x408410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b972
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.00416820
mov esi, eax
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x14], 0x4a554906
mov dword [ebp - 0x10], 0x1001840
nop dword [eax]
mov al, cl
add al, 0x20
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 6
jb 0x408460
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x30], 0x50435106
mov dword [ebp - 0x2c], 0x55495257
mov dword [ebp - 0x28], 0x100144c
nop dword [eax]
mov al, cl
add al, 0x20
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 0xa
jb 0x408490
movaps xmm0, xmmword [0x450110]
xor ecx, ecx
mov byte [ebp - 0x25], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x5e535f42
mov dword [ebp - 0x34], 0x1000851
nop dword [eax]
mov al, cl
add al, 0x20
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x16
jb 0x4084c0
mov byte [ebp - 0x31], 0
xor ecx, ecx
mov word [ebp - 0x23], 0x2f
mov byte [ebp - 0x21], 0
mov dword [ebp - 0x1f], 0x53565548
mov dword [ebp - 0x1b], 0x8091f57
mov word [ebp - 0x17], 0x100
mov al, cl
add al, 0x20
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 8
jb 0x4084f2
push ecx
lea edx, [ebp - 0x1f]
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x108]
call fcn.00408990
add esp, 4
lea ecx, [ebp - 0x23]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0xf0]
call fcn.00408ac0
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0xd8]
call fcn.00408ac0
add esp, 4
push 0x4a29b4
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.00408b70
add esp, 4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00408ac0
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00408b70
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00408ac0
sub esp, 0x14
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x24], ecx
push esi
push eax
push dword [ebp - 0x24]
call fcn.00408d80
lea ecx, [ebp - 0x60]
call fcn.004397a0
mov ecx, dword [ebp - 0x64]
add esp, 0x18
cmp ecx, 0x10
jb 0x4085f6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4085ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408825
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp ecx, 0x10
jb 0x40863f
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408635
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408825
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp ecx, 0x10
jb 0x40868e
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408684
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408825
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp ecx, 0x10
jb 0x4086e3
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4086d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408825
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp ecx, 0x10
jb 0x408738
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40872e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408825
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp ecx, 0x10
jb 0x40878d
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408783
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408825
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
cmp ecx, 0x10
jb 0x4087de
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4087d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408825
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
cmp ecx, 0x10
jb 0x408835
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40882b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40882b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00439eff
add esp, 8
mov dword [ebp - 0x15], 0x40415453
xor ecx, ecx
mov dword [ebp - 0x11], 0x555641
mov byte [ebp - 0xd], 1
nop dword [eax]
mov al, cl
add al, 0x20
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 7
jb 0x408850
lea edx, [ebp - 0x15]
mov byte [ebp - 0xd], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x408868
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x15]
mov edi, dword [ebp - 0x60]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x60]
cmp ebx, 0x10
push eax
cmovae ecx, edi
call fcn.00408f70
add esp, 8
test al, al
je 0x40889b
mov esi, 1
jmp 0x4088ff
mov dword [ebp - 0x20], 0x474b5648
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4e47431e
mov word [ebp - 0x18], 0x44
mov byte [ebp - 0x16], 1
mov al, cl
add al, 0x20
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 9
jb 0x4088b5
lea esi, [ebp - 0x20]
mov byte [ebp - 0x16], 0
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4088d0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x20]
sub esi, ecx
cmp ebx, 0x10
lea ecx, [ebp - 0x60]
push esi
cmovae ecx, edi
push eax
call fcn.00408f70
add esp, 8
test al, al
je 0x4088fd
mov esi, 2
jmp 0x4088ff
xor esi, esi
cmp ebx, 0x10
jb 0x40892b
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x408921
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408963
push ecx
push edi
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x408973
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408969
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408969
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret