Function at 0x421d72
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x460
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], 0x9b16990b
mov dword [esp + 0x5c], 0x97779509
mov dword [esp + 0x60], 0x93449105
mov dword [esp + 0x64], 0x8f068d11
mov dword [esp + 0x68], 0x8b8a8915
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x74], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1c
ja 0x4217b5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x58]
mov edx, eax
and edx, 0x1079c744
xor eax, 0x9079c744
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
add al, 0x24
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x58], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1d
jb 0x421770
lea edi, [esp + 0x58]
lea ecx, [esp + 0x44]
push edi
call fcn.00435ba0
shr eax, 0x1f
xor ebx, ebx
jmp dword [eax*4 + 0x4428e0]
lea ecx, [esp + 0x44]
push 0x410
call fcn.00435de0
not eax
shr eax, 0x1f
xor ebx, ebx
jmp dword [eax*4 + 0x4428e8]
mov dword [esp + 0x58], 0x54d39aad
mov dword [esp + 0x5c], 0x6654314e
mov dword [esp + 0x60], 0x5a5d5331
mov dword [esp + 0x64], 0x4f505c3d
mov dword [esp + 0x68], 0x4e3b204c
mov dword [esp + 0x6c], 0x47263c25
mov dword [esp + 0x70], 0x4c592458
mov dword [esp + 0x74], 0x48374e23
mov dword [esp + 0x78], 0x10225c20
mov dword [esp + 0x7c], 0x70133961
mov dword [esp + 0x80], 0xc33c1511
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8b], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x36
ja 0x4218c0
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x58]
lea edx, [eax + 0x7d]
and edx, ecx
mov esi, 0xf6d91882
sub esi, eax
or esi, ecx
not esi
add esi, ecx
sub esi, edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
add al, 0x95
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x58], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x37
jb 0x421880
lea eax, [esp + 0x10]
lea ecx, [esp + 0x44]
push 0
push 0x2b
push edi
push eax
call fcn.00436350
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x20], ecx
cmp ebx, ecx
sete al
jmp dword [eax*4 + 0x4428f0]
mov esi, dword [esp + 0x20]
mov eax, esi
sub eax, ebx
sar eax, 2
imul eax, eax, 0x421
push eax
call fcn.00408e10
add esp, 4
mov dword [esp + 0x2c], 0
xor ecx, ecx
cmp ebx, esi
setne cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
jmp dword [ecx*4 + 0x442908]
mov esi, dword [ebx]
push 0x400
push 0
push edi
call fcn.00408ea0
add esp, 0xc
mov eax, dword [case.0x4218e6.10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x44]
push eax
push 0x400
push edi
push esi
call fcn.004361f0
xor ecx, ecx
cmp eax, 0xc0000000
setae cl
jmp dword [ecx*4 + 0x442920]
xor eax, eax
cmp dword [esp + 0x30], 0
sete al
jmp dword [eax*4 + 0x442928]
mov eax, 1
jmp 0x421992
xor eax, eax
mov ecx, dword [case.0x4218e6.18]
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
jmp dword [eax*4 + 0x442940]
mov byte [esp + 0x457], 0
movzx eax, byte [esp + 0x58]
xor edx, edx
test al, al
je 0x4219d1
mov ecx, edi
nop
nop
cmp al, 0x2e
je 0x4219cf
movzx eax, byte [ecx + 1]
inc ecx
test al, al
jne 0x4219c0
jmp 0x4219d1
mov edx, ecx
xor eax, eax
mov ecx, edx
mov dword [esp], edx
test edx, edx
setne al
jmp dword [eax*4 + 0x442948]
jmp dword [0x442950]
mov eax, dword [esp]
jmp 0x421c70
xor ecx, ecx
test esi, esi
setne cl
jmp dword [ecx*4 + 0x442960]
mov ecx, esi
sub ecx, dword [esp]
lea edx, [ecx + ecx*2]
shr edx, 2
movzx eax, byte [eax + ecx]
cmp eax, 0x3d
je 0x421a27
cmp eax, 0x2e
jne 0x421a28
dec edx
mov eax, dword [esp]
movzx eax, byte [ecx + eax - 2]
cmp eax, 0x3d
mov dword [esp + 0x1c], ecx
je 0x421a3e
cmp eax, 0x2e
jne 0x421a3f
dec edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edx
lea eax, [edx + 1]
push eax
call fcn.00408e10
add esp, 4
mov dword [esp + 0x24], eax
cmp esi, dword [esp]
je 0x421b47
mov dword [esp + 8], 0
mov esi, 2
jmp 0x421a87
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 4]
add esi, 2
cmp esi, ecx
mov esi, eax
jae 0x421b47
mov edi, dword [esp]
movzx eax, byte [edi + esi - 2]
push eax
call fcn.00418880
add esp, 4
mov bh, al
movzx eax, byte [edi + esi - 1]
push eax
call fcn.00418880
add esp, 4
mov bl, al
xor al, 0xc0
mov ecx, ebx
or cl, 0x30
and cl, al
shl bh, 2
shr cl, 4
add cl, bh
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 8]
mov byte [eax + edx], cl
mov eax, edx
inc eax
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
mov dword [esp + 8], eax
jae 0x421a77
movzx eax, byte [edi + esi]
push eax
call fcn.00418880
add esp, 4
cmp al, 0x40
je 0x421a73
mov bh, al
shr al, 2
and al, 0xf
shl bl, 4
or bl, al
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 8]
mov byte [eax + edi], bl
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
lea eax, [esi + 1]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jae 0x421b3e
mov eax, dword [esp]
movzx eax, byte [eax + esi + 1]
push eax
call fcn.00418880
add esp, 4
cmp al, 0x40
je 0x421a6f
shl bh, 6
add al, bh
mov ecx, dword [esp + 0x24]
mov byte [ecx + edi], al
inc edi
jmp 0x421a6f
mov dword [esp + 8], edi
jmp 0x421a77
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
mov byte [esi + eax], 0
push esi
call fcn.00401f80
add esp, 4
mov ebx, eax
jmp dword [0x442968]
push esi
call fcn.00408e20
add esp, 4
lea edi, [esp + 0x58]
jmp dword [0x442974]
lea edi, [esp + 0x58]
jmp dword [0x442974]
push ebx
call fcn.00402890
add esp, 4
nop
nop
nop
nop
nop
nop
push ebx
call fcn.00402890
add esp, 4
jmp dword [0x442978]
mov ecx, dword [case.0x4219dd.17]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
xor ecx, ecx
test eax, eax
setne cl
mov edx, dword [esp + 0x2c]
jmp dword [ecx*4 + 0x442990]
mov dword [esp + 0x30], 0xab043033
lea ecx, [esp + 0x34]
mov dword [ecx + 7], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xe
ja 0x421c3f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx + 0x30]
lea esi, [ecx + edx]
add ecx, 0x1a
and ecx, edx
add ecx, ecx
sub esi, ecx
add esi, 0x4ed5661a
mov dword [esp + 4], esi
mov ecx, dword [esp + 4]
add cl, 0x4a
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0xf
jb 0x421c00
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.004027e0
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
mov esi, dword [esp + 0x28]
jmp dword [ecx*4 + 0x442998]
jmp dword [0x4429a4]
jmp 0x421ce3
lea edi, [eax + 1]
movzx ecx, byte [eax + 1]
xor esi, esi
test cl, cl
mov edx, edi
mov dword [esp], edi
je 0x421ca4
mov edx, edi
lea edi, [esp + 0x58]
nop
nop
nop
nop
nop
nop
nop
nop
cmp cl, 0x2e
je 0x421cae
movzx ecx, byte [edx + 1]
inc edx
test cl, cl
jne 0x421c90
jmp dword [0x442958]
lea edi, [esp + 0x58]
jmp dword [0x442958]
mov esi, edx
jmp dword [0x442958]
mov eax, dword [esp]
inc eax
jmp 0x421c70
movzx ecx, byte [eax]
test cl, cl
je 0x421cdb
lea edx, [eax + 1]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [esi], cl
inc esi
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x421cd0
mov word [esi], 0x203a
add esi, 2
movzx ecx, byte [eax]
test cl, cl
je 0x421cfb
lea edx, [eax + 1]
nop
nop
nop
mov byte [esi], cl
inc esi
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x421cf0
mov word [esi], 0x203a
add esi, 2
jmp dword [0x4429a8]
movzx eax, byte [esp + 0x58]
test al, al
je 0x421d2b
lea ecx, [esp + 0x59]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x421d20
mov byte [esi], 0
mov byte [esi], 0xa
inc esi
mov dword [esp + 0x28], esi
mov eax, dword [case.0x4219dd.18]
nop
nop
nop
nop
nop
mov dl, 1
jmp eax
mov dword [esp + 0x2c], edx
push ebx
call fcn.00402b20
add esp, 4
mov ebx, dword [esp + 0x54]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [case.0x421c58.12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
add ebx, 4
xor eax, eax
cmp ebx, dword [esp + 0x20]
setne al
jmp dword [eax*4 + 0x442908]
mov ebx, dword [esp + 0x2c]
mov eax, ebx
and al, 1
movzx eax, al
jmp dword [eax*4 + 0x4429e0]
mov edi, dword [esp + 0x40]
jmp dword [0x4429e8]
jmp dword [0x442900]
xor esi, esi
test ebx, ebx
jne 0x421eb0
jmp 0x421ebf
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x28]
mov byte [ebx], 0
mov edi, dword [esp + 0x40]
sub ebx, edi
mov dword [esp + 0x58], 0x97848551
mov dword [esp + 0x5c], 0x9bafac95
mov dword [esp + 0x60], 0x969e9c91
mov dword [esp + 0x64], 0x9c94b453
mov dword [esp + 0x68], 0xcf5596a1
mov dword [esp + 0x6c], 0xede3e4eb
mov dword [esp + 0x70], 0xfbe82feb
mov word [esp + 0x74], 0x71e6
mov dword [esp + 0x76], 0
mov byte [esp + 0x7a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x22
ja 0x421e7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x58]
mov esi, eax
and esi, 0x12d
xor eax, 0x12d
lea eax, [eax + esi*2]
xor eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add al, 0xc5
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x58], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x23
jb 0x421e40
lea eax, [esp + 0x58]
push ebx
push edi
push eax
call fcn.00409850
mov ebx, eax
jmp dword [0x4429e8]
push edi
call fcn.00408e20
add esp, 4
and bl, 1
mov esi, ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x421ebf
cmp ebx, dword [esp + 0x20]
je 0x421ebf
push ebx
call fcn.00408e20
add esp, 4
mov ebx, esi
lea ecx, [esp + 0x44]
call fcn.00435f20
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
sub esp, 0x2c
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x24], eax
mov esp, eax
push eax
mov dword [esi + 0x5c], esp
push eax
mov dword [esi + 0xd4], esp
sub esp, 8
mov dword [esi + 0xd0], esp
sub esp, 8
mov dword [esi + 0xe4], esp
sub esp, 8
mov edi, esp
sub esp, 0x20
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x20], eax
mov esp, eax
xor ebx, ebx
mov eax, 0x20219
mov ecx, 1
jmp dword [0x442a0c]