Function at 0x422210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
push eax
sub esp, 0xc
mov esi, esp
sub esp, 0x1c
mov dword [ebp - 0x38], esp
sub esp, 0x20
mov ebx, esp
sub esp, 0x18
mov dword [ebp - 0x2c], esp
sub esp, 0x1c
mov dword [ebp - 0x34], esp
sub esp, 0xc
mov dword [ebp - 0x6c], esp
sub esp, 0x20
mov dword [ebp - 0x40], esp
push eax
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x58], esp
sub esp, 0x1c
mov dword [ebp - 0xa0], esp
sub esp, 8
mov dword [ebp - 0x9c], esp
sub esp, 8
mov dword [ebp - 0x98], esp
sub esp, 0x14
mov dword [ebp - 0x50], esp
sub esp, 0x34
mov dword [ebp - 0x54], esp
sub esp, 0x18
mov dword [ebp - 0x8c], esp
sub esp, 8
mov dword [ebp - 0x88], esp
mov eax, dword [0x449d74]
mov dword [ebp - 0x84], 0x52945c86
mov dword [ebp - 0x80], 0x56c750c1
mov dword [ebp - 0x7c], 0x4aac5491
mov dword [ebp - 0x78], 0x4ea848dd
mov dword [ebp - 0x74], 0x42434c96
mov word [ebp - 0x70], 0
mov byte [ebp - 0x6e], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x16
ja 0x422304
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
movzx edx, byte [ebp + edx - 0x84]
add ecx, 0xdd696f86
xor ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add cl, 0x25
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x84], cl
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x17
jb 0x4222d0
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x84]
push edx
push 0
push 0
push 9
push ecx
push 0
call eax
mov edi, dword [ebp - 0x4c]
test edi, edi
jns 0x422327
mov eax, 0xffffffff
jmp 0x42232a
lea eax, [edi + edi]
push eax
call fcn.00409840
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [0x449d74]
mov dword [ebp - 0x84], 0xbb7bb951
mov dword [ebp - 0x80], 0x8734850a
mov dword [ebp - 0x7c], 0x8323814a
mov dword [ebp - 0x78], 0x8f2f8d3e
mov dword [ebp - 0x74], 0x8b888961
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x13
ja 0x4223a4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
movzx edx, byte [ebp + edx - 0x84]
add ecx, 0x2dbf0fdb
xor ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add cl, 0x9b
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x84], cl
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x14
jb 0x422370
lea ecx, [ebp - 0x4c]
push ecx
push edi
push dword [ebp - 0x30]
push 9
lea ecx, [ebp - 0x84]
push ecx
push 0
call eax
mov dword [esi], 0xf45af2b5
mov dword [esi + 4], 0xf854f646
mov dword [esi + 8], 0xfc49fa56
mov dword [esi + 0xc], 0xc0fffe59
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0xf
ja 0x42241a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [esi + ecx]
add eax, 0x50a0fd1
xor eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add al, 0xe0
mov ecx, dword [ebp - 0x10]
mov byte [esi + ecx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x4223f0
mov eax, esi
lea edi, [ebp - 0x84]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [ebp - 0x74]
add esi, 0x10
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [ebx], 0x4df14b0c
mov dword [ebx + 4], 0x41eb4ff9
mov dword [ebx + 8], 0x45f043f1
mov dword [ebx + 0xc], 0x590347e0
mov dword [ebx + 0x10], 0x5de45bfb
mov dword [ebx + 0x14], 0x51ec5fff
mov dword [ebx + 0x18], 0x555253db
mov eax, ebx
add eax, 0x1c
mov word [ebx + 0x1c], 0
mov byte [ebx + 0x1e], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x1e
ja 0x4224bc
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
movzx edx, byte [ebx + edx]
add ecx, 0x4a6dc761
xor ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add cl, 0xd7
mov edx, dword [ebp - 0x10]
mov byte [ebx + edx], cl
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x1f
jb 0x422490
mov ecx, 7
mov edx, dword [ebp - 0x38]
mov edi, edx
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
add edx, 0x1c
mov edi, edx
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ebx, dword [ebp - 0x34]
mov dword [ebx], 0xaec4ace1
mov dword [ebx + 4], 0xaac6a834
mov dword [ebx + 8], 0xd645d444
mov dword [ebx + 0xc], 0xd2a3d0bd
mov dword [ebx + 0x10], 0xde9ddca1
mov eax, ebx
add eax, 0x14
mov word [ebx + 0x14], 0xd8d9
mov dword [ebx + 0x16], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x19
mov esi, dword [ebp - 0x8c]
ja 0x42255c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
movzx edx, byte [ebx + edx]
add ecx, 0xa99fb6b8
xor ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add cl, 0xeb
mov edx, dword [ebp - 0x10]
mov byte [ebx + edx], cl
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x1a
jb 0x422530
mov ecx, 5
mov edx, dword [ebp - 0x2c]
mov edi, edx
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov edi, edx
add edi, 0x14
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ebx, dword [ebp - 0x30]
mov eax, ebx
add eax, 2
mov dword [ebp - 0x64], eax
mov edi, dword [ebp - 0x40]
mov eax, edi
add eax, 2
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
add eax, 2
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x54]
mov eax, ecx
add eax, 2
mov dword [ebp - 0xb4], eax
mov eax, esi
add eax, 2
mov dword [ebp - 0xb0], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x5c], 0
cmp edx, 0xc
setne al
lea edx, [ebp - 0x14]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], edx
add ecx, 0x2e
mov dword [ebp - 0xbc], ecx
lea ecx, [esi + 0x12]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x38], 0
jmp dword [eax*4 + 0x446178]