joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100034c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a28b6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100d40f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1005e9e5
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1005cb89
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a326c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100d40f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x30]
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
sbb ecx, ecx
xor al, al
and ecx, 0xfffffffc
add ecx, 8
add ecx, edx
mov edx, dword [edx + 0xc]
mov edi, edx
push edx
mov ecx, dword [ecx]
rep stosb byte es:[edi], al
call fcn.10055e00
add esp, 4
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1000a6f8
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x1000a709
push 0x40
push esi
call fcn.1005ea18
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
push 0x100bf34c
mov dword [ebp - 8], edi
jmp 0x1001b54d
lea esp, [esp + 4]
sar ax, cl
cmovge eax, edi
mov eax, dword [edi + 0x10]
xor bl, bl
jmp 0x1001d674
push 0x40
push 0x1000
jmp 0x10025836
mov dword [ebp - 4], eax
jmp loc.100e6c6c
push eax
push 0
push esi
jmp 0x1002417a

Function at 0x1000ee30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x100d40f8]
xor eax, esp
mov dword [esp + 0x60], eax
cmp dword [0x100da658], 0
push esi
mov esi, dword [ebp + 8]
jne 0x1000ee65
mov dword [0x100da65c], 0
mov dword [0x100da658], 1
push edx
mov edx, ecx
mov dword [esp + 0xc], 0x67452301
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.1000ebf0
add esp, 4
lea edx, [esp + 8]
mov ecx, esi
call fcn.1000ed10
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret

Function at 0x1000f030
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 0xc]
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000f0b5
cmp dword [edi + 8], 0
jne 0x1000f06e
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1000f0b5
cmp dword [edi + 8], 0
jne 0x1000f06e
push edi
mov ecx, ebx
call fcn.1000f000
test eax, eax
je 0x1000f0b5
lea eax, [edi + 0x24]
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jne 0x1000f0ac
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1000f0ac
cmp dword [edi + 8], esi
jne 0x1000f0a5
push edi
mov ecx, ebx
call fcn.1000f000
test eax, eax
lea eax, [edi + 0x24]
jne 0x1000f076
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x1000f0c0
Capabilities:
Terminate process

Disassembly:
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000f0d9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
xor eax, eax
ret
Function at 0x1000f260
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2050
call fcn.10060200
mov eax, dword [0x100d40f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1002
lea eax, [ebp - 0x200c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.100781c0
push 0x1002
lea eax, [ebp - 0x1008]
push 0
push eax
call fcn.100781c0
add esp, 0x14
mov edx, 0x800
push esi
push ecx
lea ecx, [ebp - 0x200c]
call fcn.1000f4b0
push ecx
push esi
push ecx
mov edx, 0x800
lea ecx, [ebp - 0x1008]
call fcn.1000f4b0
cmp word [ebp - 0x1008], 0x22
jne 0x1000f303
lea eax, [ebp - 0x1006]
push 0x22
push eax
call fcn.100774c8
xor ecx, ecx
add esp, 4
mov edx, 0x800
mov word [eax], cx
lea eax, [ebp - 0x1006]
push eax
push ecx
lea ecx, [ebp - 0x1008]
call fcn.1000f4b0
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x40
lea eax, [ebp - 0x204c]
mov dword [ebp - 0x2050], 0x44
push 0
push eax
call fcn.100781c0
add esp, 0xc
lea eax, [ebp - 0x2050]
push edi
push eax
lea eax, [ebp - 0x1008]
push eax
mov eax, dword [ebp + 0xc]
neg eax
push 0
sbb eax, eax
and eax, 4
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x200c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret

Function at 0x1000f370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100d40f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov dword [ebp - 0x234], ecx
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000f41a
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000f41a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call ebx
test eax, eax
je 0x1000f419
nop dword [eax + eax]
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.10087268
add esp, 8
test eax, eax
je 0x1000f413
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call ebx
test eax, eax
jne 0x1000f3e0
jmp 0x1000f419
mov edi, dword [ebp - 0x228]
pop ebx
test esi, esi
je 0x1000f42a
cmp esi, 0xffffffff
je 0x1000f42a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret
Function at 0x10010440
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3b20
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x100d40f8]
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 ebx, edx
cmp dword [ecx + 0x14], 8
jb 0x10010478
mov ecx, dword [ecx]
lea eax, [ebp - 0x290]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x10010639
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x264], ax
jne 0x100104b8
xor ecx, ecx
jmp 0x100104d0
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100104c1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x40]
call fcn.10005720
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x294], eax
test ecx, ecx
jne 0x10010517
call fcn.1005c82d
mov eax, dword [ecx]
lea edx, [ebp - 0x294]
push edx
lea edx, [ebp - 0x29c]
push edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x40]
push edx
call eax
test al, al
jne 0x10010619
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
je 0x10010619
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x264], ax
je 0x10010585
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10010576
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005720
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x294], eax
test ecx, ecx
je 0x10010512
mov eax, dword [ecx]
lea edx, [ebp - 0x294]
push edx
lea edx, [ebp - 0x2a4]
push edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x28]
push edx
call eax
test al, al
jne 0x10010611
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100105fd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10006390
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
jne 0x10010550
jmp 0x10010619
lea ecx, [ebp - 0x28]
call fcn.10006460
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x10010635
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10006390
mov al, 1
jmp 0x1001063b
xor al, al
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.1005e9d4
mov esp, ebp
pop ebp
ret
Function at 0x10010660
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3b71
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x100d40f8]
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 ebx, edx
mov esi, ecx
mov dword [ebp - 0x4a8], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x100106d4
mov eax, dword [ebx]
jmp 0x100106d6
mov eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100805b4
push edi
mov edx, 0x100bf3ec
lea ecx, [ebp - 0x230]
call fcn.10014ab0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x10010704
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10087369
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp eax, 8
jb 0x10010737
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10006390
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10010770
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x10010851
test byte [ebp - 0x498], 0x10
jne 0x10010816
push 0x100bf160
mov edx, ebx
lea ecx, [ebp - 0x248]
call fcn.10014bc0
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
call fcn.10014cd0
add esp, 8
push eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 2
call fcn.1000fdb0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x100107d8
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10006390
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x10010816
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.10006390
lea eax, [ebp - 0x498]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10010770
test edi, edi
je 0x10010837
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x4a4]
mov dword [esi], eax
mov eax, dword [ebp - 0x4a0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x49c]
mov dword [esi + 8], eax
mov eax, esi
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.1005e9d4
mov esp, ebp
pop ebp
ret
Function at 0x10010870
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3b71
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x100d40f8]
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 ebx, edx
mov esi, ecx
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x100108e1
mov eax, dword [ebx]
jmp 0x100108e3
mov eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100805b4
push str..
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10087369
add esp, 0x18
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10010942
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x10010a31
test byte [ebp - 0x498], 0x10
je 0x100109f6
cmp word [ebp - 0x46c], 0x2e
je 0x100109f6
push 0x100bf160
mov edx, ebx
lea ecx, [ebp - 0x248]
call fcn.10014bc0
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
call fcn.10014cd0
add esp, 8
push eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 2
call fcn.1000fdb0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x100109b8
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10006390
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x100109f6
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.10006390
lea eax, [ebp - 0x498]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10010942
test edi, edi
je 0x10010a17
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x4a4]
mov dword [esi], eax
mov eax, dword [ebp - 0x4a0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x49c]
mov dword [esi + 8], eax
mov eax, esi
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.1005e9d4
mov esp, ebp
pop ebp
ret
Function at 0x10010a50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [0x100d40f8]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push esi
push edi
mov bl, 1
call fcn.10005db0
push eax
lea eax, [esp + 0x264]
push 0x104
push eax
call fcn.100805b4
push str..
lea eax, [esp + 0x270]
push 0x104
push eax
call fcn.10087369
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10010b66
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
mov ecx, 0x100bf3a4
lea eax, [esp + 0x3c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10010b06
test dx, dx
je 0x10010b02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10010b06
add eax, 4
add ecx, 4
test dx, dx
jne 0x10010ae0
xor eax, eax
jmp 0x10010b0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10010b47
mov eax, 0x100bf3a8
lea ecx, [esp + 0x3c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10010b3e
test dx, dx
je 0x10010b3a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10010b3e
add ecx, 4
add eax, 4
test dx, dx
jne 0x10010b18
xor eax, eax
jmp 0x10010b43
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10010b59
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x10010ad0
jmp 0x10010b5b
xor bl, bl
test esi, esi
je 0x10010b66
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x46c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret

Function at 0x10010b80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100d40f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x234], ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10010c31
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10010c2a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call edi
test eax, eax
je 0x10010c29
nop dword [eax]
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.10087268
add esp, 8
test eax, eax
je 0x10010c23
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call edi
test eax, eax
jne 0x10010bf0
jmp 0x10010c29
mov ebx, dword [ebp - 0x228]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret
Function at 0x10010c50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x100d40f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x3e8
lea eax, [ebp - 0x4bc]
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x4c4], esi
push 0
push eax
mov dword [ebp - 0x4c0], ebx
call fcn.100781c0
xor eax, eax
push 0xc8
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.100781c0
add esp, 0x18
test ebx, ebx
je 0x10010ddb
test esi, esi
je 0x10010ddb
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10010d8e
xor edi, edi
cmp word [ebp - 0x4bc], di
je 0x10010d8e
lea esi, [ebp - 0x4bc]
xor ebx, ebx
nop dword [eax + eax]
push 0x100bf400
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10010d6a
push 0x100bf408
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10010d6a
movzx eax, word [esi]
mov word [ebp - 0xc], ax
movzx eax, word [ebp + ebx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10010d96
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [ebp - 0x4c0]
mov esi, eax
push esi
lea eax, [ebp - 0xd4]
push eax
push ebx
call fcn.10087543
add esp, 0xc
test eax, eax
je 0x10010da9
add edi, 4
lea esi, [ebp - 0x4bc]
lea ebx, [edi + edi]
add esi, ebx
cmp word [esi], 0
jne 0x10010cf0
mov ebx, dword [ebp - 0x4c0]
mov esi, dword [ebp - 0x4c4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x4c4]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebx + esi*2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1005e9d4
mov esp, ebp
pop ebp
ret
Function at 0x10011380
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3c78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100d40f8]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x5c], edi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x64], 0
jb 0x100113c3
mov eax, dword [esi]
jmp 0x100113c5
mov eax, esi
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.10087eef
mov ebx, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x100113f9
mov esi, dword [esi]
push 0x100bf3a0
push esi
call fcn.10086f42
add esp, 8
mov dword [ebp - 0x60], eax
push 0
test eax, eax
jne 0x10011438
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x100be7fc
mov byte [edi], al
call fcn.10005c50
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100114bb
inc ecx
push ecx
jmp 0x100114b0
push 0
push eax
call fcn.10081d69
lea esi, [ebx + 1]
push esi
call fcn.10087efa
push esi
mov ebx, eax
push 0
push ebx
call fcn.100781c0
mov esi, dword [ebp - 0x60]
push esi
push dword [ebp - 0x5c]
push 1
push ebx
call fcn.10087132
push esi
call fcn.10080fc6
add esp, 0x30
cmp byte [ebx], 0
jne 0x10011475
xor ecx, ecx
jmp 0x10011489
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011480
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.10005c50
push ebx
call fcn.10080618
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.1000fa90
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 0x10
jb 0x100114bb
inc eax
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10005e10
mov eax, 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.1005e9d4
mov esp, ebp
pop ebp
ret