joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002090
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1002c1b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1fe
push ebx
push 0x100349b8
mov dword [ebp - 0x238], ebx
call fcn.100134f0
mov eax, dword [str.360Safe.exe]
push 0x10027a98
push eax
call fcn.10011ee3
add esp, 0x14
test eax, eax
jne 0x10002205
push esi
push edi
mov esi, 0x100309d8
mov dword [ebp - 0x234], ebx
jmp 0x100020f0
mov esi, dword [esi]
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], ebx
call fcn.100134f0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100021c7
lea edx, [ebp - 0x230]
push edx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10002189
lea ecx, [ecx]
mov ecx, esi
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000216e
cmp dx, bx
je 0x1000216a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000216e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10002148
xor eax, eax
jmp 0x10002173
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10002192
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10002140
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100021c7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], ebx
je 0x100021c7
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x100309dc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edx
push 0x100349b8
call esi
push 0x10027a9c
push 0x100349b8
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 + 0x100309d8]
lea esi, [esi + 0x100309d8]
push 0x10027a98
push eax
call fcn.10011ee3
add esp, 8
test eax, eax
je 0x100020f0
pop edi
pop esi
push 0x10027a98
push 0x100349b8
call fcn.10011ee3
add esp, 8
pop ebx
test eax, eax
jne 0x1000222c
push 0x10027968
push 0x100349b8
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x100349b8
call fcn.100116ff
mov esp, ebp
pop ebp
ret
Function at 0x10002240
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x1002c1b8]
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.100134f0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.100134f0
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 0x10002317
push 1
push 7
lea ecx, [ebp - 0x20c]
push ecx
push 0
call eax
test eax, eax
je 0x10002317
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 0x10002317
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100116ff
mov esp, ebp
pop ebp
ret
push ebx
push 0x10027b64
call esi
mov esi, eax
push 0x10027b80
push esi
call edi
push 0x10027b94
push esi
mov ebx, eax
call edi
push 0x10027ba4
push esi
mov dword [ebp - 0x624], eax
call edi
mov esi, eax
test ebx, ebx
je 0x100023f1
mov eax, dword [ebp - 0x624]
test eax, eax
je 0x100023f1
test esi, esi
je 0x100023f1
lea edx, [ebp - 0x620]
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call eax
test eax, eax
jne 0x100023f1
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.100134f0
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 0x100023e8
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.100116ff
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.100116ff
mov esp, ebp
pop ebp
ret
Function at 0x10002890
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 0x10027094
push 1
push edi
push 0x10027054
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x100028c4
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 0x10027064
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x100028bc
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 0x1000297d
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x1002441c
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x10002959
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 0x10027bf4
push eax
call edx
test eax, eax
jne 0x1000294e
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 0x10002908
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002ce0
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x1002c1b8]
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 0x10002d5a
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 0x10002d00
push 0x40
lea ecx, [ebp - 0x58]
push 0
push ecx
mov dword [ebp - 0x64], edi
call fcn.100134f0
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 0x10027c30
push 0xc8
push ebx
call fcn.10011d07
push edi
push esi
push ebx
push 0x10027c80
push 0xc8
push ebx
call fcn.10011d07
mov ecx, dword [ebp - 4]
add esp, 0x38
pop edi
xor ecx, ebp
pop esi
call fcn.100116ff
mov esp, ebp
pop ebp
ret
Function at 0x10002e00
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10029d00
push 0x100151d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x1002c1b8]
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.100134f0
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 0x10002ea6
mov dword [ebp - 0x228], 0xffffffff
jmp 0x10003056
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x10002fba
mov esi, 1
sub eax, esi
je 0x10002f53
sub eax, esi
jne 0x10003056
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x10003056
cmp eax, 2
ja 0x10003056
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 0x10002f44
push 0x10027c10
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10002e97
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x10003056
mov dword [ebp - 0x228], 0
jmp 0x10003056
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x10003056
cmp eax, 2
ja 0x10003056
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 0x1000304a
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x10003056
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x10003056
cmp eax, 2
ja 0x10003056
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 0x1000304a
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 0x10003056
push str.error
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xfffffffe
call fcn.10003084
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.100116ff
mov esp, ebp
pop ebp
ret
Function at 0x100034f0
Capabilities:
Enumerate processes
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x1002c1b8]
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 0x10003528
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100116ff
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 0x100036d9
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 0x100035b8
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x10003570
push str.VMwareService.exe
lea ecx, [ebp - 0x264]
push ecx
call esi
test eax, eax
je 0x10003515
push str.VMwareTray.exe
lea edx, [ebp - 0x264]
push edx
call esi
test eax, eax
je 0x10003515
push str.VMwareUser.exe
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x10003515
lea ecx, [ebp - 0x288]
push ecx
push edi
call ebx
test eax, eax
jne 0x10003570
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 0x10003626
mov eax, dword [str.WORKGROUP]
mov ecx, dword [0x10028004]
mov edx, dword [0x10028008]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1002800c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x10028010]
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 0x10003515
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp - 0x4c], 0
ja 0x10003650
jb 0x10003515
cmp dword [ebp - 0x50], 0x45f41500
jb 0x10003515
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 0x10003687
push eax
call edi
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100116ff
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.10022630
test edx, edx
jg 0x100036d9
jl 0x10003515
cmp eax, 0x6e
jb 0x10003515
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.100116ff
mov esp, ebp
pop ebp
ret
Function at 0x10004bf0
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.10011f43
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.100137f0
mov eax, dword [esi + 0x2d4]
lea edx, [eax + 4]
push eax
mov dword [esi + 0x2d8], edx
call fcn.10011c87
add esp, 0x10
mov dword [esi + 0x2ec], eax
test eax, eax
je 0x10004cc9
mov ecx, dword [esi + 0x2e8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push 0
push 0
push 0
add ecx, 4
push edx
mov edx, dword [ebp + 8]
push edx
call eax
test eax, eax
je 0x10004cc9
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 [0x10028450]
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 0x10005550
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
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]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CKernelManager.0
mov dword [esi + 0x218], ebx
test ebx, ebx
je 0x100055d1
test eax, eax
je 0x100055a4
push eax
push 0x208
push 0x100334b0
call fcn.10011f43
add esp, 0xc
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100055be
push eax
push 0x208
push 0x100338c0
call fcn.10011f43
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [0x100309c4], eax
mov dword [0x100309d0], ecx
jmp 0x10005613
test eax, eax
je 0x100055e8
push eax
push 0x208
push 0x10032c90
call fcn.10011f43
add esp, 0xc
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10005602
push eax
push 0x208
push 0x100330a0
call fcn.10011f43
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [0x100309c0], edx
mov dword [0x100309cc], eax
xor eax, eax
push 0x10027b64
mov dword [esi + 0x220], eax
mov dword [esi + 0x21c], eax
mov dword [esi + 0x214], edi
mov dword [0x10031c18], 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 0x10028160
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 0x10028180
push eax
call edi
mov ecx, dword [esi + 0x228]
push 0x10027b80
push ecx
mov dword [esi + 0x238], eax
call edi
mov edx, dword [esi + 0x228]
push 0x10027b94
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]
push 0x10027ba4
push edx
mov dword [esi + 0x244], eax
call edi
mov dword [esi + 0x248], eax
mov eax, esi
pop edi
pop ebp
ret 0x10
Function at 0x10006010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5bc
mov eax, dword [0x1002c1b8]
xor eax, esp
mov dword [esp + 0x5b8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0xb6
mov esi, ebx
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
push 0x2ce
push ecx
lea edx, [esp + 0x2fa]
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x2fc], cx
call fcn.100134f0
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100060a0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5b8]
xor ecx, esp
call fcn.100116ff
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [esp + 0x18]
push ecx
add edx, 0xfffffd28
push edx
add ebx, 0x2d8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10006087
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100060fe
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x22c]
push edx
lea eax, [esp + 0x2f8]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x10006114
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x2f4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esp + 0x1c]
sub eax, 0
je 0x10006123
dec eax
jne 0x10006135
push eax
jmp 0x10006125
push 5
mov ebx, dword [esp + 0x14]
lea edi, [esp + 0x2f4]
call fcn.10006160
mov ecx, dword [esp + 0x5c4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100116ff
mov esp, ebp
pop ebp
ret 8
Function at 0x10006160
Capabilities:
Create process on windows
Create process suspended
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa68
mov eax, dword [0x1002c1b8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.100134f0
push 0x2e
push edi
call fcn.100123d7
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100061ab
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100116ff
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41a]
push edx
mov word [ebp - 0x41c], cx
call fcn.100134f0
push 0x20
push esi
call fcn.100123d7
add esp, 0x14
push esi
test eax, eax
je 0x100061ff
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
test eax, eax
jle 0x1000621b
cmp word [esi + eax*2], 0x20
je 0x100061ef
dec eax
test eax, eax
jg 0x100061e1
jmp 0x1000621b
push eax
push esi
push 0x104
lea eax, [ebp - 0x41c]
push eax
jmp 0x10006213
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push 0x104
lea ecx, [ebp - 0x41c]
push ecx
call fcn.10012405
add esp, 0x10
lea edx, [ebp - 0x214]
push edx
push 1
lea edx, [ebp - 0x41c]
mov ecx, ebx
call fcn.100063b0
test eax, eax
je 0x10006198
push 0x3e8
lea eax, [ebp - 0xa0c]
push 0
push eax
call fcn.100134f0
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0xa0c]
push str._s_shellopencommand
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.100134f0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x622]
push edx
mov word [ebp - 0x624], cx
call fcn.100134f0
add esp, 0x30
lea eax, [ebp - 0x624]
push eax
push 2
lea edx, [ebp - 0xa0c]
mov ecx, ebx
call fcn.100063b0
test eax, eax
je 0x10006198
push 0x104
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x624]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x214]
push 0x10028250
push eax
call fcn.10011ee3
add esp, 8
test eax, eax
jne 0x1000631d
lea ecx, [ebp - 0x214]
push 0x10028258
push ecx
call fcn.10011ee3
add esp, 8
test eax, eax
jne 0x1000631d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10027a98
lea edx, [ebp - 0x214]
push edx
call esi
push edi
lea eax, [ebp - 0x214]
push eax
call esi
jmp 0x10006325
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40
lea ecx, [ebp - 0xa50]
push 0
push ecx
call fcn.100134f0
add esp, 0xc
cmp dword [ebp + 8], 0
mov dword [ebp - 0xa54], 0x44
je 0x10006354
mov dword [ebp - 0xa4c], str.WinSta0Default
jmp 0x10006367
xor edx, edx
mov dword [ebp - 0xa28], 1
mov word [ebp - 0xa24], dx
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0xa54]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x214]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov al, 1
pop esi
call fcn.100116ff
mov esp, ebp
pop ebp
ret 4
Function at 0x10006960
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x218], 0
mov eax, str.back
jne 0x1000697b
mov eax, str.main
lea ecx, [ebp - 4]
push ecx
push 2
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 4]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
cmp dword [esi + 0x218], 0
mov eax, str.back
jne 0x100069b9
mov eax, str.main
lea ecx, [ebp - 4]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100069fc
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 4]
add eax, eax
push eax
push esi
push 3
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100069fc
mov eax, dword [ebp - 4]
push eax
call ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
push ecx
call ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4