joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a9dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
cmp byte [0x41a210], bl
je 0x40aa5c
cmp word [0x4190d8], bx
je 0x40aa5c
push esi
push 0x4190d8
lea esi, [ebp - 0x808]
call fcn.0040a9a1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop esi
test eax, eax
jne 0x40aa5c
push dword [ebp + 8]
call fcn.00409537
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 4

Function at 0x40aa61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00401200
cmp byte [0x41a210], 0
je 0x40ab08
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x100c]
call fcn.0040a9a1
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x40ab08
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x100c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40aaff
shr dword [ebp - 4], 1
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jae 0x40aae3
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x80c], cx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call fcn.0040c8c3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8

Function at 0x40ac30
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [0x41a0e6], 0
mov eax, dword [ebp + 0xc]
mov dword [0x41a0e8], eax
mov eax, dword [ebp + 0x10]
mov dword [0x41a0ec], eax
mov eax, dword [ebp + 0x14]
mov dword [0x41a0e0], eax
je 0x40ac60
xor eax, eax
inc eax
jmp 0x40ac89
cmp byte [0x41a0e7], 0
je 0x40ac6e
push 2
pop eax
jmp 0x40ac89
push dword [ebp + 8]
push 0x409f6b
push dword [0x41a200]
push str.REPLACEFILEDLG
push dword [0x413e74]
call esi
dec eax
je 0x40acdb
dec eax
je 0x40aced
dec eax
je 0x40acd4
dec eax
jne 0x40acb8
push dword [ebp + 8]
push 0x40a2b7
push dword [0x41a200]
push str.RENAMEDLG
push dword [0x413e74]
call esi
test eax, eax
je 0x40ac3a
mov al, 0x52
jmp 0x40ace8
dec eax
je 0x40acc9
dec eax
mov al, 0x4e
jne 0x40ace8
mov byte [0x41a0e7], 1
jmp 0x40ace8
mov byte [0x41a1f2], 1
mov al, 0x43
jmp 0x40ace8
mov byte [0x41a0e6], 1
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov al, 0x59
pop esi
pop ebp
ret 0x10
mov al, 0x4e
jmp 0x40ace8
Function at 0x40ae2a
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00401200
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40b061
push esi
call fcn.00409537
cmp eax, 0x3f6
jae 0x40b061
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00409259
movzx ecx, word [esi]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x5c0
cmp cx, 0x22
jne 0x40ae81
lea eax, [esi + 2]
mov dword [ebp - 0x30], eax
jmp 0x40ae84
mov dword [ebp - 0x30], esi
xor eax, eax
cmp cx, bx
je 0x40aeda
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40aeac
jmp 0x40ae9c
cmp word [esi + eax*2], 0x22
je 0x40aea5
inc eax
cmp word [esi + eax*2], bx
jne 0x40ae95
jmp 0x40aeac
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40aec6
cmp word [esi + eax*2 + 2], 0x2f
je 0x40aec6
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40ae8d
jmp 0x40aeda
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40aed4
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 8], bl
jne 0x40aeef
cmp word [0x41aa12], bx
je 0x40aeef
mov dword [ebp - 0x2c], 0x41aa12
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 1
call fcn.00407410
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40af1b
push str..inf
push eax
call fcn.0040d0d4
test eax, eax
jne 0x40af1b
mov dword [ebp - 0x34], str.Install
push dword [ebp - 0x30]
call fcn.004052f8
mov bl, al
test bl, bl
je 0x40af41
lea eax, [ebp - 0x1040]
push eax
push dword [ebp - 0x30]
call fcn.00406f37
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x40af7f
test bl, bl
jne 0x40af7f
push dword [ebp - 0x30]
lea eax, [ebp - 0x840]
push eax
call fcn.00409561
push str..exe
lea eax, [ebp - 0x840]
push eax
call fcn.004095ce
lea eax, [ebp - 0x840]
push eax
call fcn.004052f8
test al, al
je 0x40b060
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40afb1
and dword [ebp - 0x3c], 0xfffffbff
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call edi
test eax, eax
setne al
test al, al
je 0x40b060
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
cmp byte [0x41a208], bl
jne 0x40afc6
cmp byte [ebp + 8], bl
je 0x40affc
mov eax, dword [0x41a200]
test eax, eax
je 0x40afe6
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40afe6
push 0
push dword [0x41a200]
call esi
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 8]
call fcn.0040a771
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], 0
je 0x40b01c
push str..exe
push dword [ebp - 4]
call fcn.0040d0d4
test eax, eax
je 0x40b04c
cmp byte [0x41a208], 0
je 0x40b032
cmp byte [ebp + 8], 0
jne 0x40b032
push 0x1b58
jmp 0x40b046
xor eax, eax
cmp byte [ebp + 8], al
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
test bl, bl
je 0x40b060
cmp byte [ebp + 8], 0
je 0x40b060
push 1
push dword [0x41a200]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c5b5
Capabilities:
Accept command line arguments
Read file via mapping
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 1
call fcn.0040cbbd
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x422668
call fcn.0040d28e
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov edi, dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov esi, eax
cmp esi, ebx
je 0x40c645
push esi
call fcn.0040a4f8
cmp byte [0x41a211], bl
je 0x40c63d
push str.winrarsfxmappingfile.tmp
push ebx
push 4
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40c632
push 0x20000
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x40c62b
push esi
push str.sfxcmd
call edi
push esi
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x40c645
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x4198e0
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push esi
push str.sfxname
call edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x413e74], edi
mov dword [0x413e78], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x413e78]
mov dword [0x4198dc], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 8]
mov dword [0x4198d8], eax
call fcn.00410384
push esi
mov ecx, 0x413e88
call fcn.00409129
lea ecx, [ebp - 0x40]
call fcn.00405fb2
lea ecx, [ebp - 0x24]
call fcn.00405fb2
push 0x64
call fcn.00409c9b
push 0x64
mov dword [ebp - 0x28], eax
call fcn.00409c9b
push ebx
push 0x40bd8e
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x40]
mov dword [0x4190d4], eax
push str.STARTDLG
lea eax, [ebp - 0x24]
push edi
mov dword [0x4190d0], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x24]
mov dword [0x4190d0], ebx
mov dword [0x4190d4], ebx
call fcn.00405fc8
lea ecx, [ebp - 0x40]
call fcn.00405fc8
lea ecx, [ebp - 8]
call fcn.004103d6
cmp byte [0x41a208], bl
je 0x40c720
call fcn.0040a7b0
push 0x100
push ebx
push 0x41a0f0
call fcn.00409259
cmp dword [0x41b324], ebx
jbe 0x40c743
push dword [0x41b318]
call fcn.004091d5
push dword [0x4198dc]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x4198d8]
cmp eax, ebx
je 0x40c75d
push eax
call esi
cmp dword [0x413e7c], ebx
jne 0x40c77c
cmp byte [0x41a1f2], bl
je 0x40c77c
push 0xff
mov ecx, 0x413e7c
call fcn.00402df3
mov eax, dword [0x41b32c]
mov byte [0x41a1f2], 1
cmp eax, ebx
je 0x40c792
push eax
call fcn.0040a771
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [0x413e7c]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x410314
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x10005580
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x10005e10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10005e20
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea edi, [esi + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10018ac9
lea ecx, [esi*2 + 2]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.1002fe40
push dword [ebp + 8]
push edi
push ebx
call fcn.100343b8
add esp, 0x1c
mov byte [ebp - 1], 1
xor edi, edi
test esi, esi
js 0x10005ebc
cmp word [ebx + edi*2], 0x5c
jne 0x10005ea0
xor eax, eax
push ebx
mov word [ebx + edi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005e97
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10005eb8
mov eax, 0x5c
mov word [ebx + edi*2], ax
inc edi
cmp edi, esi
jle 0x10005e73
push ebx
call fcn.10018ad2
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 1], 0
push ebx
call fcn.10018ad2
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005ed0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ae70
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x1000600a
movzx eax, word [eax]
mov word [ebp - 0x40], ax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x30], 1
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1000600a
inc eax
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10018ac9
mov ecx, dword [ebp - 0x50]
add esp, 4
mov esi, eax
mov dword [ebp - 0x48], esi
test ecx, ecx
je 0x10005f97
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x54]
push esi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x10005fa8
push esi
jmp 0x10006002
xor eax, eax
mov word [ebp - 0x42], ax
mov eax, esi
movzx eax, word [eax]
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10038480
add esp, 0xc
test eax, eax
je 0x10005fea
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x10005fd5
movzx eax, word [esi]
test ax, ax
je 0x10005fff
jmp 0x10005fb3
mov ax, word [ebp - 0x44]
mov word [ebp - 0x28], ax
xor eax, eax
mov dword [ebp - 0x18], 1
mov word [ebp - 0x26], ax
push dword [ebp - 0x48]
call fcn.10018ad2
add esp, 4
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x40]
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
movq qword [edi + 0x10], xmm0
call fcn.10003730
lea ecx, [ebp - 0x28]
call fcn.10003730
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018ad7
mov esp, ebp
pop ebp
ret
Function at 0x10006070
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.1002fe40
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
or ecx, 0x8000
cmp byte [ebp + 0x10], 0
cmove ecx, dword [ebp + 0xc]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
je 0x100060f8
xor eax, eax
xor ecx, ecx
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100060e4
sub ecx, edx
sar ecx, 1
push ecx
push 0
jmp 0x1000611d
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006106
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100039c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10018ad7
mov esp, ebp
pop ebp
ret

Function at 0x100061f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x21c], esi
call fcn.1002fe40
add esp, 0xc
mov edi, 0x20019
lea eax, [ebp - 0x210]
push eax
push edi
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100062b9
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
push esi
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x100062ad
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x100062de
cmp ebx, reloc.OLEAUT32.dll_SysReAllocString
jne 0x100062de
cmp edi, 0x20019
jne 0x100062de
mov esi, dword [ebp - 0x21c]
mov edi, 0x20119
jmp 0x10006245
mov ebx, dword [ebp - 0x220]
lea ecx, [ebp - 0x20c]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006300
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.100039c0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018ad7
mov esp, ebp
pop ebp
ret
Function at 0x100063e0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x10006468
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10052140
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x10006468
push str.Wow64RevertWow64FsRedirection
push eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, 1
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x100075f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1214
call fcn.100192f0
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1210]
push 0x1000
push 0
push eax
call fcn.1002fe40
add esp, 0xc
mov dword [ebp - 0x1214], 0
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x1214]
push eax
push 0x1000
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x100076e9
push esi
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x100076be
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1002fe40
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.10007700
add esp, 0x18
test eax, eax
je 0x100076b9
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.100393e4
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1003105a
add esp, 0x10
test eax, eax
jne 0x100076d1
inc esi
cmp esi, edi
jb 0x10007662
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018ad7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + esi*4 - 0x1210]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018ad7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.10018ad7
mov esp, ebp
pop ebp
ret

Function at 0x10007700
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test esi, esi
je 0x1000772d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ebp
ret
Function at 0x10007890
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b078
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], ecx
test eax, eax
jne 0x100078dc
xor al, al
jmp 0x10007a70
cmp dword [edi + 0x14], 0
ja 0x1000792c
lea eax, [ebp - 0x40]
push eax
call fcn.100073f0
mov esi, eax
add edi, 4
add esp, 4
cmp edi, esi
je 0x10007921
mov ecx, edi
call fcn.10003730
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x40]
call fcn.10003730
mov edi, dword [ebp - 0x44]
mov eax, dword [edi + 0x14]
add edi, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], eax
cmp dword [edi + 0x14], 8
jb 0x1000794b
mov edi, dword [edi]
cmp eax, 8
jae 0x10007960
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x10007999
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.100037d0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.1002f8c0
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
push 0xa
push str.Software_
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10003840
mov edx, dword [ebp - 0x48]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100079c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003840
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x10007a0d
push 1
push 0x10051f04
lea ecx, [ebp - 0x28]
call fcn.10003840
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100079f4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003840
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x10007a49
push 1
push 0x10051f04
lea ecx, [ebp - 0x28]
call fcn.10003840
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007a30
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003840
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push VariantInit
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x28]
call fcn.10003730
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018ad7
mov esp, ebp
pop ebp
ret 0xc