joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003972
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x1011c710]
mov ecx, dword [ebp + 0x9c]
push esi
mov esi, dword [ebp + 0xa0]
push edi
lea edx, [ebp - 0x7c]
push edx
push 1
xor eax, ebp
push 0
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x100039e4
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x8c]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100ac33f
add ebp, 0x90
leave
ret

Function at 0x100039fd
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x1011c710]
xor eax, ebp
push ebx
mov dword [ebp + 0x1e0], eax
mov eax, dword [ebp + 0x1ec]
push esi
push edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
push str..htm
mov edi, 0x80000000
push edi
call fcn.10003972
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x10003b0a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea eax, [ebp - 0x28]
push eax
call esi
lea eax, [ebp - 0x28]
push eax
push eax
push edi
call fcn.10003972
add esp, 0xc
test eax, eax
jne 0x10003b0a
lea eax, [ebp - 0x28]
push str.__1_
push eax
call fcn.100ac4d5
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x10003aa8
lea eax, [ebp - 0x28]
push 0x100e2ef4
push eax
call fcn.100ad320
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x10003aa8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x29]
jmp 0x10003aaa
mov byte [edi], bl
push 0x100e2ef0
push edi
call esi
push dword [ebp - 0x2c]
push edi
call esi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.100ab720
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x80], esi
call fcn.100ab720
add esp, 0x18
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10003b0a
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
xor eax, eax
inc eax
jmp 0x10003b2a
push dword [ebp + 0x1f0]
push ebx
push ebx
push dword [ebp - 0x2c]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x1e0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
add ebp, 0x1e4
leave
ret
Function at 0x10005c98
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100d564e
call fcn.100ac440
sub esp, 0x4d8
mov eax, dword [0x1011c710]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x100e2d52
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10001f92
push dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push 0x100e2d0c
push eax
call fcn.100acf5b
add esp, 0xc
lea eax, [ebp - 0x4dc]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0xd8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005d6e
mov byte [ebp - 0x4d8], bl
mov ecx, 0xff
lea edi, [ebp - 0x4d7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4e0]
push eax
push ebx
push str.playflash
push dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], ebx
mov dword [ebp - 0x4e4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005d62
lea eax, [ebp - 0x4d8]
push eax
mov ecx, esi
call fcn.10001f92
inc ebx
push dword [ebp - 0x4dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 0xc
Function at 0x10005e9e
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x100d5668
call fcn.100ac440
push ecx
push ecx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
push 0x100e2d52
lea ecx, [ebp - 0x10]
mov byte [esi + 0x2c], 0
call fcn.1000223a
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.PlayFlashDll
call fcn.1000223a
push 0x80000000
mov ecx, esi
call fcn.10005c98
test eax, eax
jne 0x10005f1c
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.10005aaa
push dword [eax]
lea eax, [ebp - 0x10]
push str._sFlashPlayDll.dll
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001199
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x30], eax
je 0x10005fa5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitFlashDLL
push eax
call edi
push str.PlayFile
push dword [esi + 0x30]
mov dword [esi + 8], eax
call edi
push str.PlayFile1
push dword [esi + 0x30]
mov dword [esi + 0xc], eax
call edi
push str.PlayFile2
push dword [esi + 0x30]
mov dword [esi + 0x10], eax
call edi
push str.StopPlay
push dword [esi + 0x30]
mov dword [esi + 0x14], eax
call edi
push str.Exit
push dword [esi + 0x30]
mov dword [esi + 0x18], eax
call edi
push str.DllWndMsg
push dword [esi + 0x30]
mov dword [esi + 0x1c], eax
call edi
push str.DllMoveWindow
push dword [esi + 0x30]
mov dword [esi + 0x20], eax
call edi
push str.DllOnCmdMsg
push dword [esi + 0x30]
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
call fcn.100cd841
mov eax, dword [eax + 4]
push dword [eax + 0x40]
mov ecx, esi
call fcn.10005be7
test al, al
je 0x10005fbf
mov byte [esi + 0x2c], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x10005fd8
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100d5682
call fcn.100ac440
push ecx
push ecx
mov eax, dword [0x1011e1a0]
test eax, eax
push esi
jne 0x10006016
push 0x34
call fcn.100c6c05
test eax, eax
pop ecx
je 0x10006003
mov ecx, eax
call fcn.100059b3
jmp 0x10006005
xor eax, eax
mov ecx, eax
mov dword [0x1011e1a0], eax
call fcn.10005e9e
mov eax, dword [0x1011e1a0]
cmp dword [eax + 0x10], 0
je 0x100060f3
mov esi, dword [ebp + 8]
test esi, esi
je 0x100060f3
cmp byte [eax + 0x2c], 0
je 0x100060f3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000609a
push dword [ebp + 0x10]
mov eax, dword [0x1011e1a0]
push dword [ebp + 0xc]
push esi
call dword [eax + 0x10]
test al, al
jne 0x10006079
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str.FUN_WS_LoadFile1__failed.
push eax
call fcn.10001d75
jmp 0x100060c3
push 0x10005a5d
push 0x2bf20
push 0x64
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x1011e1a0]
mov dword [ecx + 4], eax
mov al, 1
jmp 0x100060f5
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push str.File__s__is_not_exist.
push eax
mov dword [ebp - 4], 1
call fcn.10001d75
pop ecx
pop ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.1000174b
mov ecx, dword [0x1011e1a0]
call fcn.10005bc3
mov ecx, dword [0x1011e1a0]
call fcn.10005a82
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x1000645d
Capabilities:
Print debug messages
Terminate thread

Disassembly:
mov eax, 0x100d56a6
call fcn.100ac440
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.1000610a
mov edi, dword [ebp + 0xc]
cmp edi, ebx
mov dword [ebp - 4], ebx
jg 0x1000648e
mov edi, 0x5fffffff
mov ecx, esi
call fcn.1000613c
test eax, eax
je 0x10006535
cmp dword [ebp + 8], ebx
je 0x100064ab
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x64
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub edi, 0x64
cmp eax, 0x102
jne 0x10006535
cmp edi, ebx
jg 0x1000648e
cmp dword [esi + 0x24], ebx
je 0x1000653c
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push dword [esi + 4]
lea eax, [ebp + 8]
push 0x100e3334
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
mov edi, dword [ebp + 8]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [edi - 0x10]
call fcn.10001199
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x10006516
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 0x18]
push 0xfffffffffffffff4
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov dword [ebp - 0x10], 1
mov eax, dword [esi + 0x24]
cmp eax, ebx
mov dword [esi + 0x2c], ebx
je 0x10006550
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], ebx
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x10006521
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
jmp 0x10006521
Function at 0x10006763
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100d56f2
call fcn.100ac440
sub esp, 0x70
mov eax, dword [0x1011c710]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor eax, ebp
push 0xf
pop edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], ecx
push 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x4c], edi
call fcn.10001594
and dword [ebp - 4], 0
test ebx, ebx
je 0x100067b1
push ebx
lea ecx, [ebp - 0x64]
call fcn.10002026
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.10001594
xor ebx, ebx
cmp dword [ebp - 0x74], ebx
mov byte [ebp - 4], 1
je 0x100067d4
push dword [ebp - 0x74]
lea ecx, [ebp - 0x2c]
call fcn.10002026
mov edi, dword [ebp - 0x7c]
push edi
lea ecx, [ebp - 0x48]
call fcn.10003125
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10003000
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x100067ff
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x70]
push ecx
push eax
push dword [edi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10006815
xor bl, bl
jmp 0x10006894
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x6c], 0x406
jae 0x1000682b
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x6c]
push ecx
push esi
lea ecx, [ebp - 0x78]
push ecx
push ebx
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10006888
mov eax, dword [ebp - 0x78]
push 2
pop ecx
cmp eax, ecx
je 0x10006877
xor edx, edx
inc edx
cmp eax, edx
je 0x10006877
cmp eax, 4
jne 0x10006861
mov dword [esi + 0x40c], edx
jmp 0x10006884
cmp eax, 3
jne 0x10006888
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x408], eax
mov dword [esi + 0x40c], ecx
jmp 0x10006884
mov eax, dword [ebp - 0x6c]
mov byte [esi + eax], 0
mov dword [esi + 0x40c], ebx
mov byte [ebp - 0x65], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, byte [ebp - 0x65]
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.100017d0
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017d0
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.100017d0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 0xc
Function at 0x100068d4
Capabilities:
Set registry value

Disassembly:
mov eax, 0x100d56f2
call fcn.100ac440
sub esp, 0x68
mov eax, dword [0x1011c710]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor eax, ebp
push 0xf
pop esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], ecx
push 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x4c], esi
call fcn.10001594
and dword [ebp - 4], 0
test ebx, ebx
je 0x10006922
push ebx
lea ecx, [ebp - 0x64]
call fcn.10002026
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
call fcn.10001594
cmp dword [ebp - 0x6c], 0
mov byte [ebp - 4], 1
je 0x10006944
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.10002026
mov esi, dword [ebp - 0x74]
push esi
lea ecx, [ebp - 0x48]
call fcn.10003125
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10003000
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x10006970
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x70]
push ecx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10006989
xor bl, bl
jmp 0x10006a3d
cmp dword [edi + 0x40c], 3
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
jne 0x100069c7
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x100069aa
lea eax, [ebp - 0x28]
push edi
mov dword [ebp - 0x6c], eax
call ebx
inc eax
push eax
push edi
push 1
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x100069c7
mov byte [ebp - 0x65], 1
mov eax, dword [edi + 0x40c]
test eax, eax
jne 0x100069ef
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x100069dd
lea eax, [ebp - 0x28]
push edi
mov dword [ebp - 0x6c], eax
call ebx
inc eax
push eax
push edi
push 2
push 0
push dword [ebp - 0x6c]
jmp 0x10006a24
cmp eax, 1
jne 0x10006a07
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10006a00
lea eax, [ebp - 0x28]
push 4
push edi
push 4
jmp 0x10006a21
cmp eax, 2
jne 0x10006a31
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10006a18
lea eax, [ebp - 0x28]
push dword [edi + 0x408]
push edi
push 3
push 0
push eax
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x10006a31
mov byte [ebp - 0x65], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, byte [ebp - 0x65]
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.100017d0
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017d0
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.100017d0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 0xc
Function at 0x10007fa9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push str.SoftwareRealNetworksPreferencesDT_Codecs
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10007fcb
xor eax, eax
jmp 0x10008006
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push 0x100e2d52
push dword [ebp - 4]
xor esi, esi
inc esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10007ffa
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4
Function at 0x100082b3
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x1000830a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret 4

Function at 0x100087ca
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov eax, 0x100d59b3
call fcn.100ac440
sub esp, 0x108
mov eax, dword [0x1011c710]
push ebx
push esi
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push edi
mov dword [ebp - 4], ebx
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
jne 0x10008875
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.100ab720
push edi
lea eax, [ebp - 0x114]
push 0x100e3750
push eax
call fcn.100acf5b
add esp, 0x18
push ebx
push ebx
lea eax, [ebp - 0x114]
push eax
push str.regedit.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x1000885f
mov esi, dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.PPS_SC__:_Add_the_FFDshow___s__Failed__Error_Code___d__n
push esi
call fcn.1008ed31
add esp, 0x10
jmp 0x10008886
push edi
push str.PPS_SC__:_Add_the_FFDshow___s__Success__n
push dword [esi + 0x14]
call fcn.1008ed31
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x10008886
push edi
push str.PPS_SC__:_FFDshow_Reg_file___s__not_exit__
push dword [esi + 0x14]
call fcn.1008ed31
add esp, 0xc
lea ecx, [edi - 0x10]
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4
Function at 0x10008f06
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov eax, 0x100d58b3
call fcn.100ac440
sub esp, 0x10c
mov eax, dword [0x1011c710]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
push 0x40
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x118], ecx
pop ecx
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x114], bx
lea edi, [ebp - 0x112]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x118]
push dword [eax + 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x118], eax
je 0x10008fa3
push 0x100e37e4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
cmp eax, ebx
setne cl
mov esi, ecx
cmp esi, ebx
je 0x10008f93
call eax
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, esi
jmp 0x10008ff2
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x118], eax
push esi
lea eax, [ebp - 0x118]
push 0x100e37dc
push eax
mov dword [ebp - 4], ebx
call fcn.10001d75
mov esi, dword [ebp - 0x118]
add esp, 0xc
push ebx
push ebx
push esi
push str.regsvr32
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esi - 0x10]
call fcn.10001199
lea eax, [ebp - 0x114]
push eax
call edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4
Function at 0x1000909d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.100043b6
mov ecx, edi
call fcn.1000436c
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.100043b6
mov ecx, esi
call fcn.1000436c
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.100043b6
mov ecx, ebx
call fcn.1000436c
mov ecx, dword [ebp + 0x14]
call fcn.100043b6
mov ecx, dword [ebp + 0x14]
call fcn.1000436c
push str.HKCR
push edi
call fcn.10008578
test al, al
pop ecx
pop ecx
je 0x100090fe
mov edi, 0x80000000
jmp 0x1000915c
push str.HKCU
push edi
call fcn.10008578
test al, al
pop ecx
pop ecx
je 0x10009116
mov edi, 0x80000001
jmp 0x1000915c
push str.HKLM
push edi
call fcn.10008578
test al, al
pop ecx
pop ecx
je 0x1000912e
mov edi, 0x80000002
jmp 0x1000915c
push 0x100e3824
push edi
call fcn.10008578
test al, al
pop ecx
pop ecx
je 0x10009146
mov edi, 0x80000003
jmp 0x1000915c
push 0x100e381c
push edi
call fcn.10008578
test al, al
pop ecx
pop ecx
je 0x100091af
mov edi, 0x80000005
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10009180
mov esi, dword [esi]
lea eax, [ebp + 8]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x100091a0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebx]
push ecx
push eax
xor esi, esi
inc esi
push esi
push 0
push edx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100091a2
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100091b1
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10009847
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100d592b
call fcn.100ac440
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
mov dword [ebp - 4], ebx
je 0x10009942
push ebx
push edi
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
jne 0x10009942
mov eax, dword [esi + 0x14]
push edi
push str.Will_Register_filter__s
push eax
call fcn.1008ed31
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100098e3
push 0x100e37e4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100098c5
call eax
test eax, eax
jne 0x100098c5
push edi
push str.Register_filter__s_Success
push dword [esi + 0x14]
call fcn.1008ed31
xor esi, esi
add esp, 0xc
inc esi
jmp 0x100098d8
push edi
push str.Register_filter__s_Failed_
push dword [esi + 0x14]
call fcn.1008ed31
add esp, 0xc
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10009944
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x10]
push 0x100e37dc
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
add esp, 0xc
push ebx
push ebx
mov ebx, dword [ebp - 0x10]
push ebx
push str.regsvr32
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp + 8], 0x20
push edi
ja 0x1000995f
push str.Register_filter__s_Failed
push dword [esi + 0x14]
call fcn.1008ed31
add esp, 0xc
lea ecx, [ebx - 0x10]
call fcn.10001199
xor esi, esi
lea ecx, [edi - 0x10]
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push str.Register_filter__s_Success
push dword [esi + 0x14]
call fcn.1008ed31
add esp, 0xc
lea ecx, [ebx - 0x10]
call fcn.10001199
xor esi, esi
inc esi
jmp 0x10009944

Function at 0x10009b6f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100d5977
call fcn.100ac440
sub esp, 0xc
push esi
and dword [ebp - 4], 0
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push str._s__
push eax
mov byte [ebp - 4], 1
call fcn.10008e52
push 0x100e3804
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.10001e18
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10001eb6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001199
mov esi, dword [ebp - 0x10]
push 0
push 0
push esi
push str.regedit.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esi - 0x10]
call fcn.10001199
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4