Function at 0x419210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x20], 0x6be56d08
mov dword [esp + 0x24], 0x67f569e4
mov dword [esp + 0x28], 0x630365ea
mov dword [esp + 0x2c], 0x9f0361fb
mov dword [esp + 0x30], 0x9b069df8
mov dword [esp + 0x34], 0x970c9905
mov dword [esp + 0x38], 0x931f95f5
mov dword [esp + 0x3c], 0x8f029104
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0x8d8c
mov dword [esp + 0x42], 0
mov dword [esp + 0x45], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x28
ja 0x4192d5
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx esi, byte [esp + edx + 0x20]
lea edx, [ecx - 0x1b26198e]
mov edi, edx
xor edi, esi
and edx, esi
add ecx, 0x72
and ecx, esi
add ecx, edx
sub edi, ecx
lea ecx, [edi + edx*2]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
add cl, 0xe2
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x29
jb 0x419290
lea edi, [esp + 0x70]
lea edx, [esp + 0x20]
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 edi, dword [ebx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x419310
cmp eax, 0xffffffdd
jge 0x419327
mov eax, 0xffffffff
jmp 0x41932a
add eax, 0x22
push eax
call fcn.00408cd0
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x419361
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 0x419350
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x419391
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 0x419380
mov word [eax], 0
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x2b952595
mov dword [esp + 0x24], 0x2f5b2994
mov dword [esp + 0x28], 0x33942d85
mov dword [esp + 0x2c], 0x379b3186
mov dword [esp + 0x30], 0x3b813584
mov dword [esp + 0x34], 0x3f893995
mov dword [esp + 0x38], 0x3513d8c
mov dword [esp + 0x3c], 0x76d016f
mov dword [esp + 0x40], 0xba60568
mov dword [esp + 0x44], 0xfbd09b1
mov dword [esp + 0x48], 0x13ba0da5
mov dword [esp + 0x4c], 0x17a11157
mov dword [esp + 0x50], 0x1ba015a4
mov dword [esp + 0x54], 0x1fa019b1
mov dword [esp + 0x58], 0x63531daa
mov dword [esp + 0x5c], 0x672361c6
mov dword [esp + 0x60], 0x6b646508
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x4f
ja 0x4194c2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx edx, byte [esp + eax + 0x20]
lea edi, [ecx - 0x1249e0fb]
lea eax, [ecx + edx]
add eax, 0xedb61f05
add ecx, 5
xor ecx, edi
and edi, edx
and ecx, edx
lea ecx, [ecx + edi*2]
mov edx, eax
not edx
and edx, ecx
not ecx
and ecx, eax
sub ecx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
add al, 0xdd
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x50
jb 0x419470
lea eax, [esp + 8]
push eax
push 0x419830
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00419d50
add esp, 0x10
mov ebx, eax
mov eax, dword [0x440dcc]
mov ecx, 0xc819c16e
xor ecx, dword [0x440dd4]
add eax, ecx
inc eax
jmp eax