Function at 0x40d8c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x420176
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
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 + 0xb4]
mov dword [esp + 8], edx
lea ecx, [esp + 0x44]
mov dword [esp + 0xac], ebp
call fcn.00414100
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
mov byte [esp + 0xb4], 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x40d982
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 + 0x40], ecx
lea ecx, [esp + 0x38]
sub eax, esi
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], eax
call fcn.00404460
jmp 0x40dcf8
test eax, 0x80000000
je 0x40dcf8
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 + 0x3c]
sub eax, ebx
mov dword [esp + 0x44], ecx
push 0xf3efe3
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], eax
call fcn.00404460
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 + 0x34]
push ebp
push edx
call ebx
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00414170
mov edx, dword [esp + 0x4c]
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 + 0x4c]
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 + 0x4c]
call fcn.004141e0
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_SendMessageA]
mov edx, dword [esp + 0x10]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push 3
push 3
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
lea ecx, [esi + 4]
push eax
mov byte [esp + 0xb8], 2
call fcn.00401900
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40db9d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x40db9d
mov ecx, dword [esi + 4]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0xb4], 3
jne 0x40db07
push 0x425040
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 0xfffffffffffffff4
lea ecx, [esp + 0x70]
call fcn.004044b0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x70]
push edx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0x70]
mov dword [esp + 0x80], 0x2bc
push ecx
mov dword [esp + 0x70], 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edx, dword [esp + 0x10]
push eax
push edx
mov dword [esp + 0x74], 0
mov byte [esp + 0xbc], 2
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x1c]
push 0x18
push ecx
push 0
lea edx, [esp + 0x34]
push 0x16
push edx
call ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x40db7e
xor eax, eax
jmp 0x40db89
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
push 0x24
push edx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
push 1
push 3
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
call ebx
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00414170
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x24]
push 0
push 0
push 0
push ecx
push 0
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
mov edx, dword [esp + 0x14]
push 1
push 3
push 0
add eax, 0xffffffec
push 0
push ecx
push eax
push 3
push 0xa
push 0
push edx
call ebp
mov eax, dword [esp + 0x4c]
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 - 0x14]
mov edx, dword [esp + 0x54]
push 3
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x2c]
add ecx, 0xfffffffd
push 3
push 0xa
push ecx
push eax
call ebp
lea ecx, [esp + 0x4c]
call fcn.004141e0
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 + 0x34]
push 0
push edx
call ebx
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00414170
mov edx, dword [esp + 0x4c]
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 + 0x54]
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 + 0x4c]
call fcn.004141e0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
pop ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 0
call fcn.00414120
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa8
ret 4