joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4720f4
Capabilities:
Get file system object information

Disassembly:
push 0x2cc
mov eax, 0x494eba
call fcn.00492097
mov ebx, ecx
mov ecx, edi
mov dword [ebp - 0x2cc], edi
call dword [0x4a2ef4]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov eax, dword [ebx]
call fcn.00417d00
test eax, eax
je 0x472140
mov byte [edi + 4], 1
mov eax, dword [ebx]
push esi
push eax
call fcn.0045af04
pop ecx
pop ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
jmp 0x47216d
mov byte [edi + 4], 0
push dword [ebx]
call fcn.0045ab2d
pop ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
push dword [ebx]
lea esi, [ebp - 0x2d8]
call fcn.0045b00d
pop ecx
mov ecx, dword [eax]
mov dword [edi + 0x18], ecx
mov eax, dword [eax + 4]
mov dword [edi + 0x1c], eax
xor esi, esi
push ebx
mov ecx, edi
call dword [0x4a2ea0]
mov ebx, dword [ebx]
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4721a0
mov eax, dword [ebp - 0x2c4]
mov dword [edi + 8], eax
jmp 0x4721a4
or dword [edi + 8], 0xffffffff
mov eax, edi
call fcn.0049211a
ret

Function at 0x474346
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4d4028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x4401
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x474395
lea ecx, [ebp + 8]
call dword [0x4a2ee8]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00490f79
leave
ret 4
mov bl, 1
jmp 0x47437b
Function at 0x47aa1a
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4d4028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
or esi, 0xffffffff
cmp dword [ecx + 0x11c], 0
jne 0x47aa42
mov esi, dword [ebp + 8]
jmp 0x47aa68
push 0xc009
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47aa68
mov esi, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00490f79
leave
ret 8
Function at 0x47aae9
Capabilities:
Get file system object information

Disassembly:
push 0x594
mov eax, 0x49c443
call fcn.00492097
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x588], eax
lea eax, [edi + 0xf8]
xor ebx, ebx
cmp byte [eax], bl
jne 0x47ab77
push ebx
push 0x40
push ebx
mov ecx, edi
mov byte [eax], 1
call fcn.004900ae
call fcn.004900d8
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x584]
call fcn.0047cfb8
mov eax, dword [eax]
push 0x4001
push 0x2b4
lea ecx, [ebp - 0x580]
push ecx
push ebx
push eax
call esi
lea ecx, [ebp - 0x584]
mov dword [ebp - 0x598], eax
call dword [0x4a2ee8]
push dword [ebp - 0x598]
call fcn.00490930
push edi
call fcn.004721ac
push dword [ebp - 0x588]
lea ecx, [ebp - 0x58c]
call dword [0x4a2ed8]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x58c]
cmp dword [eax - 0xc], ebx
jne 0x47abca
call fcn.004900d8
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x598]
call fcn.0047cfb8
push eax
lea ecx, [ebp - 0x58c]
mov byte [ebp - 4], 1
call dword [0x4a2ea0]
lea ecx, [ebp - 0x598]
mov byte [ebp - 4], bl
call dword [0x4a2ee8]
push 0x4401
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push ebx
push dword [ebp - 0x58c]
call esi
mov eax, edi
call fcn.00417970
push ebx
push dword [ebp - 0x2c4]
mov esi, eax
push ebx
push ebx
push dword [ebp - 0x59c]
mov ecx, edi
push esi
push 3
mov dword [ebp - 0x584], esi
call fcn.0049009c
lea eax, [ebp - 0xb4]
push eax
push 2
push esi
mov ecx, edi
call fcn.004900ba
push dword [ebp - 0x588]
lea eax, [ebp - 0x590]
call fcn.0045aeda
pop ecx
mov eax, dword [ebp - 0x588]
mov byte [ebp - 4], 2
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x47ac3c
sub eax, ecx
sar eax, 1
jne 0x47ac5d
push 0x4a4090
lea ecx, [ebp - 0x590]
call dword [0x4a2d8c]
push dword [ebp - 0x590]
mov ecx, edi
push 1
push esi
call fcn.004900ba
lea ecx, [ebp - 0x594]
call dword [0x4a2ef4]
push dword [ebp - 0x588]
lea esi, [ebp - 0x5a0]
mov byte [ebp - 4], 3
call fcn.0045b00d
pop ecx
push eax
push 0x2b
pop ecx
lea esi, [ebp - 0x594]
call fcn.0042a1c0
push dword [ebp - 0x594]
mov ecx, edi
push 3
push dword [ebp - 0x584]
call fcn.004900ba
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x584]
push edi
call fcn.0044c240
cmp dword [ebp + 0x14], 4
je 0x47acce
cmp dword [ebp + 0x14], 3
jne 0x47acdf
push 4
push 4
push dword [ebp - 0x584]
mov ecx, edi
call fcn.00490318
lea ecx, [ebp - 0x594]
call dword [0x4a2ee8]
lea ecx, [ebp - 0x590]
call dword [0x4a2ee8]
lea ecx, [ebp - 0x58c]
call dword [0x4a2ee8]
xor eax, eax
inc eax
call fcn.0049211a
ret 0x10
Function at 0x47b60e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x220], ebx
jne 0x47b623
xor eax, eax
inc eax
jmp 0x47b728
push ebp
mov ebp, dword [esp + 0x10]
cmp ebp, ebx
push edi
je 0x47b71e
cmp dword [esi + 0x21c], ebx
je 0x47b65d
lea edi, [esi + 0x2a0]
cmp byte [edi], bl
jne 0x47b65d
call fcn.0047d31b
cmp eax, ebx
je 0x47b65d
mov byte [edi], 1
push dword [eax + 0x20]
lea ecx, [esi + 0xa4]
call fcn.00485892
mov eax, dword [ebp + 4]
cmp eax, dword [0x7f5618]
jne 0x47b6a1
cmp byte [0x7f5587], bl
jne 0x47b6a1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x7f561c]
cmp eax, 0x3e8
jbe 0x47b692
cmp byte [0x7f5587], bl
jne 0x47b692
call fcn.0047baf6
call edi
mov dword [0x7f561c], eax
xor eax, eax
inc eax
jmp 0x47b726
cmp dword [esi + 0x26c], ebx
je 0x47b6f5
cmp eax, 0x112
jne 0x47b6f5
mov ecx, dword [ebp + 8]
and ecx, 0xfff0
cmp ecx, 0xf120
jne 0x47b6f5
call fcn.0047d31b
cmp eax, ebx
je 0x47b6d3
push 9
mov ecx, eax
call fcn.0049015c
mov eax, dword [esi + 0x26c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47b71e
mov ecx, dword [esi + 0x26c]
push 9
call fcn.0049015c
jmp 0x47b71e
cmp eax, 0x100
jne 0x47b71e
cmp dword [ebp + 8], 0x74
jne 0x47b71e
cmp dword [esi + 0x214], ebx
je 0x47b71e
push ebx
push 7
push 0x219
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
mov ecx, esi
call fcn.00490a0e
pop edi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x47c04e
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x492985
call fcn.0049202e
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
add eax, 0x264
push eax
mov ecx, edi
call dword [0x4a2ec0]
mov dword [ebp - 4], esi
inc esi
push str..chm
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], esi
call dword [0x4a2ed8]
push edi
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0046bb74
pop ecx
lea ecx, [ebp + 8]
call dword [0x4a2ee8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c0b5
mov ecx, edi
call dword [0x4a2db4]
mov eax, edi
call fcn.00492106
ret 8

Function at 0x47c0bf
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x492985
call fcn.0049202e
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
add eax, 0x264
push eax
mov ecx, edi
call dword [0x4a2ec0]
mov dword [ebp - 4], esi
inc esi
push str..pdf
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], esi
call dword [0x4a2ed8]
push edi
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0046bb74
pop ecx
lea ecx, [ebp + 8]
call dword [0x4a2ee8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c126
mov ecx, edi
call dword [0x4a2db4]
mov eax, edi
call fcn.00492106
ret 8
Function at 0x47cd57
Capabilities:
Check os version

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
lea eax, [edi + 0x230]
push eax
mov ecx, edi
call fcn.004909f0
mov eax, dword [0x7f61a0]
xor ebx, ebx
cmp eax, ebx
je 0x47cd8c
push 0xa28
add eax, 4
push ebx
push eax
call fcn.00491fe0
mov eax, dword [0x7f61a0]
add esp, 0xc
mov ecx, dword [0x4a3184]
xor ebp, ebp
cmp dword [ecx], ebx
jle 0x47cebe
jmp 0x47cda3
mov eax, dword [0x7f61a0]
cmp eax, ebx
mov ecx, dword [0x4a3188]
mov ecx, dword [ecx]
mov esi, dword [ecx + ebp*4]
je 0x47cddd
cmp ebp, 5
jge 0x47cddd
mov ecx, ebp
imul ecx, ecx, 0x208
lea ebx, [ecx + eax]
push 0x104
lea eax, [ebx + 4]
push esi
push eax
call dword [0x4a3174]
add esp, 0xc
and word [ebx + 0x20a], 0
push esi
xor eax, eax
push ebp
push str.cmdline_para__d____s_n
inc eax
mov ecx, 0x7f6050
call fcn.004012c0
add esp, 0xc
test ebp, ebp
jle 0x47ceae
lea eax, [edi + 0x288]
call fcn.0042c720
test eax, eax
je 0x47ce6b
cmp ebp, 1
jne 0x47ce17
or dword [edi + 0x298], 0xffffffff
cmp dword [edi + 0x298], 0xffffffff
jne 0x47ce6b
test esi, esi
je 0x47ce6b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x47ce29
sub eax, edx
sar eax, 1
cmp eax, 3
jb 0x47ce6b
cmp word [esi], 0x2f
jne 0x47ce6b
cmp word [esi + 2], 0x66
jne 0x47ce6b
lea eax, [esi + 4]
push eax
call dword [0x4a30c8]
test eax, eax
pop ecx
jl 0x47ce6b
push esi
lea ecx, [edi + 0x29c]
mov dword [edi + 0x298], eax
call dword [0x4a2d8c]
movzx eax, word [esi]
cmp ax, 0x2d
je 0x47ce7a
cmp ax, 0x2f
jne 0x47ceae
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
inc esi
push str.RegServer
inc esi
push esi
call ebx
test eax, eax
jne 0x47ce98
mov dword [edi + 0x254], 1
push str.Unregserver
push esi
call ebx
test eax, eax
jne 0x47ceae
mov dword [edi + 0x258], 1
mov eax, dword [0x4a3184]
inc ebp
xor ebx, ebx
cmp ebp, dword [eax]
jl 0x47cd9e
cmp dword [edi + 0x254], ebx
jne 0x47cece
cmp dword [edi + 0x258], ebx
je 0x47ced4
mov dword [edi + 0x234], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x47cf0d
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
je 0x47cf0d
xor eax, eax
push str.Running_in_a_Terminal_Services_remote_client_session_n
inc eax
mov ecx, 0x7f6050
call fcn.004012c0
pop ecx
mov dword [edi + 0x234], ebx
cmp dword [edi + 0x210], ebx
je 0x47cf2e
xor eax, eax
push str.Running_under_debugger_control_n
inc eax
mov ecx, 0x7f6050
call fcn.004012c0
pop ecx
mov dword [edi + 0x234], ebx
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x47d1c0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x47d1d1
push 0x4b2a00
jmp 0x47d25f
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x47d1d4
sub eax, ecx
sar eax, 1
push ebp
lea ebp, [esi + eax*2]
mov eax, ebp
sub eax, esi
and eax, 0xfffffffe
cmp eax, 0x7d0
jle 0x47d259
push ebx
push edi
jmp 0x47d1fa
inc esi
inc esi
cmp word [esi], 0xd
je 0x47d1f8
push 0x4a7f18
push esi
call dword [0x4a3160]
pop ecx
pop ecx
mov ecx, 0x3e8
cmp eax, ecx
jbe 0x47d219
mov eax, ecx
test eax, eax
je 0x47d247
lea edi, [esi + eax*2]
movzx ebx, word [edi]
and word [edi], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x4a6a78
call esi
cmp bx, 0xa
mov word [edi], bx
mov esi, edi
jne 0x47d249
lea esi, [edi + 2]
jmp 0x47d249
inc esi
inc esi
mov eax, ebp
sub eax, esi
and eax, 0xfffffffe
cmp eax, 0x7d0
jg 0x47d1fa
pop edi
pop ebx
cmp ebp, esi
pop ebp
jbe 0x47d265
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret

Function at 0x47d3f6
Capabilities:
Terminate thread

Disassembly:
push 0x1c
mov eax, 0x49c3f8
call fcn.0049202e
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebx], vtable.EMF::TaskManager.0
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x47d45d
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x47d454
mov eax, ebx
call fcn.0047d76e
push 0x3e8
push ebx
call fcn.0047db61
test eax, eax
je 0x47d454
push 0x2a
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ebx + 0x28]
lea esi, [ebp - 0x20]
call fcn.0045222e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x47d495
lea esi, [ebp - 0x14]
call fcn.0048023d
mov ecx, dword [eax]
test ecx, ecx
je 0x47d48a
mov eax, dword [ecx]
push 1
call dword [eax + 0x24]
lea edi, [ebp - 0x28]
lea esi, [ebp - 0x14]
call fcn.00463b0a
lea esi, [ebp - 0x20]
lea edi, [ebx + 0x28]
call fcn.0047ddab
mov edi, eax
lea esi, [ebp - 0x14]
call fcn.004523b7
test al, al
jne 0x47d475
lea ecx, [ebx + 0x44]
call dword [0x4a2ee8]
mov eax, dword [ebx + 0x2c]
xor esi, esi
cmp eax, esi
je 0x47d4c7
push eax
call fcn.0048fec8
pop ecx
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
lea esi, [ebx + 0x14]
call fcn.00452f3a
lea esi, [ebx + 4]
call fcn.00461be6
call fcn.00492106
ret
Function at 0x47e9ba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x28
mov eax, 0x49c332
call fcn.0049202e
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call dword [0x4a2ec0]
and dword [ebp - 4], 0
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x47ea08
push 0xd
mov ebx, str..EMFDvdTools.cpp
mov edi, 0x80070057
call fcn.0041e240
lea ecx, [ebp - 0x14]
call dword [0x4a2ee8]
mov eax, edi
call fcn.00492106
ret
push dword [ebp - 0x14]
call esi
shr eax, 4
not eax
test al, 1
je 0x47ea28
lea eax, [ebp - 0x14]
push eax
call fcn.0046bb48
test al, al
pop ecx
jne 0x47ea28
push 0x13
jmp 0x47e9e8
lea eax, [ebp - 0x14]
push eax
call fcn.0046baa6
pop ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045b4c2
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [0x4a2ea0]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call dword [0x4a2ee8]
lea ecx, [ebp - 0x34]
call fcn.004902ac
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov esi, str..ifo
push eax
mov edi, esi
mov byte [ebp - 4], 2
call fcn.0040a1d0
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x34]
call fcn.004902c4
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
mov byte [ebp - 4], 2
call dword [0x4a2ee8]
test bl, bl
je 0x47ebaa
lea edi, [ebp - 0x14]
call fcn.0047ec02
test al, al
je 0x47ead9
push 0x20
mov ebx, str..EMFDvdTools.cpp
mov edi, 0x80070057
call fcn.0041e240
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004902b2
jmp 0x47e9f7
lea edi, [ebp - 0x14]
call fcn.0047ec93
test al, al
je 0x47eae9
push 0x24
jmp 0x47eab9
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call dword [0x4a2ec0]
push str.video_ts_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call dword [0x4a2ed8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0046baf7
mov bl, al
neg bl
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
mov byte [ebp - 4], 4
call dword [0x4a2ee8]
test bl, bl
je 0x47eb51
push 0x2c
mov ebx, str..EMFDvdTools.cpp
mov edi, 0x80070057
call fcn.0041e240
lea ecx, [ebp - 0x18]
call dword [0x4a2ee8]
jmp 0x47eac8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov edi, esi
call fcn.0040a1d0
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x34]
call fcn.004902c4
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
mov byte [ebp - 4], 4
call dword [0x4a2ee8]
test bl, bl
je 0x47eb90
push 0x32
jmp 0x47eb34
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [0x4a2ea0]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [0x4a2ee8]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov edi, str.video_ts.ifo
call fcn.0040a1d0
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov eax, dword [eax]
xor edi, edi
push edi
push eax
lea ecx, [ebp - 0x34]
call fcn.004902c4
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
mov byte [ebp - 4], 2
call dword [0x4a2ee8]
test bl, bl
je 0x47ebf0
push 0x47
jmp 0x47eab9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [0x4a2ea0]
jmp 0x47eac8
Function at 0x47ec02
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 4
mov eax, 0x499224
call fcn.0049202e
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x47ec25
xor al, al
call fcn.00492106
ret
push edi
lea ecx, [ebp - 0x10]
call dword [0x4a2ec0]
and dword [ebp - 4], 0
push dword [edi]
call esi
shr eax, 4
not eax
mov bl, 1
test bl, al
lea eax, [ebp - 0x10]
push eax
je 0x47ec5b
call fcn.0046bb48
test al, al
pop ecx
jne 0x47ec61
lea ecx, [ebp - 0x10]
call dword [0x4a2ee8]
jmp 0x47ec1d
call fcn.0046bb25
pop ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, 0xb
jge 0x47ec7b
xor bl, bl
lea ecx, [ebp - 0x10]
call dword [0x4a2ee8]
mov al, bl
jmp 0x47ec1f
lea eax, [ecx + eax*2 - 0x12]
push str._video_ts
push eax
call dword [0x4a3120]
test eax, eax
pop ecx
pop ecx
je 0x47ec6e
jmp 0x47ec6c

Function at 0x47ec93
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 4
mov eax, 0x499224
call fcn.0049202e
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
jne 0x47ecb6
xor al, al
call fcn.00492106
ret
push edi
lea ecx, [ebp - 0x10]
call dword [0x4a2ec0]
and dword [ebp - 4], 0
push dword [edi]
call esi
shr eax, 4
not eax
mov bl, 1
test bl, al
lea eax, [ebp - 0x10]
push eax
je 0x47ecec
call fcn.0046bb48
test al, al
pop ecx
jne 0x47ecf2
lea ecx, [ebp - 0x10]
call dword [0x4a2ee8]
jmp 0x47ecae
call fcn.0046bb25
pop ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, 0xb
jge 0x47ed0c
xor bl, bl
lea ecx, [ebp - 0x10]
call dword [0x4a2ee8]
mov al, bl
jmp 0x47ecb0
lea eax, [ecx + eax*2 - 0x12]
push str.dvd_rtav
push eax
call dword [0x4a3120]
test eax, eax
pop ecx
pop ecx
je 0x47ecff
jmp 0x47ecfd
Function at 0x486a67
Capabilities:
Log keystrokes

Disassembly:
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x486af5
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ecx + 0x50]
call edi
call fcn.004900d8
mov ecx, dword [esi]
mov eax, dword [eax + 4]
xor ebp, ebp
inc ebp
push ebp
push dword [ecx + 0x30]
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.0047d31b
mov ebx, eax
test ebx, ebx
je 0x486ab8
mov ecx, ebx
call fcn.0048ffbe
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x486ad8
push 0
mov dword [eax + 0x54], ebp
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
push 0
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x2c]
call edi
mov ecx, dword [esi]
test ecx, ecx
je 0x486aed
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
and dword [esi], 0
pop edi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x487ea6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.004907a4
test eax, eax
je 0x487f2e
push 0xffffffffffffffff
push dword [ebp + 0x10]
call fcn.004907a4
test eax, eax
jne 0x487ecb
cmp dword [ebp + 0x10], eax
jne 0x487f2e
push 0xffffffffffffffff
push dword [ebp + 0x14]
call fcn.004907a4
test eax, eax
je 0x487f2e
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x487ef4
mov eax, 0x80004005
leave
ret
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 4]
je 0x487f24
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x487eed
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret
mov eax, 0x80070057
leave
ret

Function at 0x487f35
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.004907a4
test eax, eax
je 0x487fa4
push 0xffffffffffffffff
push dword [ebp + 0x10]
call fcn.004907a4
test eax, eax
jne 0x487f5a
cmp dword [ebp + 0x10], eax
jne 0x487fa4
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x487f75
mov eax, 0x80004005
leave
ret
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 4]
je 0x487f9a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x487f6e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret
mov eax, 0x80070057
leave
ret
Function at 0x4880c3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x49a265
call fcn.0049202e
push 0xffffffffffffffff
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x14], edi
call fcn.004907a4
test eax, eax
je 0x488205
push 0xffffffffffffffff
push dword [ebp + 0x10]
call fcn.004907a4
test eax, eax
je 0x488205
cmp dword [ebp + 0x14], edi
je 0x488205
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
je 0x48815e
lea eax, [ebp - 0x1c]
push eax
call fcn.0048833f
pop ecx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
mov ecx, 0x7f6050
push dword [eax]
mov eax, SysReAllocString
push str.CEMFRegistry::GetEntry__s___s___s__RegOpenKeyEx____lu_n
call fcn.004012c0
lea ecx, [ebp - 0x1c]
add esp, 0x14
call dword [0x4a2ee8]
mov eax, 0x80004005
jmp 0x48820a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x18], 1
je 0x48818d
cmp dword [ebp - 0x18], 2
je 0x48818d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x488154
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
shr eax, 1
push eax
call dword [0x4a2bd0]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ebx, eax
call dword [0x4a2bcc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
je 0x488201
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0048833f
pop ecx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
mov ecx, 0x7f6050
push dword [eax]
mov eax, SysReAllocString
push str.CEMFRegistry::GetEntry__s___s___s__RegQueryValueEx____lu_n
call fcn.004012c0
lea ecx, [ebp - 0x20]
jmp 0x48814b
xor eax, eax
jmp 0x48820a
mov eax, 0x80070057
call fcn.00492106
ret