Function at 0x421a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa08
mov dword [esp + 0xc0], 0xd929db37
mov dword [esp + 0xc4], 0xdd6adf53
mov dword [esp + 0xc8], 0xd16ed363
mov dword [esp + 0xcc], 0xd562d76f
mov dword [esp + 0xd0], 0xa959ab5b
mov dword [esp + 0xd4], 0xad25af1d
mov dword [esp + 0xd8], 0xa151a30a
mov dword [esp + 0xdc], 0xa529a714
mov dword [esp + 0xe0], 0xb901bb14
mov dword [esp + 0xe4], 0xbd0cbf7b
mov dword [esp + 0xe8], 0xb106b307
mov dword [esp + 0xec], 0xb507b739
mov dword [esp + 0xf0], 0x89378b02
mov dword [esp + 0xf4], 0x8d3d8f7a
mov dword [esp + 0xf8], 0x813c833d
mov dword [esp + 0xfc], 0x85358731
mov dword [esp + 0x100], 0x99489b76
mov dword [esp + 0x104], 0x9d2a9f23
mov dword [esp + 0x108], 0x91239315
mov dword [esp + 0x10c], 0x952b9726
mov dword [esp + 0x110], 0x69d16b41
mov dword [esp + 0x114], 0x6de46fde
mov dword [esp + 0x118], 0x61c763d3
mov dword [esp + 0x11c], 0x656667db
mov dword [esp + 0x120], 0
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x120]
mov dword [esp + 0x10], eax
mov ecx, 0xe4d74a2f
mov eax, 0xb28b5d0
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x1b28b691]
mov edx, eax
and edx, 0xb0831f4
mov edi, ecx
and edi, 0xc051020b
or edi, edx
mov edx, esi
not edx
or edx, 0xd071860b
add edx, esi
inc edx
and esi, 0xfffffff4
xor esi, 0x2f8e79f4
or esi, edx
xor esi, edi
mov edx, esi
and edx, 0x14
xor esi, 0x14
lea edx, [esi + edx*2]
inc dl
mov byte [esp + ecx + 0x1b28b691], dl
inc ecx
dec eax
cmp ecx, 0xe4d74a93
jne 0x421b40
lea edi, [esp + 0x60]
lea eax, [esp + 0xc0]
mov ecx, 0x18
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xc0]
xor edx, edx
xor ecx, ecx
mov eax, dword [esp + 0x10]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xc0], 0x2c2d2e2f
mov word [esp + 0xc4], 0
mov byte [esp + 0xc6], 0
nop
movzx ecx, byte [esp + edx + 0xc0]
lea esi, [edx + 0xf8]
mov eax, edx
xor eax, esi
xor eax, 7
and eax, ecx
xor eax, esi
add al, 0x28
mov byte [esp + edx + 0xc0], al
inc edx
cmp edx, 7
jne 0x421be0
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x451cfc]
test ecx, ecx
je 0x421c64
xor edx, edx
mov esi, dword [0x451d00]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x421c40
inc edx
cmp ecx, edx
jne 0x421c30
jmp 0x421c64
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x421c64
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 5
push 4
push dword [0x451d04]
push ecx
call fcn.00441c30
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x421d10
push dword [esp + 0x28]
call fcn.0043f150
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc0], 0x2c2d2e2f
mov word [esp + 0xc4], 0
mov byte [esp + 0xc6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 0xc0]
lea edi, [eax + 0xf8]
mov edx, eax
xor edx, edi
xor edx, 7
and edx, esi
xor edx, edi
add dl, 0x28
mov byte [esp + eax + 0xc0], dl
inc eax
cmp eax, 7
jne 0x421cb0
mov eax, dword [esp + 0xc0]
mov edx, dword [0x451cfc]
test edx, edx
je 0x421d40
xor esi, esi
mov edi, dword [0x451d00]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x421d1e
inc esi
cmp edx, esi
jne 0x421d00
jmp 0x421d40
xor edx, edx
xor esi, esi
xor edi, edi
mov ecx, dword [ebp + 0x14]
jmp 0x4222a1
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x421d40
push 0
push ecx
push dword [esp + 0x28]
push 5
push 4
push dword [0x451d04]
push edx
call fcn.00441c30
add esp, 0x1c
test eax, eax
js 0x42226e
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
jmp 0x421d82
mov ecx, dword [ebp + 0x14]
call fcn.0043f580
mov eax, dword [esi]
test eax, eax
je 0x422286
mov ecx, dword [esi + eax + 0x3c]
add esi, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx + eax]
movzx edi, word [ebx + eax]
test dx, dx
je 0x421da5
add eax, 2
cmp dx, di
je 0x421d90
cmp dx, di
jne 0x421d78
mov eax, dword [esi + 0x44]
mov edi, dword [ebp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xdc]
mov dword [edi + 0xc], eax
mov ecx, edi
push 0x410
call fcn.0043f450
test eax, eax
js 0x421d78
mov dword [esp + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc0], 0x2c2d2e2f
lea eax, [esp + 0xc4]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0xc0]
lea edi, [eax + 0xf8]
mov ecx, eax
xor ecx, edi
xor ecx, 7
and ecx, edx
xor ecx, edi
add cl, 0x28
mov byte [esp + eax + 0xc0], cl
inc eax
cmp eax, 7
jne 0x421e00
mov eax, dword [esp + 0xc0]
mov edx, dword [0x451cfc]
test edx, edx
je 0x421e90
xor edi, edi
mov ecx, dword [0x451d00]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x62429966
je 0x421e60
inc edi
cmp edx, edi
jne 0x421e50
jmp 0x421e90
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x421e90
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x24]
push 5
push dword [0x451d04]
push ecx
call fcn.00441c30
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xc0000004
jne 0x422253
mov eax, dword [esp + 0x24]
add eax, 2
push eax
call fcn.0043f150
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp + 0xc0], 0x2c2d2e2f
lea eax, [esp + 0xc4]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
nop
nop
nop
movzx edx, byte [esp + eax + 0xc0]
lea edi, [eax + 0xf8]
mov ecx, eax
xor ecx, edi
xor ecx, 7
and ecx, edx
xor ecx, edi
add cl, 0x28
mov byte [esp + eax + 0xc0], cl
inc eax
cmp eax, 7
jne 0x421ee0
mov eax, dword [esp + 0xc0]
mov edi, dword [0x451cfc]
test edi, edi
je 0x421f69
add dword [esp + 8], 2
xor ecx, ecx
mov edx, dword [0x451d00]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x62429966
je 0x421f40
inc ecx
cmp edi, ecx
jne 0x421f30
jmp 0x421f69
mov ecx, dword [edx + ecx*8 + 4]
cmp ecx, eax
je 0x421f69
push 0
push dword [esp + 0xc]
push dword [esp + 0x1c]
push 0x2b
push dword [esp + 0x14]
push 5
push dword [0x451d04]
push ecx
call fcn.00441c30
add esp, 0x20
test eax, eax
js 0x422247
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
nop
cmp eax, edx
je 0x421f9b
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + edx*2]
cmp di, word [ecx + edx*2]
jne 0x422247
inc edx
test di, di
jne 0x421f80
mov edi, dword [ebp + 0x14]
mov ecx, edi
call fcn.0043fa00
cmp eax, 2
jne 0x422247
mov ecx, edi
push 0
push 0x30
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043f880
test eax, eax
js 0x422247
mov ecx, edi
push 0
push 0
push 0x28
lea eax, [esp + 0x684]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.0043fd10
test eax, eax
js 0x422247
mov ecx, edi
push 0
push 0
push 0x80
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x6ac]
push dword [esp + 0x6ac]
call fcn.0043fd10
test eax, eax
js 0x422247
movzx eax, word [esp + 0x132]
push eax
call fcn.0043f150
add esp, 4
movzx edx, word [esp + 0x132]
mov ecx, edi
push 0
push 0
push edx
mov dword [esp + 0x18], eax
push eax
push dword [esp + 0x14c]
push dword [esp + 0x14c]
call fcn.0043fd10
test eax, eax
js 0x42223a
movzx edi, word [esp + 0x60]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
test di, di
je 0x4220bc
lea edx, [esp + 0x60]
mov eax, dword [esp + 0xc]
mov ecx, eax
mov dword [esp + 4], eax
jmp 0x422088
movzx edi, word [edx]
test di, di
je 0x4220bc
movzx eax, word [ecx]
test ax, ax
je 0x42223a
add ecx, 2
add edx, 2
mov dword [esp + 8], edx
mov edx, dword [esp + 4]
add edx, 2
cmp ax, di
je 0x4220b0
mov dword [esp + 4], edx
mov ecx, edx
mov edx, dword [esp + 8]
je 0x422080
lea edx, [esp + 0x60]
jmp 0x422080
cmp dword [esp + 4], 0
je 0x42223a
mov ecx, dword [ebp + 0x14]
push 0
push 0
push 0x20
lea eax, [esp + 0x62c]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.0043fd10
test eax, eax
js 0x42223a
mov eax, dword [esp + 0x690]
mov ecx, dword [esp + 0x694]
add eax, 0x10
mov dword [esp + 4], eax
adc ecx, 0
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x630]
mov edx, dword [esp + 0x634]
mov dword [esp + 0x504], edx
mov dword [esp + 0x500], eax
jmp 0x422164
cmp cx, dx
je 0x42220d
push dword [esp + 8]
call fcn.0043f1f0
add esp, 4
mov eax, dword [esp + 0x500]
mov edx, dword [esp + 0x504]
mov ecx, edx
xor ecx, dword [esp + 0x2c]
mov edi, eax
xor edi, dword [esp + 4]
or edi, ecx
je 0x42223a
mov ecx, dword [ebp + 0x14]
push 0
push 0
push 0x68
lea edi, [esp + 0x50c]
push edi
push edx
push eax
call fcn.0043fd10
test eax, eax
js 0x42223a
movzx eax, word [esp + 0x55a]
push eax
call fcn.0043f150
add esp, 4
movzx edx, word [esp + 0x55a]
mov ecx, dword [ebp + 0x14]
push 0
push 0
push edx
mov dword [esp + 0x14], eax
push eax
push dword [esp + 0x574]
push dword [esp + 0x574]
call fcn.0043fd10
test eax, eax
js 0x422136
xor eax, eax
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 0x4221e3
or ecx, 0x20
mov edx, dword [esp + 8]
movzx edx, word [edx + eax]
lea edi, [edx - 0x41]
cmp di, 0x1a
jae 0x4221f7
or edx, 0x20
test cx, cx
je 0x42212d
add eax, 2
cmp cx, dx
je 0x4221d0
jmp 0x42212d
mov eax, dword [esp + 0x530]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x534]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x540]
mov dword [esp + 0x18], eax
push dword [esp + 8]
call fcn.0043f1f0
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call fcn.0043f1f0
add esp, 4
push dword [esp + 0x14]
call fcn.0043f1f0
add esp, 4
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x1c]
je 0x421d70
cmp dword [esp + 0x18], 0
je 0x421d70
jmp 0x422286
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
push dword [esp + 0x20]
call fcn.0043f1f0
add esp, 4
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
call fcn.0043f570
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret