joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cbb70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd8eb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50c464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4cbbb2
xor eax, eax
jmp 0x4cbc8b
push 1
mov edx, dword [ebp - 0x14]
push edx
call fcn.0048ac55
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4cbbd0
xor eax, eax
jmp 0x4cbc8b
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4cbbfc
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004896b0
add esp, 4
xor eax, eax
jmp 0x4cbc8b
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x4ebe14
mov ecx, dword [ebp - 0x24]
push ecx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4cbc7d
cmp dword [ebp - 0x20], 0
je 0x4cbc7d
push 0x10
call fcn.0045eb75
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0
je 0x4cbc62
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004cbb10
mov dword [ebp - 0x30], eax
jmp 0x4cbc69
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
jmp 0x4cbc8b
mov edx, dword [ebp - 0x24]
push edx
call fcn.004896b0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cbca0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x25c]
mov dx, word [ecx + 4]
mov word [ebp + eax*2 - 0x18], dx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x25c]
mov ax, word [edx + 8]
mov word [ebp + ecx*2 - 0x18], ax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
mov edx, dword [ebp - 4]
mov word [ebp + edx*2 - 0x18], ax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x25c]
mov ax, word [edx + 8]
mov word [ebp + ecx*2 - 0x18], ax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x25c]
mov cx, word [eax + 4]
mov word [ebp + edx*2 - 0x18], cx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0x18], 0x4e4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
mov edx, dword [ebp - 4]
mov word [ebp + edx*2 - 0x18], ax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ebp + ecx*2 - 0x18], 0x4e4
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 8
jae 0x4cbe2f
mov eax, dword [ebp - 4]
mov cx, word [ebp + eax*2 - 0x18]
mov word [ebp - 0x2c], cx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov cx, word [ebp + eax*2 - 0x18]
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
movzx edx, word [ebp - 0x2c]
push edx
push 0x4ec020
push 0x104
push 0x104
lea eax, [ebp - 0x238]
push eax
call fcn.0048a6e8
add esp, 0x1c
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x25c]
mov edx, dword [ecx]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4cbe2a
cmp dword [ebp - 0x20], 0
je 0x4cbe2a
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp + 0xc]
call fcn.0042b759
mov al, 1
jmp 0x4cbe31
jmp 0x4cbd88
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret 8
Function at 0x4cbf60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x503c98
push 0x490fd0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [0x50c464]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x4cbfba
cmp dword [ebp + 0xc], 0
je 0x4cbfba
cmp dword [ebp + 0x10], 1
jae 0x4cbfbf
jmp 0x4cc09d
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jb 0x4cbfe1
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp - 0x1c], ecx
jbe 0x4cbfe6
jmp 0x4cc09d
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00487ce0
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4cc021
mov dword [ebp - 4], 0xfffffffe
jmp 0x4cc09d
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.00489500
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4cc07d
mov eax, dword [ebp + 0x10]
sub eax, 1
cmp dword [ebp - 0x1c], eax
ja 0x4cc07d
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0048d313
add esp, 0x10
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x4cc09d
cmp dword [ebp - 0x20], 0
je 0x4cc0bc
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048ab32
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cc130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, dword [ebp + 8]
call fcn.00422f07
movzx eax, al
test eax, eax
je 0x4cc15a
xor eax, eax
jmp 0x4cc3c2
mov word [ebp - 0x218], 0
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00489500
add esp, 0xc
push 0x4ec060
xor ecx, ecx
mov esi, dword [ebp + 8]
call fcn.00413b05
cmp eax, 0xffffffff
je 0x4cc1cb
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x4ec084
call fcn.004cbf60
add esp, 0xc
test eax, eax
jne 0x4cc1b1
xor eax, eax
jmp 0x4cc3c2
lea eax, [ebp - 0x218]
push eax
push 0x4ec0a8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e0e
jmp 0x4cc3b1
push 0x4ec0cc
xor ecx, ecx
mov esi, dword [ebp + 8]
call fcn.00413b05
cmp eax, 0xffffffff
je 0x4cc21d
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x4ec0e0
call fcn.004cbf60
add esp, 0xc
test eax, eax
jne 0x4cc203
xor eax, eax
jmp 0x4cc3c2
lea eax, [ebp - 0x218]
push eax
push 0x4ec0f4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e0e
jmp 0x4cc3b1
push 0x4ec108
xor ecx, ecx
mov esi, dword [ebp + 8]
call fcn.00413b05
cmp eax, 0xffffffff
je 0x4cc26f
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x4ec118
call fcn.004cbf60
add esp, 0xc
test eax, eax
jne 0x4cc255
xor eax, eax
jmp 0x4cc3c2
lea eax, [ebp - 0x218]
push eax
push 0x4ec128
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e0e
jmp 0x4cc3b1
push 0x4ec138
xor ecx, ecx
mov esi, dword [ebp + 8]
call fcn.00413b05
cmp eax, 0xffffffff
je 0x4cc2ba
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
ja 0x4cc2a0
xor eax, eax
jmp 0x4cc3c2
lea eax, [ebp - 0x218]
push eax
push 0x4ec14c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e0e
jmp 0x4cc3b1
push 0x4ec160
xor ecx, ecx
mov esi, dword [ebp + 8]
call fcn.00413b05
cmp eax, 0xffffffff
je 0x4cc305
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
test eax, eax
ja 0x4cc2eb
xor eax, eax
jmp 0x4cc3c2
lea eax, [ebp - 0x218]
push eax
push 0x4ec174
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e0e
jmp 0x4cc3b1
push 0x4ec188
xor ecx, ecx
mov esi, dword [ebp + 8]
call fcn.00413b05
cmp eax, 0xffffffff
je 0x4cc367
push 0x20a
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00489500
add esp, 0xc
push 0x105
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x218]
push edx
push 0x4ec19c
mov eax, dword [ebp + 8]
push eax
call fcn.00433e0e
jmp 0x4cc3b1
push 0x4ec1b0
xor ecx, ecx
mov esi, dword [ebp + 8]
call fcn.00413b05
cmp eax, 0xffffffff
je 0x4cc3b1
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x4ec1cc
call fcn.004cbf60
add esp, 0xc
test eax, eax
jne 0x4cc39c
xor eax, eax
jmp 0x4cc3c2
lea edx, [ebp - 0x218]
push edx
push str._Systemroot_
mov eax, dword [ebp + 8]
push eax
call fcn.00433e0e
mov ecx, dword [ebp + 8]
push ecx
call fcn.004cc0e0
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret
Function at 0x4cc700
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00489500
add esp, 0xc
mov byte [ebp - 1], 0
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
test eax, eax
ja 0x4cc756
jmp 0x4cc803
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov dword [ebp - 0x21c], 0
jmp 0x4cc77e
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 1
jae 0x4cc803
mov word [ebp - 0x430], 0
push 0x208
push 0
lea ecx, [ebp - 0x42e]
push ecx
call fcn.00489500
add esp, 0xc
push 0xffffffffffffffff
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.0048d313
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx*4 + 0x512774]
push edx
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.004c85a1
add esp, 0x10
lea ecx, [ebp - 0x430]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cc7fe
mov byte [ebp - 1], 1
jmp 0x4cc803
jmp 0x4cc76f
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret

Function at 0x4cc820
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 0xd], 0
push 0x288
call fcn.0048978d
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4cc847
xor al, al
jmp 0x4cc931
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x288
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6f
jne 0x4cc8aa
mov edx, dword [ebp - 0x14]
push edx
call fcn.004896b0
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.0048978d
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4cc89a
xor al, al
jmp 0x4cc931
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x4cc90e
cmp dword [ebp - 0x14], 0
je 0x4cc90e
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x190], 3
ja 0x4cc8d2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x4cc8b6
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x194]
cmp edx, 0x52
jne 0x4cc904
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x195]
cmp ecx, 0x54
jne 0x4cc904
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x196]
test eax, eax
jne 0x4cc904
mov byte [ebp - 0xd], 1
jmp 0x4cc90e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
jmp 0x4cc8b6
cmp dword [ebp - 8], 0
je 0x4cc92e
mov eax, dword [ebp - 8]
push eax
call fcn.004896b0
add esp, 4
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x4cc940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov byte [ebp - 9], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cc980
mov byte [ebp - 9], 0
jmp 0x4cc9fd
push 0x80
call fcn.0048978d
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0x50
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4cc9c9
mov byte [ebp - 9], 0
jmp 0x4cc9e1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0047a732
add esp, 8
test eax, eax
je 0x4cc9e1
mov byte [ebp - 9], 1
cmp dword [ebp - 0x18], 0
je 0x4cc9f3
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004896b0
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x4ccae0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00489500
add esp, 0xc
mov byte [ebp - 1], 0
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
test eax, eax
ja 0x4ccb36
jmp 0x4ccbe3
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov dword [ebp - 0x21c], 0
jmp 0x4ccb5e
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 5
jae 0x4ccbe3
mov word [ebp - 0x430], 0
push 0x208
push 0
lea ecx, [ebp - 0x42e]
push ecx
call fcn.00489500
add esp, 0xc
push 0xffffffffffffffff
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.0048d313
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx*4 + 0x51274c]
push edx
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.004c85a1
add esp, 0x10
lea ecx, [ebp - 0x430]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ccbde
mov byte [ebp - 1], 1
jmp 0x4ccbe3
jmp 0x4ccb4f
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret
Function at 0x4ccc00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x23d], 0
mov dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00489500
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x4ccc6a
jmp 0x4cccb9
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x4cccb9
lea eax, [ebp - 0x214]
push eax
push str.vmusrvc.exe
call fcn.0048a14c
add esp, 8
test eax, eax
jne 0x4ccca2
mov byte [ebp - 0x23d], 1
jmp 0x4cccb9
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4ccc81
cmp dword [ebp - 0x23c], 0
je 0x4cccd9
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x23c], 0
mov al, byte [ebp - 0x23d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret
Function at 0x4cf3a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x4cc], ecx
cmp dword [ebp + 8], 0
je 0x4cf3c5
cmp dword [ebp + 0xc], 0
jne 0x4cf3cc
xor eax, eax
jmp 0x4cf4e9
lea eax, [ebp - 0x400]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
test eax, eax
je 0x4cf4d9
mov dword [ebp - 8], 0
jmp 0x4cf3f8
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [ebp + edx*2 - 0x400]
test eax, eax
je 0x4cf4d9
push 0x4ed218
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx*2 - 0x400]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x4cf43f
push 0x4ed220
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax*2 - 0x400]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x4cf441
jmp 0x4cf3ef
mov edx, dword [ebp - 8]
mov ax, word [ebp + edx*2 - 0x400]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 8]
mov dx, word [ebp + ecx*2 - 0x3fe]
mov word [ebp - 0x12], dx
mov word [ebp - 0x10], 0
push 0x64
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
jne 0x4cf480
xor eax, eax
jmp 0x4cf4e9
lea edx, [ebp - 0x4c8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x4c8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00489f99
add esp, 0xc
test eax, eax
jne 0x4cf4d4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
mov eax, 1
jmp 0x4cf4e9
jmp 0x4cf3ef
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret 8
Function at 0x4cf580
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4cf5c0
cmp dword [ebp + 8], 4
je 0x4cf5c0
cmp dword [ebp + 8], 8
jne 0x4cf5c5
jmp 0x4cf69b
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4cf5e4
jmp 0x4cf69b
mov word [ebp - 0x218], 0
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00489500
add esp, 0xc
push 0x103
lea edx, [ebp - 0x218]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4cf67c
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00489500
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x4cf65d
jmp 0x4cf69b
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp - 0x448]
call fcn.004cf3a0
test eax, eax
jne 0x4cf67c
jmp 0x4cf69b
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413b94
mov dword [ebp - 0xc], 1
xor edx, edx
jne 0x4cf5ae
cmp dword [ebp - 8], 0
je 0x4cf6ab
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret 8
Function at 0x4cf7a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x50c464]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0x80004005
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0xffffffff
mov byte [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 8], 0
je 0x4cf801
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test edx, edx
jne 0x4cf80b
jmp 0x4cf92e
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4cf83a
jmp 0x4cf92e
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
ja 0x4cf859
jmp 0x4cf92e
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4cf882
jmp 0x4cf92e
lea edx, [ebp - 0xc]
push edx
call fcn.004cf6c0
add esp, 4
test eax, eax
jne 0x4cf89c
jmp 0x4cf92e
mov eax, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4cf8c1
jmp 0x4cf92e
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
push 0
push 0
push 4
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4cf8fe
jmp 0x4cf92e
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004cf6f0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4cf92e
cmp dword [ebp - 0x24], 0
je 0x4cf92e
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0xffffffff
je 0x4cf945
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491166
mov esp, ebp
pop ebp
ret

Function at 0x4d0290
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret