Function at 0x417ec0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cba4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5edd38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0x593370
mov dword [edi], 0x5933ec
mov dword [edi + 0x10], 0x59340c
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0xc
lfence
call fcn.00406a5e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], 1
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0x1000000
mov dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x54], 0xffffffff
mov dword [edi + 0x58], 7
mov dword [edi + 0x5c], 7
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x660], 0
mov dword [edi + 0x664], 0
mov dword [edi + 0x668], 0
mov dword [edi + 0x66c], 0
mov dword [edi + 0x670], 0
lea ecx, [edi + 0x674]
mov byte [ebp - 4], 2
call fcn.00418510
mov dword [edi + 0x67c], 0
mov dword [edi + 0x680], 0
mov dword [edi + 0x684], 0
mov dword [edi + 0x688], 0
mov eax, dword [0x5f3910]
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41804c
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + 0x50]
mov byte [ebp - 0x11], al
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x11], 0
je 0x41804c
mov al, 1
jmp 0x41804e
xor al, al
mov byte [edi + 0x68c], al
xor eax, eax
mov byte [edi + 0x68d], 0
mov dword [edi + 0x6a0], 0
mov dword [edi + 0x6a4], 7
mov word [edi + 0x690], ax
mov byte [ebp - 4], 6
cmp dword [0x5f3910], eax
je 0x4182a3
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x5f0
lea eax, [edi + 0x70]
push 0
push eax
call fcn.0053f340
push 0x14
call fcn.00406a5e
add esp, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4180ce
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], 0
call fcn.00418550
jmp 0x4180d0
xor eax, eax
push 0x14
mov byte [ebp - 4], 6
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x8c], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
call fcn.00406a5e
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x41811b
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], 0
call fcn.00418bb0
jmp 0x41811d
xor eax, eax
push 0x34
mov byte [ebp - 4], 6
mov dword [edi + 0x90], eax
call fcn.00406a5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x418155
push 0x34
push 0
push esi
call fcn.0053f340
add esp, 0xc
mov ecx, esi
push edi
call fcn.00418cc0
jmp 0x418157
xor eax, eax
push 0x14
mov byte [ebp - 4], 6
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0xa4], eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0xa0], eax
call fcn.00406a5e
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4181a5
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], 0
call fcn.0041a4f0
jmp 0x4181a7
xor eax, eax
push 0x14
mov byte [ebp - 4], 6
mov dword [edi + 0xa8], eax
mov dword [edi + 0xac], eax
call fcn.00406a5e
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4181e3
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], 0
call fcn.0041a910
jmp 0x4181e5
xor eax, eax
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], eax
mov dword [edi + 0x44c], eax
cmp byte [edi + 0x68c], 0
mov byte [ebp - 4], 6
jne 0x418280
push 0x14
call fcn.00406a5e
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x418230
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], 0
call fcn.0041ad50
jmp 0x418232
xor eax, eax
push 0x14
mov byte [ebp - 4], 6
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], eax
call fcn.00406a5e
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x41826e
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
push edi
mov dword [eax + 0x10], 0
call fcn.0041af10
jmp 0x418270
xor eax, eax
mov byte [ebp - 4], 6
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], eax
cmp dword [0x5ed908], 0
jne 0x418290
mov ecx, edi
call fcn.00438440
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
push str.unknown
lea ecx, [ebp - 0x20]
call fcn.004a5b50
push 0x5dbb54
lea eax, [ebp - 0x20]
push eax
call fcn.0053e427
int3