Function at 0x1004ea20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad288
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 0x14], 0
lea edi, [esi + 0xa4]
mov dword [esi + 0x10], 0
mov ecx, edi
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0
call fcn.10052b70
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x28]
movq qword [ebp - 0x1c], xmm0
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], 0x1fc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1002cc90
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.1002cbf0
mov ecx, 0xd78d54
call fcn.1001c580
add esp, 0xc
mov dword [esi], eax
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1004ebc8
mov dword [esi], 0
jmp 0x1004ecbf
mov dword [esi + 4], 0
lea eax, [esi + 0x10]
mov dword [esi + 8], 0
mov ecx, 5
nop
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x1004ebe0
mov dword [esi + 0x48], ecx
lea eax, [esi + 0x68]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x60], ecx
mov ecx, 5
nop word [eax + eax]
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x1004ec20
mov byte [esi + 0xa0], cl
mov eax, edi
mov ecx, 5
nop word [eax + eax]
mov dword [eax + 0x14], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1004ec50
lea eax, [edi + 0x28]
mov ecx, 5
nop
mov dword [eax + 0x14], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1004ec70
xor eax, eax
mov dword [edi + 0x50], ecx
mov dword [edi + 0x56], eax
mov word [edi + 0x54], ax
mov dword [esi + 0x100], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, esi
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], edx
call fcn.1004edc0
mov ecx, esi
call fcn.1004fd30
mov ecx, esi
call fcn.100509c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1004ecd5
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.100141c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e175
mov esp, ebp
pop ebp
ret