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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fcada
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1014d084]
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 + 0xa0]
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.10045690
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x200
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
push eax
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.10020d60
sub esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.10020e00
call fcn.1001abe0
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x10041108
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10041108
mov dword [esi + 4], eax
mov ecx, 5
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
nop
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x10040fd0
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 0x10041010
mov eax, edi
mov ecx, 5
mov dword [eax + 0x14], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10041034
lea eax, [edi + 0x28]
mov ecx, 5
mov dword [eax + 0x14], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10041052
xor eax, eax
mov dword [edi + 0x50], ecx
mov dword [edi + 0x56], eax
mov word [edi + 0x54], ax
mov byte [edi + 0x5a], al
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, esi
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], edx
call fcn.100411e0
mov ecx, esi
call fcn.10042b40
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x100410d8
lea ecx, [ebp - 0x20]
call fcn.10006f50
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
sar ecx, 2
push 4
push ecx
push eax
call fcn.10007520
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.10006f50
push 8
push 1
push dword [ebp - 0x20]
call fcn.10007520
add esp, 0xc
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.10006f50
jmp 0x10041116
lea ecx, [ebp - 0x20]
mov dword [esi], 0
call fcn.1001ad70
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.10075bf0
mov esp, ebp
pop ebp
ret