Function at 0x424170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x168
mov dword [esp + 8], 0x5b9b5975
mov dword [esp + 0xc], 0x47d645d4
mov dword [esp + 0x10], 0x43a3418c
mov dword [esp + 0x14], 0x4faf4dd0
mov dword [esp + 0x18], 0x4b4a4965
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x23], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x1e
ja 0x424237
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx + edx]
add esi, 0x618c228c
add ecx, 0x618c228c
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x98], esi
mov ecx, dword [esp + 0x98]
add cl, 0x2c
mov edx, dword [esp + 0xcc]
mov byte [esp + edx + 8], cl
inc dword [esp + 0xcc]
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x1f
jb 0x4241e0
lea esi, [esp + 0x13a]
lea edx, [esp + 8]
mov ecx, 5
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x14e]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x7c]
push edi
push 0
push 0
push 9
push esi
push 0
call dword [0x448914]
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jns 0x424280
mov eax, 0xffffffff
jmp 0x424283
lea eax, [ebx + ebx]
push eax
call fcn.00408bd0
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push 9
push esi
push 0
call dword [0x448914]
mov dword [esp + 8], 0xebabd592
mov dword [esp + 0xc], 0xef8de99f
mov dword [esp + 0x10], 0xe39aed9f
mov dword [esp + 0x14], 0xe7e0e186
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0xcc]
cmp eax, 0x15
ja 0x424349
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xcc]
movzx esi, byte [esp + ecx + 8]
lea ecx, [eax - 0x2fb5cba3]
mov edi, ecx
and edi, esi
xor ecx, esi
add eax, 0x5d
and eax, esi
add eax, edi
sub ecx, eax
lea eax, [ecx + edi*2]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
add al, 0x75
mov ecx, dword [esp + 0xcc]
mov byte [esp + ecx + 8], al
inc dword [esp + 0xcc]
mov eax, dword [esp + 0xcc]
cmp eax, 0x16
jb 0x4242f0
mov dword [esp + 0x74], ebx
lea edi, [esp + 0x12a]
lea esi, [esp + 8]
mov ecx, 4
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x13a]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [esp + 8], 0x63cb6124
mov dword [esp + 0xc], 0x67c565f7
mov dword [esp + 0x10], 0x6bf869c7
mov dword [esp + 0x14], 0x6f2d6dc8
mov dword [esp + 0x18], 0x53fc51f1
mov dword [esp + 0x1c], 0x57c455f5
mov dword [esp + 0x20], 0x5b5a59c1
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2b], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x26
ja 0x42442a
nop
nop
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
movzx edx, byte [esp + edx + 8]
add ecx, 0x76460a50
xor ecx, edx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x98]
add cl, 0xd0
mov edx, dword [esp + 0xcc]
mov byte [esp + edx + 8], cl
inc dword [esp + 0xcc]
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x27
jb 0x4243e0
lea edx, [esp + 0xcc]
lea ebx, [esp + 8]
mov edi, edx
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0xe8]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 8], 0xab0ba562
mov dword [esp + 0xc], 0xaf0da91f
mov dword [esp + 0x10], 0xb31aad1f
mov dword [esp + 0x14], 0xb760b116
mov dword [esp + 0x18], 0xbb72b562
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], 0xb9ba
mov byte [esp + 0x20], 0
mov dword [esp + 0xfc], 0
mov ecx, dword [esp + 0xfc]
cmp ecx, 0x18
ja 0x424508
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0xfc]
movzx esi, byte [esp + esi + 8]
lea edi, [ecx + 0xc5]
and edi, esi
mov eax, 0x7b36bb3a
sub eax, ecx
or eax, esi
not eax
add eax, esi
sub eax, edi
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
add al, 0x9d
mov ecx, dword [esp + 0xfc]
mov byte [esp + ecx + 8], al
inc dword [esp + 0xfc]
mov eax, dword [esp + 0xfc]
cmp eax, 0x19
jb 0x4244b0
lea esi, [esp + 0x14e]
lea eax, [esp + 8]
mov ecx, 5
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x162]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
lea eax, [esp + 0x12a]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], esi
mov ebx, dword [esp + 0x74]
mov eax, ebx
add eax, 2
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], 0
mov eax, dword [case.0x422e3e.138]
mov dword [esp + 0x88], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop