joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44128f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x458800
call fcn.0040dbe4
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.004508a7
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4412ce
call fcn.004508a7
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4412dc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4412ea
or eax, 0xffffffff
jmp 0x4413d2
mov ecx, esi
call fcn.00441205
mov dword [ebp - 0x14], eax
call fcn.004420c5
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x441321
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x441321
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00442079
push dword [ebp - 0x14]
call fcn.00441baa
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00440f20
cmp eax, edi
je 0x441394
test byte [esi + 0x24], 0x10
je 0x441362
push 4
mov ecx, esi
pop ebx
call fcn.00444f2c
test ah, 1
je 0x44135a
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00444616
cmp dword [esi + 0x1c], edi
je 0x441394
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004450b8
jmp 0x441394
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4413a8
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4413c1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4413c1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0044123f
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4425bd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4425f5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00440a21
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004409f9
jmp 0x442601
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4443bf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x444401
call fcn.004508a7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x444401
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4443f8
xor eax, eax
jmp 0x444409
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0044440f
pop edi
pop esi
pop ebx
ret 4
Function at 0x1000136b
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x10020]
mov eax, 0x10020
call fcn.10027d10
push 0xffffffffffffffff
push 0x100328a8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp + 0x1001c], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10028]
xor ebx, ebx
push 0xffff
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x1d]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0xd], bl
mov byte [ebp + 0x1c], bl
call fcn.1001da40
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x1000150f
cmp eax, 0xffffffff
je 0x1000150f
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x10000
lea ecx, [ebp + 0x1c]
push ecx
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
cmp eax, 0xa
jb 0x1000150f
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], cx
mov byte [ebp - 4], 1
cmp byte [ebp + 0x1c], 0xff
jne 0x1000146f
cmp byte [ebp + 0x1d], 0xfe
jne 0x1000146f
shr eax, 1
dec eax
push eax
lea ecx, [ebp + 0x1e]
lea eax, [ebp - 0x38]
call fcn.10001f5a
push 0xffffffffffffffff
lea ecx, [ebp]
push ecx
mov byte [ebp - 4], 2
call fcn.100022a2
push ebx
push 1
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.1000245e
test edi, edi
je 0x100014bd
mov byte [edi], 1
jmp 0x100014bd
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x38]
call fcn.10001ec6
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.100010a1
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 4
call fcn.100022a2
push ebx
push 1
lea esi, [ebp - 0x54]
call fcn.1000245e
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.10002257
test edi, edi
je 0x100014bd
mov byte [edi], bl
push str.PasswordComplexity_
lea eax, [ebp]
push eax
call fcn.10001fcd
cmp eax, 0xffffffff
jne 0x100014d4
push 0
jmp 0x10001505
lea eax, [ebp]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100010e1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
mov byte [ebp - 4], 5
call fcn.10002095
push esi
push 1
lea ecx, [ebp - 0x54]
call fcn.10002257
mov byte [ebp - 0xd], 1
push esi
push 1
lea esi, [ebp]
call fcn.1000245e
lea eax, [ebp - 0x14]
call fcn.1000108b
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x1001c]
xor ecx, ebp
call fcn.1001c206
add ebp, 0x10020
leave
ret
Function at 0x10006036
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x100381b4
push 1
xor ebx, ebx
and dword [ebp - 4], ebx
push ebx
push 0x100381a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100060c2
mov eax, dword [ebp - 4]
test eax, eax
je 0x100060cf
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 2
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x100060c2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 4
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x100060c2
cmp word [ebp - 8], bx
jne 0x100060a3
mov eax, dword [ebp - 4]
or dword [ebp - 8], 0xffffffff
mov ecx, dword [eax]
push 0xffffffffffffffff
push 2
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x100060a3
inc ebx
cmp word [ebp - 0xc], 0
jne 0x100060c2
mov eax, dword [ebp - 4]
or dword [ebp - 0xc], 0xffffffff
mov ecx, dword [eax]
push 0xffffffffffffffff
push 4
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x100060c2
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x100060cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop ebx
leave
ret

Function at 0x1000641c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, 0x1fe
push edi
push eax
mov word [ebp - 0x408], ax
lea eax, [ebp - 0x406]
push eax
call fcn.1001da40
add esp, 0xc
mov esi, 0x100
push esi
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.32770
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000654f
push edi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.1001da40
add esp, 0xc
push esi
lea eax, [ebp - 0x208]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x100445f4]
mov eax, dword [eax]
mov ecx, dword [0x100445e0]
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], eax
mov eax, dword [0x100445f4]
mov dword [ebp - 0x414], eax
mov eax, dword [0x100445e0]
lea edi, [ebp - 0x418]
lea esi, [ebp - 0x410]
mov dword [ebp - 0x418], eax
call fcn.10005e00
test al, al
je 0x1000654f
call fcn.100069df
cmp dword [eax + 0x14], 0
je 0x10006528
cmp dword [eax + 0x18], 8
jb 0x100064ff
mov eax, dword [eax + 4]
jmp 0x10006502
add eax, 4
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrW]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
je 0x10006528
push str._
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
jne 0x10006535
lea esi, [ebp - 0x410]
call fcn.10006b53
jmp 0x100064be
lea eax, [ebp - 0x208]
push eax
push ebx
push str.find_netcfg_wnd__hwnd:0x_08x__text:_ls
call fcn.1001b29e
xor eax, eax
add esp, 0xc
inc eax
jmp 0x10006551
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001c206
leave
ret
Function at 0x10007f79
Capabilities:
List user accounts

Disassembly:
push 0x40
mov eax, 0x10033a44
call fcn.1001d3c1
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
push dword [ebp + 8]
call fcn.100087da
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], esi
xor edi, edi
push esi
inc edi
push esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
call sub.NETAPI32.dll_NetUserEnum
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x10008014
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x18], esi
je 0x1000800a
mov eax, dword [ebp - 0x10]
push dword [eax]
lea esi, [ebp - 0x4c]
call fcn.10001f7d
mov eax, esi
push eax
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea ebx, [ebp - 0x30]
call fcn.10008838
push 0
push edi
mov byte [ebp - 4], 0
call fcn.1000245e
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 4
cmp eax, dword [ebp - 0x18]
jne 0x10007fd1
push dword [ebp - 0x1c]
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x10008027
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.NetUserEnum_Error__LastError:_d
call fcn.1000daf5
pop ecx
pop ecx
mov eax, dword [ebp + 8]
call fcn.1001d499
ret

Function at 0x10008030
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x188]
sub esp, 0x208
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp + 0x184], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.1001da40
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x7c]
push eax
call fcn.10001f7d
mov ecx, dword [ebp + 0x184]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1001c206
add ebp, 0x188
leave
ret
Function at 0x1000b437
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x1000b531
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1000b531
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.1001da40
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.1000b991
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000b4ae
shr eax, 4
not eax
and eax, 1
jmp 0x1000b533
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.1000b541
test eax, eax
je 0x1000b531
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1000b513
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x1000b519
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.1000108b
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x1000b533
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c206
leave
ret

Function at 0x1000b559
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x1000b5c4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.1001da40
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1000b5c4
push edi
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x1000b5c4
call fcn.1000b437
jmp 0x1000b5c6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001c206
leave
ret
Function at 0x1000b67b
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1000b6a7
call fcn.1000b437
test eax, eax
jne 0x1000b6a7
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x1000b6c7
cmp esi, 0xffffffff
jne 0x1000b6df
cmp dword [ebp - 8], ebx
jne 0x1000b6d3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.1000108b
mov eax, ebx
jmp 0x1000b6a0
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000b703
cmp dword [ebp - 4], edi
jne 0x1000b703
xor ebx, ebx
inc ebx
jmp 0x1000b6d3
cmp dword [ebp - 8], ebx
jne 0x1000b6d3
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x1000b71c
cmp esi, ebx
je 0x1000b71c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x1000b6cd

Function at 0x1000b917
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.1001da40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.1000b880
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10042d40]
inc ecx
cmp ecx, 0x24
jl 0x1000b95f
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.1001c206
add ebp, 0x88
leave
ret
Function at 0x1000b9f4
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp - 8], eax
movsx eax, byte [ebp + 8]
push ebx
push esi
push edi
push eax
push str.__c:
lea esi, [ebp - 0x60]
call fcn.1000c9cd
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x1000ba26
mov eax, dword [eax + 4]
jmp 0x1000ba29
add eax, 4
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov ebx, eax
push 1
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], ebx
call fcn.10002257
cmp ebx, esi
je 0x1000ba57
cmp ebx, 0xffffffff
jne 0x1000ba71
lea eax, [ebp - 0x40]
call fcn.1000108b
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c206
leave
ret
push 0x28
pop edx
push 9
pop ecx
xor eax, eax
push esi
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push edx
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1000babd
or esi, 0xffffffff
lea eax, [ebp - 0x40]
call fcn.1000108b
mov eax, esi
jmp 0x1000ba62
mov esi, dword [ebp - 0x20]
jmp 0x1000bab1

Function at 0x1000bfe9
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10041030]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1000c493
push esi
test eax, eax
je 0x1000c076
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1001da40
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x1000c06d
cmp esi, 0xffffffff
je 0x1000c06d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1000c069
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1000c493
test eax, eax
je 0x1000c06d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1000c04f
lea eax, [esp + 4]
call fcn.1000108b
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1001c206
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c08b
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x10041030]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, fcn.1000c3f8
test eax, eax
je 0x1000c112
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x1000c109
cmp esi, 0xffffffff
je 0x1000c109
push 0x228
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], 0x22c
call fcn.1001da40
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1000c105
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.1000c3f8
test eax, eax
je 0x1000c109
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000c0ed
lea eax, [ebp - 0x80]
call fcn.1000108b
pop esi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.1001c206
add ebp, 0x1b4
leave
ret

Function at 0x1000c127
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
cmp dword [ebp + 8], ebx
jne 0x1000c13d
xor eax, eax
jmp 0x1000c1b7
push 0x40
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.1001da40
add esp, 0xc
cmp esi, ebx
jne 0x1000c164
xor eax, eax
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x14], ebx
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
call fcn.1000b3fd
mov edi, eax
lea eax, [ebp - 0x14]
push eax
neg esi
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
sbb esi, esi
and esi, 0xf8000000
add esi, 0x8000000
push esi
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000c1af
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1000b42a
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000c2e9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1000c302
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.1000c20e
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1000c08b
cmp dword [ebp - 0x14], esi
je 0x1000c2f9
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1000c338
cmp eax, 0xffffffff
jne 0x1000c344
lea eax, [ebp - 0x10]
call fcn.1000108b
mov eax, esi
jmp 0x1000c2fb
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000c338
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000c3ee
mov edi, dword [ebp + 8]
call fcn.1000b3fd
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 0x6c], 0x44
call fcn.1001da40
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x3c], ax
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x40], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1000c3dd
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
call ebx
push dword [ebp + 8]
call fcn.1000b42a
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x1000c338

Function at 0x1000c44a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x1000c45d
xor eax, eax
inc eax
jmp 0x1000c48f
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x1000c484
cmp eax, 0xffffffff
je 0x1000c484
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea eax, [ebp + 8]
call fcn.1000108b
mov eax, esi
pop esi
pop ebp
ret 8