Function at 0x40bce0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x457078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x40bbe0
push 0
mov eax, ecx
push 0x17
push eax
mov dword [ebp - 0x40c], eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
mov dword [ebp - 0x41c], esi
test esi, esi
je 0x40bfcf
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDC]
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
test eax, eax
je 0x40bd4e
push 0x58
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push eax
push 0x46
call ebx
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x40bd58
mov dword [ebp - 0x414], 0x46
push 0
call edi
test eax, eax
je 0x40bd7a
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push eax
push 0x14
call ebx
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x40bd84
mov dword [ebp - 0x408], 0x14
push 0
call edi
test eax, eax
je 0x40bda9
push 0x58
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push eax
push 0x172
call ebx
mov dword [ebp - 0x410], eax
test eax, eax
jne 0x40bdb3
mov dword [ebp - 0x410], 0x172
push 0
call edi
test eax, eax
je 0x40bdcf
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push eax
push 0x28
call ebx
test eax, eax
jne 0x40bdd4
mov eax, 0x28
push 0
push dword [ebp - 0x40c]
push 0x18
push esi
push eax
push dword [ebp - 0x410]
push dword [ebp - 0x408]
push dword [ebp - 0x414]
push 0x50000000
push str.Something
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x3ff
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x404]
push eax
push 0x1a
push dword [ebp - 0x40c]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
call edi
test eax, eax
je 0x40be4b
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push eax
push 0x32
call ebx
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x40be55
mov dword [ebp - 0x408], 0x32
push 0
call edi
test eax, eax
je 0x40be71
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push eax
push 0x64
call ebx
test eax, eax
jne 0x40be76
mov eax, 0x64
push 0
push dword [ebp - 0x40c]
push 0x18
push esi
push eax
push dword [ebp - 0x410]
lea eax, [ebp - 0x404]
push dword [ebp - 0x408]
push dword [ebp - 0x414]
push 0x50000000
push eax
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
push ebx
call edi
push 0x48
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
mov edi, eax
push ebx
neg edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.Microsoft_JhengHei_UI
push 0
push 5
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_CreateFontA]
push 1
push eax
push 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
push dword [ebp - 0x418]
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xb
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
mov esi, dword [ebp - 0x418]
mov edi, eax
push esi
neg edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.Microsoft_JhengHei_UI
push 0
push 5
push 0
push 0
push 0
push 0
push 0
push 0
push 0x320
push 0
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_CreateFontA]
push 1
push eax
push 0x30
push esi
call ebx
mov ebx, dword [ebp - 0x41c]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push ebx
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40bfcd
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ecx]
cmp eax, 0xffffffff
je 0x40bfde
lea eax, [ebp - 0x438]
push eax
call esi
lea eax, [ebp - 0x438]
push eax
call edi
push 0
push 0
push ebx
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40bfa0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043bfe6
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.MSVCR120.dll_exit]
int3