Function at 0x401127
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x4030c4], eax
call sub.COMCTL32.dll_InitCommonControls
mov dword [0x4030b0], 0x30
mov dword [0x4030b4], 3
mov dword [0x4030b8], 0x401127
mov dword [0x4030bc], 0
mov dword [0x4030c0], 0
mov dword [0x4030d0], 2
mov dword [0x4030d4], 0x403007
mov dword [0x4030d8], 0x40300e
mov dword [0x4030dc], 0
push str.TDIcon
push dword [0x4030c4]
call sub.USER32.dll_LoadIconA
mov dword [0x4030c8], eax
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
mov dword [0x4030cc], eax
push 0x4030b0
call sub.USER32.dll_RegisterClassExA
push 0
push dword [0x4030c4]
push 0
push 0
push 0xf8
push 0x20a
push 0xa0
push 0xb0
push 0x4ca0000
push str.Test_Department
push str.TDWinClass
push 0x100
call sub.USER32.dll_CreateWindowExA
mov dword [0x4030f4], eax
push 1
push dword [0x4030f4]
call sub.USER32.dll_ShowWindow
push dword [0x4030f4]
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0
push 0x4030f4
call sub.USER32.dll_GetMessageA
cmp eax, 0
je 0x40111c
push 0x4030f4
call sub.USER32.dll_TranslateMessage
push 0x4030f4
call sub.USER32.dll_DispatchMessageA
jmp 0x4010f1
push dword [0x4030c4]
call sub.KERNEL32.dll_ExitProcess
pop dword [0x4030e0]
pop dword [0x4030e4]
pop dword [0x4030e8]
pop dword [0x4030ec]
pop dword [0x4030f0]
push dword [0x4030e0]
pushal
mov eax, dword [0x4030e8]
cmp eax, 1
jne 0x4011e1
push 0x14
push 0x14
push 0x14
push 0
push 0
push 8
push 0x403110
push 0x80
push dword [0x4030c4]
push 1
push 0x300
push 0x54000500
push dword [0x4030e4]
call sub.COMCTL32.dll_CreateToolbarEx
mov dword [0x4030ac], eax
push 5
push dword [0x4030ac]
call sub.USER32.dll_ShowWindow
mov eax, dword [0x4030c4]
mov dword [0x4031c4], eax
mov dword [0x4031c8], 0x81
push 0x4031c4
push 1
push 0x413
push dword [0x4030ac]
call sub.USER32.dll_SendMessageA
push 0x4031b0
push 1
push 0x414
push dword [0x4030ac]
call sub.USER32.dll_SendMessageA
cmp eax, 2
jne 0x4011f1
popal
push 0
call sub.USER32.dll_PostQuitMessage
xor eax, eax
ret
cmp eax, 5
jne 0x40120f
push 0
push 0
push 0x421
push dword [0x4030ac]
call sub.USER32.dll_SendMessageA
jmp 0x401315
cmp eax, 0xf
jne 0x401219
jmp 0x401315
cmp eax, 0x4e
jne 0x401299
mov ebx, dword [0x4030f0]
mov eax, dword [ebx + 8]
cmp eax, 0xfffffdf8
jne 0x401315
mov eax, dword [ebx + 4]
cmp eax, 0xc1
jne 0x401243
mov dword [ebx + 0xc], str.Stoned
cmp eax, 0xc2
jne 0x401251
mov dword [ebx + 0xc], str.World
cmp eax, 0xc3
jne 0x40125f
mov dword [ebx + 0xc], str.van_Gogh
cmp eax, 0xc4
jne 0x40126d
mov dword [ebx + 0xc], str.Apple
cmp eax, 0xc5
jne 0x40127b
mov dword [ebx + 0xc], str.Ball
cmp eax, 0xc6
jne 0x401289
mov dword [ebx + 0xc], str.Sandra
cmp eax, 0xc8
jne 0x401297
mov dword [ebx + 0xc], str.Pamela
jmp 0x401315
cmp eax, 0x111
jne 0x401315
mov eax, dword [0x4030f0]
jne 0x401306
mov eax, dword [0x4030ec]
cmp ax, 1
jne 0x4012db
push 4
push str.Realy_Exit__
push str.Your_choice_...
push dword [0x4030e4]
call sub.USER32.dll_MessageBoxA
cmp eax, 6
jne 0x401315
push dword [0x4030e4]
call sub.USER32.dll_DestroyWindow
jmp 0x401315
cmp ax, 0xc1
jb 0x401315
cmp ax, 0xc8
ja 0x401315
cmp ax, 0xc7
je 0x401315
push 0
push str.Message_Box
push str.Toolbar_Button_clicked
push dword [0x4030e4]
call sub.USER32.dll_MessageBoxA
jmp 0x401315
jmp 0x401315
popal
push dword [0x4030f0]
push dword [0x4030ec]
push dword [0x4030e8]
push dword [0x4030e4]
call sub.USER32.dll_DefWindowProcA
ret