Function at 0x4096a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx + 0x80]
mov dword [esp + 0xc], 0x5000e59
mov dword [esp + 0x10], 0x4a060d37
mov dword [esp + 0x14], 0x2e061c20
mov dword [esp + 0x18], 0x19296b42
mov dword [esp + 0x1c], 0x192b2c18
mov dword [esp + 0x20], 0x111c241f
mov dword [esp + 0x24], 0xe8590f55
mov dword [esp + 0x28], 0xd8dde1da
mov dword [esp + 0x2c], 0x8e8480e8
mov dword [esp + 0x30], 0x738a
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + ebp + 0xc]
lea edx, [ebp*2]
and edx, 0x4a
mov edi, ebp
xor edi, 0xa562e8e5
mov ebx, edx
and ebx, edi
xor edi, edx
lea ebx, [edi + ebx*2]
mov esi, eax
not esi
or esi, ebx
not ebx
or ebx, eax
lea edx, [esi + ebx]
mov eax, 0xfffffffe
sub eax, edx
mov edi, eax
and edi, 0x84
add esi, ebx
inc esi
mov ebx, esi
and ebx, 2
imul ebx, edi
and eax, 2
or edi, 2
imul edi, eax
mov eax, 0xfe
sub eax, edx
and eax, 0x86
and esi, 0x79
or esi, eax
sub ebx, esi
add ebx, edi
mov byte [esp + ebp + 0xc], bl
mov eax, ebp
xor eax, 0xfffffffe
mov edi, ebp
or edi, 1
and edi, eax
mov eax, edi
and eax, 2
mov edx, edi
or edi, 2
imul edi, eax
xor eax, 2
and edx, 0x3d
imul edx, eax
add edi, edx
mov eax, edi
and eax, ebp
xor edi, ebp
xor edi, 1
lea ebp, [edi + eax*2]
cmp ebp, 0x28
jb 0x409710
mov dword [esp + 4], 0x83888c62
mov byte [esp + 8], 0
mov edi, 3
mov ebp, 0x24
nop
nop
nop
nop
nop
nop
nop
mov eax, ebp
and eax, 0x3b
mov edx, edi
and edx, 4
sub edx, eax
xor dl, byte [esp + edi + 1]
add dl, 0xa0
mov byte [esp + edi + 1], dl
inc edi
dec ebp
cmp edi, 8
jne 0x4097d0
mov dword [esp + 0x3c], 0xdbe5e3
mov dword [esp + 0x40], 0xb35070e
mov dword [esp + 0x44], 0x12d2c800
mov dword [esp + 0x48], 0x181b1b1d
mov dword [esp + 0x4c], 0x10151b17
mov dword [esp + 0x50], 0x23e2c91e
mov dword [esp + 0x54], 0xa6191515
mov dword [esp + 0x58], 0x5e6e585c
mov dword [esp + 0x5c], 0x52609fb1
mov dword [esp + 0x60], 0x97bd546f
mov dword [esp + 0x64], 0x4e6a6c52
mov dword [esp + 0x68], 0x4b8aa68a
mov dword [esp + 0x6c], 0x7f497377
mov dword [esp + 0x70], 0xaa457c43
mov dword [esp + 0x74], 0xe786
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
add al, 0x25
xor al, byte [esp + ebx + 0x3c]
add al, 0x47
mov byte [esp + ebx + 0x3c], al
inc ebx
cmp ebx, 0x3c
jne 0x409870
mov ebp, dword [esp + 0x8c]
add ebp, ecx
mov dword [esp], 0x426c6d
xor edx, edx
mov esi, dword [esp + 0x38]
nop
nop
nop
nop
nop
nop
mov eax, edx
add al, 0x90
xor al, byte [esp + edx]
add al, 0x30
mov byte [esp + edx], al
inc edx
cmp edx, 4
jne 0x4098a0
movzx ebx, byte [esp]
mov edx, ebp
test bl, bl
je 0x4098db
lea edi, [esp + 1]
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x4098d0
mov byte [edx], 0
movzx ebx, byte [esi + 0x60]
test bl, bl
mov eax, dword [esp + 0x90]
je 0x4098fb
lea edi, [esi + 0x61]
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x4098f0
mov byte [edx], 0
movzx ebx, byte [esp + 0x3c]
test bl, bl
je 0x40991b
lea edi, [esp + 0x3d]
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x409910
mov byte [edx], 0
movzx ebx, byte [eax]
test bl, bl
mov dword [esp + 0x34], ebp
je 0x40993b
inc eax
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [eax]
inc eax
test bl, bl
jne 0x409930
mov byte [edx], 0
movzx ecx, byte [esp + 4]
test cl, cl
je 0x40995b
lea edi, [esp + 5]
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x409950
mov byte [edx], 0
movzx ecx, byte [esp + 0xc]
mov ebp, esi
test cl, cl
je 0x40997b
lea edi, [esp + 0xd]
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x409970
mov byte [edx], 0
mov eax, dword [esp + 0x98]
mov ecx, eax
mov ebx, eax
shr ecx, 2
mov esi, dword [esp + 0x94]
mov eax, esi
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and ebx, 0xfffffffc
add edx, ebx
add ebx, esi
mov ecx, eax
mov esi, eax
shr ecx, 1
and ecx, 1
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, esi
mov ecx, esi
and ecx, 2
add edx, ecx
test al, 1
je 0x4099ca
movzx eax, byte [ebx + ecx]
mov byte [edx], al
inc edx
mov dword [esp + 0xc], 0x90f0b0d
mov byte [esp + 0x10], 4
mov word [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov ecx, 0x62fee40
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx - 0x62fee34]
xor ebx, ecx
mov eax, ebx
not eax
add ebx, 0xbf
and eax, 1
or ebx, 1
add ebx, eax
mov byte [esp + ecx - 0x62fee34], bl
inc ecx
cmp ecx, 0x62fee48
jne 0x4099f0
mov dword [esp + 0x3c], 0x52537775
mov byte [esp + 0x40], 0x7c
mov dword [esp + 0x41], 0
mov byte [esp + 0x45], 0
mov ecx, 0x95
mov edi, 0x6a
movzx ebx, byte [esp + edi - 0x2e]
mov eax, ecx
or eax, edi
not eax
add eax, edi
and eax, ebx
or ebx, edi
xor ebx, eax
add bl, 0xee
mov byte [esp + edi - 0x2e], bl
dec ecx
inc edi
cmp edi, 0x74
jne 0x409a40
movzx ecx, byte [esp + 0x3c]
test cl, cl
je 0x409a7b
lea edi, [esp + 0x3d]
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x409a70
mov byte [edx], 0
movzx ecx, byte [ebp + 0x60]
test cl, cl
je 0x409a9b
lea edi, [ebp + 0x61]
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x409a90
mov byte [edx], 0
movzx ecx, byte [esp + 0xc]
test cl, cl
je 0x409abb
lea edi, [esp + 0xd]
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x409ab0
mov byte [edx], 0
sub edx, dword [esp + 0x34]
add dword [ebp + 0x80], edx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret 0x10