Function at 0x451e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597b3e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x62819c]
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
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x40], 0
push eax
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0044a3c0
push dword [ebx + 0x4c]
call fcn.0044caf0
mov esi, eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x4c]
sub eax, 0x10
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0xa0], vtable.BkStyle.0
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x94], ecx
call fcn.0044a950
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x50]
sub eax, 0x10
mov byte [ebp - 4], 2
push eax
call fcn.0044a950
add esp, 0xc
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
push eax
call fcn.00436f70
mov eax, dword [ebx + 0x50]
cmp eax, 0xffffffff
mov byte [ebp - 4], 4
cmove eax, edi
test dword [ebx + 0x34], 1
je 0x451fea
cmp dword [ebp - 0x44], 0xffffffff
cmovne eax, dword [ebp - 0x44]
mov esi, dword [sym.imp.GDI32.dll_SetBkColor]
cmp eax, 0xffffffff
je 0x451ff8
push eax
jmp 0x451ffd
push 0xffffff
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x452028
push 0
push 0
push 0
lea ecx, [ebx + 0x14]
push ecx
push 2
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push edi
push dword [ebp + 8]
call esi
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x45203d
push dword [ebx + 0x4c]
call fcn.0044caf0
add esp, 4
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebx + 0x28]
push eax
lea eax, [ebx + 0x14]
push eax
push dword [ecx - 0xc]
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x38], 0
je 0x452064
push dword [ebp - 0x34]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x30], 0
je 0x452076
push dword [ebp - 0x2c]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebp - 0x40], 0
je 0x452088
push dword [ebp - 0x3c]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [ebp - 0x28], 0
je 0x452096
push dword [ebp - 0x24]
push dword [ebp + 8]
call esi
mov edx, dword [ebp - 0x48]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4520b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4520d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4520ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00545ec7
mov esp, ebp
pop ebp
ret 4