Function at 0x425970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x15c]
xor edi, edi
push edi
push eax
call ebx
mov ecx, dword [esi + 0xe8]
push edi
push ecx
call ebx
mov edx, dword [esi + 0x244]
push edi
push edx
call ebx
mov eax, dword [esi + 0x2b8]
push edi
push eax
call ebx
mov ecx, dword [esi + 0x1d0]
push edi
push ecx
call ebx
mov ebx, dword [esi + 0x50]
cmp ebx, edi
je 0x425cac
mov eax, dword [ebx + 4]
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 4], edi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x4259d7
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x50]
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
mov dword [ebp - 0x10], edi
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x4259f1
mov dword [ebx + 8], eax
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esi + 0x50]
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x1c]
sub ebx, dword [ebp - 0x24]
lea edx, [ebp - 8]
push edx
push eax
mov dword [ebp - 8], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x425a23
mov dword [edi + 8], eax
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x20]
sub edi, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
push edx
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x425a53
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
sub ebx, dword [ebp - 0x18]
sub edi, dword [ebp - 0xc]
mov edx, dword [esi + 0xe8]
push 0x11
push 0
push 0
sub ebx, 8
push ebx
sub edi, 0xb
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push edx
call edi
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
mov ebx, 0xfffffffb
sub ecx, 0xb
sub eax, 8
xor edx, edx
sub ebx, dword [ebp - 4]
lea ebx, [ebx]
mov dword [ebp + edx*8 - 0x50], ecx
mov dword [ebp + edx*8 - 0x4c], eax
add edx, 1
add ecx, ebx
cmp edx, 5
jne 0x425aa0
mov eax, dword [esi + 0x328]
cmp eax, edx
ja case.default.0x425ac0
jmp dword [eax*4 + 0x425cb4]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [esi + 0x15c]
push 0x11
push 0
push 0
push eax
push ecx
push 0
push edx
call edi
mov eax, dword [esi + 0x15c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [esi + 0xe8]
push 0x11
push 0
push 0
push ecx
push edx
push 0
push eax
call edi
mov ecx, dword [esi + 0xe8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call ebx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov ecx, dword [esi + 0x15c]
push 0x11
push 0
push 0
push edx
push eax
push 0
push ecx
call edi
mov edx, dword [esi + 0x15c]
push 5
push edx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [esi + 0xe8]
push 0x11
push 0
push 0
push eax
push ecx
push 0
push edx
call edi
mov eax, dword [esi + 0xe8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [esi + 0x2b8]
push 0x11
push 0
push 0
push ecx
push edx
push 0
push eax
call edi
mov ecx, dword [esi + 0x2b8]
push 5
push ecx
call ebx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [esi + 0x244]
push 0x11
push 0
push 0
push edx
push eax
push 0
push ecx
call edi
mov edx, dword [esi + 0x244]
push 5
push edx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [esi + 0x2b8]
push 0x11
push 0
push 0
push eax
push ecx
push 0
push edx
call edi
mov eax, dword [esi + 0x2b8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [esi + 0x244]
push 0x11
push 0
push 0
push ecx
push edx
push 0
push eax
call edi
mov ecx, dword [esi + 0x244]
push 5
push ecx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov ecx, dword [esi + 0xe8]
push 0x11
push 0
push 0
push edx
push eax
push 0
push ecx
call edi
mov edx, dword [esi + 0xe8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call ebx
mov eax, dword [esi + 0x1d0]
push 1
push 1
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [esi + 0x1d0]
push 0x11
push 0
push 0
push ecx
push edx
push 0
push eax
call edi
mov ecx, dword [esi + 0x1d0]
push 5
push ecx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov ecx, dword [esi + 0x15c]
push 0x11
push 0
push 0
push edx
push eax
push 0
push ecx
call edi
mov edx, dword [esi + 0x15c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret