Function at 0x419aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [esp + 0x18], 0x53ed51f2
mov dword [esp + 0x1c], 0x5fed5dee
mov dword [esp + 0x20], 0x5bfb59ec
mov dword [esp + 0x24], 0x278b25f3
mov dword [esp + 0x28], 0x238c2182
mov dword [esp + 0x2c], 0x2f822d8d
mov dword [esp + 0x30], 0x2b97298d
mov dword [esp + 0x34], 0x3788359e
lea eax, [esp + 0x38]
mov word [esp + 0x38], 0x3136
mov dword [esp + 0x3a], 0
mov dword [esp + 0x3e], 0
mov dword [esp + 0x42], 0
mov byte [esp + 0x46], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x2e
ja 0x419b7b
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx + 0x33]
add ecx, edx
and esi, edx
add esi, esi
sub ecx, esi
add ecx, 0xe1c13e33
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
mov edx, ecx
xor edx, 0x9a
and ecx, 0x1a
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x2f
jb 0x419b30
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x70]
lea edx, [esp + 0x18]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x90]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x419bb0
cmp eax, 0xffffffdd
jge 0x419bc7
mov eax, 0xffffffff
jmp 0x419bca
add eax, 0x22
push eax
call fcn.00408c60
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x419c01
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x419bf0
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x419c31
lea edx, [esp + 0x72]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x419c20
mov word [eax], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xbbc9b9d9
mov dword [esp + 0x1c], 0xbf93bdc0
mov dword [esp + 0x20], 0xc3b8c1d9
mov dword [esp + 0x24], 0xc7a3c5b6
mov dword [esp + 0x28], 0xcbbdc9a8
mov dword [esp + 0x2c], 0xcfbdcda1
mov dword [esp + 0x30], 0xd3fdd1a0
mov dword [esp + 0x34], 0xd7f9d5ff
mov dword [esp + 0x38], 0xdb86d9fc
mov dword [esp + 0x3c], 0xdfa9ddad
mov dword [esp + 0x40], 0xe392e1b9
mov dword [esp + 0x44], 0xe795e5a7
mov dword [esp + 0x48], 0xeb9ce988
mov dword [esp + 0x4c], 0xef94ed8d
mov dword [esp + 0x50], 0xf3bbf19a
mov dword [esp + 0x54], 0xf7cbf596
mov dword [esp + 0x58], 0xfbf8f9dc
mov byte [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x4c
ja 0x419d49
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax + ecx]
add edx, 0x91231b7
add eax, 0x91231b7
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x6c]
mov ecx, eax
xor ecx, 0xfe
and eax, 0x7e
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x4d
jb 0x419d00
lea eax, [esp + 4]
push eax
push 0x41a080
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0041a5d0
add esp, 0x10
mov ebx, eax
mov eax, dword [0x440080]
mov ecx, 0x8fe2c5cb
xor ecx, dword [0x440088]
add eax, ecx
inc eax
jmp eax