Function at 0x40133c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x5c
xor esi, esi
xor edi, edi
mov ecx, 0x45
push esi
dec ecx
jne 0x40134e
mov eax, dword [ebp + 8]
mov dword [0x405290], eax
mov edx, 0x4052b8
call fcn.004044da
mov ebx, 0x4052a0
call fcn.00404013
push pe_nt_image_headers32
lea ebx, [ebp - 0x174]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ebx, [ebp - 0x174]
mov eax, ebx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], 0
xor ecx, ecx
xor edx, edx
mov esi, dword [ebp - 0x178]
lodsb al, byte [esi]
inc ecx
cmp al, 0
je 0x4013be
cmp al, 0x5c
jne 0x4013a5
mov edx, ecx
jmp 0x4013a5
mov dword [ebp - 0x17c], edx
lea ebx, [ebp - 0x174]
call fcn.00404414
mov ecx, 1
mov eax, dword [ebp - 0x17c]
call fcn.004038d3
mov ebx, 0x4052ac
call fcn.00404013
mov edx, 0x4052d7
call fcn.004044da
lea ebx, [ebp - 0xe4]
mov ecx, 0x1f
call fcn.00404462
push 0
lea ebx, [ebp - 0xe4]
push ebx
call dword [sym.imp.USER32.DLL_FindWindowA]
mov esi, eax
cmp esi, 0
je 0x40146b
push 0
mov eax, esi
push eax
call dword [sym.imp.USER32.DLL_IsIconic]
pop dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
jne 0x40144b
push 0
mov eax, esi
push eax
call dword [sym.imp.USER32.DLL_IsZoomed]
pop dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
je 0x401456
push 9
mov eax, esi
push eax
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, esi
push eax
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
mov dword [ebp - 0x78], 0
jmp 0x40163f
mov dword [ebp - 0xc4], 0x30
mov dword [ebp - 0xc0], 0x3003
mov eax, sym.INSTALL.EXE_WNDPROC
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov eax, dword [0x405290]
mov dword [ebp - 0xb0], eax
push 1
push dword [0x405290]
call dword [sym.imp.USER32.DLL_LoadIconA]
mov dword [ebp - 0xac], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.DLL_LoadCursorA]
mov dword [ebp - 0xa8], eax
push 4
call dword [sym.imp.GDI32.DLL_GetStockObject]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 0
lea ebx, [ebp - 0xe4]
mov eax, ebx
mov dword [ebp - 0x9c], eax
push 1
push dword [0x405290]
call dword [sym.imp.USER32.DLL_LoadIconA]
mov dword [ebp - 0x98], eax
lea ebx, [ebp - 0xc4]
push ebx
call dword [sym.imp.USER32.DLL_RegisterClassExA]
push 0
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
mov dword [0x405298], eax
push 1
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
mov dword [0x40529c], eax
mov edi, 0x1bb
mov dword [ebp - 0xf0], 0x15e
sub esp, 4
push 0
push dword [0x405290]
push 0
push 0
push dword [ebp - 0xf0]
mov eax, edi
push eax
mov eax, dword [0x40529c]
cdq
idiv dword [0x405ae0]
mov ecx, dword [ebp - 0xf0]
xchg ecx, eax
cdq
idiv dword [0x405ae0]
neg eax
add eax, ecx
push eax
mov eax, dword [0x405298]
cdq
idiv dword [0x405ae0]
mov ecx, edi
xchg ecx, eax
cdq
idiv dword [0x405ae0]
neg eax
add eax, ecx
push eax
push 0x80c80000
mov edx, dword [0x4052a0]
call fcn.004044c6
mov ebx, esp
add ebx, 0x24
call fcn.0040411d
lea ebx, [ebp - 0xe4]
push ebx
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.00403e20
pop eax
add esp, 4
mov dword [0x405294], eax
push dword [ebp + 0x14]
push dword [0x405294]
call dword [sym.imp.USER32.DLL_ShowWindow]
push dword [0x405294]
call dword [sym.imp.USER32.DLL_UpdateWindow]
push 0
push 0
push 0
lea ebx, [ebp - 0x94]
push ebx
call dword [sym.imp.USER32.DLL_GetMessageA]
mov dword [ebp - 0xf4], eax
lea ebx, [ebp - 0x94]
push ebx
call dword [sym.imp.USER32.DLL_TranslateMessage]
lea ebx, [ebp - 0x94]
push ebx
call dword [sym.imp.USER32.DLL_DispatchMessageA]
cmp dword [ebp - 0xf4], 0
je 0x401636
jmp 0x4015f1
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10