Function at 0x433850
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
mov dword [0x4cb030], 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
test ebp, ebp
push edi
mov esi, ecx
je 0x433877
mov eax, dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [esi + 0x10]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test ebp, ebp
je 0x43388e
and eax, 0xff37ffff
jmp 0x433893
or eax, 0xc80000
mov edx, dword [esi + 0x10]
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x4cb060]
test eax, eax
jne 0x4338ed
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4338ed
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x4338d4
mov eax, dword [0x4cab18]
test eax, eax
je 0x4338d4
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x4338ed
mov ecx, dword [esi + 0x10]
push 0x4cb030
push ecx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov dword [0x4cb05c], 1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [0x4cb060], ebp
mov dword [0x4cab0c], ebp
call edi
push 1
mov dword [esp + 0x14], eax
call edi
push 0x20
mov dword [esp + 0x2c], eax
call edi
push 0x21
mov ebx, eax
call edi
test ebp, ebp
mov edi, eax
je 0x4339e3
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x433941
mov eax, dword [esi + 0x10]
push 0
push eax
call ebp
jmp 0x433963
mov ecx, dword [esi + 0x10]
push 0xe
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0xc]
mov eax, dword [0x4cab84]
push 0
mov dword [edx + 0x6b8], eax
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 0xa4], 0
call ebp
mov ecx, dword [esi + 0x18]
push 0
push ecx
mov dword [esi + 0xa8], 0
call ebp
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4339ab
mov eax, dword [esi + 0x10]
push 1
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push 0x140
lea edx, [ecx + edi*2]
lea ecx, [eax + ebx*2]
push edx
mov edx, dword [esi + 0x10]
neg edi
push ecx
push edi
neg ebx
push ebx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
call fcn.00436300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov eax, dword [0x4cab34]
mov dword [esi + 0xa4], eax
mov ecx, dword [0x4cab38]
mov dword [esi + 0xa8], ecx
mov eax, dword [0x4cb05c]
test eax, eax
je 0x433a1c
cmp dword [0x4cb038], 3
jne 0x433a1c
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
jmp 0x433a22
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
push 0
mov ecx, dword [eax + 0x44]
push ecx
call edi
mov edx, dword [esi + 0xc]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
xor ebx, ebx
mov dword [edx + 0x6b8], ebx
mov eax, dword [0x4cb05c]
cmp eax, ebx
je 0x433af6
mov eax, dword [0x4cb038]
mov dword [0x4cb05c], ebx
cmp eax, 3
je 0x433ae5
mov edi, dword [0x4cb054]
mov ebx, dword [0x4cb04c]
mov edx, dword [0x4cb050]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
sub edi, ebx
mov ebx, dword [0x4cb058]
sub ebx, edx
cmp edi, eax
jge 0x433a8b
cmp ebx, ecx
jl 0x433aa7
cmp ebx, ecx
jge 0x433a91
mov ecx, ebx
cmp edi, eax
jge 0x433a97
mov eax, edi
push 6
push ecx
push eax
mov eax, dword [esi + 0x10]
push 0
push 0
push 0
push eax
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esp + 0x18]
mov eax, dword [0x4cb050]
mov ecx, dword [esp + 0x14]
push 4
push ebx
add edx, eax
mov eax, dword [esi + 0x10]
push edi
push edx
mov edx, dword [0x4cb04c]
add ecx, edx
push ecx
push 0
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x433b59
mov ecx, dword [esi + 0x10]
push 0x4cb030
push ecx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
jmp 0x433b59
cmp dword [esi + 0xac], ebx
jne 0x433b17
mov edx, dword [esi + 0x10]
mov eax, dword [str.SoftwareACD_SystemsACDSee32]
push 0xa
push edx
push str.ViewerWndPos
push eax
call fcn.0043c280
add esp, 0x10
cmp dword [0x4cab18], ebx
je 0x433b36
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x433b4f
mov ecx, esi
call fcn.004332c0
jmp 0x433b4f
mov edx, dword [esi + 0x10]
mov eax, dword [str.SoftwareACD_SystemsACDSee32]
push 0xa
push edx
push str.ViewerWndPos
push eax
call fcn.0043c280
add esp, 0x10
mov dword [esi + 0xac], 1
mov eax, dword [0x4cab3c]
test eax, eax
je 0x433b70
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x433b82
mov eax, dword [esi + 0x14]
push 8
push eax
call edi
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x433b94
mov ecx, dword [esi + 0x18]
push 8
push ecx
call edi
mov edx, dword [esi + 0xc]
push 5
mov eax, dword [edx + 0x44]
push eax
call edi
mov ebx, dword [0x4cab08]
mov edx, dword [esi + 0x10]
xor ecx, ecx
push 3
test ebx, ebx
push 0
push 0
setne cl
push 0
add ecx, 0xfffffffe
push 0
push ecx
push edx
call ebp
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push eax
call edi
mov ecx, dword [esi + 0x18]
push 1
push 0
push ecx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4