Function at 0x417c90
Capabilities:
Check for peb ntglobalflag flag

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], 0x41f100
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 0x417cff
mov eax, dword [esi + 0x18]
inc eax
cmp eax, 0x3e8
je 0x417eba
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.0041e700
movsx eax, al
lea ecx, [esi + 0x20]
push eax
call fcn.0041ec00
lea eax, [esi + 0x20]
mov dword [esi], eax
mov eax, 0x6797e2bc
mov ecx, dword [esi]
nop word [eax + eax]
cmp eax, 0xa07603db
je 0x417d80
cmp eax, 0xbd1fc13d
je 0x417d6a
cmp eax, 0x6797e2bc
jne 0x417d40
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x10
mov eax, 0xa07603db
mov edx, 0xbd1fc13d
cmovae eax, edx
jmp 0x417d40
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, 0xa07603db
jmp 0x417d40
mov eax, dword [esi + 0x30]
cmp byte [ecx + eax - 1], 0x6f
je 0x417dea
lea ecx, [eax - 1]
lea edx, [esi + 0x20]
mov dword [esi], edx
mov edi, 0x6797e2bc
mov edx, dword [esi]
nop dword [eax]
cmp edi, 0xa07603db
je 0x417de0
cmp edi, 0xbd1fc13d
je 0x417dcd
cmp edi, 0x6797e2bc
jne 0x417da0
mov edi, dword [esi]
cmp dword [edi + 0x14], 0x10
mov edi, 0xa07603db
mov ebx, 0xbd1fc13d
cmovae edi, ebx
jmp 0x417da0
mov edx, dword [esi]
mov edx, dword [edx]
mov edi, 0xa07603db
jmp 0x417da0
cmp byte [edx + ecx], 0x75
jne 0x417cf0
lea edx, [esi + 0x20]
mov dword [esi], edx
mov ecx, 0x6797e2bc
mov edi, dword [esi]
nop word cs:[eax + eax]
cmp ecx, 0xa07603db
je 0x417e40
cmp ecx, 0xbd1fc13d
je 0x417e2d
cmp ecx, 0x6797e2bc
jne 0x417e00
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0xa07603db
mov ebx, 0xbd1fc13d
cmovae ecx, ebx
jmp 0x417e00
mov ecx, dword [esi]
mov edi, dword [ecx]
mov ecx, 0xa07603db
jmp 0x417e00
mov dword [esi], edx
mov ecx, 0x6797e2bc
mov ebx, dword [esi]
nop dword [eax]
cmp ecx, 0xa07603db
je 0x417e90
cmp ecx, 0xbd1fc13d
je 0x417e7d
cmp ecx, 0x6797e2bc
jne 0x417e50
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0xa07603db
mov edx, 0xbd1fc13d
cmovae ecx, edx
jmp 0x417e50
mov ecx, dword [esi]
mov ebx, dword [ecx]
mov ecx, 0xa07603db
jmp 0x417e50
add ebx, eax
cmp edi, ebx
je 0x417cf0
nop word [eax + eax]
movsx eax, byte [edi]
push eax
call fcn.005a47b5
add esp, 4
and al, 0xa
mov byte [edi], al
inc edi
cmp edi, ebx
jne 0x417ea0
jmp 0x417cf0
lea edi, [esi + 0x20]
mov dword [esi], edi
mov edx, 0x6797e2bc
mov ecx, dword [esi]
mov eax, 0xbd1fc13d
nop dword [eax + eax]
cmp edx, 0xa07603db
je 0x417f03
cmp edx, 0xbd1fc13d
je 0x417ef8
cmp edx, 0x6797e2bc
jne 0x417ed0
mov edx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov edx, 0xa07603db
cmovae edx, eax
jmp 0x417ed0
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, 0xa07603db
jmp 0x417ed0
cmp byte [ecx + 0xd7], 0x31
jne 0x417f6d
mov dword [esi], edi
mov edx, 0x6797e2bc
mov ecx, dword [esi]
mov eax, 0xbd1fc13d
nop word [eax + eax]
cmp edx, 0xa07603db
je 0x417f53
cmp edx, 0xbd1fc13d
je 0x417f48
cmp edx, 0x6797e2bc
jne 0x417f20
mov edx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov edx, 0xa07603db
cmovae edx, eax
jmp 0x417f20
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, 0xa07603db
jmp 0x417f20
cmp byte [ecx + 0x2d0], 0x30
jne 0x417f6d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
mov dword [esi + 0x68], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.0040ed30
mov eax, 0x69d77da6
mov ecx, 0xc938ee05
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, 0x3ae52849
mov ecx, 0x6e8c2b67
mov dword [esi + 0xc], ecx
mov dword [esi + 8], eax
mov eax, 0x8b20fe5
mov edi, 0xbb688b71
mov dword [esi + 0x18], eax
mov edx, 0x49804b26
mov ebx, 0x6e8c7c14
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, 0x66c06a8e
mov ecx, 0x895be714
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov eax, 0x6e8c7c14
mov ecx, 0x25ec2f08
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]
vmovddup xmm2, qword [0x5b63d0]
vandnps xmm3, xmm1, xmm2
vandnps xmm4, xmm0, xmm2
vandnps xmm1, xmm2, xmm1
vorps xmm1, xmm3, xmm1
vandnps xmm0, xmm2, xmm0
vorps xmm0, xmm4, xmm0
vxorps xmm0, xmm1, 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.00402b50
mov ecx, esi
push ecx
push eax
call fcn.00416aa0
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