Function at 0x401071
Capabilities:
Hide graphical window

Disassembly:
cmp dword [section.share], 0
jne 0x40106a
mov dword [section.share], 1
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4030f4], eax
call sub.comctl32.dll_InitCommonControls
push 0
push 0x401071
push 0
push 0x65
push dword [0x4030f4]
call sub.user32.dll_DialogBoxParamA
push 0
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x4011b6
push dword [ebp + 8]
pop dword [0x40316c]
mov dword [0x403100], 0xff
call fcn.00401740
cmp dword [0x403100], 0x46
ja 0x4010ad
push 0x78
call fcn.00401444
push dword [0x403100]
call fcn.00401444
call fcn.00401834
push 0
push 0
push 0x407
push 0x3e9
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
push 0xff
push 1
push 0x408
push 0x3e9
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
push dword [0x403100]
push 1
push 0x405
push 0x3e9
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
call sub.user32.dll_CreatePopupMenu
mov dword [0x403164], eax
push str.About
push 0xc8
push 0
push dword [0x403164]
call sub.user32.dll_AppendMenuA
push str.Settings
push 0xca
push 0
push dword [0x403164]
call sub.user32.dll_AppendMenuA
push 0
push 0
push 0x800
push dword [0x403164]
call sub.user32.dll_AppendMenuA
push str.Exit
push 0xc9
push 0
push dword [0x403164]
call sub.user32.dll_AppendMenuA
push str.Ico1
push dword [0x4030f4]
call sub.user32.dll_LoadIconA
mov dword [0x403168], eax
call fcn.00401515
push 0x15
push 0
push 0
push 0xffffd8f0
push 0xffffd8f0
push 0
push dword [ebp + 8]
call sub.user32.dll_SetWindowPos
push 0
push 0
push 0x465
push dword [0x40316c]
call sub.user32.dll_PostMessageA
jmp 0x40143b
cmp eax, 0x1c
jne 0x4011d4
cmp dword [ebp + 0x10], 0
jne 0x40143b
push 0
push dword [ebp + 8]
call sub.user32.dll_ShowWindow
jmp 0x40143b
cmp eax, 0x464
jne 0x4012b7
push esi
push edi
push dword [ebp + 8]
call sub.user32.dll_SetForegroundWindow
push 0x40315c
call sub.user32.dll_GetCursorPos
cmp dword [ebp + 0x14], 0x201
jne 0x40126d
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.user32.dll_GetWindowRect
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
sub edi, dword [ebp - 0xc]
push 0
call sub.user32.dll_GetSystemMetrics
shr eax, 1
cmp dword [0x40315c], eax
jbe 0x40122b
sub dword [0x40315c], esi
push 1
call sub.user32.dll_GetSystemMetrics
shr eax, 1
cmp dword [0x403160], eax
jbe 0x401242
sub dword [0x403160], edi
push 0x40
push edi
push esi
push dword [0x403160]
push dword [0x40315c]
push 0
push dword [ebp + 8]
call sub.user32.dll_SetWindowPos
push 5
push dword [ebp + 8]
call sub.user32.dll_ShowWindow
pop edi
pop esi
jmp 0x40143b
cmp dword [ebp + 0x14], 0x204
jne 0x40143b
push 0
push dword [ebp + 8]
call sub.user32.dll_ShowWindow
push 0
push dword [ebp + 8]
push 0
push dword [0x403160]
push dword [0x40315c]
push 8
push dword [0x403164]
call sub.user32.dll_TrackPopupMenu
push 0
push 0
push 0
push dword [ebp + 8]
call sub.user32.dll_PostMessageA
jmp 0x40143b
cmp eax, 0x115
jne 0x4012e4
push 0
push 0
push 0x400
push 0x3e9
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
mov dword [0x403100], eax
push eax
call fcn.00401444
jmp 0x40143b
cmp eax, 0x111
jne 0x401359
movzx eax, word [ebp + 0x10]
cmp eax, 0xc9
jne 0x401309
push 0
push 0
push 0x10
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
jmp 0x40143b
cmp eax, 0xc8
jne 0x401329
push 0x40
push str.GammaSutra
push str._C__1982_2003_Filip_Lundeholm__delight_colacao.es
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x40143b
cmp eax, 0xca
jne 0x40143b
push 0
push dword [ebp + 8]
call sub.user32.dll_ShowWindow
push 0
push 0x4015ad
push 0
push 0x66
push dword [0x4030f4]
call sub.user32.dll_DialogBoxParamA
jmp 0x40143b
cmp eax, 0x312
jne 0x4013cf
cmp dword [ebp + 0x10], 1
jne 0x401385
sub dword [0x403100], 0xa
test dword [0x403100], 0x80000000
je 0x401383
mov dword [0x403100], 0
jmp 0x4013a8
cmp dword [ebp + 0x10], 2
jne 0x4013a8
add dword [0x403100], 0xa
cmp dword [0x403100], 0xff
jle 0x4013a8
mov dword [0x403100], 0xff
push dword [0x403100]
push 1
push 0x405
push 0x3e9
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
push dword [0x403100]
call fcn.00401444
jmp 0x40143b
cmp eax, 0x465
jne 0x4013e2
push 0
push dword [ebp + 8]
call sub.user32.dll_ShowWindow
jmp 0x40143b
cmp eax, 0x10
jne 0x401432
push 1
push dword [0x40316c]
call sub.user32.dll_UnregisterHotKey
push 2
push dword [0x40316c]
call sub.user32.dll_UnregisterHotKey
call fcn.00401580
push 0
push 0
push 0x400
push 0x3e9
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
mov dword [0x403100], eax
call fcn.004017a1
push 0
push dword [ebp + 8]
call sub.user32.dll_EndDialog
jmp 0x40143b
mov eax, 0
leave
ret 0x10
mov eax, 1
leave
ret 0x10