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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d08d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
add edi, edx
mov ecx, dword [ecx + 0x10]
add ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 0x20]
mov edi, dword [eax + 0x1c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], eax
call fcn.0042adc0
cmp dword [eax + 0x30], 0
jne 0x42af80
call fcn.0042adc0
mov dword [eax + 0x30], 0x458a60
call fcn.0042adc0
push dword [ebp - 0x24]
lea ecx, [ebx + 0x20]
push ecx
push eax
call fcn.004279a0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
movzx eax, ax
test edi, edi
mov dword [ebp - 0x30], eax
mov eax, 0x56000000
cmove edi, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x2c], edi
cmovne eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x42aff0
call fcn.00430db2
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x42aff0
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430f08
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push eax
call fcn.00430eb4
cmp word [ebp - 0x30], 0
je 0x42afd0
lea edi, [ebx + 8]
test edi, edi
je 0x42b153
test ebx, ebx
je 0x42b153
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x40], 0x46a038
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 0
push 0x46a038
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x46a050]
mov dword [edi + 8], eax
mov byte [ebp - 0x3c], 1
mov dword [0x46a050], edi
mov dword [ebp - 4], 0xffffffff
push 0x46a038
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 0x3c], 0
test esi, esi
jne 0x42b074
test edi, 0x40000000
cmovne esi, ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0
push dword [0x468d74]
push esi
push dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x30]
push edx
push ecx
push edi
push dword [ebp - 0x28]
movzx eax, ax
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x42afd0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42b0fe
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov esi, edi
or esi, dword [ebp - 0x24]
cmp esi, edi
je 0x42b0fe
push esi
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor esi, edi
test esi, 0x20281
je 0x42b0fe
push 0x37
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x30]
mov edi, dword [ebx + 0x2c]
cmp edi, eax
mov esi, edi
cmovle edi, eax
cmovge esi, eax
movzx ecx, di
shl ecx, 0x10
movzx eax, si
or ecx, eax
push ecx
push 0
push 0x401
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x34]
cmp eax, esi
jl 0x42b138
cmp eax, edi
mov esi, eax
cmovg esi, edi
push 0
push esi
push 0x402
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x42afd2
push 1
push 0xc0000005
call fcn.00401900
int3