Function at 0x419410
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
lea eax, [esi + 0x60]
mov dword [esi + 0x64], 0x41f020
mov ecx, dword fs:[0]
mov dword [esi + 0x60], ecx
mov dword fs:[0], eax
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [esi + 0x20], xmm0
mov word [esi + 0x40], 0x7a61
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
xor eax, eax
jmp 0x41947f
mov eax, dword [esi + 0x18]
inc eax
cmp eax, 0x3e8
je 0x41963f
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.0041c940
movsx eax, al
lea ecx, [esi + 0x20]
push eax
call fcn.0041cf20
lea eax, [esi + 0x20]
mov dword [esi], eax
mov eax, 0xe4621054
mov ecx, dword [esi]
nop word [eax + eax]
cmp eax, 0xccd6ba13
je 0x419500
cmp eax, 0x202032ff
je 0x4194ea
cmp eax, 0xe4621054
jne 0x4194c0
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x10
mov eax, 0xccd6ba13
mov edx, 0x202032ff
cmovae eax, edx
jmp 0x4194c0
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, 0xccd6ba13
jmp 0x4194c0
mov eax, dword [esi + 0x30]
cmp byte [ecx + eax - 1], 0x6f
je 0x41956a
lea ecx, [eax - 1]
lea edx, [esi + 0x20]
mov dword [esi], edx
mov edi, 0xe4621054
mov edx, dword [esi]
nop dword [eax]
cmp edi, 0xccd6ba13
je 0x419560
cmp edi, 0x202032ff
je 0x41954d
cmp edi, 0xe4621054
jne 0x419520
mov edi, dword [esi]
cmp dword [edi + 0x14], 0x10
mov edi, 0xccd6ba13
mov ebx, 0x202032ff
cmovae edi, ebx
jmp 0x419520
mov edx, dword [esi]
mov edx, dword [edx]
mov edi, 0xccd6ba13
jmp 0x419520
cmp byte [edx + ecx], 0x75
jne 0x419470
lea edx, [esi + 0x20]
mov dword [esi], edx
mov ecx, 0xe4621054
mov edi, dword [esi]
nop word cs:[eax + eax]
cmp ecx, 0xccd6ba13
je 0x4195c0
cmp ecx, 0x202032ff
je 0x4195ad
cmp ecx, 0xe4621054
jne 0x419580
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0xccd6ba13
mov ebx, 0x202032ff
cmovae ecx, ebx
jmp 0x419580
mov ecx, dword [esi]
mov edi, dword [ecx]
mov ecx, 0xccd6ba13
jmp 0x419580
mov dword [esi], edx
mov ecx, 0xe4621054
mov ebx, dword [esi]
nop dword [eax]
cmp ecx, 0xccd6ba13
je 0x419610
cmp ecx, 0x202032ff
je 0x4195fd
cmp ecx, 0xe4621054
jne 0x4195d0
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0x10
mov ecx, 0xccd6ba13
mov edx, 0x202032ff
cmovae ecx, edx
jmp 0x4195d0
mov ecx, dword [esi]
mov ebx, dword [ecx]
mov ecx, 0xccd6ba13
jmp 0x4195d0
add ebx, eax
cmp edi, ebx
je 0x419470
nop word [eax + eax]
movsx eax, byte [edi]
push eax
call fcn.00599035
add esp, 4
mov ecx, eax
xor cl, 0xf5
and cl, al
mov byte [edi], cl
inc edi
cmp edi, ebx
jne 0x419620
jmp 0x419470
lea edi, [esi + 0x20]
mov dword [esi], edi
mov edx, 0xe4621054
mov ecx, dword [esi]
mov eax, 0x202032ff
cmp edx, 0xccd6ba13
je 0x419683
cmp edx, 0x202032ff
je 0x419678
cmp edx, 0xe4621054
jne 0x419650
mov edx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov edx, 0xccd6ba13
cmovae edx, eax
jmp 0x419650
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, 0xccd6ba13
jmp 0x419650
cmp byte [ecx + 0xd7], 0x31
jne 0x4196ed
mov dword [esi], edi
mov edx, 0xe4621054
mov ecx, dword [esi]
mov eax, 0x202032ff
nop word [eax + eax]
cmp edx, 0xccd6ba13
je 0x4196d3
cmp edx, 0x202032ff
je 0x4196c8
cmp edx, 0xe4621054
jne 0x4196a0
mov edx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov edx, 0xccd6ba13
cmovae edx, eax
jmp 0x4196a0
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, 0xccd6ba13
jmp 0x4196a0
cmp byte [ecx + 0x2d0], 0x30
jne 0x4196ed
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
mov dword [esi + 0x68], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.0040e820
mov eax, 0x5ad42ebb
mov ecx, 0x838fbca4
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, 0x3969bf69
mov ecx, 0x671aa5a5
mov dword [esi + 0xc], ecx
mov dword [esi + 8], eax
mov eax, 0x3eb541f7
mov edi, 0xf1edd5e8
mov dword [esi + 0x18], eax
mov edx, 0x6e10cd08
mov ebx, 0x671aa5a5
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, 0x50c7249c
mov ecx, 0xc3deb98d
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
mov eax, 0x671aa5a5
mov ecx, 0x27ca926
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]
vmovddup xmm2, qword [0x5ab3f0]
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 + 0x40], xmm0
mov dword [esi + 0x68], 0xffffffff
lea eax, [esi + 0x40]
push eax
call fcn.00402520
mov ecx, esi
push ecx
push eax
call fcn.004172e0
add esp, 8
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