Function at 0x478c18
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea eax, [ebp - 0x38]
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x48]
push eax
push 1
push 0x41d
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x28], eax
movzx eax, byte [0x4c61c7]
sub edx, 0x78
neg eax
sbb eax, eax
and eax, ecx
cmp byte [0x4c61c8], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
je 0x478c97
mov eax, dword [esi + 4]
push 0x1b
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esi + 0xa4], eax
jne 0x478c97
movsx eax, word [esi + 0x74]
jmp 0x478c9a
mov eax, dword [ebp - 0x2c]
mov bl, byte [0x4c0798]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c60bc]
test eax, eax
je 0x478cba
cmp byte [eax + 0x10], 0
je 0x478cba
mov byte [ebp - 1], 1
test bl, bl
je 0x478cbe
mov byte [ebp - 1], 0
call fcn.004019da
test al, al
je 0x478ccb
test bl, bl
je 0x478ce9
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x2c]
mov al, byte [eax + 0xa]
shr al, 7
not al
test al, 1
je 0x478ce9
push 1
push 0xa
call fcn.00449dad
cmp byte [ebp - 1], 0
mov al, byte [0x4c61c8]
mov byte [ebp - 2], al
je 0x478d12
test al, al
mov eax, dword [ebp - 0x2c]
je 0x478d08
mov ecx, eax
sub ecx, dword [ebp - 0xc]
cmp ecx, 0x5a
jge 0x478d12
add eax, 0xffffffa6
mov dword [ebp - 0xc], eax
mov byte [ebp - 2], 0
movsx eax, word [esi + 0x88]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0x5a9
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x4c61cb], 0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x14], eax
je 0x478d7e
movzx eax, byte [0x4c61cd]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
cmp byte [0x4c61cc], 0
je 0x478d60
mov ecx, dword [ebp - 0x2c]
dec ecx
jmp 0x478d65
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push 0x250
push ecx
push dword [ebp - 8]
push eax
push 0
push 0
push dword [ebp - 0x14]
call ebx
add dword [ebp - 8], 3
jmp 0x478daa
mov ecx, dword [esi + 0xc4]
cmp dword [ecx + 0x3c], 1
jne 0x478d9f
mov eax, dword [ecx + 0x34]
mov edx, dword [0x4b7df0]
cmp edx, dword [eax]
jne 0x478d9f
push dword [ecx + 0x58]
call fcn.0045044a
push 0
push dword [ebp - 0x14]
call edi
and dword [ebp - 8], 0
movzx eax, byte [0x4c61cc]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
cmp byte [0x4c61cd], 0
mov dword [ebp - 0x14], eax
jne 0x478e78
mov eax, dword [esi + 4]
push 0x1b
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esi + 0xa4], eax
je 0x478e78
push 0
push dword [esi + 0x8c]
call edi
push 0
push dword [esi + 0x90]
call edi
push 0
push dword [esi + 0x94]
call edi
push 0
push dword [esi + 0x98]
call edi
mov eax, dword [esi + 4]
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call edi
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x478e2a
push 0
push dword [eax + 4]
call edi
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0x2c]
je 0x478e36
add eax, 0xffffffa6
push 0x40
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
push eax
push 0
push dword [ebp - 8]
push 0
push dword [esi + 0xa4]
call ebx
cmp byte [esi + 0xf3], 0
je 0x4790e5
push 1
push 0
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esi + 0xf3], 0
jmp 0x4790e5
push 5
push dword [esi + 0x8c]
call edi
push 5
push dword [esi + 0x90]
call edi
push 5
push dword [esi + 0x98]
call edi
mov eax, dword [esi + 4]
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call edi
mov eax, dword [esi + 4]
push 0x1b
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0xa4]
cmp ecx, eax
je 0x478edb
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x10]
push 0x214
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0
push ecx
call ebx
mov eax, dword [esi + 4]
push 0x1b
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push 0x214
push ecx
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 8]
push ecx
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0
push eax
call ebx
add dword [ebp - 0xc], 3
and dword [ebp - 0x10], 0
cmp byte [ebp - 2], 0
je 0x478f29
movzx ecx, byte [ebp - 1]
mov eax, dword [ebp - 0x2c]
neg ecx
sbb ecx, ecx
and ecx, 0x5a
sub eax, ecx
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x14]
push 0x214
push dword [ebp - 0x10]
push ecx
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push 0
push eax
call ebx
mov ecx, esi
call fcn.00476eca
xor eax, eax
cmp byte [0x4c61c7], al
sete al
dec eax
and eax, 0xffffffc0
sub eax, 0xffffff80
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x453
push dword [esi + 0x8c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x98]
cmp ecx, dword [esi + 4]
je 0x478fb8
movzx eax, byte [0x4c61cd]
mov edx, dword [ebp - 0xc]
neg eax
sbb eax, eax
or edx, 0x214
push edx
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
not eax
and eax, dword [ebp - 8]
sub edx, eax
push edx
push 0
push eax
push 0
push ecx
call ebx
mov eax, dword [esi + 0x98]
cmp eax, dword [esi + 4]
jne 0x478fdf
mov eax, dword [ebp - 0xc]
or eax, 0x214
push eax
push dword [ebp - 0x1c]
xor eax, eax
push dword [ebp - 0x20]
push eax
push eax
push eax
push dword [esi + 0x8c]
call ebx
mov eax, dword [0x4c621c]
cmp word [eax], 0
je 0x478ffd
mov eax, dword [esi + 0x98]
cmp eax, dword [esi + 4]
jne 0x479004
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jg 0x479004
mov dword [ebp - 0xc], 0x80
push dword [ebp - 0xc]
push dword [esi + 0x94]
call edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [esi + 0x98]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xb0], eax
cmp ecx, dword [esi + 4]
je 0x479079
mov ecx, esi
call fcn.004785fa
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x98]
shr eax, 7
not eax
and eax, 1
push eax
push 2
pop edx
call fcn.004564cc
call fcn.00460367
test al, al
jne 0x47909a
mov ecx, dword [esi + 0x98]
push 0
xor edx, edx
call fcn.004564bc
push eax
push 0x41f
push dword [esi + 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47909a
mov ecx, dword [ebp - 0xc]
or ecx, 0x214
push ecx
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x78
push eax
push 0
push dword [ebp - 0x18]
push 0
push dword [esi + 0x90]
call ebx
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x41d
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
or eax, 0x214
push eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x18]
push dword [ebp - 0x18]
sub eax, dword [ebp - 0x44]
push 0x78
inc eax
cdq
sub eax, edx
sar eax, 1
push eax
push dword [ebp - 0x48]
push 0
push dword [esi + 0x94]
call ebx
cmp byte [ebp - 1], 0
je 0x47912f
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x14]
push 0x210
push 0x5a
push eax
mov eax, dword [ebp - 0x2c]
add eax, 0xffffffa6
push eax
push dword [ebp - 0x14]
mov eax, dword [0x4c60bc]
mov eax, dword [eax + 0x14]
push 0
push dword [eax + 4]
call ebx
mov eax, dword [0x4c60bc]
mov eax, dword [eax + 0x14]
push 0x40008
push 0xc8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_AnimateWindow]
jmp 0x479146
mov eax, dword [0x4c60bc]
test eax, eax
je 0x479146
mov eax, dword [eax + 0x14]
test eax, eax
je 0x479146
push 0
push dword [eax + 4]
call edi
mov ecx, esi
call fcn.004773ae
mov ecx, esi
call fcn.0044dd57
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret