Function at 0x4172e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x41efe0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x24], 0x7a61
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
xor eax, eax
jmp 0x41733f
mov eax, dword [ebp - 0x2c]
inc eax
cmp eax, 0x3e8
je 0x4174ff
mov dword [ebp - 0x2c], eax
movsx eax, byte [ebp - 0x23]
movsx edx, byte [ebp - 0x24]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
push eax
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0041c940
movsx eax, al
lea ecx, [ebp - 0x44]
push eax
call fcn.0041cf20
lea edx, [ebp - 0x44]
mov dword [ebp - 0x20], edx
mov eax, 0xe4621054
mov ecx, dword [ebp - 0x20]
mov ebx, edx
nop dword [eax + eax]
cmp eax, 0xccd6ba13
je 0x4173c0
cmp eax, 0x202032ff
je 0x4173ab
cmp eax, 0xe4621054
jne 0x417380
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0x10
mov eax, 0xccd6ba13
mov edx, 0x202032ff
cmovae eax, edx
jmp 0x417380
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, 0xccd6ba13
jmp 0x417380
mov eax, dword [ebp - 0x34]
cmp byte [eax + ecx - 1], 0x6f
je 0x41742a
lea ecx, [eax - 1]
mov dword [ebp - 0x20], ebx
mov esi, 0xe4621054
mov edx, dword [ebp - 0x20]
nop dword [eax + eax]
cmp esi, 0xccd6ba13
je 0x417420
cmp esi, 0x202032ff
je 0x41740e
cmp esi, 0xe4621054
jne 0x4173e0
mov esi, dword [ebp - 0x20]
cmp dword [esi + 0x14], 0x10
mov esi, 0xccd6ba13
mov edi, 0x202032ff
cmovae esi, edi
jmp 0x4173e0
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
mov esi, 0xccd6ba13
jmp 0x4173e0
cmp byte [edx + ecx], 0x75
jne 0x417330
mov dword [ebp - 0x20], ebx
mov ecx, 0xe4621054
mov esi, dword [ebp - 0x20]
nop word cs:[eax + eax]
cmp ecx, 0xccd6ba13
je 0x417480
cmp ecx, 0x202032ff
je 0x41746e
cmp ecx, 0xe4621054
jne 0x417440
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0xccd6ba13
mov edx, 0x202032ff
cmovae ecx, edx
jmp 0x417440
mov ecx, dword [ebp - 0x20]
mov esi, dword [ecx]
mov ecx, 0xccd6ba13
jmp 0x417440
mov dword [ebp - 0x20], ebx
mov ecx, 0xe4621054
mov edi, dword [ebp - 0x20]
nop dword [eax + eax]
cmp ecx, 0xccd6ba13
je 0x4174d0
cmp ecx, 0x202032ff
je 0x4174be
cmp ecx, 0xe4621054
jne 0x417490
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0xccd6ba13
mov edx, 0x202032ff
cmovae ecx, edx
jmp 0x417490
mov ecx, dword [ebp - 0x20]
mov edi, dword [ecx]
mov ecx, 0xccd6ba13
jmp 0x417490
add edi, eax
cmp esi, edi
je 0x417330
nop word [eax + eax]
movsx eax, byte [esi]
push eax
call fcn.00599035
add esp, 4
mov ecx, eax
xor cl, 0xf5
and cl, al
mov byte [esi], cl
inc esi
cmp esi, edi
jne 0x4174e0
jmp 0x417330
mov dword [ebp - 0x20], ebx
mov edx, 0xe4621054
mov ecx, dword [ebp - 0x20]
mov eax, 0x202032ff
nop
cmp edx, 0xccd6ba13
je 0x417545
cmp edx, 0x202032ff
je 0x417539
cmp edx, 0xe4621054
jne 0x417510
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 0x10
mov edx, 0xccd6ba13
cmovae edx, eax
jmp 0x417510
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, 0xccd6ba13
jmp 0x417510
cmp byte [ecx + 0xd7], 0x31
jne 0x4175af
mov dword [ebp - 0x20], ebx
mov edx, 0xe4621054
mov ecx, dword [ebp - 0x20]
mov eax, 0x202032ff
nop
cmp edx, 0xccd6ba13
je 0x417595
cmp edx, 0x202032ff
je 0x417589
cmp edx, 0xe4621054
jne 0x417560
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 0x10
mov edx, 0xccd6ba13
cmovae edx, eax
jmp 0x417560
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, 0xccd6ba13
jmp 0x417560
cmp byte [ecx + 0x2d0], 0x30
jne 0x4175af
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040e820
mov dword [ebp - 0x10], 0xffffffff
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402a30
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret