Function at 0x40d023
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
cmp eax, 0x11
je 0x40d25f
cmp eax, 0x16
je 0x40d25f
cmp eax, 0x110
jne 0x40d1f8
push esi
push edi
push 0x2337
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [0x624058]
mov esi, eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x415ffa
push 0xfffffffffffffffc
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_SetPropA]
push eax
push str.SD_WNDPROC
push esi
call edi
push 1
push str.CENTRE
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x2338
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [0x62401c]
mov esi, eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push str.GREY
push esi
call edi
push 0x415ffa
push 0xfffffffffffffffc
push esi
call ebx
push eax
push str.SD_WNDPROC
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x2724
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
mov esi, eax
push str.CENTRE
push esi
call edi
push 1
push str.VCENTRE
push esi
call edi
push 1
push dword [0x624054]
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x415ffa
push 0xfffffffffffffffc
push esi
call ebx
push eax
push str.SD_WNDPROC
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x2725
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 2
mov esi, eax
push str.CENTRE
push esi
call edi
push 1
push dword [0x624050]
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push str.GREY
push esi
call edi
push 0x415ffa
push 0xfffffffffffffffc
push esi
call ebx
push eax
push str.SD_WNDPROC
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x2726
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 2
mov esi, eax
push str.CENTRE
push esi
call edi
push 1
push str.VCENTRE
push esi
call edi
push 1
push dword [0x624050]
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x415ffa
push 0xfffffffffffffffc
push esi
call ebx
push eax
push str.SD_WNDPROC
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x4b6
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [0x62401c]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
cmp eax, 0x14
jne 0x40d223
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
xor eax, eax
inc eax
jmp 0x40d24e
cmp eax, 0x136
je 0x40d23d
cmp eax, 0x138
je 0x40d23d
push dword [ebp + 0x10]
push ebx
push eax
call fcn.00444086
jmp 0x40d24e
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00580b5b
mov esp, ebp
pop ebp
ret 0xc
push 0
call fcn.0058bc3e
int3