Function at 0x4303a0
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46eec8
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x487b30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
cmp dword [ebp + 0xc], 2
jne 0x430593
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043af70
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x43058e
mov ecx, dword [ebp - 0x88]
call fcn.0042d6a0
push eax
lea ecx, [ebp - 0x90]
call fcn.004316e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88]
call fcn.0042d6a0
push eax
lea ecx, [ebp - 0x8c]
call fcn.00431720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00419850
test eax, eax
je 0x4304c9
lea ecx, [ebp - 0x8c]
call fcn.00419850
mov dword [ebp - 0x108], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
call eax
lea ecx, [ebp - 0x8c]
call fcn.00419850
mov dword [ebp - 0x10c], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xa0]
call ecx
lea ecx, [ebp - 0x8c]
call fcn.00419850
mov dword [ebp - 0x110], eax
push 0
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x90]
call edx
lea ecx, [ebp - 0x90]
call fcn.00419850
test eax, eax
je 0x430548
lea ecx, [ebp - 0x90]
call fcn.00419850
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x104]
add ecx, 0x78
call fcn.00419850
push eax
lea ecx, [ebp - 0xfc]
call fcn.00419dc0
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
call fcn.00419850
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.0040ffd0
push 2
mov ecx, dword [ebp - 0x104]
add ecx, 4
call fcn.00431a10
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.004102f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004102f0
mov eax, dword [ebp - 0x100]
jmp 0x430c8c
jmp 0x430bda
cmp dword [ebp + 0xc], 3
jne 0x4306f8
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043af70
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x4306ec
mov ecx, dword [ebp - 0x94]
call fcn.0042d6a0
push eax
lea ecx, [ebp - 0x98]
call fcn.004316e0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00419850
test eax, eax
je 0x4306da
mov dword [ebp - 0x9c], 3
lea ecx, [ebp - 0x98]
call fcn.00419850
mov dword [ebp - 0x120], eax
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [ebp - 0x9c], 3
jne 0x4306da
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x98]
call fcn.00419850
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
call edx
cmp dword [ebp - 0xa0], 0
je 0x4306da
fldz
fstp qword [ebp - 0xac]
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [edx + 0x34]
call ecx
fld qword [ebp - 0xac]
call fcn.00459a40
mov edx, dword [ebp - 0x104]
cmp eax, dword [edx + 0xf8]
jle 0x4306c6
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.004102f0
xor eax, eax
jmp 0x430c8c
cmp dword [ebp + 0xc], 4
jne 0x43082d
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043af70
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x430821
mov ecx, dword [ebp - 0xb0]
call fcn.0042d6a0
push eax
lea ecx, [ebp - 0xb4]
call fcn.004316e0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00419850
test eax, eax
je 0x43080f
mov dword [ebp - 0xb8], 3
lea ecx, [ebp - 0xb4]
call fcn.00419850
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [ebp - 0xb8], 0xa
jne 0x43080f
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xb4]
call fcn.00419850
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
call edx
cmp dword [ebp - 0xbc], 0
je 0x4307ff
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [edx + 8]
call ecx
push 4
mov ecx, dword [ebp - 0x104]
add ecx, 4
call fcn.00431a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004102f0
xor eax, eax
jmp 0x430c8c
cmp dword [ebp + 0xc], 5
jne 0x430a48
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043af70
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x430a3c
mov ecx, dword [ebp - 0xc0]
call fcn.0042d6a0
push eax
lea ecx, [ebp - 0xc4]
call fcn.004316e0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xc4]
call fcn.00419850
test eax, eax
je 0x430a2a
mov dword [ebp - 0xc8], 3
lea ecx, [ebp - 0xc4]
call fcn.00419850
mov dword [ebp - 0x130], eax
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [ebp - 0xc8], 3
jne 0x430a2a
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0xc4]
call fcn.00419850
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
call edx
cmp dword [ebp - 0xcc], 0
je 0x430a2a
fldz
fstp qword [ebp - 0xd4]
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [edx + 0x34]
call ecx
fld qword [ebp - 0xd4]
call fcn.00459a40
cmp eax, 5
jle 0x430a16
mov ecx, dword [ebp - 0x104]
add ecx, 0x37c
call fcn.004052b0
movzx edx, al
test edx, edx
jne 0x430a06
lea ecx, [ebp - 0xd8]
call fcn.004052d0
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.Microsoft_Process__d
lea eax, [ebp - 0xd8]
push eax
call fcn.0040ed00
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00419850
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4309ea
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x104]
add ecx, 0x308
call fcn.00410840
push 5
mov ecx, dword [ebp - 0x104]
add ecx, 0x30c
call fcn.0040fa60
mov eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd8]
call fcn.00443840
push 5
mov ecx, dword [ebp - 0x104]
add ecx, 4
call fcn.00431a10
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004102f0
xor eax, eax
jmp 0x430c8c
cmp dword [ebp + 0xc], 7
jne 0x430af6
mov dword [ebp - 0xe8], 0
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0xe4]
push eax
push 0xa
push 0xffffffffffffffff
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
add edx, 2
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x138]
mov cx, word [eax]
mov word [ebp - 0x13e], cx
add dword [ebp - 0x138], 2
cmp word [ebp - 0x13e], 0
jne 0x430a96
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x13c]
sar edx, 1
mov dword [ebp - 0x144], edx
je 0x430af1
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x3a4], 1
push 0
push 0
push 0x12
mov ecx, dword [ebp - 0x104]
add ecx, 4
call fcn.004319e0
jmp 0x430bda
cmp dword [ebp + 0xc], 8
jne 0x430bda
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043af70
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x430bd3
mov ecx, dword [ebp - 0xec]
call fcn.0042d6a0
push eax
lea ecx, [ebp - 0xf0]
call fcn.00431720
mov dword [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.00419850
test eax, eax
je 0x430bc1
xor ecx, ecx
mov word [ebp - 0xf4], cx
lea ecx, [ebp - 0xf0]
call fcn.00419850
mov dword [ebp - 0x148], eax
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
movsx ecx, word [ebp - 0xf4]
cmp ecx, 0xffffffff
jne 0x430bc1
lea ecx, [ebp - 0xf0]
call fcn.00419850
mov dword [ebp - 0x14c], eax
push 0
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004102f0
xor eax, eax
jmp 0x430c8c
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x74], 0
jne 0x430bf8
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x39c], 1
jmp 0x430bff
xor eax, eax
jmp 0x430c8c
mov edx, dword [ebp - 0x104]
mov dword [edx + 0x39c], 1
mov ecx, 0x1c
mov esi, str.1234567890qwertyuioplidmshyftssnnxbsg1234567890qwertyuioplidmshyftssnnxbsg1234567890qwertyuioplidmshyftssnnxbsg
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xf8], 0
jmp 0x430c43
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x64
jge 0x430c70
mov ecx, dword [ebp - 0xf8]
movsx eax, byte [ebp + ecx - 0x84]
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 1
jne 0x430c6e
mov dword [ebp - 0x10], 0
jmp 0x430c34
push 0x40
push str.http:__www.password_protect_video.com
push str.Password_Protect_Video_Master_Trail_Version
mov ecx, dword [ebp - 0x104]
add ecx, 4
call fcn.0040f9b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045670b
mov esp, ebp
pop ebp
ret 0x10