Function at 0x4172c0
Capabilities:
Check for peb ntglobalflag flag
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], esp
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0x41e810
mov eax, dword fs:[0]
mov dword [esi + 0x60], eax
lea eax, [esi + 0x60]
mov dword fs:[0], eax
mov word [esi + 0x40], 0x7a61
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
xor eax, eax
jmp 0x41732f
mov eax, dword [esi + 0x18]
inc eax
cmp eax, 0x3e8
je 0x4174ef
mov dword [esi + 0x18], eax
movsx eax, byte [esi + 0x41]
movsx edx, byte [esi + 0x40]
mov dword [esi + 0x68], 0
lea ecx, [esi + 0x40]
push eax
push edx
lea eax, [esi + 0x1c]
push eax
call fcn.0041cef0
movsx eax, al
lea ecx, [esi + 0x20]
push eax
call fcn.0041d4c0
lea eax, [esi + 0x20]
mov dword [esi], eax
mov eax, 0x6d2b4043
mov ecx, dword [esi]
nop word [eax + eax]
cmp eax, 0xb22740ed
je 0x41739a
cmp eax, 0x52cdac11
je 0x4173b0
cmp eax, 0x6d2b4043
jne 0x417370
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x10
mov eax, 0x52cdac11
mov edx, 0xb22740ed
cmovae eax, edx
jmp 0x417370
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, 0x52cdac11
jmp 0x417370
mov eax, dword [esi + 0x30]
cmp byte [eax + ecx - 1], 0x6f
je 0x41741a
lea ecx, [eax - 1]
lea edx, [esi + 0x20]
mov dword [esi], edx
mov edi, 0x6d2b4043
mov edx, dword [esi]
nop dword [eax]
cmp edi, 0xb22740ed
je 0x4173fd
cmp edi, 0x52cdac11
je 0x417410
cmp edi, 0x6d2b4043
jne 0x4173d0
mov edi, dword [esi]
cmp dword [edi + 0x14], 0x10
mov edi, 0x52cdac11
mov ebx, 0xb22740ed
cmovae edi, ebx
jmp 0x4173d0
mov edx, dword [esi]
mov edx, dword [edx]
mov edi, 0x52cdac11
jmp 0x4173d0
cmp byte [edx + ecx], 0x75
jne 0x417320
lea edx, [esi + 0x20]
mov dword [esi], edx
mov ecx, 0x6d2b4043
mov edi, dword [esi]
nop word cs:[eax + eax]
cmp ecx, 0xb22740ed
je 0x41745d
cmp ecx, 0x52cdac11
je 0x417470
cmp ecx, 0x6d2b4043
jne 0x417430
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0x52cdac11
mov ebx, 0xb22740ed
cmovae ecx, ebx
jmp 0x417430
mov ecx, dword [esi]
mov edi, dword [ecx]
mov ecx, 0x52cdac11
jmp 0x417430
mov dword [esi], edx
mov ecx, 0x6d2b4043
mov ebx, dword [esi]
nop dword [eax]
cmp ecx, 0xb22740ed
je 0x4174ad
cmp ecx, 0x52cdac11
je 0x4174c0
cmp ecx, 0x6d2b4043
jne 0x417480
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0x52cdac11
mov edx, 0xb22740ed
cmovae ecx, edx
jmp 0x417480
mov ecx, dword [esi]
mov ebx, dword [ecx]
mov ecx, 0x52cdac11
jmp 0x417480
add ebx, eax
cmp edi, ebx
je 0x417320
nop word [eax + eax]
movsx eax, byte [edi]
push eax
call fcn.0056d735
add esp, 4
mov ecx, eax
xor cl, 0xf5
and cl, al
mov byte [edi], cl
inc edi
cmp edi, ebx
jne 0x4174d0
jmp 0x417320
lea edi, [esi + 0x20]
mov dword [esi], edi
mov edx, 0x6d2b4043
mov ecx, dword [esi]
mov eax, 0xb22740ed
cmp edx, 0xb22740ed
je 0x417528
cmp edx, 0x52cdac11
je 0x417533
cmp edx, 0x6d2b4043
jne 0x417500
mov edx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov edx, 0x52cdac11
cmovae edx, eax
jmp 0x417500
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, 0x52cdac11
jmp 0x417500
cmp byte [ecx + 0xd7], 0x31
jne 0x41759d
mov dword [esi], edi
mov edx, 0x6d2b4043
mov ecx, dword [esi]
mov eax, 0xb22740ed
nop word [eax + eax]
cmp edx, 0xb22740ed
je 0x417578
cmp edx, 0x52cdac11
je 0x417583
cmp edx, 0x6d2b4043
jne 0x417550
mov edx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov edx, 0x52cdac11
cmovae edx, eax
jmp 0x417550
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, 0x52cdac11
jmp 0x417550
cmp byte [ecx + 0x2d0], 0x30
jne 0x41759d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
mov dword [esi + 0x68], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.0040e680
mov eax, 0x99243346
mov ecx, 0xf3ef5ca1
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, 0xe1094dc1
mov ecx, 0xb9da8db
mov dword [esi + 0xc], ecx
mov dword [esi + 8], eax
mov eax, 0xf8414105
mov edi, 0x81bf39d5
mov dword [esi + 0x18], eax
mov edx, 0x926c2eae
mov ebx, 0xb9dffa8
xor ecx, ecx
lea eax, [esi + 0x20]
mov dword [esi + 0x24], edi
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], edx
vmovaps xmm0, xmmword [eax]
mov eax, 0x9633246e
mov ecx, 0xb38c55b0
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov eax, 0xb9dffa8
mov ecx, 0xfe004a80
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], edx
xor eax, eax
lea ecx, [esi + 0x20]
vmovaps xmm1, xmmword [esi]
vandnps xmm2, xmm1, xmm0
vandnps xmm0, xmm0, xmm1
vorps xmm0, xmm2, xmm0
vmovaps xmmword [esi], xmm0
vmovaps xmm0, xmmword [ecx]
vmovaps xmm1, xmmword [esi + 0x40]
vandnps xmm2, xmm1, xmm0
vandnps xmm0, xmm0, xmm1
vorps xmm0, xmm2, xmm0
vmovaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x68], 0xffffffff
lea eax, [esi + 0x40]
push eax
call fcn.004026b0
mov ecx, esi
push ecx
push eax
call fcn.00416340
add esp, 8
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ecx, dword [esi + 0x60]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret