Function at 0x4090f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x1c], eax
mov word [esp + 8], 0xe5e3
mov byte [esp + 0xa], 0x9e
mov word [esp + 0xb], 0
mov edi, 0x9f6ad925
mov ebp, 0x609526da
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edi + 0x609526e3]
mov ebx, edi
and ebx, eax
add ebx, ebx
sub ebx, eax
add ebx, ebp
and ebx, edi
mov ecx, ebx
and ecx, 0x9f6ad92d
mov edx, ebx
and edx, 2
or ebx, 2
imul ebx, edx
xor edx, 2
imul edx, ecx
add ebx, edx
lea ecx, [ebp - 0x60952680]
and ecx, ebx
xor ebx, edi
add ecx, ecx
sub ebx, ecx
add bl, al
add bl, 0x47
mov byte [esp + edi + 0x609526e3], bl
inc edi
dec ebp
cmp edi, 0x9f6ad92a
jne 0x409130
mov dword [esp + 0x10], 0xc6c8c4d2
mov word [esp + 0x14], 0x2dd6
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
xor eax, eax
mov bl, 0xb3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x10]
xor cl, bl
mov dl, 0x83
sub dl, cl
mov byte [esp + eax + 0x10], dl
inc eax
dec bl
cmp eax, 0xc
jne 0x4091b0
mov dword [esp + 0x24], 0x6419dfdd
mov dword [esp + 0x28], 0x617f6966
mov dword [esp + 0x2c], 0x7612246c
mov dword [esp + 0x30], 0x64696d63
mov dword [esp + 0x34], 0x140f6571
mov dword [esp + 0x38], 0x9426316
mov dword [esp + 0x3c], 0x5a1b1f13
mov dword [esp + 0x40], 0xa160c00
mov dword [esp + 0x44], 0x1604496f
mov dword [esp + 0x48], 0x5d771801
mov byte [esp + 0x4c], 0xb0
mov dword [esp + 0x4d], 0
mov dword [esp + 0x50], 0
mov eax, 0xae
mov edi, 0x11
mov ebp, dword [esp + 0x68]
nop
nop
nop
nop
nop
nop
mov ecx, edi
and ecx, 0x24
mov ebx, eax
and ebx, 0xdb
or ebx, ecx
xor bl, byte [esp + eax - 0x8a]
xor bl, 0x24
add bl, 0x9a
mov byte [esp + eax - 0x8a], bl
inc eax
dec edi
cmp eax, 0xde
jne 0x409240
add ebp, dword [esp + 0x1c]
mov word [esp], 0x6465
mov byte [esp + 2], 0x32
mov dword [esp + 3], 0
mov byte [esp + 7], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xc
xor cl, byte [esp + eax]
add cl, 0xc4
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x409290
movzx eax, byte [esp]
mov edi, ebp
test al, al
mov edx, dword [esp + 0x70]
je 0x4092cb
lea ebx, [esp + 1]
mov edi, ebp
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ebx]
inc ebx
test al, al
jne 0x4092c0
mov byte [edi], 0
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx + 0x60]
test al, al
je 0x4092eb
lea ebx, [ecx + 0x61]
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ebx]
inc ebx
test al, al
jne 0x4092e0
mov byte [edi], 0
movzx eax, byte [esp + 0x24]
test al, al
je 0x40930b
lea ebx, [esp + 0x25]
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ebx]
inc ebx
test al, al
jne 0x409300
mov byte [edi], 0
movzx eax, byte [esi]
test al, al
je 0x40932b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x409320
mov byte [edi], 0
movzx eax, byte [esp + 0x10]
test al, al
je 0x40934b
lea esi, [esp + 0x11]
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x409340
mov byte [edi], 0
movzx eax, byte [edx]
test al, al
je 0x40936b
inc edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x409360
mov byte [edi], 0
movzx eax, byte [esp + 8]
test al, al
je 0x40938b
lea edx, [esp + 9]
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x409380
mov byte [edi], 0
sub edi, ebp
add dword [ecx + 0x80], edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret 0xc