joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4054d4
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
xor edx, edx
push ebp
push 0x4055e1
push dword fs:[edx]
mov dword fs:[edx], esp
dec eax
jne 0x4055bb
cmp byte [0x4081f8], 0
je 0x4055bb
lea edx, [ebp - 4]
mov eax, 1
call fcn.00404fb0
lea edx, [ebp - 8]
mov eax, 2
call fcn.00404fb0
lea eax, [ebp - 0x10e]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x114]
mov edx, dword [0x4096a0]
call fcn.00403244
mov eax, dword [ebp - 0x114]
call fcn.0040328c
test eax, eax
je 0x405563
mov eax, dword [0x4096a0]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, dword [ebp - 4]
call fcn.0040328c
cmp eax, 4
jle 0x4055af
mov eax, dword [ebp - 4]
call fcn.00405098
test al, al
je 0x405589
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405384
jmp 0x4055af
push 5
mov eax, dword [0x408258]
push eax
mov eax, dword [ebp - 8]
call fcn.0040348c
push eax
mov eax, dword [ebp - 4]
call fcn.0040348c
push eax
push 0x4055ec
push 0
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0x10e]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4055e8
lea eax, [ebp - 0x114]
call fcn.00403150
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403174
ret

Function at 0x405650
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, 0x4096b4
xor edx, edx
push ebp
push 0x405701
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], 0x4096d4
mov eax, 0x405710
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 1
mov eax, 0x4055f4
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov byte [0x4097e4], 0
push edi
call sub.shell32.dll_SHBrowseForFolderA
mov dword [0x4097dc], eax
cmp dword [0x4097dc], 0
je 0x4056eb
push esi
mov eax, dword [0x4097dc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, 0x80000000
jne 0x4056eb
mov eax, dword [0x4097dc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push esi
call sub.kernel32.dll_SetCurrentDirectoryA
mov bl, byte [0x4097e4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405708
lea eax, [ebp - 4]
call fcn.00403704
ret

Function at 0x405734
Capabilities:
Parse pe header

Disassembly:
push esi
push edi
xor esi, esi
mov edx, dword [0x409650]
mov eax, edx
cmp word [eax], 0x5a4d
jne 0x405779
add edx, dword [eax + 0x3c]
cmp dword [edx], 0x4550
jne 0x405779
add edx, 4
movzx eax, word [edx + 2]
add edx, 0xf4
mov ecx, eax
test ecx, ecx
jle 0x405779
mov eax, edx
mov edi, dword [eax + 0x14]
add edi, dword [eax + 0x10]
cmp esi, edi
jae 0x405773
mov esi, edi
add edx, 0x28
dec ecx
jne 0x405765
mov eax, esi
pop edi
pop esi
ret
Function at 0x4064cc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x40655b
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [0x409814], eax
push 0
lea eax, [ebp - 4]
push eax
push 0x1e
push 0x409814
mov eax, dword [0x40980c]
push eax
call sub.kernel32.dll_ReadFile
mov eax, dword [0x409814]
cmp eax, dword [0x409804]
je 0x406518
cmp eax, 0x50000000
je 0x406518
xor ebx, ebx
jmp 0x40651a
mov bl, 1
test bl, bl
je 0x40652a
mov eax, dword [0x409826]
mov dword [0x409808], eax
jmp 0x406551
xor edx, edx
mov dword [0x409808], edx
cmp eax, 0x8074b50
jne 0x406551
mov eax, dword [0x40822c]
mov eax, dword [eax]
add eax, 0x10
xor edx, edx
call fcn.0040756c
call fcn.004064cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x406567
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x407108
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, 0x4097f8
mov edx, dword [esi]
mov eax, ebx
call fcn.004070ec
mov edi, eax
mov dword [esi], edi
and edi, 0xff
add dword [esi + 4], edi
imul ebx, dword [esi + 4], 0x8088405
inc ebx
mov dword [esi + 4], ebx
mov eax, ebx
call fcn.00403ba0
call fcn.00403ba4
mov edx, dword [esi + 8]
call fcn.004070ec
mov dword [esi + 8], eax
pop edi
pop esi
pop ebx
ret

Function at 0x407200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.0040347c
xor eax, eax
push ebp
push 0x4072c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
cmp dword [ebp + 8], 0
je 0x4072b3
mov eax, dword [ebp + 8]
call fcn.00407150
mov al, byte [ebp - 1]
dec eax
test al, al
jb 0x407276
inc eax
mov byte [ebp - 4], al
mov bl, 0
call fcn.004071dc
xor edx, edx
mov dl, bl
xor ecx, ecx
mov cl, byte [ebp - 1]
add edx, ecx
xor al, byte [esi + edx]
mov byte [ebp - 3], al
mov al, byte [ebp - 3]
call fcn.00407108
xor eax, eax
mov al, bl
mov dl, byte [ebp - 3]
mov byte [esi + eax], dl
inc ebx
dec byte [ebp - 4]
jne 0x407248
xor eax, eax
mov al, byte [ebp - 1]
mov bl, byte [esi + eax - 1]
and di, 8
cmp di, 8
je 0x4072a0
mov eax, dword [ebp + 0x10]
call fcn.00403ba0
call fcn.00403ba4
cmp bl, al
jne 0x4072b3
mov byte [ebp - 2], 1
jmp 0x4072b3
xor eax, eax
mov al, bl
movzx edx, word [ebp + 0xc]
shr edx, 8
cmp eax, edx
jne 0x4072b3
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4072d0
lea eax, [ebp + 8]
call fcn.00403150
ret
Function at 0x407448
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [0x40826c]
mov eax, dword [edi]
mov edx, 0x8000
call fcn.00407440
add eax, 2
call fcn.00402458
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x407543
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jle 0x407528
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [edi]
mov edx, 0x8000
call fcn.00407440
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x408224]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_ReadFile
call fcn.00406570
mov eax, dword [ebp - 4]
sub dword [edi], eax
mov eax, dword [0x408268]
mov ax, word [eax + 6]
and ax, 1
cmp ax, 1
jne 0x4074f3
mov esi, dword [ebp - 4]
dec esi
test esi, esi
jb 0x4074f3
inc esi
xor ebx, ebx
call fcn.004071dc
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx]
xor al, dl
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx]
call fcn.00407108
inc ebx
dec esi
jne 0x4074d1
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x408260]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_WriteFile_1
mov ecx, dword [0x408244]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040741c
cmp dword [edi], 0
jg 0x407485
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40754a
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00402478
ret

Function at 0x407814
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
or ebx, 0xffffffff
cmp byte [eax], 0
je 0x407831
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x407831
test al, 0x10
je 0x407831
mov ebx, 0x10
mov eax, ebx
pop ebx
ret
Function at 0x10006e20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10006e78
cmp byte [esi + ebx - 1], 0xa
je 0x10006e4c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000f084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x100074a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10007678
mov edi, dword [0x1000f084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10007587
test byte [0x10008040], 8
jne 0x10007620
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10008050], 8
jne 0x100075e0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10007529
cmp esi, 3
jbe 0x10007598
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x1000753a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x1000b308]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10007529
mov dword [esp], 0x10008050
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10007500
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10007500
mov dword [esp], 0x10008040
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x100074eb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x100074f3
mov eax, 0xffffffff
jmp 0x10007587
Function at 0x401d8d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a03c]
jne 0x401d97
repz ret
jmp fcn.00402016

Function at 0x40433c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a03c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040318e
and dword [ebp - 0x14], 0
cmp dword [0x40b8ec], 0
mov dword [ebp - 0x18], eax
jne 0x4043ef
push 0x407d90
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404497
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x407d84
push ebx
call edi
test eax, eax
je 0x404497
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x407d74
push ebx
mov dword [0x40b8ec], eax
call edi
push eax
call esi
push 0x407d60
push ebx
mov dword [0x40b8f0], eax
call edi
push eax
call esi
push 0x407d44
push ebx
mov dword [0x40b8f4], eax
call edi
push eax
call esi
mov dword [0x40b8fc], eax
test eax, eax
je 0x4043ef
push 0x407d2c
push ebx
call edi
push eax
call esi
mov dword [0x40b8f8], eax
mov eax, dword [0x40b8f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404448
cmp dword [0x40b8fc], ecx
je 0x404448
push eax
call esi
push dword [0x40b8fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404448
test ebx, ebx
je 0x404448
call edi
test eax, eax
je 0x40443f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40443f
test byte [ebp - 8], 1
jne 0x404448
or dword [ebp + 0x10], 0x200000
jmp 0x40447b
mov eax, dword [0x40b8f0]
cmp eax, dword [ebp - 0x18]
je 0x40447b
push eax
call esi
test eax, eax
je 0x40447b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40447b
mov eax, dword [0x40b8f4]
cmp eax, dword [ebp - 0x18]
je 0x40447b
push eax
call esi
test eax, eax
je 0x40447b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b8ec]
call esi
test eax, eax
je 0x404497
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404499
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d8d
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x1000d770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000d7c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000d7c9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000d7ba
cmp esi, edx
jae 0x1000d7c9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000d7a8
cmp esi, edx
jae 0x1000d7c9
cmp word [esi], 0
je 0x1000d7c9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10011810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab4ab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100e2524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
push dword [ebp + 0xc]
mov dword [esi], vtable.BenchmarkClassImp.0
mov dword [esi + 4], eax
call fcn.10011780
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.10011780
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.1000b090
mov ecx, eax
test ecx, ecx
je 0x100118c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, esi
mov dword [esi + 0x34], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.1000aa20
int3

Function at 0x100118d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab4d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100e2524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or edi, 0xffffffff
mov dword [esi], vtable.BenchmarkClassImp.0
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011919
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10011961
mov ecx, dword [esi + 0x20]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10011942
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100119a4
mov eax, edx
push ecx
push eax
call fcn.1007819a
mov dword [esi + 0x18], 0
add esp, 8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov edx, dword [esi + 0xc]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001197b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 8]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10011993
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10086209
int3
Function at 0x10011b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab4d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100e2524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or edi, 0xffffffff
mov dword [esi], vtable.BenchmarkClassImp.0
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011ba9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10011bf1
mov ecx, dword [esi + 0x20]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10011bd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c49
mov eax, edx
push ecx
push eax
call fcn.1007819a
mov dword [esi + 0x18], 0
add esp, 8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov edx, dword [esi + 0xc]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011c0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 8]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10011c23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x10011c34
push 0x38
push esi
call fcn.1007819a
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
call fcn.10086209
int3
Function at 0x1001be50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac730
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100e2524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0xac]
mov dword [ebx], vtable.BenchmarkEnvironment.0
push eax
mov dword [ebx + 0xa8], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, dword [ebx + 0x9c]
lea edi, [ebx + 0x9c]
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10028a50
mov eax, dword [edi]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
push dword [edi]
call fcn.1007819a
mov esi, dword [ebx + 0x94]
lea edi, [ebx + 0x94]
add esp, 8
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.10028ac0
mov eax, dword [edi]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
push dword [edi]
call fcn.1007819a
add esp, 8
lea ecx, [ebx + 0x60]
call fcn.10048cf0
lea ecx, [ebx + 0x50]
call fcn.1001bdc0
lea ecx, [ebx + 0x44]
call fcn.1001bdc0
lea ecx, [ebx + 0x38]
call fcn.1001bdc0
mov esi, dword [ebx + 0x30]
push dword [esi + 4]
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], 2
call fcn.10028a50
mov eax, dword [ebx + 0x30]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x30]
mov dword [eax], esi
mov eax, dword [ebx + 0x30]
mov dword [eax + 8], esi
mov dword [ebx + 0x34], 0
push dword [ebx + 0x30]
call fcn.1007819a
mov esi, dword [ebx + 0x28]
add esp, 8
push dword [esi + 4]
lea ecx, [ebx + 0x28]
mov dword [ebp - 4], 3
call fcn.10028a50
mov eax, dword [ebx + 0x28]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x28]
mov dword [eax], esi
mov eax, dword [ebx + 0x28]
mov dword [eax + 8], esi
mov dword [ebx + 0x2c], 0
push dword [ebx + 0x28]
call fcn.1007819a
mov eax, dword [ebx + 0x14]
add esp, 8
test eax, eax
je 0x1001bfb1
push eax
call fcn.10057463
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100279d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ade78
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100e2524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10027b25
push 0x22c
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.100832e0
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10027b1e
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x14], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10027a70
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100185f0
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
cmp dword [esi + 8], eax
je 0x10027ac0
movups xmm0, xmmword [ebp - 0x28]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x10027acf
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.10019260
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x10027b09
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027aff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b42
push edx
push ecx
call fcn.1007819a
add esp, 8
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10027a50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.1007850b
mov esp, ebp
pop ebp
ret 4
call fcn.10086209
int3

Function at 0x1002c4f0
Capabilities:
Delete file

Disassembly:
call fcn.10020560
mov ecx, eax
jmp fcn.1003f340