Function at 0x40810e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x601ff0]
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 0x40834a
cmp eax, 0x16
je 0x40834a
cmp eax, 0x110
jne 0x4082e3
push esi
push edi
push 0x3f7
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [0x61db64]
mov esi, eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x428bf4
push 0xfffffffffffffffc
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_SetPropA]
push eax
push 0x5d8a0c
push esi
call edi
push 1
push str.CENTRE
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x3f8
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [0x61db48]
mov esi, eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push str.GREY
push esi
call edi
push 0x428bf4
push 0xfffffffffffffffc
push esi
call ebx
push eax
push 0x5d8a0c
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x5f0
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 [0x61db60]
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x428bf4
push 0xfffffffffffffffc
push esi
call ebx
push eax
push 0x5d8a0c
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x5f1
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 [0x61db5c]
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push str.GREY
push esi
call edi
push 0x428bf4
push 0xfffffffffffffffc
push esi
call ebx
push eax
push 0x5d8a0c
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x5f2
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 [0x61db5c]
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x428bf4
push 0xfffffffffffffffc
push esi
call ebx
push eax
push 0x5d8a0c
push esi
call edi
mov eax, dword [ebp - 0x18]
push 0x3ee
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [0x61db48]
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 0x40830e
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 0x408339
cmp eax, 0x136
je 0x408328
cmp eax, 0x138
je 0x408328
push dword [ebp + 0x10]
push ebx
push eax
call fcn.0043542c
jmp 0x408339
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.00570fd6
mov esp, ebp
pop ebp
ret 0xc
push 0
call fcn.0057c187
int3