Function at 0x4173e0
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], 0x13c411f2
mov dword [esp + 0x14], 0x1ff11de3
mov dword [esp + 0x18], 0x1bec19fd
mov dword [esp + 0x1c], 0x27eb253a
mov dword [esp + 0x20], 0x23dc21de
mov dword [esp + 0x24], 0x2fda2dcd
mov dword [esp + 0x28], 0x2bc329d3
mov dword [esp + 0x2c], 0x37c235db
mov dword [esp + 0x30], 0x33ed3116
mov dword [esp + 0x34], 0x3fc03ddd
mov dword [esp + 0x38], 0x3bd339c2
mov dword [esp + 0x3c], 0xc72dc5cc
mov dword [esp + 0x40], 0xc324c13b
lea eax, [esp + 0x44]
mov word [esp + 0x44], 0xcdc2
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 0x4174e6
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x84]
add cl, 0xd3
xor cl, byte [esp + edx + 0x10]
add cl, 0x3b
mov edx, dword [esp + 0x84]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
cmp ecx, 0x4b
jb 0x4174b0
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
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x417520
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 0x417540
and ecx, 0x36
add edx, ecx
sar eax, 1
add eax, edx
jns 0x41755d
mov eax, 0xffffffff
jmp 0x41755f
add eax, eax
push eax
call fcn.00435870
add esp, 4
movzx ecx, word [esi]
mov dword [esp + 8], eax
test cx, cx
je 0x417591
add esi, 2
mov eax, dword [esp + 8]
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x417580
mov word [eax], 0
movzx ecx, word [esp + 0x84]
test cx, cx
je 0x4175c1
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 0x4175b0
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x4175f1
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 0x4175e0
mov word [eax], 0
mov dword [esp + 0x10], 0xb30fb567
mov dword [esp + 0x14], 0xaf3cb13a
mov dword [esp + 0x18], 0xab3ead35
mov dword [esp + 0x1c], 0xa73fa927
mov dword [esp + 0x20], 0xa336a537
mov dword [esp + 0x24], 0x9f71a12f
lea eax, [esp + 0x28]
mov word [esp + 0x28], 0x9d9e
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 byte [esp + 0x3e], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x2e
ja 0x4176aa
nop
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0x3dff73c9
add edx, 0x3dff73c9
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0x81
mov edx, dword [esp + 0x68]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x2f
jb 0x417670
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
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4176e0
mov esi, dword [ebx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x417700
mov edx, dword [ebp + 0x10]
mov ebx, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x417720
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xe
test eax, eax
jns 0x417744
mov eax, 0xffffffff
jmp 0x41774c
add ecx, edx
lea eax, [ecx + ecx]
add eax, 0x1c
push eax
call fcn.00435870
add esp, 4
movzx ecx, word [edi]
mov dword [esp + 0xc], eax
test cx, cx
je 0x417781
add edi, 2
mov eax, dword [esp + 0xc]
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 0x417770
mov word [eax], 0x2f
add eax, 2
movzx ecx, word [esi]
test cx, cx
je 0x4177b1
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 0x4177a0
mov word [eax], 0
movzx ecx, word [esp + 0x68]
test cx, cx
je 0x4177e3
lea edx, [esp + 0x6a]
mov esi, dword [esp + 8]
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 0x4177d0
jmp 0x4177e7
mov esi, dword [esp + 8]
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x417811
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 0x417800
mov word [eax], 0
mov dword [esp + 0x10], 0x73726d42
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x417888
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0xe8c43eae
add ecx, 0xe8c43eae
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x3e
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x417850
push 0
push 0
push 0xc00000
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x20]
push dword [ebp + 8]
call fcn.0041a720
add esp, 0x1c
mov ebx, eax
mov eax, dword [0x44175c]
mov ecx, 0x4f2e2605
xor ecx, dword [0x441764]
add eax, ecx
inc eax
jmp eax