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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100925d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bb084]
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.10045330
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], 0x200
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1001f770
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.1001f6d0
call fcn.100120c0
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x1004105a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004105a
mov dword [esi + 4], eax
mov ecx, 5
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x10040f82
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 dword [eax]
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x10040fc0
mov eax, edi
mov ecx, 5
mov dword [eax + 0x14], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10040fe4
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 0x10041002
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.10041140
mov ecx, esi
call fcn.10042ab0
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10041076
mov ecx, dword [ebp - 0x14]
sub ecx, edx
sar ecx, 2
push ecx
push edx
jmp 0x10041071
mov ecx, dword [ebp - 0x1c]
mov dword [esi], 0
test ecx, ecx
je 0x10041076
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.1000fe20
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.10059ed0
mov esp, ebp
pop ebp
ret