Function at 0x419e00
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 + 0x20], 0xdb49d97c
mov dword [esp + 0x24], 0xd741d558
mov dword [esp + 0x28], 0xd373d142
mov dword [esp + 0x2c], 0xcf53cd53
mov dword [esp + 0x30], 0xcb56c96c
mov dword [esp + 0x34], 0xc758c559
mov dword [esp + 0x38], 0xc34fc161
mov dword [esp + 0x3c], 0x3fb23da8
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0x3938
mov dword [esp + 0x42], 0
mov word [esp + 0x46], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x27
ja 0x419ed9
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx - 0x1447af1c]
lea edi, [ecx + 0xe4]
xor edi, esi
and esi, edx
and edi, edx
add ecx, edx
add ecx, 0xebb850e4
lea edx, [edi + esi*2]
sub ecx, edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
mov edx, ecx
xor edx, 0xc3
and ecx, 0x43
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x28
jb 0x419e80
lea edi, [esp + 0x70]
lea ebx, [esp + 0x20]
mov edx, ebx
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
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x419f10
cmp eax, 0xffffffdd
jge 0x419f27
mov eax, 0xffffffff
jmp 0x419f2a
add eax, 0x22
push eax
call fcn.00408d80
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x419f61
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 0x419f50
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x419f91
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 0x419f80
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 eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x638d618d
mov dword [esp + 0x24], 0x674b65fe
mov dword [esp + 0x28], 0x6bf2698d
mov dword [esp + 0x2c], 0x6f8b6df8
mov dword [esp + 0x30], 0x138111fe
mov dword [esp + 0x34], 0x17f915fd
mov dword [esp + 0x38], 0x1b3119f6
mov dword [esp + 0x3c], 0x1f351d37
mov dword [esp + 0x40], 0x3fc012a
mov dword [esp + 0x44], 0x7950591
mov dword [esp + 0x48], 0xb9809ed
mov dword [esp + 0x4c], 0xfe10dcf
mov dword [esp + 0x50], 0x33a631de
mov dword [esp + 0x54], 0x37ae35d1
mov dword [esp + 0x58], 0x3bf339ac
mov dword [esp + 0x5c], 0x3fe33dd8
mov dword [esp + 0x60], 0x2322210a
mov dword [esp + 0x67], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x4a
ja 0x41a09d
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x20]
lea edx, [eax - 0x7d4eb550]
add eax, 0xb0
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
add al, 0x30
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x4b
jb 0x41a060
lea eax, [esp + 8]
push eax
push 0x41a3f0
push ebx
push esi
call fcn.0041a950
add esp, 0x10
mov ebx, eax
mov eax, dword [0x4412e0]
mov ecx, 0x136b493b
xor ecx, dword [0x4412e8]
add eax, ecx
inc eax
jmp eax