Function at 0x4174d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], 0xf33e0db0
mov dword [esp + 0x14], 0xf751f163
mov dword [esp + 0x18], 0xfb56f555
mov dword [esp + 0x1c], 0xff3bf918
mov dword [esp + 0x20], 0xe376fd64
mov dword [esp + 0x24], 0xe774e145
mov dword [esp + 0x28], 0xeb43e573
mov dword [esp + 0x2c], 0xef7ce97b
mov dword [esp + 0x30], 0xd365ed0c
mov dword [esp + 0x34], 0xd742d175
mov dword [esp + 0x38], 0xdb73d540
mov dword [esp + 0x3c], 0xdf75d94a
mov dword [esp + 0x40], 0xc37edd4b
lea eax, [esp + 0x44]
mov word [esp + 0x44], 0xc1c0
mov dword [esp + 0x46], 0
mov dword [esp + 0x4a], 0
mov dword [esp + 0x4e], 0
mov dword [esp + 0x52], 0
mov dword [esp + 0x56], 0
mov byte [esp + 0x5a], 0
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0x84]
cmp ecx, 0x4a
ja 0x4175e9
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0x423938fe
add edx, 0x423938fe
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0xe
mov edx, dword [esp + 0x84]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
cmp ecx, 0x4b
jb 0x4175a0
lea edi, [esp + 0x84]
lea edx, [esp + 0x10]
mov ecx, 0xd
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xb8]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov esi, dword [ebx + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x417620
mov edx, ecx
sar edx, 1
xor edx, 0x1b
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 0x417640
and ecx, 0x36
add edx, ecx
sar eax, 1
add eax, edx
jns 0x41765d
mov eax, 0xffffffff
jmp 0x41765f
add eax, eax
push eax
call fcn.00435440
add esp, 4
movzx ecx, word [esi]
mov dword [esp + 0xc], eax
test cx, cx
je 0x417691
add esi, 2
mov eax, dword [esp + 0xc]
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x417680
mov word [eax], 0
movzx ecx, word [esp + 0x84]
test cx, cx
je 0x4176c1
lea edx, [esp + 0x86]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4176b0
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x4176f1
add edi, 2
nop
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 0x4176e0
mov word [eax], 0
mov dword [esp + 0x10], 0x4b2f5507
mov dword [esp + 0x14], 0x4fdc49c2
mov dword [esp + 0x18], 0x43de4dd5
mov dword [esp + 0x1c], 0x47df41d7
mov dword [esp + 0x20], 0x7bd645d7
mov dword [esp + 0x24], 0x7f2979ef
lea eax, [esp + 0x28]
mov word [esp + 0x28], 0x7d7e
mov dword [esp + 0x2a], 0
mov dword [esp + 0x2e], 0
mov dword [esp + 0x32], 0
mov dword [esp + 0x36], 0
mov dword [esp + 0x3a], 0
mov word [esp + 0x3e], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x2f
ja 0x4177a7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x68]
add cl, 0xcd
xor cl, byte [esp + edx + 0x10]
add cl, 0x65
mov edx, dword [esp + 0x68]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x30
jb 0x417780
lea edi, [esp + 0x68]
lea edx, [esp + 0x10]
mov ecx, 6
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x80]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov edi, dword [ebx]
mov eax, 0xfffffffe
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 0x4177e0
sar eax, 1
mov esi, dword [ebx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x417800
inc eax
sar ecx, 1
mov edx, ecx
and edx, eax
add edx, edx
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x10]
mov ebx, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x417830
xor ecx, eax
sar edx, 1
add ecx, dword [esp + 8]
lea eax, [edx + ecx]
add eax, 0xd
test eax, eax
jns 0x417854
mov eax, 0xffffffff
jmp 0x41785c
add ecx, edx
lea eax, [ecx + ecx]
add eax, 0x1a
push eax
call fcn.00435440
add esp, 4
movzx ecx, word [edi]
mov dword [esp + 8], eax
test cx, cx
je 0x417891
add edi, 2
mov eax, dword [esp + 8]
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 0x417880
mov word [eax], 0x2f
add eax, 2
movzx ecx, word [esi]
test cx, cx
je 0x4178c1
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x4178b0
mov word [eax], 0
movzx ecx, word [esp + 0x68]
test cx, cx
je 0x4178f3
lea edx, [esp + 0x6a]
mov esi, dword [esp + 0xc]
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 0x4178e0
jmp 0x4178f7
mov esi, dword [esp + 0xc]
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x417921
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x417910
mov word [eax], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x8b949548
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x1b
ja 0x4179b2
nop
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0xda2f726d
add ecx, 0xda2f726d
and ecx, edx
add ecx, ecx
sub eax, ecx
mov ecx, eax
or ecx, 4
and eax, 4
add eax, ecx
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x1c
jb 0x417970
push 0
push 0
push 0xc00000
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
push dword [ebp + 8]
call fcn.0041a500
add esp, 0x1c
mov ebx, eax
mov eax, dword [0x441608]
mov ecx, 0xf44b004f
xor ecx, dword [0x441610]
add eax, ecx
inc eax
jmp eax