Function at 0x408d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446923
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x44]
call fcn.00424ba0
push 0x390
lea eax, [ebp - 0x60c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004294d0
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x624]
push 0
push 0x4566e4
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0xf
mov byte [ebp - 0x624], 0
call fcn.0040b9d0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x60c]
call fcn.00406ba0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x610]
cmp edx, 0x10
jb 0x408e81
mov ecx, dword [ebp - 0x624]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408e77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098c9
push edx
push ecx
call fcn.004274df
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x408eb9
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408eaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098ce
push edx
push ecx
call fcn.004274df
add esp, 8
push 0xac
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.004294d0
mov eax, 6
mov dword [ebp - 0x614], 0xd5ebfbfa
add esp, 0xc
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x610], 0xa3c6c8
xor ecx, ecx
mov al, cl
sub al, 0x63
xor byte [ebp + ecx - 0x614], al
inc ecx
mov eax, dword [ebp - 0x618]
cmp ecx, eax
jb 0x408ef0
mov byte [ebp + eax - 0x614], 0
lea ecx, [ebp - 0x614]
mov word [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408f30
sub ecx, edx
lea eax, [ebp - 0x614]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b9d0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x6b8]
call fcn.004024d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x640]
push 0
push 0x4566e4
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.0040b9d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x624]
push 0
push 0x4566e4
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0xf
mov byte [ebp - 0x624], 0
call fcn.0040b9d0
push 0
lea eax, [ebp - 0x6b8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x19c]
call fcn.004039b0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x628], eax
mov eax, dword [ebp - 0x5e4]
mov dword [ebp - method._.13.virtual_0], 0x456dec
cmp dword [ebp - 0x5e0], eax
je 0x409021
lea ecx, [ebp - 0x19c]
mov dword [eax], ecx
add dword [ebp - 0x5e4], 4
jmp 0x409034
lea ecx, [ebp - 0x628]
push ecx
push eax
lea ecx, [ebp - 0x5e8]
call fcn.0040d270
mov dword [ebp - method._.13.virtual_0], 0x456dec
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x610]
cmp edx, 0x10
jb 0x40907c
mov ecx, dword [ebp - 0x624]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409072
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098d3
push edx
push ecx
call fcn.004274df
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x62c]
cmp edx, 0x10
jb 0x4090ba
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4090b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098d8
push edx
push ecx
call fcn.004274df
add esp, 8
lea ecx, [ebp - 0x698]
call fcn.004023c0
lea ecx, [ebp - 0x6b8]
call fcn.00402430
push fcn.00402a10
push 1
push 0x1c
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xf
push eax
call fcn.00427164
push 0xac
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.004294d0
movaps xmm0, xmmword [0x457200]
add esp, 0xc
mov dword [ebp - 0x620], 0xf
xor ecx, ecx
movups xmmword [ebp - 0x61c], xmm0
nop word [eax + eax]
mov al, cl
sub al, 0x63
xor byte [ebp + ecx - 0x61c], al
inc ecx
mov eax, dword [ebp - 0x620]
cmp ecx, eax
jb 0x409120
mov byte [ebp + eax - 0x61c], 0
lea ecx, [ebp - 0x61c]
mov word [ebp - 0x65c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409170
sub ecx, edx
lea eax, [ebp - 0x61c]
push ecx
push eax
lea ecx, [ebp - 0x658]
call fcn.0040b9d0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x65c]
push eax
push ecx
lea ecx, [ebp - 0x6f8]
call fcn.004024d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x624]
push 0
push 0x4566e4
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0xf
mov byte [ebp - 0x624], 0
call fcn.0040b9d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x640]
push 0
push 0x4566e4
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.0040b9d0
push 0
lea eax, [ebp - 0x6f8]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0xf0]
call fcn.004039b0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x628], eax
mov eax, dword [ebp - 0x5e4]
mov dword [ebp - 0xf0], 0x456dec
cmp dword [ebp - 0x5e0], eax
je 0x40926a
lea ecx, [ebp - 0xf0]
mov dword [eax], ecx
add dword [ebp - 0x5e4], 4
jmp 0x40927d
lea ecx, [ebp - 0x628]
push ecx
push eax
lea ecx, [ebp - 0x5e8]
call fcn.0040d270
mov dword [ebp - 0xf0], method._.13.virtual_0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x62c]
cmp edx, 0x10
jb 0x4092c5
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4092bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098dd
push edx
push ecx
call fcn.004274df
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x610]
cmp edx, 0x10
jb 0x409303
mov ecx, dword [ebp - 0x624]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4092f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098e2
push edx
push ecx
call fcn.004274df
add esp, 8
lea ecx, [ebp - 0x6d8]
call fcn.004023c0
lea ecx, [ebp - 0x6f8]
call fcn.00402430
push fcn.00402a10
push 1
push 0x1c
lea eax, [ebp - 0x65c]
mov byte [ebp - 4], 0x19
push eax
call fcn.00427164
push 0xe0
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.004294d0
add esp, 0xc
mov dword [ebp - 0x618], 0xc5f3f7fb
xor ecx, ecx
mov dword [ebp - 0x614], 0xc1cec3cf
mov eax, 8
mov byte [ebp - 0x610], 0xa5
mov dword [ebp - 0x61c], eax
mov word [ebp - 0x60f], cx
mov byte [ebp - 0x60d], cl
nop dword [eax]
mov al, cl
sub al, 0x63
xor byte [ebp + ecx - 0x618], al
inc ecx
mov eax, dword [ebp - 0x61c]
cmp ecx, eax
jb 0x409380
mov byte [ebp + eax - 0x618], 0
lea ecx, [ebp - 0x618]
mov word [ebp - 0x678], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x660], 0xf
mov byte [ebp - 0x674], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4093d0
sub ecx, edx
lea eax, [ebp - 0x618]
push ecx
push eax
lea ecx, [ebp - 0x674]
call fcn.0040b9d0
lea eax, [ebp - 0x65c]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x678]
push eax
push ecx
lea ecx, [ebp - 0x6b8]
call fcn.004024d0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x624]
push 0
push 0x4566e4
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0xf
mov byte [ebp - 0x624], 0
call fcn.0040b9d0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x640]
push 0
push 0x4566e4
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.0040b9d0
push 0
lea eax, [ebp - 0x6b8]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004039b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x1d0]
mov dword [ebp - method..12.virtual_0], vtable..12.0
call fcn.0040a4d0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x1b8]
call fcn.0040a4d0
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x628], eax
mov eax, dword [ebp - 0x5e4]
cmp dword [ebp - 0x5e0], eax
je 0x409502
lea ecx, [ebp - 0x27c]
mov dword [eax], ecx
add dword [ebp - 0x5e4], 4
jmp 0x409515
lea ecx, [ebp - 0x628]
push ecx
push eax
lea ecx, [ebp - 0x5e8]
call fcn.0040d270
mov dword [ebp - method..12.virtual_0], vtable..12.0
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x62c]
cmp edx, 0x10
jb 0x40955d
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409553
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098e7
push edx
push ecx
call fcn.004274df
add esp, 8
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x610]
cmp edx, 0x10
jb 0x40959b
mov ecx, dword [ebp - 0x624]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409591
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098ec
push edx
push ecx
call fcn.004274df
add esp, 8
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4095d3
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4095c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098f1
push edx
push ecx
call fcn.004274df
add esp, 8
lea ecx, [ebp - 0x698]
call fcn.004023c0
lea ecx, [ebp - 0x6b8]
call fcn.00402430
push fcn.00402a10
push 1
push 0x1c
lea eax, [ebp - 0x678]
mov byte [ebp - 4], 0x27
push eax
call fcn.00427164
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x60c]
mov eax, dword [ebp - 0x60c]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
add esi, 0x18
call dword [eax + 0x34]
push edi
push esi
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x60c]
call fcn.0040de60
mov dword [ebp - 4], 0x27
lea ecx, [ebp - 0x19c]
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x40979b
lea ecx, [ebp - 0x2c]
call fcn.00408500
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.004159f0
add esp, 8
mov byte [ebp - 4], 0x2b
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x409680
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x45f808
call fcn.00410480
mov edx, dword [ebp - 0x62c]
add esp, 4
cmp edx, 0x10
jb 0x4096ca
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4096c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098f6
push edx
push ecx
call fcn.004274df
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x409704
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4096fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098fb
push edx
push ecx
call fcn.004274df
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x27c]
call fcn.004099c0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xf0], vtable._.13.0
call fcn.004023c0
lea ecx, [ebp - 0x84]
call fcn.00402430
lea ecx, [ebp - 0xf0]
call fcn.00402eb0
lea ecx, [ebp - 0x110]
mov dword [ebp - method._.13.virtual_0], vtable._.13.0
call fcn.004023c0
lea ecx, [ebp - 0x130]
call fcn.00402430
lea ecx, [ebp - 0x19c]
call fcn.00402eb0
lea ecx, [ebp - 0x60c]
call fcn.004073b0
push dword [ebp - 0x40]
call fcn.00426ea2
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.0040b580
xor eax, eax
jmp 0x40989c
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x409718
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00415a90
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0x2c
call fcn.00408ac0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x409718
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409806
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409900
push edx
push ecx
call fcn.004274df
add esp, 8
jmp 0x409718
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426e91
mov esp, ebp
pop ebp
ret
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
int3