Function at 0x42d130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
mov esi, ecx
push eax
push dword [esi + 0x64c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
sub edi, dword [ebp - 0x18]
sub ebx, dword [ebp - 0x1c]
push 0
push 0x9f
push dword [esi + 0x648]
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 8
jne 0x42d1cb
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x658]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x20]
push 0x40
sub edi, dword [ebp - 0x28]
dec edi
dec edi
push edi
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
push dword [esi + 0x658]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x18]
push 0x40
push 1
push ebx
lea eax, [edi + eax - 3]
push eax
push dword [ebp - 0x1c]
push 0
push dword [esi + 0x65c]
call dword [sym.imp.USER32.dll_SetWindowPos]
sub dword [ebp - 4], edi
add dword [ebp - 0x18], edi
mov edi, dword [ebp - 4]
jmp 0x42d1d9
push 0
push dword [esi + 0x658]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40
push edi
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
push dword [esi + 0x650]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [esi + 0xac4], 0
jne 0x42d216
push 0x40
push edi
xor edi, edi
push ebx
push edi
push edi
push edi
push dword [esi + 0x654]
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push edi
jmp 0x42d5ad
cmp byte [esi + 0x74a], 0
jne 0x42d316
cmp byte [esi + 0x747], 0
je 0x42d258
push 0
push 0
push dword [esi + 0x650]
mov byte [esi + 0x828], 1
call dword [sym.imp.USER32.dll_ShowScrollBar]
push 0
push 1
push dword [esi + 0x650]
call dword [sym.imp.USER32.dll_ShowScrollBar]
jmp 0x42d403
xor eax, eax
cmp edi, dword [esi + 0x830]
mov edi, dword [sym.imp.USER32.dll_ShowScrollBar]
setl al
push eax
push 1
push dword [esi + 0x650]
call edi
xor eax, eax
cmp ebx, dword [esi + 0x82c]
setl al
push eax
push 0
push dword [esi + 0x650]
call edi
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x650]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
sub ebx, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, dword [esi + 0x830]
setl cl
push ecx
push 1
push dword [esi + 0x650]
call edi
xor eax, eax
cmp ebx, dword [esi + 0x82c]
setl al
push eax
push 0
push dword [esi + 0x650]
call edi
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x650]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
sub ebx, dword [ebp - 0x1c]
cmp eax, dword [esi + 0x830]
mov dword [ebp - 4], eax
jl 0x42d305
cmp ebx, dword [esi + 0x82c]
jl 0x42d305
xor eax, eax
jmp 0x42d308
xor eax, eax
inc eax
mov edi, dword [ebp - 4]
mov byte [esi + 0x828], al
jmp 0x42d403
push dword [esi + 0x64c]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x42d3fc
mov edi, dword [sym.imp.USER32.dll_ShowScrollBar]
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x650]
call edi
push ebx
push 1
push dword [esi + 0x650]
call edi
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x650]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
sub ebx, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x18]
cmp ebx, 1
mov dword [ebp - 4], edi
jl 0x42d5c5
cmp edi, 1
jl 0x42d5c5
mov ecx, dword [esi + 0x1e0]
imul ecx, ecx, 0x190
mov eax, ecx
cdq
idiv edi
mov edi, dword [esi + 0x1dc]
imul edi, edi, 0x190
mov dword [ebp - 0xc], eax
mov eax, edi
cdq
idiv ebx
mov edx, dword [ebp - 0xc]
cmp eax, edx
jle 0x42d3a9
mov dword [ebp - 8], eax
jmp 0x42d3ae
mov dword [ebp - 8], edx
mov eax, edx
lea ecx, [ecx + eax - 1]
mov dword [ebp - 0xc], ecx
lea ecx, [edi + eax - 1]
mov eax, ecx
cdq
idiv dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 8]
cmp edi, ebx
mov dword [esi + 0x82c], edi
mov dword [esi + 0x830], eax
jg 0x42d3dd
cmp eax, dword [ebp - 4]
jle 0x42d3e6
inc dword [ebp - 8]
inc ecx
inc dword [ebp - 0xc]
jmp 0x42d3b9
push dword [ebp - 8]
lea ecx, [esi + 0x734]
push 0x190
call fcn.0043bd1f
mov edi, dword [ebp - 4]
and byte [esi + 0x828], 0
mov ecx, dword [esi + 0x82c]
cmp ebx, ecx
jle 0x42d418
mov eax, ebx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x42d41b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x830]
mov dword [ebp - 0xc], eax
cmp edi, ecx
jle 0x42d433
mov eax, edi
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x42d436
mov eax, dword [ebp - 0x18]
mov edx, dword [esi + 0x82c]
cmp ebx, edx
jl 0x42d442
mov ebx, edx
cmp edi, ecx
mov dword [esi + 0x820], ebx
jl 0x42d44e
mov edi, ecx
push 0x40
push edi
push ebx
push eax
push dword [ebp - 0xc]
mov dword [esi + 0x824], edi
xor edi, edi
push edi
push dword [esi + 0x654]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x82c]
mov edx, dword [esi + 0x830]
cmp byte [esi + 0x74a], 0
mov dword [esi + 0x814], eax
mov dword [esi + 0x81c], edx
jne 0x42d54c
mov ecx, dword [esi + 0x820]
cmp ecx, edi
jg 0x42d49c
xor ecx, ecx
mov ebx, dword [esi + 0x810]
mov edi, eax
sub edi, ecx
cmp ebx, edi
jge 0x42d4ae
mov ecx, ebx
jmp 0x42d4be
mov edi, dword [esi + 0x820]
test edi, edi
jg 0x42d4ba
xor edi, edi
mov ecx, eax
sub ecx, edi
test ecx, ecx
jge 0x42d4c8
and dword [ebp - 8], 0
jmp 0x42d4f2
mov ecx, dword [esi + 0x820]
test ecx, ecx
jg 0x42d4d4
xor ecx, ecx
mov edi, eax
sub edi, ecx
cmp ebx, edi
jge 0x42d4e1
mov dword [ebp - 8], ebx
jmp 0x42d4f2
mov ecx, dword [esi + 0x820]
test ecx, ecx
jg 0x42d4ed
xor ecx, ecx
sub eax, ecx
mov dword [ebp - 8], eax
mov ebx, dword [esi + 0x824]
test ebx, ebx
jle 0x42d500
mov eax, ebx
jmp 0x42d502
xor eax, eax
mov edi, dword [esi + 0x818]
mov ecx, edx
sub ecx, eax
cmp edi, ecx
jge 0x42d514
mov eax, edi
jmp 0x42d522
test ebx, ebx
jle 0x42d51c
mov ecx, ebx
jmp 0x42d51e
xor ecx, ecx
mov eax, edx
sub eax, ecx
test eax, eax
jge 0x42d52a
xor edi, edi
jmp 0x42d54f
test ebx, ebx
jle 0x42d532
mov eax, ebx
jmp 0x42d534
xor eax, eax
mov ecx, edx
sub ecx, eax
cmp edi, ecx
jl 0x42d54f
test ebx, ebx
jle 0x42d544
mov eax, ebx
jmp 0x42d546
xor eax, eax
sub edx, eax
mov edi, edx
jmp 0x42d54f
mov dword [ebp - 8], edi
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x654]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
push 2
push eax
lea ecx, [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 8]
push ecx
push eax
mov eax, dword [esi + 0x818]
sub eax, edi
push eax
mov eax, dword [esi + 0x810]
sub eax, ebx
push eax
push dword [esi + 0x654]
call dword [sym.imp.USER32.dll_ScrollWindowEx]
cmp byte [esi + 0x74a], 0
mov dword [esi + 0x810], ebx
mov dword [esi + 0x818], edi
jne 0x42d5a9
mov ecx, esi
call fcn.0042fe97
jmp 0x42d5b9
push 0
push 0
push dword [esi + 0x654]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x654]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret