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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100624f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10075604]
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.10042900
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.1001d570
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.1003e470
push 0xd78d54
call fcn.100138d0
add esp, 0x10
mov dword [esi], eax
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100424c7
mov ecx, dword [ebp - 0x1c]
mov dword [esi], 0
test ecx, ecx
je 0x10042621
mov eax, dword [ebp - 0x14]
sub eax, ecx
push 4
sar eax, 2
push eax
push ecx
call fcn.10002610
add esp, 0xc
jmp 0x10042621
mov dword [esi + 4], 0
lea eax, [esi + 0x10]
mov dword [esi + 8], 0
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 0x100424e0
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 0x10042520
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 0x10042550
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 0x10042570
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.10042960
mov ecx, esi
call fcn.10042750
mov ecx, esi
call fcn.10042830
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10042621
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x100425db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
shl eax, 2
cmp eax, 0x1000
jb 0x10042618
test byte [ebp - 0x1c], 0x1f
je 0x100425f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100425fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x1004260b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x10042616
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.1005e746
add esp, 4
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.1005e77e
mov esp, ebp
pop ebp
ret