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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182b39
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 0x1c], 0
lea esi, [edi + 0x2dc]
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10048e10
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [ebp - 4], 1
lea esi, [edi + 0x2ec]
mov byte [ebp - 4], 2
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10048e10
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xorps xmm0, xmm0
mov byte [ebp - 4], 4
push 8
movups xmmword [ebp - 0x24], xmm0
call fcn.10048e10
lea ecx, [ebp - 0x24]
add esp, 0xc
mov dword [eax + 4], 0
mov dword [ebp - 0x24], eax
mov dword [eax], ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x250
cmp eax, dword [ebp - 0x18]
je 0x100fa8e7
mov dword [eax], 0x250
mov eax, dword [ebp - 0x1c]
push eax
push eax
call fcn.10048120
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x100fa8f7
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.1004f750
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0
cmp eax, dword [ebp - 0x18]
je 0x100fa91c
mov dword [eax], 0
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push eax
push eax
call fcn.10048120
add dword [ebp - 0x1c], 4
jmp 0x100fa929
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.1004f750
sub esp, 0x10
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1004f360
push 0xf3690c
call fcn.100d3d10
mov dword [edi + 0x94], eax
mov ecx, 0xf
xor eax, eax
mov dword [edi + 0xa0], 0
mov word [edi + 0xbc], ax
mov dword [edi + 0xc4], eax
lea eax, [edi + 0x174]
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov word [edi + 0x8e], 0x101
mov dword [edi + 0x90], 1
nop word [eax + eax]
mov dword [eax - 0x3c], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0xb0], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0x128], 0
sub ecx, 1
jne 0x100fa9c0
mov ecx, edi
call fcn.100faa90
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x100faa18
mov ecx, dword [ecx]
add ecx, 0x70
mov eax, dword [ecx]
mov dword [0x1027c334], eax
mov dword [ecx], 0x100ff950
lea ecx, [ebp - 0x24]
call fcn.100447b0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100faa5b
mov eax, dword [ebp - 0x18]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.10048ea0
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x24]
push 8
push eax
mov dword [ebp - 0x24], 0
call fcn.10048ea0
add esp, 8
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