Function at 0x430280
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ef68
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 0x430473
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043ae10
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x43046e
mov ecx, dword [ebp - 0x88]
call fcn.0042d580
push eax
lea ecx, [ebp - 0x90]
call fcn.004315a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88]
call fcn.0042d580
push eax
lea ecx, [ebp - 0x8c]
call fcn.004315e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00419920
test eax, eax
je 0x4303a9
lea ecx, [ebp - 0x8c]
call fcn.00419920
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.00419920
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.00419920
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.00419920
test eax, eax
je 0x430428
lea ecx, [ebp - 0x90]
call fcn.00419920
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x104]
add ecx, 0x78
call fcn.00419920
push eax
lea ecx, [ebp - 0xfc]
call fcn.00419e90
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.00419920
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.00410040
push 2
mov ecx, dword [ebp - 0x104]
add ecx, 4
call fcn.004318b0
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.00410180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00410180
mov eax, dword [ebp - 0x100]
jmp 0x430b6c
jmp 0x430aba
cmp dword [ebp + 0xc], 3
jne 0x4305d8
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043ae10
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x4305cc
mov ecx, dword [ebp - 0x94]
call fcn.0042d580
push eax
lea ecx, [ebp - 0x98]
call fcn.004315a0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00419920
test eax, eax
je 0x4305ba
mov dword [ebp - 0x9c], 3
lea ecx, [ebp - 0x98]
call fcn.00419920
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 0x4305ba
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x98]
call fcn.00419920
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 0x4305ba
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.00459a90
mov edx, dword [ebp - 0x104]
cmp eax, dword [edx + 0xf8]
jle 0x4305a6
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.00410180
xor eax, eax
jmp 0x430b6c
cmp dword [ebp + 0xc], 4
jne 0x43070d
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043ae10
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x430701
mov ecx, dword [ebp - 0xb0]
call fcn.0042d580
push eax
lea ecx, [ebp - 0xb4]
call fcn.004315a0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00419920
test eax, eax
je 0x4306ef
mov dword [ebp - 0xb8], 3
lea ecx, [ebp - 0xb4]
call fcn.00419920
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 0x4306ef
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xb4]
call fcn.00419920
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 0x4306df
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.004318b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00410180
xor eax, eax
jmp 0x430b6c
cmp dword [ebp + 0xc], 5
jne 0x430928
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043ae10
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x43091c
mov ecx, dword [ebp - 0xc0]
call fcn.0042d580
push eax
lea ecx, [ebp - 0xc4]
call fcn.004315a0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xc4]
call fcn.00419920
test eax, eax
je 0x43090a
mov dword [ebp - 0xc8], 3
lea ecx, [ebp - 0xc4]
call fcn.00419920
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 0x43090a
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0xc4]
call fcn.00419920
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 0x43090a
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.00459a90
cmp eax, 5
jle 0x4308f6
mov ecx, dword [ebp - 0x104]
add ecx, 0x37c
call fcn.00405390
movzx edx, al
test edx, edx
jne 0x4308e6
lea ecx, [ebp - 0xd8]
call fcn.004053b0
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.00443940
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00419920
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 0x4308ca
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x104]
add ecx, 0x308
call fcn.00410910
push 5
mov ecx, dword [ebp - 0x104]
add ecx, 0x30c
call fcn.0040fab0
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.00443990
push 5
mov ecx, dword [ebp - 0x104]
add ecx, 4
call fcn.004318b0
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.00410180
xor eax, eax
jmp 0x430b6c
cmp dword [ebp + 0xc], 7
jne 0x4309d6
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 0x430976
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x13c]
sar edx, 1
mov dword [ebp - 0x144], edx
je 0x4309d1
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.00431880
jmp 0x430aba
cmp dword [ebp + 0xc], 8
jne 0x430aba
push 0x3e8
mov ecx, dword [ebp - 0x104]
add ecx, 0x20
call fcn.0043ae10
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x430ab3
mov ecx, dword [ebp - 0xec]
call fcn.0042d580
push eax
lea ecx, [ebp - 0xf0]
call fcn.004315e0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.00419920
test eax, eax
je 0x430aa1
xor ecx, ecx
mov word [ebp - 0xf4], cx
lea ecx, [ebp - 0xf0]
call fcn.00419920
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 0x430aa1
lea ecx, [ebp - 0xf0]
call fcn.00419920
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.00410180
xor eax, eax
jmp 0x430b6c
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x74], 0
jne 0x430ad8
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x39c], 1
jmp 0x430adf
xor eax, eax
jmp 0x430b6c
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 0x430b23
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x64
jge 0x430b50
mov ecx, dword [ebp - 0xf8]
movsx eax, byte [ebp + ecx - 0x84]
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 1
jne 0x430b4e
mov dword [ebp - 0x10], 0
jmp 0x430b14
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.0040fa00
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.004567ae
mov esp, ebp
pop ebp
ret 0x10