Function at 0x451010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46579c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xc]
xor ebp, ebp
push eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], ebp
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0xd4]
mov dword [esp + 8], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0xcc], ebp
call fcn.0042b2f0
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
mov byte [esp + 0xd4], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4510d2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
sub ecx, edx
push 0xffffff
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
sub eax, esi
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], eax
call fcn.0040cc30
jmp 0x451472
test eax, 0x80000000
je 0x451472
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
sub ecx, edi
lea edx, [esp + 0x40]
sub eax, ebx
mov dword [esp + 0x48], ecx
push 0xf3efe3
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], eax
call fcn.0040cc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push ebp
push ebp
push ebp
push eax
push ebp
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_SetRect]
push 0x18
push 2
push ebp
lea edx, [esp + 0x3c]
push ebp
push edx
call ebx
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0042b360
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x1c]
push ebp
push ebp
push ebp
push edx
push 1
push eax
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
push 0xcc0020
push 0x18
push 2
push ebp
push ebp
lea eax, [ecx - 4]
push edx
push 0x18
push eax
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_StretchBlt]
push 2
push eax
call ebp
lea ecx, [esp + 0x50]
call fcn.0042b3d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push 0
push 0
lea eax, [ecx - 2]
push eax
mov eax, dword [esi + 0x1c]
push edx
push 2
push eax
call edi
push 0
mov ecx, dword [esi + 4]
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x10]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push 3
push 6
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 2
push ecx
lea ecx, [esi + 4]
call fcn.00401920
mov eax, dword [esp + 0x24]
test eax, eax
je 0x451317
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x451317
mov edx, dword [esi + 4]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0xd4], 3
jne 0x451266
push 0x46f180
push 0x20
push eax
push eax
push eax
push 0x86
push eax
push eax
push eax
push 0x190
push eax
push eax
push eax
push 0xfffffffffffffff3
lea ecx, [esp + 0x60]
call fcn.0040cc80
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x70]
push eax
push 0x5c
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea edx, [esp + 0x70]
mov dword [esp + 0x80], 0x2bc
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x34], 0
mov byte [esp + 0xdc], 2
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x1c]
push 0x18
push edx
push 0
lea eax, [esp + 0x3c]
push 0x19
push eax
call ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4512e1
xor eax, eax
jmp 0x4512ec
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push 0x24
push edx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push 3
push 0
lea eax, [esp + 0x3c]
push 0
push eax
call ebx
mov edx, dword [esp + 0xdc]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.0042b360
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x24]
push 0
push 0
push 0
push eax
push 0
push ecx
call edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
push 0xcc0020
push 1
push 3
push 0
lea eax, [edx - 0xa]
mov edx, dword [esp + 0x20]
push 0
push ecx
push eax
push 3
push 2
push 0
push edx
call ebp
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x24]
push 0
push 0
push 0
push eax
push 1
push ecx
call edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0xcc0020
push 1
lea eax, [edx - 0xa]
mov edx, dword [esp + 0x58]
push 3
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x2c]
add ecx, 0xfffffffd
push 3
push 2
push ecx
push eax
call ebp
lea ecx, [esp + 0x50]
call fcn.0042b3d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push 0
lea eax, [ecx - 0xa]
push eax
mov eax, dword [esi + 0x28]
push 0
push edx
push 0
push eax
call edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [ecx - 0xa]
push 0
lea ecx, [edx - 3]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x28]
push eax
push 2
push ecx
call edi
push 0xa
push 3
push 0
lea edx, [esp + 0x3c]
push 0
push edx
call ebx
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0042b360
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x28]
push 0
push 0
push 0
push edx
push 1
push eax
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 0xcc0020
push 0xa
lea eax, [ecx - 6]
lea ecx, [edx - 0xa]
mov edx, dword [esp + 0x58]
push 3
push 0
push 0
push edx
push 0xa
push eax
mov eax, dword [esp + 0x30]
push ecx
push 3
push eax
call ebp
lea ecx, [esp + 0x50]
call fcn.0042b3d0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
pop ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0xcc], 0
call fcn.0042b310
mov ecx, dword [esp + 0xc4]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xc8
ret 4