joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b64fb
Capabilities:
Get storage device properties

Disassembly:
push 0x54
mov eax, 0x100e50d6
call fcn.100c745c
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov dword [ebp - 0x48], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b6530
xor al, al
jmp 0x100b66ae
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push eax
push 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], ebx
push eax
push 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], ebx
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
push edi
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b656e
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x100b6529
mov esi, dword [ebp - 0x3c]
push esi
call fcn.1000fbd8
push esi
push ebx
push eax
mov dword [ebp - 0x44], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
push esi
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push esi
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b65ae
push esi
call fcn.100c7651
pop ecx
jmp 0x100b6565
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
test eax, eax
je 0x100b668a
cmp eax, dword [esi + 4]
jae 0x100b668a
add eax, esi
lea ecx, [ebp - 0x60]
push eax
call fcn.1000fbd8
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x100b65f0
mov byte [ebp - 0x44], bl
push dword [ebp - 0x44]
push eax
call fcn.1000fbd8
lea ecx, [ebp - 0x60]
call fcn.100090b6
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
test eax, eax
je 0x100b661d
lea edx, [eax + ecx]
mov eax, ecx
cmp ecx, edx
jae 0x100b661d
cmp byte [eax], 0x20
jne 0x100b6649
inc eax
cmp eax, edx
jb 0x100b6613
or eax, 0xffffffff
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000fbd8
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
test eax, eax
je 0x100b665b
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
jmp 0x100b6652
sub eax, ecx
jmp 0x100b6620
cmp ecx, edx
je 0x100b665b
dec ecx
cmp byte [ecx], 0x20
je 0x100b664d
sub ecx, edx
jmp 0x100b665e
or ecx, 0xffffffff
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000fbd8
push dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
call fcn.1000fbd8
push esi
call fcn.100c7651
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov bl, 1
jmp 0x100b6698
push esi
call fcn.100c7651
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100b66ac
inc ecx
push ecx
push dword [ebp - 0x2c]
call fcn.1000fbd8
pop ecx
pop ecx
mov al, bl
call fcn.100c7406
ret
Function at 0x100b6758
Capabilities:
Get hostname

Disassembly:
push 0x43c
mov eax, 0x100e513e
call fcn.100c745c
mov edi, dword [ebp + 8]
mov ecx, edi
push 0xf
push str.unknown_machine
call fcn.1000fbd8
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x414], 0x100
lea eax, [ebp - 0x414]
mov esi, 0xff
push eax
lea eax, [ebp - 0x210]
push eax
push 5
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b688e
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x448]
call fcn.1000fbd8
and dword [ebp - 4], 0
cmp dword [ebp - 0x438], 0
je 0x100b67fe
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
push edi
cmovae eax, dword [ebp - 0x448]
push eax
call fcn.1000fbd8
pop ecx
pop ecx
xor esi, esi
jmp 0x100b6881
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0x100
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push 1
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b6881
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x430]
call fcn.1000fbd8
cmp dword [ebp - 0x420], 0
mov byte [ebp - 4], 1
je 0x100b6876
cmp dword [ebp - 0x41c], 8
lea eax, [ebp - 0x430]
push edi
cmovae eax, dword [ebp - 0x430]
push eax
call fcn.1000fbd8
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x430]
call fcn.100227b7
lea ecx, [ebp - 0x448]
call fcn.100227b7
jmp 0x100b6891
xor esi, esi
inc esi
mov eax, esi
call fcn.100c7406
ret
Function at 0x100b79f4
Capabilities:
Get hostname

Disassembly:
push 0x224
mov eax, 0x100e540a
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x202
push 0
xor ebx, ebx
push eax
inc ebx
mov byte [esi], 0
call sub.VCRUNTIME140.dll_memset
and dword [ebp - 0x220], 0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x218], 0x100
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
and dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 2
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b7a82
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x230]
call fcn.1000fbd8
cmp dword [ebp - 0x220], 0
je 0x100b7a82
mov byte [esi], bl
xor ebx, ebx
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x100b7aa2
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x230]
call fcn.1000fbd8
pop ecx
pop ecx
mov eax, ebx
call fcn.100c7406
ret

Function at 0x100b7b4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e543a
mov eax, dword fs:[0]
push eax
mov eax, 0x1010
call fcn.100c8430
mov eax, dword [0x1016a39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea eax, [ebp - 0x810]
mov esi, 0x800
mov dword [ebp - 4], edi
push esi
push edi
push eax
mov dword [ebp - 0x1014], edi
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x1010]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 0x101c], eax
mov esi, 0x400
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x810]
push esi
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100b7bee
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x101c]
call fcn.100b57ae
test eax, eax
jne 0x100b7c12
push esi
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100b7c12
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x101c]
call fcn.100b57ae
mov esi, dword [ebp - 0x1014]
lea ecx, [ebp + 8]
call fcn.100227b7
mov eax, esi
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.100c73e0
leave
ret
Function at 0x100b8335
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x100e54dd
call fcn.100c74ca
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x20]
push edx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100b8445
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000fbd8
pop ecx
push dword [ebp - 0x20]
mov esi, eax
call fcn.1000fbd8
pop ecx
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100b8422
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov word [esi + eax*2], cx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
call fcn.10026c47
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.1000fbd8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.100227b7
lea ecx, [ebp - 0x64]
call fcn.100227b7
push esi
call fcn.100c7651
push edi
call fcn.100c7651
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100b8360
xor ebx, ebx
push esi
inc ebx
call fcn.100c7651
push edi
call fcn.100c7651
pop ecx
pop ecx
jmp 0x100b8445
mov eax, ebx
call fcn.100c7417
ret

Function at 0x100b84f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100e5527
call fcn.100c74ca
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x10]
inc edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x20], ecx
jb 0x100b8518
mov eax, dword [esi]
lea edx, [ebp - 0x18]
xor ebx, ebx
push edx
push ebx
push ebx
push ebx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b8591
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 2
inc eax
mov dword [ebp - 4], ebx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000fbd8
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
jb 0x100b8554
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 0
push 0
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b8578
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.1000fbd8
xor edi, edi
push ebx
call fcn.100c7651
pop ecx
jmp 0x100b8591
mov eax, edi
call fcn.100c7417
ret
Function at 0x100bcb79
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x100e5f38
call fcn.100c745c
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x44], esi
call fcn.1000fbd8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 1
push 0x100f25f4
call fcn.1000fbd8
push 2
push 0x1013edec
lea ecx, [ebp - 0x40]
call fcn.1000fbd8
push 1
push 0x100f25f4
lea ecx, [ebp - 0x40]
call fcn.1000fbd8
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x100bcbe0
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.1000fbd8
push 1
push 0x100eef5c
lea ecx, [ebp - 0x40]
call fcn.1000fbd8
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x100bcc05
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.1000fbd8
push 7
xor ebx, ebx
xor eax, eax
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1000fbd8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, esi
test eax, eax
jne 0x100bcc89
push 0x100eadb0
call fcn.1000fbd8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100bcc71
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.1000fbd8
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edi
cmp eax, 0x10
jb 0x100bcccc
inc eax
push eax
jmp 0x100bccc2
lea eax, [ebp - 0x40]
push eax
call fcn.1000fbd8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100bccac
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.1000fbd8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x100bcccc
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.1000fbd8
pop ecx
pop ecx
mov eax, esi
call fcn.100c7406
ret
Function at 0x100c687e
Capabilities:
Get file size

Disassembly:
push 0x74
mov eax, 0x100e79db
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x80]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x50
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.100419f1
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x80]
call fcn.1000fbd8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ebx
cmovae eax, dword [ebp - 0x30]
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100c6909
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x100c6902
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.100227b7
lea ecx, [ebp - 0x80]
call fcn.10041ada
mov al, bl
call fcn.100c7406
ret

Function at 0x100c6921
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x100e7a13
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x78]
push 0x50
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.100419f1
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push eax
lea ecx, [ebp - 0x78]
call fcn.1000fbd8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.100227b7
lea ecx, [ebp - 0x78]
call fcn.10041ada
mov al, bl
call fcn.100c7406
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401c66
pop dword [ebp - 0x24]
mov eax, 0x6972ff84
add eax, 0x96cd1ce2
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x702d45f8
add dword [ebp - 0x34], 0xde24ff53
mov dword [ebp - 0x30], 0x27ae90a0
add dword [ebp - 0x30], 0xa84bba5
mov dword [ebp - 0x2c], 0x6c0f9a2a
add dword [ebp - 0x2c], 0xe03caa04
mov dword [ebp - 0x28], 0xfa65c5fe
sub dword [ebp - 0x28], 0xfa65c5fe
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x56072da0
add dword [ebp - 0x34], 0x1e6b3bb6
mov dword [ebp - 0x30], 0x40400e82
add dword [ebp - 0x30], 0x12c52f3
mov dword [ebp - 0x2c], 0xdb5b4db5
add dword [ebp - 0x2c], 0x88141eb7
mov dword [ebp - 0x28], 0x3eb38a05
sub dword [ebp - 0x28], 0x3eb38a05
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x65f6e53b
add eax, 0x9a494af1
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x39e52
push 0
call eax
mov ecx, 0xa6fe91d1
add ecx, 0x5901c3d7
xor edi, edi
add edi, eax
mov esi, 0xa44e9ee4
sub esi, 0xa40e2ee4
add esi, dword [ebp - 0x24]
mov ebx, 0x4207d3ef
add dword [ebp - 0x14], ecx
mov edx, dword [esi]
xor dword [ebp - 0x20], 0xf59f3c7e
add edx, ebx
add dword [ebp - 0x20], 0x303dce6a
mov dword [edi], edx
xor dword [ebp - 0x10], 0xe9c8441
add edi, 4
add esi, 0x1ecadf4d
sub esi, 0x1ecadf49
loop 0x401d7f
add eax, 0x14973
mov ebx, eax
add eax, 0xc88bcdb3
add eax, 0x37743252
mov ecx, 0x857be263
add ecx, 0x7ac41d9d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x100176c0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [0x1001e7f8]
mov eax, dword [eax]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x22c]
call eax
test eax, eax
je 0x10017710
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005d70
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005d10
ret

Function at 0x10017720
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001e7f8]
mov eax, dword [eax]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10017763
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005d70
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005d10
ret

Function at 0x10017ff3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001e108]
jne 0x10017ffd
repz ret
jmp fcn.10018482

Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x6eab6335
nop
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2f47179a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ad26
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonSize], eax
call fcn.00407c1c
pop ecx
mov ecx, dword [sym.TestArrayUtils.exe_gMozillaPoisonSize]
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40ad5e
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x401460
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x20
call sym.___main
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
jmp 0x4014c2
mov dword [esp], 8
call sym._malloc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 6
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
add dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
jl 0x401490
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym._stampa
mov dword [esp], str.pause
call sym._system
mov eax, 0
leave
ret