Function at 0x5373e4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov word [ebp - 0x5a], dx
mov esi, eax
mov byte [0x5c24fc], 1
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x537412
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x78], eax
jmp 0x537468
mov ecx, dword [0x5c2b78]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4d285c]
call fcn.004d8d90
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [ebp - 0x78]
call fcn.004dacf8
push 0xffffffffffffffec
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_SetWindowLongW
mov eax, esi
call fcn.0051eb24
lea eax, [ebp - 0x98]
push eax
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x30]
pop edx
call fcn.005334fc
mov dword [ebp - 0x1c], eax
push 0xcc0020
push 0
push 0
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x44]
call fcn.0045dbc4
call fcn.0045832c
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0045dbc4
call fcn.0045832c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x1c]
call fcn.0045dbc4
call fcn.0045733c
mov eax, dword [ebp - 0x1c]
call fcn.0045dbc4
call fcn.0045832c
mov edi, eax
push edi
call sub.gdi32.dll_SaveDC
mov ebx, eax
mov eax, esi
call fcn.0051e408
push eax
mov eax, esi
call fcn.0051e3bc
lea ecx, [ebp - 0xa0]
pop edx
call fcn.004332f8
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.004b0e58
lea eax, [ebp - 0x98]
xor edx, edx
call fcn.005830fc
push eax
lea eax, [ebp - 0x98]
xor edx, edx
call fcn.005830e8
push eax
push 0
push 0
push edi
call sub.gdi32.dll_IntersectClipRect
mov ecx, edi
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x1b0]
call fcn.0051bee8
cmp dword [esi + 0xb4], 0
je 0x5375fe
mov eax, esi
call fcn.0051e408
push eax
mov eax, esi
call fcn.0051e3bc
lea ecx, [ebp - 0xa0]
pop edx
call fcn.004332f8
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x98]
xor edx, edx
call fcn.005830e8
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x98]
xor edx, edx
call fcn.005830fc
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
push 0
lea edx, [ebp - 0x88]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.00556320
jmp 0x537633
push 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00433328
lea edx, [ebp - 0xb0]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.00556320
push ebx
push edi
call sub.gdi32.dll_RestoreDC
cmp dword [ebp - 0x1c], 0
je 0x537a22
mov eax, dword [ebp - 0x1c]
call fcn.0045dbc4
call fcn.00457440
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x68], eax
movzx eax, word [ebp - 0x5a]
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x64], 0x718
lea ecx, [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.004332f8
cmp dword [ebp - 0x10], 0
jle 0x537696
mov byte [ebp - 0x52], 0
jmp 0x53769d
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x51], 1
mov ebx, dword [esi + 0xb4]
test ebx, ebx
je 0x537725
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.00521adc
mov edi, dword [ebp - 0xac]
mov eax, ebx
call fcn.0056941c
add edi, eax
xor edx, edx
mov eax, esi
call fcn.0051dde0
sub edi, eax
xor ecx, ecx
mov edx, dword [esi + 0xb4]
mov eax, dword [esi + 0x4c]
call fcn.00569338
sub edi, eax
xor ecx, ecx
mov edx, dword [esi + 0xb4]
mov eax, dword [esi + 0x4c]
call fcn.00569338
push eax
mov eax, dword [esi + 0xb4]
call fcn.0056943c
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.00521adc
add ebx, dword [ebp - 0xb0]
mov dword [ebp - 0x60], ebx
jmp 0x53772c
xor edi, edi
xor eax, eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x84]
sub ecx, edi
mov edx, dword [ebp - 0x88]
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x78]
mov ebx, dword [eax]
call dword [ebx + 0x98]
push 0xffffffffffffffec
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x53778c
mov dl, 3
mov eax, dword [ebp - 0x78]
call fcn.004db118
or edi, 0xffffffff
jmp 0x537799
push 3
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_GetWindow
mov edi, eax
push 0
call sub.user32.dll_GetDC
mov ebx, eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_SetWindowLongW
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0045dbc4
call fcn.0045832c
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
mov eax, dword [0x5c2788]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x64]
or eax, 8
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x78]
call fcn.004d9980
push eax
mov eax, dword [ebp - 0x78]
call fcn.004d9960
push eax
push edi
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_SetWindowPos
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
call fcn.005334fc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00433328
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0045dbc4
call fcn.0045832c
xor ecx, ecx
pop edx
call fcn.0052e77c
push 3
mov eax, dword [ebp - 0x58]
call fcn.0045dbc4
call fcn.0045832c
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x537917
push ebp
call fcn.0053705c
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x537910
push ebp
call fcn.005371c8
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0045dbc4
call fcn.0045832c
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
mov eax, dword [0x5c2788]
mov eax, dword [eax]
call eax
push ebp
call fcn.00537388
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x53790b
push 0xc
call sub.kernel32.dll_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x5378b9
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
push 0
push 0
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_SetWindowRgn
mov edi, dword [ebp - 0x64]
or edi, 1
or edi, 2
push edi
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0045dbc4
call fcn.0045832c
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
mov eax, dword [0x5c2788]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x58]
call fcn.0041b7cc
push ebx
push 0
call sub.user32.dll_ReleaseDC
push 0
push 1
push 0xb
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_SendMessageW
mov byte [0x5c24fc], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x5379dc
mov byte [eax + 0x20], 1
push 0x581
push 0
push 0
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_RedrawWindow
xor edx, edx
mov eax, esi
call fcn.0051c404
mov eax, dword [esi + 0xb4]
mov byte [eax + 0x20], 0
jmp 0x5379ee
push 0x585
push 0
push 0
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_RedrawWindow
push edi
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [ebp - 0x78]
call fcn.004bb9cc
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x1c]
call fcn.0041b7cc
cmp dword [esi + 0xb4], 0
jne 0x537a22
lea eax, [ebp - 0x78]
call fcn.0041b7cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4