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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59e428
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
push 0
mov dword [esp + 0x70], 0
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x30]
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea edi, [esp + 0x18]
mov ebx, eax
call fcn.0041dc70
mov eax, dword [esi + 0x28]
mov edi, dword [eax]
lea ebx, [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], edi
mov edi, edi
cmp ebx, ebx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], ecx
je 0x41b730
call fcn.00578ff3
cmp edi, dword [esp + 0x20]
je 0x41b87d
cmp edi, dword [ebx + 4]
jne 0x41b744
call fcn.00578ff3
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x41b76f
cmp edi, dword [ebx + 4]
jne 0x41b765
call fcn.00578ff3
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov edi, eax
jmp 0x41b720
mov ecx, dword [esi + 0x34]
push 0
push 0
add esi, 0x34
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, dword [ebx + 4]
jne 0x41b78f
call fcn.00578ff3
mov edi, dword [edi + 8]
mov eax, dword [edi + 8]
mov ebx, dword [eax]
add edi, 4
lea ebx, [ebx]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, dword [edx + 4]
jne 0x41b7b2
call fcn.00578ff3
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 8]
add eax, 4
cmp edi, eax
mov dword [esp + 0x30], edx
je 0x41b7cc
call fcn.00578ff3
cmp ebx, dword [esp + 0x30]
je 0x41b819
cmp ebx, dword [edi + 4]
jne 0x41b7dc
call fcn.00578ff3
mov eax, dword [ebx + 8]
mov edx, dword [esi]
mov ecx, dword [eax]
push 0
push 0
push 0x1004
push edx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push esi
mov edx, eax
mov ecx, 1
call fcn.0040a460
cmp ebx, dword [edi + 4]
jne 0x41b815
call fcn.00578ff3
mov ebx, dword [ebx]
jmp 0x41b7a0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, 3
push 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
push 0x102b
push eax
mov dword [esp + 0x44], 0
call edi
test eax, eax
je 0x41b87d
mov ecx, dword [esi]
push 0
push 0
push 0x1013
push ecx
call edi
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b8a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret