Function at 0x4b68d0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5526f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [esp + 0x20]
push eax
mov edx, str.item_height
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
call fcn.0044ec20
lea ecx, [esp + 0x10]
add esp, 4
push ecx
mov edx, str.bg_color
mov ecx, esi
call fcn.0048a410
lea edx, [esp + 0x14]
add esp, 4
push edx
mov edx, str.bg_highlight_color
mov ecx, esi
call fcn.0044ec20
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov edx, str.color
mov ecx, esi
call fcn.0048a410
lea ecx, [esp + 0x20]
add esp, 4
push ecx
mov edx, str.pre_color
mov ecx, esi
call fcn.0048a410
lea edx, [esp + 0x18]
add esp, 4
push edx
mov edx, str.highlight_color
mov ecx, esi
call fcn.0048a410
add esp, 4
lea ecx, [edi + 0x68]
call fcn.004ea51e
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [edi + 0x68]
call fcn.004ea4cb
lea ecx, [edi + 0x70]
call fcn.004ea51e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [edi + 0x70]
call fcn.004ea4cb
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [edi + 0x64], edx
mov edx, dword [esp + 0x20]
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x7c], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1c]
push eax
mov edx, str.font_name
mov ecx, esi
mov dword [esp + 0x10], 0x5a
mov dword [esp + 0x24], 0x190
mov dword [esp + 0x1c], 0x2bc
call fcn.0044aa70
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov edx, str.font_size
mov ecx, esi
call fcn.0044ec20
lea edx, [esp + 0x24]
add esp, 4
push edx
mov edx, str.font_style
mov ecx, esi
call fcn.0044ec20
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov edx, str.bold_font_style
mov ecx, esi
call fcn.0044ec20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
add esp, 4
cmp esi, ebx
push ecx
push edx
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], esi
je 0x4b6a7a
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call fcn.004b6cc0
cmp esi, ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push ecx
push edx
push ecx
mov dword [esp + 0x2c], eax
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], esi
je 0x4b6aa4
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call fcn.004b6cc0
cmp esi, ebx
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x54], ecx
mov dword [edi + 0x58], eax
je 0x4b6aeb
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4b6aeb
mov eax, dword [esi]
cmp eax, ebx
je 0x4b6ad2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4b6ae2
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret