joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e31ee
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0xc], 0
mov edi, ecx
jne 0x5e3244
and dword [ebp + 8], 0
lea eax, [ebp + 8]
mov edx, esi
shl edx, 4
add edx, dword [ebx + 4]
push eax
movzx eax, byte [edx + 0xd]
push eax
call fcn.00583f49
movzx eax, byte [eax + 0x42]
push eax
call fcn.00583f49
mov edx, dword [edx + 4]
mov ecx, eax
call fcn.005b8e79
mov edx, dword [ebp + 8]
add esp, 0xc
test edx, edx
je 0x5e3244
push 0xfffffffffffffff5
mov ecx, edi
call fcn.005b98c3
pop ecx
mov eax, dword [ebx + 4]
add esi, esi
cmp byte [eax + esi*8 + 0xd], 0x45
jne 0x5e325e
push dword [ebp + 0xc]
mov ecx, edi
push 0x48
pop edx
call fcn.005b917e
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x100018b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100018ce
cmp dword [ebp + 0x14], 0xffffffff
jne 0x100018ce
mov eax, 0x57
jmp 0x10001913
cmp dword [ebp + 0x14], 0xffffffff
jne 0x100018e4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp + 0x14], eax
movzx edx, byte [ebp + 0x10]
neg edx
sbb edx, edx
and edx, 6
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10001b50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fcc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x100262c4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.10001920
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.10001a20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10008d60
mov byte [ebp - 4], 2
push 0x2001f
lea ecx, [ebp - 0x4c]
call fcn.10001fd0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.10001860
test eax, eax
jne 0x10001be8
lea ecx, [ebp - 0x30]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x10]
call fcn.10001c90
lea ecx, [ebp - 0x30]
call fcn.10001fd0
push eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x10]
call fcn.100017b0
push 0x2001f
push 0x100213f4
push SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.10001860
test eax, eax
jne 0x10001c1c
lea ecx, [ebp - 0x30]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x10]
call fcn.10001c70
lea ecx, [ebp - 0x10]
call fcn.100017b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10001790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10001f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.10015c70
mov esp, ebp
pop ebp
ret
Function at 0x10006460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100064a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 1
jne 0x100064b6
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x10006980
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100262c4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x128], ecx
lea ecx, [ebp - 0x10]
call fcn.10008d60
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.10001860
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100069de
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x10]
call fcn.10001790
mov eax, dword [ebp - 0x11c]
jmp 0x10006a6f
mov dword [ebp - 4], pe_nt_image_headers32
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10006a44
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x10]
call fcn.10006980
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10006a3b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x10]
call fcn.10001790
mov eax, dword [ebp - 0x120]
jmp 0x10006a6f
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x100069e5
lea ecx, [ebp - 0x10]
call fcn.100017b0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x128]
call fcn.10001c70
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x10]
call fcn.10001790
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x18]
call fcn.10015c70
mov esp, ebp
pop ebp
ret 4
Function at 0x100099b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002006b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x100262c4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], ecx
push 0x1002197e
lea ecx, [ebp - 0x34]
call fcn.1000c590
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.10016820
add esp, 0xc
movzx edx, byte [0x10021ca0]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x38]
push eax
call fcn.10016820
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push str.bwojxiu
mov edx, dword [ebp - 0x38]
push edx
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.10011ca0
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
call fcn.10001fb0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1001641a
add esp, 4
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x34]
call fcn.10001fd0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10009b7a
movzx eax, byte [0x10021cf2]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 1
push ecx
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.10016820
add esp, 0xc
mov edx, dword [ebp - 0x3c]
push edx
push str.r_Xba
mov eax, dword [ebp - 0x40]
push eax
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.10011ca0
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.10001fb0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.1001641a
add esp, 4
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.10001fd0
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10009b70
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x54], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001f90
mov eax, dword [ebp - 0x54]
jmp 0x10009b93
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001f90
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.10015c70
mov esp, ebp
pop ebp
ret 8
Function at 0x1000a450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100200d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov eax, dword [0x100262c4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xec], ecx
push 0x100219c0
lea ecx, [ebp - 0x3c]
call fcn.1000c590
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.10016820
add esp, 0xc
mov dword [ebp - 0x84], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10016820
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.10001f10
mov byte [ebp - 4], 1
push 0x25
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0xec]
call fcn.1000dbb0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 2
push 0x100219c4
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0xe0]
push edx
call fcn.1000d3f0
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.1000c5d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.10001f90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.10001f90
movzx edx, byte [0x10021c0c]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa4]
add eax, 1
push eax
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa4]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0xa8]
push eax
call fcn.10016820
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
push ecx
push str.CXVNKE_b_a_Uh_f
mov edx, dword [ebp - 0xa8]
push edx
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.10011ca0
add esp, 0xc
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x3c]
call fcn.10001fb0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.1001641a
add esp, 4
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0xa0]
call fcn.1000c5f0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000a636
push str.__s__
lea ecx, [ebp - 0xa0]
call fcn.1000c610
jmp 0x1000a646
push str.__u__s__
lea ecx, [ebp - 0xa0]
call fcn.1000c610
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.1000c5f0
push 0x100219dc
lea ecx, [ebp - 0xa0]
call fcn.1000c610
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0xa0]
call fcn.10001fd0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xea60
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10001f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x20]
call fcn.10015c70
mov esp, ebp
pop ebp
ret 8
Function at 0x1000b430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100201a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x100262c4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x74], ecx
push 0x100219f5
lea ecx, [ebp - 0x50]
call fcn.1000c590
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 0
movzx eax, byte [0x10021d62]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x58]
add ecx, 1
push ecx
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10016820
add esp, 0xc
mov edx, dword [ebp - 0x58]
push edx
push str.blbox
mov eax, dword [ebp - 0x34]
push eax
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.10011ca0
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.10001fb0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.1001641a
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.1000d470
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x30]
call fcn.10001fd0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000b578
mov dword [ebp - 0x5c], 0x50
mov dword [ebp - 0x60], 4
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push str.Start
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b56e
cmp dword [ebp - 0x64], 2
jne 0x1000b56e
mov dword [ebp - 0x54], 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10001f90
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.10015c70
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b670
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100201ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x100262c4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], ecx
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.1000e300
mov eax, dword [ebp - 0x4c]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x48]
call fcn.10001f40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0xa8
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10001f40
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x48]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10015c70
mov esp, ebp
pop ebp
ret
Function at 0x1000b720
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100201f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
mov eax, dword [0x100262c4]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6c], ecx
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.1000e300
mov eax, dword [ebp - 0x6c]
add eax, 0x54
push eax
lea ecx, [ebp - 0x30]
call fcn.10001f40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x6c]
add ecx, 0xe0
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10001f40
mov byte [ebp - 4], 1
push 0x80
lea ecx, [ebp - 0x30]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea ecx, [ebp - 0x30]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1000b7df
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10001f90
mov eax, dword [ebp - 0x50]
jmp 0x1000b8c1
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x10021a00
call fcn.1000c590
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x30]
push eax
call fcn.10001f40
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6c]
call fcn.1000ba30
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x10021a04
call fcn.1000c590
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x60], esp
lea edx, [ebp - 0x30]
push edx
call fcn.10001f40
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6c]
call fcn.1000ba30
jmp 0x1000b873
mov dword [ebp - 4], 1
jmp 0x1000b89c
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10001f90
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.10015c70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ba30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002022c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 1
push 0x44
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.10016820
add esp, 0xc
mov dword [ebp - 0x64], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10016820
add esp, 0xc
push 0x10021a34
lea ecx, [ebp + 8]
call fcn.1000c610
lea edx, [ebp + 0x24]
push edx
lea ecx, [ebp + 8]
call fcn.1000c5f0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.10001fd0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1000bade
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10001f90
jmp 0x1000bb1c
push 0x927c0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10001f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x38
Function at 0x1000bda0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002028c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x37c
mov eax, dword [0x100262c4]
mov dword [ebp - 0x20], eax
push edi
mov dword [ebp - 0x388], ecx
mov dword [ebp - 0x384], 0
lea ecx, [ebp - 0x1c]
call fcn.1000c630
mov dword [ebp - 4], 1
mov dword [ebp - 0x14c], 0
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x148]
rep stosd dword es:[edi], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
jne 0x1000be46
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000c660
mov ecx, dword [ebp - 0x384]
or ecx, 1
mov dword [ebp - 0x384], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000c730
mov eax, dword [ebp + 8]
jmp 0x1000bf4c
mov dword [ebp - 0x14c], 0x128
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000bf15
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x37c], 0
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x378]
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x380], edx
mov eax, dword [ebp - 0x380]
add eax, 1
mov dword [ebp - 0x380], eax
push 0x224
lea ecx, [ebp - 0x37c]
push ecx
mov edx, dword [ebp - 0x380]
push edx
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x388]
call fcn.1000bf70
test eax, eax
je 0x1000befa
lea ecx, [ebp - 0x35c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1001f6ae
add esp, 8
test eax, eax
je 0x1000befa
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000c7d0
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000be6b
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000c660
mov edx, dword [ebp - 0x384]
or edx, 1
mov dword [ebp - 0x384], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000c730
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x20]
call fcn.10015c70
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x1000bf70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x100262c4]
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x230], 0
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x22c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000bfd0
xor eax, eax
jmp 0x1000c05f
mov dword [ebp - 0x230], 0x224
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1000c045
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp + 0xc]
jne 0x1000c01a
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.100164e0
add esp, 0xc
mov dword [ebp - 0x238], 1
cmp dword [ebp - 0x238], 0
jne 0x1000c037
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x1000bfee
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x234], eax
jmp 0x1000c04f
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 8]
call fcn.10015c70
pop edi
mov esp, ebp
pop ebp
ret 0x10