Function at 0x421410
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x38]
mov ebp, 0xfffffffe
cmp word [edi + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x421330
sar ebp, 1
mov eax, esp
push eax
push 0
push 0
push ebp
push edi
push 0
call dword [0x44de28]
mov dword [esp + 0xc], 0x31feff99
mov ecx, 0xd5
mov edx, 0x2a
movzx esi, byte [esp + ecx - 0xc9]
mov ebx, edx
xor ebx, ecx
and ebx, esi
xor ebx, ecx
add bl, 0xd7
mov byte [esp + ecx - 0xc9], bl
inc ecx
dec edx
cmp edx, 0x26
jne case.default.0x42138c
xor ecx, ecx
cmp eax, dword [esp + 0xc]
setne cl
xor ebx, ebx
jmp dword [ecx*4 + 0x448004]
mov ebx, dword [esp]
test ebx, ebx
jns 0x4213a1
mov eax, 0xffffffff
jmp 0x4213a4
lea eax, [ebx + ebx]
push eax
call fcn.004087e0
add esp, 4
mov esi, eax
mov eax, esp
push eax
push ebx
push esi
push ebp
push edi
push 0
call dword [0x44de28]
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44800c]
xor ebx, ebx
jmp dword [0x448014]
jmp dword [0x448020]
lea edi, [esp + 0xc]
push edi
push esi
call fcn.00441830
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44802c]
xor ecx, ecx
test byte [esp + 0xc], 0x10
sete cl
mov eax, 1
jmp dword [ecx*4 + 0x448034]
xor eax, eax
jmp dword [0x44803c]
push esi
call fcn.004087f0
add esp, 4
xor eax, eax
xor ebx, ebx
jmp dword [eax*4 + 0x448044]
xor ebx, ebx
jmp dword [eax*4 + 0x448044]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xb9babb5a
mov word [esp + 8], 0
mov eax, 0x1b353bdf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x1b353bdb]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
xor edx, 0x5b
or ecx, 0xa4
and edx, ecx
add edx, ecx
inc dl
mov byte [esp + eax - 0x1b353bdb], dl
inc eax
cmp eax, 0x1b353be5
jne 0x421470
lea eax, [esp + 4]
push edi
push 0x422d90
push eax
push esi
call fcn.00423180
add esp, 0x10
mov ebx, eax
jmp dword [0x44804c]
push esi
call fcn.004087f0
add esp, 4
mov eax, dword [case.0x42138c.2]
nop
nop
nop
nop
jmp eax
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call fcn.004087f0
add esp, 4
push esi
call fcn.004087f0
add esp, 4
xor ebx, ebx
jmp dword [0x448028]
mov eax, dword [esi + 0x244]
mov eax, dword [eax]
mov ecx, dword [esi + 0x258]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov edi, dword [esi + 0x158]
jmp eax
mov eax, dword [esi + 0x17c]
mov eax, dword [eax]
mov ecx, dword [esi + 0x188]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov cl, byte [esi + 7]
jmp eax
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x264], ecx
mov dword [esi + 8], edx
lea ecx, [esi + 0x270]
sub esp, 4
mov dword [esp], 1
call fcn.00409300
mov edi, ebx
add edi, 4
mov eax, dword [ebx + 4]
sub esp, 4
mov dword [esp], eax
call fcn.00418630
add esp, 4
add eax, 0xa
mov ecx, 2
mul ecx
seto dl
mov ecx, 0xffffffff
test dl, 1
jne 0x42205b
mov ecx, eax
sub esp, 4
mov dword [esp], ecx
call fcn.004087e0
add esp, 4
mov dword [esi + 0x15c], eax
mov al, byte [esi + 0x18]
mov byte [esi + 0xb4], al
mov byte [esi + 0x1c], 0xe8
mov byte [esi + 0x1d], 0x4b
mov byte [esi + 0x1e], 0xda
mov byte [esi + 0x1f], 0x49
mov byte [esi + 0x20], 0xc6
mov byte [esi + 0x21], 0x47
mov byte [esi + 0x22], 0xdd
mov byte [esi + 0x23], 0x45
mov byte [esi + 0x24], 0xde
mov byte [esi + 0x25], 0x43
mov byte [esi + 0x26], 0xcf
mov byte [esi + 0x27], 0x41
mov byte [esi + 0x28], 0x12
mov byte [esi + 0x29], 0xbf
mov byte [esi + 0x2a], 0x28
mov byte [esi + 0x2b], 0xbd
mov byte [esi + 0x2c], 0x31
mov byte [esi + 0x2d], 0xbb
mov byte [esi + 0x2e], 0xba
mov byte [esi + 0x2f], 0xb9
mov eax, 0x14
mov byte [esi + eax + 0x1c], 0
add eax, 1
cmp eax, 0x16
jne 0x4220cd
xor eax, eax
cmp eax, 0x16
jae 0x42211e
movzx edx, byte [esi + eax + 0x1c]
mov ecx, eax
add ecx, 0x6ab44773
mov ebx, edx
xor ebx, 0xffffffff
and ecx, ebx
mov ebx, 0x8c
sub ebx, eax
and ebx, edx
or ecx, ebx
mov edx, ecx
shl edx, 1
and edx, 0x80
xor ecx, 0xc0
add ecx, edx
add cl, 1
mov byte [esi + eax + 0x1c], cl
add eax, 1
jmp 0x4220dc
call fcn.00418650
call fcn.00418650
mov eax, dword [edi]
sub esp, 8
mov dword [esp + 4], eax
mov edi, dword [esi + 0x15c]
mov dword [esp], edi
call fcn.0040a1f0
lea ecx, [esi + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0040a1f0
sub esp, 0xc
lea eax, [esi + 0x14]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x10], 0x60
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0x120089
call fcn.00441680
add esp, 0x14
not eax
shr eax, 0x1f
mov ecx, dword [esi + 0x19c]
mov dword [ecx], eax
mov eax, dword [esi + 0x1a8]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
jmp eax
mov ecx, dword [esi + 0x1e0]
mov dword [ecx], 0
mov eax, dword [esi + 0x1f4]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
jmp eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x198]
mov ecx, dword [ecx]
mov edx, dword [esi + 0x1a0]
mov edx, dword [edx]
mov ecx, dword [edx + ecx*4]
jmp ecx
mov eax, dword [esi + 0x1ec]
mov eax, dword [eax]
mov ecx, dword [esi + 0x200]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
add dword [eax], eax
add byte [ebx + 0x8e8b00], cl
add al, byte [eax]
add byte [ebx - 0x7efb74f7], cl
jmp eax
call fcn.00418650
mov ecx, dword [esi + 0x190]
mov dword [ecx], 0
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
jmp eax
xor dword [ebx - 0x42], 0x29e1941e
loopne 0x4222b5
xor byte [esp + ecx*4 - 0x1b936ab9], 0x8b
pop es
mov ecx, dword [esi + 0x168]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
jmp eax
call fcn.00418650
mov ecx, dword [esi + 0x180]
mov dword [ecx], 1
mov eax, dword [esi + 0x18c]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
mov ebx, dword [esi + 0x194]
jmp eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x174], eax
mov al, byte [esi + 0xbc]
mov byte [esi + 0xc8], al
mov byte [esi + 0xc0], 0x97
mov byte [esi + 0xc1], 0x96
mov byte [esi + 0xc2], 0x95
mov byte [esi + 0xc3], 0x94
mov eax, 4
mov byte [esi + eax + 0xc0], 0
add eax, 1
cmp eax, 6
jne 0x42235c
xor eax, eax
cmp eax, 6
jae 0x422390
mov cl, byte [esi + eax + 0xc0]
mov dl, al
add dl, 0xdc
xor dl, cl
add dl, 0xb4
mov byte [esi + eax + 0xc0], dl
add eax, 1
jmp 0x42236e
mov ecx, dword [esi + 0xc0]
xor edi, edi
cmp edi, dword [0x44de2c]
jb 0x4223a2
jmp 0x422404
mov eax, dword [0x44de30]
cmp dword [eax + edi*8], 0x1b6183f2
sete bl
test bl, 1
jne 0x4223b8
jmp 0x4223f8
mov eax, dword [eax + edi*8 + 4]
cmp eax, ecx
je 0x4223f8
mov dword [esi + 0x16c], ecx
mov ecx, dword [0x44de34]
sub esp, 0x10
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov eax, dword [esi + 0x174]
mov dword [esp + 0xc], eax
call fcn.0043f290
mov ecx, dword [esi + 0x16c]
add esp, 0x10
jmp 0x4223f8
test bl, 1
je 0x4223ff
jmp 0x422404
add edi, 1
jmp 0x422398
mov eax, dword [esi + 0x248]
mov eax, dword [eax]
mov ecx, dword [esi + 0x25c]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
jmp eax
mov eax, dword [esi + 0x10]
inc eax
sub esp, 4
mov dword [esp], eax
call fcn.004087e0
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
sub esp, 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [esp + 0xc], 0
call fcn.00441a70
add esp, 0x10
not eax
shr eax, 0x1f
mov ecx, dword [esi + 0x1b0]
mov dword [ecx], eax
mov eax, dword [esi + 0x1b4]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
jmp eax
mov ecx, dword [esi + 0x23c]
mov dword [ecx], 0
mov eax, dword [esi + 0x250]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
jmp eax
mov eax, dword [esi + 0x1c0]
mov eax, dword [eax]
mov ecx, dword [esi + 0x1c8]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
xor edi, edi
jmp eax
mov eax, dword [esi + 0x10]
mov byte [edi + eax], 0
mov al, byte [esi + 0xc]
mov byte [esi + 0xb8], al
mov byte [esi + 0xcc], 0xe5
mov byte [esi + 0xcd], 0xf9
mov byte [esi + 0xce], 0xf6
mov byte [esi + 0xcf], 0xe6
mov byte [esi + 0xd0], 0xea
mov byte [esi + 0xd1], 0xf6
mov byte [esi + 0xd2], 0xef
mov byte [esi + 0xd3], 0xe8
mov byte [esi + 0xd4], 0xe6
mov byte [esi + 0xd5], 0xfa
mov byte [esi + 0xd6], 0x24
mov byte [esi + 0xd7], 0xfc
mov byte [esi + 0xd8], 0xe9
mov byte [esi + 0xd9], 0xef
mov byte [esi + 0xda], 0xeb
mov byte [esi + 0xdb], 0xf7
mov byte [esi + 0xdc], 0xe4
mov byte [esi + 0xdd], 0xf4
mov byte [esi + 0xde], 0xfc
mov byte [esi + 0xdf], 0xe0
mov byte [esi + 0xe0], 0xfd
mov byte [esi + 0xe1], 0xfa
mov byte [esi + 0xe2], 0xf8
mov byte [esi + 0xe3], 0xe4
mov byte [esi + 0xe4], 0x36
mov byte [esi + 0xe5], 0xec
mov byte [esi + 0xe6], 0xef
mov byte [esi + 0xe7], 0xf2
mov byte [esi + 0xe8], 0xf8
mov byte [esi + 0xe9], 0xee
mov byte [esi + 0xea], 0x1e
mov eax, 0x1f
mov byte [esi + eax + 0xcc], 0
add eax, 1
cmp eax, 0x23
jne 0x422712
xor eax, eax
mov dword [esi + 0x158], edi
cmp eax, 0x23
jae 0x422779
movzx ecx, byte [esi + eax + 0xcc]
mov edi, eax
shl edi, 1
and edi, 0xad2ae580
mov edx, eax
xor edx, 0x569572c0
add edx, edi
mov edi, edx
xor edi, 0xffffffff
mov ebx, ecx
or ebx, edi
mov edi, edx
xor edi, ecx
xor edi, 0xffffffff
xor ecx, 0xffffffff
and edx, ecx
or edx, edi
mov edi, dword [esi + 0x158]
xor ebx, edx
add bl, 0x40
mov byte [esi + eax + 0xcc], bl
add eax, 1
jmp 0x42272a
sub esp, 8
lea eax, [esi + 0xcc]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004227f0
add esp, 8
mov edx, eax
xor eax, eax
test edx, edx
setne al
mov ecx, dword [esi + 0x1c4]
mov dword [ecx], eax
mov eax, dword [esi + 0x1cc]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
jmp eax