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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x100979b0
lea eax, [esi + 0xd0]
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
mov dword fs:[0], eax
movzx eax, byte [0x10284b09]
push 2
push 8
call fcn.10013450
add esp, 8
test eax, eax
je 0x1008f812
movsd xmm0, qword [0x101dbf80]
mov edi, eax
movsd qword [eax], xmm0
movzx eax, byte [0x10284b09]
push 4
push 0x68
call fcn.10013450
add esp, 8
test eax, eax
je 0x1008f81b
xorps xmm0, xmm0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x48], edi
mov edi, esi
mov dword [esi + 0x4c], 2
mov dword [esi + 0x50], 2
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 4
mov dword [esi + 0x64], 0
mov dword [esi], 0x101dc308
mov dword [esi + 4], 0x101dc628
mov dword [esi + 8], 3
mov dword [esi + 0xc], 0
mov word [esi + 0x68], 1
mov byte [esi + 0x10], 0
mov dword [esi + 0xd8], 1
lea eax, [esi + 0xb0]
lea ecx, [esi + 0x70]
lea edx, [esi + 0x30]
movaps xmmword [esi + 0xb0], xmm0
push edi
push eax
call fcn.1008d8b0
add esp, 8
cmp byte [esi + 0x80], 3
je 0x1008f836
mov eax, dword [esi + 0x80]
movsd xmm0, qword [esi + 0x70]
movsd xmm1, qword [esi + 0x78]
cmp al, 2
mov dword [esi + 0x28], eax
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
je 0x1008f58e
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push eax
call dword [ecx + 0x10]
add esp, 0xc
movsd xmm1, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x58]
movsd xmm0, qword [esi + 0x68]
mov edi, dword [ebp + 8]
movsd qword [esi + 0xa0], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [esi + 0x98], xmm2
movsd xmm2, qword [esi + 0x48]
movsd qword [esi + 0xa8], xmm0
movsd qword [esi + 0x90], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [esi + 0x88], xmm2
movsd xmm2, qword [esi + 0x30]
movsd qword [esi + 0x80], xmm1
movsd xmm1, qword [esi + 0x38]
movsd qword [esi + 0x70], xmm2
movsd qword [esi + 0x78], xmm1
call fcn.10190250
test byte [eax], 1
mov ebx, eax
je 0x1008f60b
movdqu xmm0, xmmword [ebx + 8]
mov eax, ebx
add eax, 8
jmp 0x1008f637
xorps xmm0, xmm0
movaps xmmword [esi], xmm0
push 0x10
mov eax, esi
push eax
call dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
movdqa xmm0, xmmword [esi]
mov eax, ebx
mov dword [ebx + 4], 0
mov dword [ebx], 1
add eax, 8
movdqu xmmword [ebx + 8], xmm0
movd edx, xmm0
pshufd xmm1, xmm0, 0x55
add edx, 1
movd ecx, xmm1
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
movsd xmm1, qword [esi + 0xa8]
movsd xmm2, qword [esi + 0x78]
movsd qword [edi + 0x38], xmm1
movsd xmm1, qword [esi + 0xa0]
movsd qword [edi + 8], xmm2
movsd qword [edi + 0x30], xmm1
movsd xmm1, qword [esi + 0x98]
movsd qword [edi + 0x28], xmm1
movsd xmm1, qword [esi + 0x90]
movsd qword [edi + 0x20], xmm1
movsd xmm1, qword [esi + 0x88]
movsd qword [edi + 0x18], xmm1
movsd xmm1, qword [esi + 0x80]
movsd qword [edi + 0x10], xmm1
movsd xmm1, qword [esi + 0x70]
movsd qword [edi], xmm1
movsd xmm1, qword [0x101dc658]
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 4
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe0], 1
mov dword [edi + 0xe4], 0xa
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 4
mov dword [edi + 0x100], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x60], 0x3b9aca00
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0x5a
mov dword [edi + 0x70], 0
mov dword [edi + 0x80], 0x3b9aca00
mov dword [edi + 0x90], 0x3b9aca00
mov dword [edi + 0xa0], 0x3b9aca00
mov dword [edi + 0xb0], 0x3b9aca00
movsd qword [esi + 0xc], xmm1
movsd xmm1, qword [0x101dc650]
movsd qword [esi + 4], xmm1
mov eax, dword [esi + 0x10]
movsd xmm1, qword [esi]
movsd xmm2, qword [esi + 8]
mov dword [edi + 0xc4], eax
mov eax, dword [esi + 0xd0]
movsd qword [edi + 0xb4], xmm1
movsd qword [edi + 0xbc], xmm2
movdqu xmmword [edi + 0xc8], xmm0
mov dword [edi + 0xd8], 0
mov dword [edi + 0x104], 0xffffffff
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0x1000101
mov word [edi + 0x110], 0x101
mov dword [edi + 0x116], 0
mov dword [edi + 0x112], 0
mov dword [edi + 0x11a], 0x2000001
mov byte [edi + 0x11e], 2
mov word [edi + 0x12f], 0x404
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 8
push 2
call fcn.101cc311
mov dword [esi + 0x14], edi
mov dword [esi + 0xd8], 0
push 0x68
push 4
call fcn.101cc311
add esp, 8
jmp 0x1008f853
lea eax, [esi + 0x18]
push 0x101dc62c
push 0x101dc02c
push eax
push 0x17
push 0x101dc0de
call fcn.101cc840
add esp, 0x14
ud2