Function at 0x444816
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x14], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x38]
xor eax, eax
xor esi, esi
stosd dword es:[edi], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x38]
lea edi, [ebx + 4]
push eax
push dword [edi]
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x10
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebx + 0x64], esi
jne 0x444a33
push dword [ebp + 8]
mov ecx, ebx
call fcn.00444514
test al, al
je 0x444b26
push 9
push dword [0x47dbc4]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0x31
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0x18], ecx
cmp eax, 0xffffffff
jne 0x4448e0
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x3026
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x444a33
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.00404679
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x1c]
mov edi, dword [ebx + 0x78]
add ecx, 0xf
cdq
mov ebx, dword [ebx + 4]
sub eax, edx
sar eax, 1
sub dword [esp + 0x30], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add eax, 0xa
mov dword [esp + 0x2c], ecx
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
lea eax, [ecx + 0x74c]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x76c]
push eax
push 0x47d9e0
call fcn.00403f5b
add esp, 8
movzx eax, ax
push eax
push esi
xor eax, eax
test edi, edi
push esi
push 0x50000001
cmovne eax, edi
push eax
lea eax, [esp + 0x40]
push eax
push ebx
mov ebx, dword [esp + 0x38]
mov ecx, ebx
call fcn.004042a9
test eax, eax
je 0x444a2b
mov edi, dword [esp + 0x10]
push esi
push esi
push 0x31
or dword [edi + 0x7a0], 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [ebx + 0x58], 8
mov dword [esp + 0x18], eax
je 0x4449d1
push dword [ebx + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [ebx + 0x58], 0xf7
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [ebx + 0x30], eax
call fcn.00410405
push dword [edi + 0x290]
mov ecx, ebx
call fcn.0040f7b3
push dword [edi + 0x78]
mov ecx, ebx
call fcn.0041391f
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call ebx
push 0x11
mov dword [edi + 0x7b4], eax
call ebx
push 0x11
mov edi, eax
call ebx
mov ebx, dword [esp + 0x10]
mov dword [ebx + 0x7ac], edi
lea edi, [ebx + 4]
mov dword [ebx + 0x7a8], eax
mov dword [ebx + 0x7b0], 0xee0000
jmp 0x444a33
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
push dword [ebx + 0x64]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x3027
push dword [edi]
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x444b0d
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.00404679
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x28]
push dword [ebx + 0x68]
mov dword [esp + 0x40], esi
lea esi, [esp + 0x3c]
mov dword [esp + 0x48], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
lea eax, [esp + 0x38]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx + 0x70]
mov eax, dword [esp + 0x30]
sub eax, ecx
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x10]
push 0xcc0020
sar ebx, 1
push esi
mov edi, dword [eax + 0x6c]
add ecx, ebx
mov eax, dword [esp + 0x3c]
sub eax, edi
mov dword [esp + 0x38], ecx
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
mov dword [esp + 0x30], ebx
sar eax, 1
push esi
push dword [esp + 0x20]
mov dword [esp + 0x3c], eax
lea ecx, [eax + edi]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
push edi
push dword [ecx + 0x70]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4