Function at 0x420b82
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50462f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc0
push esi
mov esi, ecx
mov byte [ebp - 0x11], dl
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1b], 0xdbdb9f
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 3
jb 0x420ba0
lea edx, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x420bb7
mov edi, dword [ebx + 0x34]
lea eax, [ebp - 0x1b]
sub edx, ecx
cmp edi, 0x10
push edx
mov edx, dword [ebx + 0x30]
lea ecx, [ebx + 0x20]
cmovae ecx, dword [ebx + 0x20]
push eax
push 0
call fcn.0046bc50
add esp, 0xc
test eax, eax
je 0x420c3c
mov dword [ebp - 0x1b], 0xdadb9f
xor ecx, ecx
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 3
jb 0x420bf0
lea esi, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x420c07
mov edx, dword [ebx + 0x30]
lea eax, [ebp - 0x1b]
sub esi, ecx
cmp edi, 0x10
push esi
push eax
lea ecx, [ebx + 0x20]
cmovae ecx, dword [ebx + 0x20]
push 0
call fcn.0046bc50
add esp, 0xc
test eax, eax
je 0x420c39
mov byte [ebp - 0x11], 0
jmp 0x421137
mov esi, dword [ebp - 0x24]
mov eax, dword [ebx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, 5
jb 0x4211bf
add eax, 0xfffffffb
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push ecx
add eax, 5
lea ecx, [ebp - 0x58]
push eax
call fcn.00403410
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x420cb5
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420cab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211ce
push ecx
push edx
call fcn.004dd7d1
add esp, 8
movq xmm0, qword [ebp - 0x48]
movups xmm1, xmmword [ebp - 0x58]
mov dword [ebp - 0x60], 0
movq qword [ebx + 0x18], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
movups xmmword [ebx + 8], xmm1
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 2
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebp - 0x70]
movd eax, xmm1
cmovae ecx, eax
push ecx
call fcn.00420a20
add esp, 4
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebx + 8]
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
push eax
call fcn.00466240
cmp byte [ebp - 0x11], 0
lea edx, [ebx + 8]
je 0x420dd7
cmp dword [ebx + 0x1c], 0x10
lea edi, [ebx + 0x20]
mov esi, dword [ebx + 0x30]
cmovae edx, dword [ebx + 8]
cmp dword [ebx + 0x34], 0x10
cmovae edi, dword [ebx + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push dword [ebx + 0x18]
call fcn.00402c50
sub esp, 0x14
mov byte [ebp - 4], 3
mov ecx, esp
mov edx, edi
push esi
call fcn.00402c50
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00420530
add esp, 0x30
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x420d96
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
cmp edx, eax
je 0x420d94
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, edx
push eax
call fcn.00466240
mov ecx, dword [ebp - 0x30]
test ecx, ecx
mov ecx, dword [ebp - 0x2c]
setne byte [ebp - 0x11]
cmp ecx, 0x10
jb 0x421100
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420dc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211c4
push ecx
push edx
call fcn.004dd7d1
add esp, 8
jmp 0x421100
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebp - 0xb8]
push dword [ebx + 0x18]
cmovae edx, dword [ebx + 8]
mov word [ebp - 0x23], 0x2a
mov byte [ebp - 0x21], 0
call fcn.00402c50
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
lea ecx, [ebp - 0xa0]
push dword [ebx + 0x30]
cmovae edx, dword [ebx + 0x20]
mov word [ebp - 0x27], 0x5f
mov byte [ebp - 0x25], 0
call fcn.00402c50
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x20], 0xd4a8a4ac
mov dword [ebp - 0x1c], 0xafc5ddd4
mov word [ebp - 0x18], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 8
jb 0x420e42
push edx
lea edx, [ebp - 0x20]
mov byte [ebp - 0x17], 0
lea ecx, [ebp - 0x88]
call fcn.0046a4d0
add esp, 4
lea ecx, [ebp - 0x27]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00466370
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1a]
lea ecx, [ebp - 0x58]
call fcn.0046de30
lea eax, [ebp - 0x23]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x58]
call fcn.00466370
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x420f1d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420f13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211c9
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x420f6d
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420f63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211c9
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x420fa8
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420f9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211c9
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x420ffb
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420ff1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211c9
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x421054
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42104a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211c9
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
test ecx, ecx
je 0x4210c8
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x42108e
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00466240
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4210c2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4210b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211ce
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 0x11], 1
jmp 0x421100
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4210fc
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4210f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211ce
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x421134
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42112a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211ce
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov edi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x42116a
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42115d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211ce
push ecx
push edx
call fcn.004dd7d1
mov edi, dword [ebx + 0x34]
add esp, 8
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp edi, 0x10
jb 0x4211a9
mov ecx, dword [ebx + 0x20]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x42119f
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211ce
push edi
push ecx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00469c30
call fcn.004e2a70
call fcn.004e2a70
call fcn.004e2a70
int3