joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e3750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10199f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x24c], eax
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [0x10219210]
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], 0
test al, 1
jne 0x100e37d4
or eax, 1
mov dword [0x102191e4], 7
mov dword [0x10219210], eax
xor eax, eax
push 0x101a3d70
mov dword [0x102191e0], 0
mov word [0x102191d0], ax
call fcn.1015f2a9
add esp, 4
sub esp, 0x18
mov dword [esp + 0x44], 0
mov ecx, esp
xor eax, eax
push 0xc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.explorer.exe
mov word [ecx], ax
call fcn.100e9e50
lea ecx, [esp + 0x44]
call fcn.100e5aa0
add esp, 0x18
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
push 0x104
lea eax, [esp + 0x50]
push 0
push eax
call fcn.10161e50
add esp, 0xc
mov dword [esp + 0x30], 0x104
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x34]
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x268], eax
cmp word [esp + 0x4c], ax
jne 0x100e3875
xor ecx, ecx
jmp 0x100e388f
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e3880
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
call fcn.100e9e50
push str.AppData_
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100eea50
mov edi, eax
add esp, 0xc
cmp edi, 0x102191d0
je 0x100e38fd
cmp dword [0x102191e4], 8
jb 0x100e38d6
push dword [0x102191d0]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [0x102191e4], 7
push edi
mov ecx, 0x102191d0
mov dword [0x102191e0], 0
mov word [0x102191d0], ax
call fcn.100ebe00
cmp dword [esp + 0x28], 8
jb 0x100e3910
push dword [esp + 0x14]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x102191d0
mov word [esi], ax
call fcn.100ebf30
cmp dword [esp + 0x48], 8
jb 0x100e3945
push dword [esp + 0x34]
call fcn.1015f106
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e3e20
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10199fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
xor edi, edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
xor esi, esi
push ecx
push edi
xor bl, bl
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x20]
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esi
cmovae eax, dword [ebp + 8]
push edi
push eax
push edi
mov byte [ebp - 0x21], bl
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x100e3f13
push dword [ebp - 0x20]
call fcn.101628ce
mov esi, eax
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, 2
mul edx
mov dword [ebp - 0x30], esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101628ce
add esp, 8
mov edi, eax
mov dword [ebp - 0x2c], edi
test esi, esi
je 0x100e3ef1
test edi, edi
je 0x100e3ef1
cmp dword [ebp + 0x1c], 8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push esi
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x100e3efa
push 0
push 0
call fcn.1016178c
mov bl, 1
jmp 0x100e3f13
test edi, edi
je 0x100e3f20
push edi
call fcn.10162896
add esp, 4
test bl, bl
jne 0x100e3f33
test esi, esi
je 0x100e3f38
push esi
call fcn.10162896
add esp, 4
jmp 0x100e3f38
mov eax, dword [ebp - 0x28]
mov dword [eax], esi
cmp dword [ebp + 0x1c], 8
jb 0x100e3f49
push dword [ebp + 8]
call fcn.1015f106
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e3fb0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019a010
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x100e3fee
xor edi, edi
jmp 0x100e415b
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x5c
push eax
lea ecx, [ebp + 8]
call fcn.100ec130
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.100ea0a0
mov esi, eax
lea eax, [ebp + 8]
cmp eax, esi
je 0x100e404b
cmp dword [ebp + 0x1c], 8
jb 0x100e402e
push dword [ebp + 8]
call fcn.1015f106
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
call fcn.100ebe00
cmp dword [ebp - 0x18], 8
jb 0x100e405c
push dword [ebp - 0x2c]
call fcn.1015f106
add esp, 4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp + 8]
push eax
call esi
cmp dword [ebp + 0x1c], 8
mov edi, eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call esi
test eax, eax
jne 0x100e4156
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmovae eax, dword [ebp + 8]
push 0
push eax
call esi
test eax, eax
jne 0x100e4156
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], 0x5c
call fcn.100ec130
inc eax
lea ecx, [ebp + 8]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.100ea0a0
push eax
lea ecx, [ebp - 0x2c]
call fcn.100e9c60
cmp dword [ebp - 0x30], 8
jb 0x100e40f9
push dword [ebp - 0x44]
call fcn.1015f106
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.100ebf30
call fcn.100e3fb0
add esp, 0x18
test eax, eax
je 0x100e4143
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call esi
test eax, eax
mov ecx, 1
cmovne edi, ecx
cmp dword [ebp - 0x18], 8
jb 0x100e415b
push dword [ebp - 0x2c]
call fcn.1015f106
add esp, 4
jmp 0x100e415b
mov edi, 1
cmp dword [ebp + 0x1c], 8
jb 0x100e416c
push dword [ebp + 8]
call fcn.1015f106
add esp, 4
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.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e4190
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019a048
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x38]
mov edi, dword [ebp + 8]
xor eax, eax
push eax
push 0x101f377c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.100e9e50
lea eax, [esp + 0x54]
mov dword [esp + 0x68], 0
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x100e42da
lea eax, [esi + 1]
push eax
call fcn.1015dfbd
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push dword [esp + 0x20]
mov dword [ebx], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100e42da
lea eax, [esp + 0x50]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x54], 0
push eax
push 0x101f3798
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x100e428a
push eax
push 0x101f377c
lea ecx, [esp + 0x40]
call fcn.100e9e50
jmp 0x100e42da
mov eax, dword [esp + 0x34]
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [esp + 0x2c]
push str._d._d._d._d
push eax
call fcn.100e24e0
add esp, 0x18
lea ecx, [esp + 0x38]
push eax
call fcn.100e9c60
cmp dword [esp + 0x30], 8
jb 0x100e42d1
push dword [esp + 0x1c]
call fcn.1015f106
add esp, 4
push ebx
call fcn.1015f106
add esp, 4
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.100e9bf0
cmp dword [esp + 0x4c], 8
jb 0x100e42f9
push dword [esp + 0x38]
call fcn.1015f106
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e4320
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019a080
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x30]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
xor eax, eax
push eax
push 0x101f377c
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], ax
call fcn.100e9e50
mov dword [esp + 0x70], edi
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x100e44e5
lea eax, [ebx + 1]
push eax
call fcn.1015dfbd
add esp, 4
mov esi, eax
push esi
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [esi], 0
push dword [esp + 0x34]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100e44dc
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x28]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100e44dc
mov ecx, dword [esp + 0x24]
mov eax, 0x4e4
cmp edi, 1
je 0x100e441b
movzx eax, word [ecx + 2]
movzx ecx, word [ecx]
push dword [esp + 0x18]
movzx eax, ax
shl ecx, 0x10
or ecx, eax
lea eax, [esp + 0x4c]
push ecx
push str.StringFileInfo_08lx_s
push eax
call fcn.100e24e0
add esp, 0x10
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x28]
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
push ecx
cmovae eax, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x100e449b
push esi
call fcn.10162ac7
add esp, 4
mov byte [esp + 0x70], 0
inc edi
cmp dword [esp + 0x5c], 8
jb 0x100e4490
push dword [esp + 0x48]
call fcn.1015f106
add esp, 4
cmp edi, 2
jl 0x100e43a0
jmp 0x100e44e5
mov edx, dword [esp + 0x20]
cmp word [edx], 0
jne 0x100e44a9
xor ecx, ecx
jmp 0x100e44bf
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e44b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100e9e50
cmp dword [esp + 0x5c], 8
jb 0x100e44e5
push dword [esp + 0x48]
call fcn.1015f106
jmp 0x100e44e2
push esi
call fcn.10162ac7
add esp, 4
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.100e9bf0
cmp dword [esp + 0x44], 8
jb 0x100e4508
push dword [esp + 0x30]
call fcn.1015f106
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e52f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x230], 0x22c
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100e538f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x100e5340
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100e5376
test dx, dx
je 0x100e5372
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100e5376
add ecx, 4
add eax, 4
test dx, dx
jne 0x100e5350
xor eax, eax
jmp 0x100e537b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100e5380
inc esi
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x100e5340
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp esi, 1
pop edi
setge al
xor ecx, ebp
pop esi
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e53b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019a241
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x10211a50]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x10211a50]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
xor edi, edi
mov dword [esp + 0x6c], 0x22c
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x6c]
push eax
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100e55cc
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp word [esp + 0x90], ax
jne 0x100e5448
xor ecx, ecx
jmp 0x100e5461
lea ecx, [esp + 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e5452
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x5c]
call fcn.100e9e50
mov dword [esp + 0x2b0], 0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x2b0], 1
lea ecx, [esp + 0x54]
cmp dword [esp + 0x68], 8
cmovae ecx, dword [esp + 0x54]
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x38], esp
push ecx
push eax
call fcn.100e1d90
sub esp, 0x10
mov byte [esp + 0x2e0], 2
mov ecx, esp
push 2
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x101f3a14
mov byte [ecx], 0
call fcn.100e9580
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2e0], 1
call fcn.100f18f0
cmp dword [esp + 0x80], 0x10
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.100e1e20
add esp, 0x38
cmp dword [eax + 0x14], 8
jb 0x100e551b
mov eax, dword [eax]
mov ecx, ebx
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100e5546
test dx, dx
je 0x100e5542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100e5546
add eax, 4
add ecx, 4
test dx, dx
jne 0x100e5520
xor eax, eax
jmp 0x100e554b
sbb eax, eax
or eax, 1
test eax, eax
sete bl
cmp dword [esp + 0x38], 8
jb 0x100e5563
push dword [esp + 0x24]
call fcn.1015f106
add esp, 4
test bl, bl
je 0x100e5568
inc edi
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [esp + 0x50], 0x10
mov esi, eax
jb 0x100e5589
push dword [esp + 0x3c]
call fcn.1015f106
add esp, 4
mov dword [esp + 0x2b0], 0xffffffff
cmp dword [esp + 0x68], 8
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jb 0x100e55bc
push dword [esp + 0x54]
call fcn.1015f106
add esp, 4
mov ebx, dword [esp + 0x18]
test esi, esi
mov esi, dword [esp + 0x14]
jne 0x100e5423
xor eax, eax
cmp edi, 1
setge al
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e5690
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019a278
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x14], 0
xor edi, edi
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
push edi
push 2
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x100e5719
mov eax, dword [ebp - 0x24c]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x100e580e
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100e57f4
lea esp, [esp]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x224]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100e5776
test dx, dx
je 0x100e5772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100e5776
add eax, 4
add ecx, 4
test dx, dx
jne 0x100e5750
xor eax, eax
jmp 0x100e577b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100e57d6
lea eax, [ebp - 0x240]
cmp eax, esi
jae 0x100e57b1
cmp ebx, eax
ja 0x100e57b1
mov edi, eax
sub edi, ebx
sar edi, 2
cmp esi, dword [ebp - 0x14]
jne 0x100e57a8
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100ec6a0
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x100e57d0
mov eax, dword [ebx + edi*4]
jmp 0x100e57ce
cmp esi, edi
jne 0x100e57c4
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100ec6a0
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x100e57d0
mov eax, dword [ebp - 0x240]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x100e5740
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e5830
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, edx
test ebx, ebx
je 0x100e59d0
test esi, esi
je 0x100e59d0
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x100e5947
cmp word [ebp - 0x4bc], 0
mov dword [ebp - 0x4c0], 0
je 0x100e5947
lea edi, [ebp - 0x4bc]
mov dword [ebp - 0x4c4], 0
lea esp, [esp]
push 0x101f3a40
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100e591e
push 0x101f3a48
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100e591e
movzx eax, word [edi]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x4c4]
push 0x64
movzx eax, word [ebp + eax - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100e59bd
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [ebp - 0xd4]
push edi
push eax
push ebx
call fcn.101638cb
add esp, 0xc
test eax, eax
je 0x100e5985
mov eax, dword [ebp - 0x4c0]
lea edi, [ebp - 0x4bc]
add eax, 4
mov dword [ebp - 0x4c0], eax
add eax, eax
add edi, eax
mov dword [ebp - 0x4c4], eax
cmp word [edi], 0
jne 0x100e58a0
mov ecx, 0x104
sub ebx, esi
mov edi, edi
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x100e59b1
movzx eax, word [ebx + esi]
test ax, ax
je 0x100e59b1
mov word [esi], ax
add esi, 2
dec ecx
jne 0x100e5950
sub esi, 2
xor eax, eax
pop edi
mov word [esi], ax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.100e1a40
lea eax, [ebx + edi*2]
mov ecx, esi
push eax
call fcn.100e1a90
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x100e59b8
sub esi, 2
xor eax, eax
mov word [esi], ax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1016177d
mov esp, ebp
pop ebp
ret
Function at 0x100e59f0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, edx
push ecx
push eax
push 0x400
mov word [ebp - 0x20c], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100e5a41
push 0x104
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x100e5a53
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
push ecx
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x414]
call fcn.100e5830
add esp, 4
push esi
test eax, eax
je 0x100e5a3b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.100e9cf0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1016177d
mov esp, ebp
pop ebp
ret

Function at 0x100e5aa0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019a2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100e5b90
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100e5b8d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100e5b20
cmp word [ebp - 0x218], 0
jne 0x100e5b2e
xor eax, eax
jmp 0x100e5b46
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100e5b37
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x18]
lea ecx, [ebp + 8]
push 0
call fcn.100ec1f0
test eax, eax
jne 0x100e5b7b
push dword [ebp - 0x234]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x100e5bc1
call ebx
push 0
call edi
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100e5b20
push esi
call edi
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x100e5ba3
push dword [ebp + 8]
call fcn.1015f106
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x240]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
test eax, eax
je 0x100e5b8e
call edi
mov bl, 1
jmp 0x100e5b92