Function at 0x421c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa00
mov dword [esp + 0xb8], 0xc111c713
mov dword [esp + 0xbc], 0xcd5ec35f
mov dword [esp + 0xc0], 0xc95acf67
mov dword [esp + 0xc4], 0xb556cb63
mov dword [esp + 0xc8], 0xb161b72f
mov dword [esp + 0xcc], 0xbd2db32d
mov dword [esp + 0xd0], 0xb969bf1e
mov dword [esp + 0xd4], 0xa521bb24
mov dword [esp + 0xd8], 0xa109a734
mov dword [esp + 0xdc], 0xad34a367
mov dword [esp + 0xe0], 0xa932af03
mov dword [esp + 0xe4], 0x953bab31
mov dword [esp + 0xe8], 0x91039706
mov dword [esp + 0xec], 0x9d059346
mov dword [esp + 0xf0], 0x99349f0d
mov dword [esp + 0xf4], 0x850d9b09
mov dword [esp + 0xf8], 0x81308752
mov dword [esp + 0xfc], 0x8d1e832f
mov dword [esp + 0x100], 0x891f8f15
mov dword [esp + 0x104], 0x751f8b1a
mov dword [esp + 0x108], 0x71d977c9
mov dword [esp + 0x10c], 0x7dec73e2
mov dword [esp + 0x110], 0x79d37fd7
mov dword [esp + 0x114], 0x657a7bd7
mov word [esp + 0x118], 0
lea eax, [esp + 0x118]
mov dword [esp + 8], eax
lea eax, [esp + 0xb8]
mov edx, 0xce
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], eax
movzx esi, byte [eax]
lea eax, [edx - 0x6fd90100]
or eax, esi
and esi, edx
not eax
or eax, esi
mov edi, eax
and edi, 0x40c00008
mov ebx, eax
and ebx, 2
mov esi, ebx
xor esi, 2
imul esi, edi
or edi, 2
imul edi, ebx
lea ecx, [eax + eax]
and ecx, 0x14
mov ebx, 1
sub ebx, eax
sub eax, ecx
add eax, esi
add eax, edi
and ebx, 1
or eax, 1
sub eax, ebx
add al, 0xb
mov ecx, dword [esp + 4]
mov byte [ecx], al
mov eax, dword [esp + 4]
inc eax
dec edx
cmp edx, 0x6c
jne 0x421d60
lea edi, [esp + 0x58]
lea eax, [esp + 0xb8]
mov ecx, 0x18
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xb8]
xor edx, edx
xor ecx, ecx
mov eax, dword [esp + 8]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0xb8], 0x989b9a9d
mov word [esp + 0xbc], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
and esi, 6
mov ecx, eax
xor ecx, 0xad5ae75b
add ecx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
and esi, 0xb6
and ecx, 0x49
or ecx, esi
xor cl, byte [esp + eax + 0xb8]
xor cl, 0xb6
add cl, 0x39
mov byte [esp + eax + 0xb8], cl
inc eax
add edx, 2
cmp eax, 6
jne 0x421e10
mov eax, dword [esp + 0xb8]
mov ecx, dword [0x44fa10]
test ecx, ecx
je 0x421e80
xor edx, edx
mov esi, dword [0x44fa14]
mov ebx, dword [ebp + 0x14]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x421e85
inc edx
cmp ecx, edx
jne 0x421e70
jmp 0x421ea9
mov ebx, dword [ebp + 0x14]
jmp 0x421ea9
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x421ea9
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 5
push 4
push dword [0x44fa18]
push ecx
call fcn.00440700
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x421f60
push dword [esp + 0x24]
call fcn.0043d3e0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb8], 0x989b9a9d
mov word [esp + 0xbc], 0
xor eax, eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
and edi, 6
mov edx, esi
xor edx, 0xad5ae75b
add edx, edi
lea edi, [edx + edx]
not edi
add edi, edx
and edi, 0xb6
and edx, 0x49
or edx, edi
xor dl, byte [esp + esi + 0xb8]
xor dl, 0xb6
add dl, 0x39
mov byte [esp + esi + 0xb8], dl
inc esi
add eax, 2
cmp esi, 6
jne 0x421ef0
mov eax, dword [esp + 0xb8]
mov edx, dword [0x44fa10]
test edx, edx
je 0x421f8d
xor esi, esi
mov edi, dword [0x44fa14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x421f6b
inc esi
cmp edx, esi
jne 0x421f50
jmp 0x421f8d
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x422515
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x421f8d
push 0
push ecx
push dword [esp + 0x24]
push 5
push 4
push dword [0x44fa18]
push edx
call fcn.00440700
add esp, 0x1c
test eax, eax
js 0x4224e5
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
jmp 0x421fd1
mov ecx, ebx
call fcn.0043d7e0
mov eax, dword [esi]
test eax, eax
je 0x4224fd
mov ecx, dword [esi + eax + 0x3c]
add esi, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx + eax]
mov edi, dword [ebp + 8]
movzx edi, word [edi + eax]
test dx, dx
je 0x421ff8
add eax, 2
cmp dx, di
je 0x421fe0
cmp dx, di
jne 0x421fc7
mov eax, dword [esi + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xc], eax
mov ecx, ebx
push 0x410
call fcn.0043d6b0
test eax, eax
js 0x421fc7
mov dword [esp + 0x20], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov dword [esp + 0xb8], 0x989b9a9d
mov word [esp + 0xbc], 0
xor eax, eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
and ecx, 6
mov edx, edi
xor edx, 0xad5ae75b
add edx, ecx
lea ecx, [edx + edx]
not ecx
add ecx, edx
and ecx, 0xb6
and edx, 0x49
or edx, ecx
xor dl, byte [esp + edi + 0xb8]
xor dl, 0xb6
add dl, 0x39
mov byte [esp + edi + 0xb8], dl
inc edi
add eax, 2
cmp edi, 6
jne 0x422050
mov eax, dword [esp + 0xb8]
mov edx, dword [0x44fa10]
test edx, edx
je 0x4220f0
xor edi, edi
mov ecx, dword [0x44fa14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x62429966
je 0x4220c0
inc edi
cmp edx, edi
jne 0x4220b0
jmp 0x4220f0
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x4220f0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x20]
push 5
push dword [0x44fa18]
push ecx
call fcn.00440700
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xc0000004
jne 0x42249e
mov eax, dword [esp + 0x20]
add eax, 2
push eax
call fcn.0043d3e0
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov dword [esp + 0xb8], 0x989b9a9d
mov word [esp + 0xbc], 0
xor eax, eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
and edx, 6
mov ecx, edi
xor ecx, 0xad5ae75b
add ecx, edx
lea edx, [ecx + ecx]
not edx
add edx, ecx
and edx, 0xb6
and ecx, 0x49
or ecx, edx
xor cl, byte [esp + edi + 0xb8]
xor cl, 0xb6
add cl, 0x39
mov byte [esp + edi + 0xb8], cl
inc edi
add eax, 2
cmp edi, 6
jne 0x422140
mov eax, dword [esp + 0xb8]
mov ecx, dword [0x44fa10]
test ecx, ecx
je 0x4221d9
add dword [esp], 2
xor edi, edi
mov edx, dword [0x44fa14]
nop
nop
nop
nop
nop
cmp dword [edx + edi*8], 0x62429966
je 0x4221b0
inc edi
cmp ecx, edi
jne 0x4221a0
jmp 0x4221d9
mov ecx, dword [edx + edi*8 + 4]
cmp ecx, eax
je 0x4221d9
push 0
push dword [esp + 4]
push dword [esp + 0x18]
push 0x2b
push dword [esp + 0x28]
push 5
push dword [0x44fa18]
push ecx
call fcn.00440700
add esp, 0x20
test eax, eax
js 0x422492
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
nop
cmp eax, edx
je 0x42220b
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + edx*2]
cmp di, word [ecx + edx*2]
jne 0x422492
inc edx
test di, di
jne 0x4221f0
mov ecx, ebx
call fcn.0043dca0
cmp eax, 2
jne 0x422492
mov ecx, ebx
push 0
push 0x30
lea eax, [esp + 0x30]
push eax
push 0
call fcn.0043daf0
test eax, eax
js 0x422492
mov ecx, ebx
push 0
push 0
push 0x28
lea eax, [esp + 0x67c]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.0043dfe0
test eax, eax
js 0x422492
mov ecx, ebx
push 0
push 0
push 0x80
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.0043dfe0
test eax, eax
js 0x422492
movzx eax, word [esp + 0x12a]
push eax
call fcn.0043d3e0
add esp, 4
mov edi, eax
movzx eax, word [esp + 0x12a]
mov ecx, ebx
push 0
push 0
push eax
push edi
push dword [esp + 0x144]
push dword [esp + 0x144]
call fcn.0043dfe0
test eax, eax
js 0x422489
mov eax, edi
movzx edi, word [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp], eax
test di, di
je 0x422322
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0xc]
mov eax, edx
mov dword [esp], edx
jmp 0x4222f8
movzx edi, word [ecx]
test di, di
je 0x422322
movzx ebx, word [eax]
test bx, bx
je 0x422482
add eax, 2
add ecx, 2
mov edx, dword [esp]
add edx, 2
cmp bx, di
je 0x42231a
mov dword [esp], edx
mov eax, edx
je 0x4222f0
lea ecx, [esp + 0x58]
jmp 0x4222f0
cmp dword [esp], 0
je 0x422482
mov ebx, dword [ebp + 0x14]
mov ecx, ebx
push 0
push 0
push 0x20
lea eax, [esp + 0x624]
push eax
push dword [esp + 0x69c]
push dword [esp + 0x69c]
call fcn.0043dfe0
test eax, eax
js 0x422485
mov eax, dword [esp + 0x688]
mov ecx, dword [esp + 0x68c]
add eax, 0x10
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x628]
mov edx, dword [esp + 0x62c]
mov dword [esp + 0x4fc], edx
mov dword [esp + 0x4f8], eax
jmp 0x4223c6
cmp cx, dx
je 0x4224b9
push edi
call fcn.0043d420
add esp, 4
mov eax, dword [esp + 0x4f8]
mov edx, dword [esp + 0x4fc]
mov ecx, edx
xor ecx, dword [esp + 0x18]
mov edi, eax
xor edi, dword [esp]
or edi, ecx
je 0x422485
mov ecx, ebx
push 0
push 0
push 0x68
lea edi, [esp + 0x504]
push edi
push edx
push eax
call fcn.0043dfe0
test eax, eax
js 0x422485
movzx eax, word [esp + 0x552]
push eax
call fcn.0043d3e0
add esp, 4
mov edi, eax
movzx eax, word [esp + 0x552]
mov ecx, ebx
push 0
push 0
push eax
push edi
push dword [esp + 0x56c]
push dword [esp + 0x56c]
call fcn.0043dfe0
test eax, eax
js 0x42239c
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x42244e
mov edx, ecx
xor edx, 0x20
add edx, ecx
and ecx, 0xffffffdf
sub edx, ecx
mov ecx, edx
movzx edx, word [edi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x422469
mov ebx, edx
xor ebx, 0x20
add ebx, edx
and edx, 0xffffffdf
sub ebx, edx
mov edx, ebx
mov ebx, dword [ebp + 0x14]
test cx, cx
je 0x422393
add eax, 2
cmp cx, dx
je 0x422430
jmp 0x422393
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0xc]
push edi
call fcn.0043d420
add esp, 4
push dword [esp + 0x10]
call fcn.0043d420
add esp, 4
mov eax, dword [esp + 4]
or eax, dword [esp + 8]
je 0x421fc0
cmp dword [esp + 0x14], 0
je 0x421fc0
jmp 0x4224fd
mov eax, dword [esp + 0x528]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x52c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x538]
mov dword [esp + 0x14], eax
push edi
call fcn.0043d420
add esp, 4
jmp 0x422485
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
push dword [esp + 0x1c]
call fcn.0043d420
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, ebx
call fcn.0043d7d0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret