Function at 0x4997c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc954
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x90], eax
xor ebx, ebx
lea esi, [eax + 0x200]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x8c], esi
lea edi, [ebx + 0x1e]
lea ebx, [ebx]
mov eax, dword [esi - 0x80]
push 0x5e1af8
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi - 0x80]
push 0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi]
push 0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi]
push 0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [esi + 4]
sub edi, 1
jne 0x499810
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [ebp - 0x88], ecx
mov ecx, dword [0x6d1f48]
sub ecx, dword [0x6d1f44]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x499bb2
xor esi, esi
mov dword [ebp - 0x84], esi
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x5e1af8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00445cb0
mov dword [ebp - 4], 0
add esi, dword [0x6d1f44]
mov byte [ebp - 4], 1
lea edi, [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
or ebx, 1
mov eax, dword [edi]
add eax, 2
mov dword [ebp - 0x80], ebx
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x98], ebx
call fcn.0044c830
cmp dword [esi + 0x14], 8
jb 0x4998f3
mov esi, dword [esi]
push dword [edi]
lea ecx, [ebp - 0x40]
push esi
call fcn.00448340
push 2
push 0x5f120c
lea ecx, [ebp - 0x40]
call fcn.00448340
mov edi, dword [0x6d1f28]
mov ebx, dword [ebp - 0x84]
add ebx, dword [0x6d1f44]
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x499967
jmp 0x499930
lea ecx, [esi + 0x10]
mov edx, ebx
call fcn.0044b1d0
test al, al
je 0x499943
mov esi, dword [esi + 8]
jmp 0x499947
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x499930
mov esi, dword [0x6d1f28]
cmp edi, esi
je 0x49996d
lea edx, [edi + 0x10]
mov ecx, ebx
call fcn.0044b1d0
test al, al
jne 0x49996d
jmp 0x49996f
mov esi, dword [0x6d1f28]
mov edi, esi
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
jb 0x49997b
mov eax, dword [edi + 0x28]
push dword [edi + 0x38]
lea ecx, [ebp - 0x40]
push eax
call fcn.00448340
mov ecx, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ecx]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov eax, dword [ebp - 0x80]
or eax, 2
mov dword [ebp - 0x7c], eax
push 1
push 0x5f1208
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00448340
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x94], ecx
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x98]
or eax, 6
mov dword [ebp - 0x80], eax
call fcn.00445c30
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
cmp edx, 8
jb 0x499a8f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x499a85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d5c
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ebx, dword [ebp - 0x80]
xor eax, eax
mov byte [ebp - 4], al
and ebx, 0xfffffffe
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x499ae6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x499adc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d5c
push edx
push ecx
call fcn.0056eec5
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x8c]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [edi - 0x80]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi - 0x80]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [eax + 8]
call esi
mov eax, dword [edi]
push 1
push dword [eax + 8]
call esi
mov eax, dword [edi]
push 1
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x499b6b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x499b61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d5c
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ecx, dword [0x6d1f48]
mov eax, 0x2aaaaaab
sub ecx, dword [0x6d1f44]
add edi, 4
mov esi, dword [ebp - 0x84]
inc dword [ebp - 0x88]
add esi, 0x18
imul ecx
mov dword [ebp - 0x8c], edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x84], esi
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x88], eax
jb 0x499884
push 0
lea eax, [ebp - 0x78]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x90]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x68]
mov ecx, dword [0x6d1f48]
sub ecx, dword [0x6d1f44]
movzx esi, ax
mov eax, 0x2aaaaaab
imul ecx
push 0x40
sar edx, 2
mov eax, edx
movsx ecx, si
shr eax, 0x1f
sub ebx, ecx
add eax, edx
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [eax + eax*2]
add eax, 0xf
shl eax, 3
movzx eax, ax
movsx edi, ax
mov eax, dword [ebp - 0x6c]
push edi
push ecx
sub eax, edi
push eax
push ebx
mov ebx, dword [ebp - 0x90]
push 0
push dword [ebx + 0x10]
call esi
push 0x201
push 0x1e
push 0x78
lea eax, [edi - 0x28]
push eax
mov eax, dword [ebx + 0x1fc]
push 0x41
push 0
push dword [eax + 8]
call esi
call fcn.0051e130
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x499c5b
mov esi, dword [esi]
sub esp, 8
lea ecx, [ebp - 0x150]
call fcn.00442390
mov dword [ebp - 4], 3
call fcn.004387d0
push str.sessnotification_txt_header
push esi
mov ecx, eax
call fcn.00519610
mov edx, eax
lea ecx, [ebp - 0x140]
call fcn.0044a500
mov ecx, dword [0x6d1f48]
mov eax, 0x2aaaaaab
sub ecx, dword [0x6d1f44]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x5e3480
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.0044a500
add esp, 4
mov ecx, eax
call fcn.00442ba0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.004466f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebx + 0x17c]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x499d28
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x499d1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499d5c
push edx
push ecx
call fcn.0056eec5
add esp, 8
push 1
push 0
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x150]
call fcn.0043ae30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3