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

Disassembly:
push ebp
lea ebp, [esp - 0x138]
sub esp, 0x1b8
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x134], eax
push ebx
push 0x104
xor ebx, ebx
lea eax, [ebp + 0x30]
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x30]
push eax
push ebx
push ebx
push 0x2c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x1000f8b7
xor eax, eax
mov ecx, dword [ebp + 0x134]
xor ecx, ebp
pop ebx
call fcn.10013502
add ebp, 0x138
leave
ret
push esi
lea eax, [ebp + 0x30]
push edi
mov dword [ebp + 0x28], 0xf
mov dword [ebp + 0x24], ebx
mov byte [ebp + 0x14], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000f8cc
sub eax, esi
push eax
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x14]
call fcn.10002aab
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10008c0a
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x14]
call fcn.10002786
push 0x22
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x14]
push 0x22
push eax
call fcn.1000fdcd
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.10008c0a
add esp, 0xc
push ebx
push esi
lea ecx, [ebp + 0x14]
call fcn.10002786
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_memset
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 0xc], 0x10
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, ecx
jae 0x1000f95e
lea eax, [ebp - 8]
add eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 0x10
jae 0x1000f96a
lea ecx, [ebp - 8]
push dword [ebp - 0x29]
mov dword [ebp + 0x20], ebx
push eax
push ecx
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
call fcn.1000fe48
lea eax, [ebp - 0x25]
push eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 0x25], bl
call fcn.1000fc2a
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x1000f99b
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push 0x8000000
push esi
push ebx
push ebx
push dword [ebp + 0x20]
push eax
call fcn.10008c0a
add esp, 0x28
test eax, eax
jne 0x1000f9e4
xor edi, edi
lea ecx, [ebp + 0x20]
call fcn.1000fabc
push ebx
push esi
lea ecx, [ebp - 8]
call fcn.10002786
push ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.10002786
mov eax, edi
pop edi
pop esi
jmp 0x1000f8a1
mov edi, esi
jmp 0x1000f9bf
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1e7d7dd5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x7ac436fe
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x60d2642c
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
mov ecx, 0x39b92edd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x845058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8451a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x84507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84506a
add dl, dl
jne 0x845089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8450dc
xor eax, eax
add dl, dl
jne 0x845096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84517d
add dl, dl
jne 0x8450a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8450d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x845075
mov eax, 1
add dl, dl
jne 0x8450ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8450e1
sub eax, ebx
mov ebx, 1
jne 0x845128
mov ecx, 1
add dl, dl
jne 0x84510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x845119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x84513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x84514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845136
cmp eax, 0x7d00
jae 0x84516d
cmp eax, 0x500
jb 0x845168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
cmp eax, 0x7f
ja 0x845170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x84519e
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 0x845075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp int.00401219
Function at 0x4021b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4371c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1fe
push ebx
push 0x43fd40
mov dword [ebp - 0x238], ebx
call fcn.00419e30
mov eax, dword [str.360Safe.exe]
push 0x4326f4
push eax
call fcn.00418943
add esp, 0x14
test eax, eax
jne 0x402325
push esi
push edi
mov esi, 0x43bbb8
mov dword [ebp - 0x234], ebx
jmp 0x402210
mov esi, dword [esi]
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], ebx
call fcn.00419e30
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4022e7
lea edx, [ebp - 0x230]
push edx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4022a9
lea ecx, [ecx]
mov ecx, esi
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40228e
cmp dx, bx
je 0x40228a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40228e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x402268
xor eax, eax
jmp 0x402293
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4022b2
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402260
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4022e7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], ebx
je 0x4022e7
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x43bbbc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edx
push 0x43fd40
call esi
push 0x4326f8
push 0x43fd40
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 + 0x43bbb8]
lea esi, [esi + 0x43bbb8]
push 0x4326f4
push eax
call fcn.00418943
add esp, 8
test eax, eax
je 0x402210
pop edi
pop esi
push 0x4326f4
push 0x43fd40
call fcn.00418943
add esp, 8
pop ebx
test eax, eax
jne 0x40234c
push 0x4325c0
push 0x43fd40
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x43fd40
call fcn.0041815f
mov esp, ebp
pop ebp
ret
Function at 0x402360
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4371c0]
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.00419e30
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.00419e30
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 0x402437
push 1
push 7
lea ecx, [ebp - 0x20c]
push ecx
push 0
call eax
test eax, eax
je 0x402437
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 0x402437
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041815f
mov esp, ebp
pop ebp
ret
push ebx
push 0x4327bc
call esi
mov esi, eax
push 0x4327d8
push esi
call edi
push 0x4327ec
push esi
mov ebx, eax
call edi
push 0x4327fc
push esi
mov dword [ebp - 0x624], eax
call edi
mov esi, eax
test ebx, ebx
je 0x402511
mov eax, dword [ebp - 0x624]
test eax, eax
je 0x402511
test esi, esi
je 0x402511
lea edx, [ebp - 0x620]
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call eax
test eax, eax
jne 0x402511
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.00419e30
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 0x402508
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.0041815f
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.0041815f
mov esp, ebp
pop ebp
ret
Function at 0x4029b0
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 0x431978
push 1
push edi
push 0x431938
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x4029e4
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 0x431948
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4029dc
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 0x402a9d
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x42b44c
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x402a79
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 0x43284c
push eax
call edx
test eax, eax
jne 0x402a6e
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 0x402a28
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402e00
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4371c0]
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 0x402e7a
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 0x402e20
push 0x40
lea ecx, [ebp - 0x58]
push 0
push ecx
mov dword [ebp - 0x64], edi
call fcn.00419e30
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 0x432880
push 0xc8
push ebx
call fcn.00418767
push edi
push esi
push ebx
push 0x4328d0
push 0xc8
push ebx
call fcn.00418767
mov ecx, dword [ebp - 4]
add esp, 0x38
pop edi
xor ecx, ebp
pop esi
call fcn.0041815f
mov esp, ebp
pop ebp
ret
Function at 0x402f10
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x434b38
push 0x41c220
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4371c0]
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.00419e30
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 0x402fb6
mov dword [ebp - 0x228], 0xffffffff
jmp 0x403166
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x4030ca
mov esi, 1
sub eax, esi
je 0x403063
sub eax, esi
jne 0x403166
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x403166
cmp eax, 2
ja 0x403166
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 0x403054
push 0x4326a0
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x402fa7
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x403166
mov dword [ebp - 0x228], 0
jmp 0x403166
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x403166
cmp eax, 2
ja 0x403166
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 0x40315a
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], esi
jmp 0x403166
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x403166
cmp eax, 2
ja 0x403166
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 0x40315a
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 0x403166
push str.error
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xfffffffe
call fcn.00403194
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.0041815f
mov esp, ebp
pop ebp
ret
Function at 0x403600
Capabilities:
Enumerate processes
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x4371c0]
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 0x403638
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041815f
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 0x4037e9
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 0x4036c8
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x403680
push str.VMwareService.exe
lea ecx, [ebp - 0x264]
push ecx
call esi
test eax, eax
je 0x403625
push str.VMwareTray.exe
lea edx, [ebp - 0x264]
push edx
call esi
test eax, eax
je 0x403625
push str.VMwareUser.exe
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x403625
lea ecx, [ebp - 0x288]
push ecx
push edi
call ebx
test eax, eax
jne 0x403680
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 0x403736
mov eax, dword [str.WORKGROUP]
mov ecx, dword [0x432c54]
mov edx, dword [0x432c58]
mov dword [ebp - 0x18], eax
mov eax, dword [0x432c5c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x432c60]
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 0x403625
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp - 0x4c], 0
ja 0x403760
jb 0x403625
cmp dword [ebp - 0x50], 0x45f41500
jb 0x403625
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 0x403797
push eax
call edi
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041815f
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.00419eb0
test edx, edx
jg 0x4037e9
jl 0x403625
cmp eax, 0x6e
jb 0x403625
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0041815f
mov esp, ebp
pop ebp
ret
Function at 0x404f00
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.004189a3
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.00419ac0
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 0x404fc9
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 [0x4330d0]
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