joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403630
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x140c
call fcn.00410160
mov eax, dword [0x45b9f4]
mov ecx, dword [0x45b484]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403753
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x45b9f4], 0x959
jne 0x40373c
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403370
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x40366e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4052b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c168]
jne 0x4052ba
repz ret
jmp fcn.00409bfc

Function at 0x40a33e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408870
and dword [ebp - 4], 0
cmp dword [0x4529b0], 0
mov ebx, eax
jne 0x40a3ef
push 0x401ae8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a4a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401adc
push edi
call esi
test eax, eax
je 0x40a4a0
push eax
call fcn.004087fe
mov dword [esp], 0x401acc
push edi
mov dword [0x4529b0], eax
call esi
push eax
call fcn.004087fe
mov dword [esp], 0x401ab8
push edi
mov dword [0x4529b4], eax
call esi
push eax
call fcn.004087fe
mov dword [esp], 0x401a9c
push edi
mov dword [0x4529b8], eax
call esi
push eax
call fcn.004087fe
pop ecx
mov dword [0x4529c0], eax
test eax, eax
je 0x40a3ef
push 0x401a84
push edi
call esi
push eax
call fcn.004087fe
pop ecx
mov dword [0x4529bc], eax
mov eax, dword [0x4529bc]
cmp eax, ebx
je 0x40a447
cmp dword [0x4529c0], ebx
je 0x40a447
push eax
call fcn.00408879
push dword [0x4529c0]
mov esi, eax
call fcn.00408879
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a447
test edi, edi
je 0x40a447
call esi
test eax, eax
je 0x40a43e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a43e
test byte [ebp - 0xc], 1
jne 0x40a447
or dword [ebp + 0x10], 0x200000
jmp 0x40a480
mov eax, dword [0x4529b4]
cmp eax, ebx
je 0x40a480
push eax
call fcn.00408879
pop ecx
test eax, eax
je 0x40a480
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a480
mov eax, dword [0x4529b8]
cmp eax, ebx
je 0x40a480
push eax
call fcn.00408879
pop ecx
test eax, eax
je 0x40a480
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4529b0]
call fcn.00408879
pop ecx
test eax, eax
je 0x40a4a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a4a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x335e706e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x771920f8
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100013d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
cmp dword [ebp - 4], 0xffffffff
jne 0x100013f7
xor eax, eax
jmp 0x100013fc
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001400
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
cmp dword [ebp - 8], 0
jne 0x10001442
cmp dword [ebp - 8], 0xffffffff
jne 0x10001442
or eax, 0xffffffff
jmp 0x10001470
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10001500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1000f1a0]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x414], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp + 8]
push ecx
call fcn.10001400
add esp, 4
mov dword [ebp - 0x40c], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
cmp dword [ebp - 0x40c], 0x400
jle 0x10001588
mov dword [ebp - 0x40c], 0x400
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov byte [ebp - 0x408], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x407]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x414], 0xffffffff
jne 0x100015b2
jmp 0x1000161d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push 0
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.10001480
add esp, 0xc
jmp 0x1000161f
xor al, al
mov ecx, dword [ebp - 4]
call fcn.10008ca1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001630
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x1000f1a0]
mov dword [ebp - 8], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 8]
push eax
push 0x1000d180
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x100017cb
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 0x358]
and ecx, 0x10
je 0x1000171c
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
movsx edx, byte [ebp - 0x32c]
cmp edx, 0x2e
je 0x10001717
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x1000d188
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10001630
add esp, 0xc
test eax, eax
je 0x10001717
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, 1
jmp 0x100017e3
jmp 0x100017a6
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x32c]
push edx
call fcn.10001040
add esp, 8
test eax, eax
je 0x100017a6
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x1000d190
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 0x218]
push ecx
push 0x1000f448
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, 1
jmp 0x100017e3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x358]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000168d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.10008ca1
mov esp, ebp
pop ebp
ret
Function at 0x100017f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x1000f1a0]
mov dword [ebp - 8], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 8]
push eax
push 0x1000d198
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1000190c
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 0x358]
and ecx, 0x10
je 0x100018e7
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x32c]
push eax
call fcn.10001040
add esp, 8
test eax, eax
je 0x100018e7
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x1000d1a0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.10001630
add esp, 0xc
test eax, eax
je 0x100018e3
mov eax, 1
jmp 0x10001924
xor eax, eax
jmp 0x10001924
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x358]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000184d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.10008ca1
mov esp, ebp
pop ebp
ret
Function at 0x10001930
Capabilities:
Create process on windows
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x1000f1a0]
mov dword [ebp - 8], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 8]
push eax
push 0x1000d1a8
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10001afe
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 0x358]
and ecx, 0x10
je 0x10001a1c
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
movsx edx, byte [ebp - 0x32c]
cmp edx, 0x2e
je 0x10001a17
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x1000d1b0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10001930
add esp, 0xc
test eax, eax
je 0x10001a17
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, 1
jmp 0x10001b16
jmp 0x10001adf
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push str..lnk
lea ecx, [ebp - 0x32c]
push ecx
call fcn.10001040
add esp, 8
test eax, eax
je 0x10001adf
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x32c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x1000d1c0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.10001500
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10001adf
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x218]
push eax
push 0x10010250
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push 1
push 0x1000d1c6
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0x1000d1c7
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x10001adb
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, 1
jmp 0x10001b16
xor eax, eax
jmp 0x10001b16
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x358]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000198d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.10008ca1
mov esp, ebp
pop ebp
ret
Function at 0x10001b30
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x1000f1a0]
mov dword [ebp - 8], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 8]
push eax
push 0x1000d1c8
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10001cc2
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 0x358]
and ecx, 0x10
je 0x10001c9d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x32c]
push eax
call fcn.10001040
add esp, 8
test eax, eax
je 0x10001c2d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x1000d1d0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.10001930
add esp, 0xc
test eax, eax
je 0x10001c26
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, 1
jmp 0x10001cda
xor eax, eax
jmp 0x10001cda
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
movsx edx, byte [ebp - 0x32c]
cmp edx, 0x2e
je 0x10001c9d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x1000d1d8
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10001b30
add esp, 0xc
test eax, eax
je 0x10001c9d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x10001cda
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 0x358]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001b8d
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.10008ca1
mov esp, ebp
pop ebp
ret
Function at 0x10001cf0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x1000f1a0]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp + 8]
push ecx
push str._s
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10001efa
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp - 0x358]
and edx, 0x10
je 0x10001edb
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push str.Start_Menu
lea eax, [ebp - 0x32c]
push eax
call fcn.10001040
add esp, 8
test eax, eax
je 0x10001df7
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x1000d1f4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.10001b30
add esp, 0xc
test eax, eax
je 0x10001df0
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, 1
jmp 0x10001f12
xor eax, eax
jmp 0x10001f12
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
movsx edx, byte [ebp - 0x32c]
cmp edx, 0x2e
je 0x10001edb
cmp dword [ebp + 0xc], 2
jle 0x10001e73
push str.AppData
lea eax, [ebp - 0x32c]
push eax
call fcn.1000c6cd
add esp, 8
test eax, eax
je 0x10001e73
push str.Roaming
lea ecx, [ebp - 0x32c]
push ecx
call fcn.1000c6cd
add esp, 8
test eax, eax
je 0x10001e73
push str.Microsoft
lea edx, [ebp - 0x32c]
push edx
call fcn.1000c6cd
add esp, 8
test eax, eax
je 0x10001e73
push str.Windows
lea eax, [ebp - 0x32c]
push eax
call fcn.1000c6cd
add esp, 8
test eax, eax
jne 0x10001edb
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.10001cf0
add esp, 0x10
test eax, eax
je 0x10001edb
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, 1
jmp 0x10001f12
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001d56
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.10008ca1
mov esp, ebp
pop ebp
ret
Function at 0x10001f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 0x10], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 8], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov dword [ebp - 0x10], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 0x14]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 8]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push 0x1000d228
mov eax, dword [ebp + 0xc]
push eax
call fcn.10008cc0
add esp, 8
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x100026a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1000f1a0]
mov dword [ebp - 4], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
cmp dword [ebp - 0x134], 0xffffffff
jne 0x100026e2
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
jmp 0x10002791
mov dword [ebp - 0x130], 0x128
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10002726
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
jmp 0x10002791
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp + 8]
jne 0x10002759
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov eax, dword [ebp + 0xc]
jmp 0x10002791
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10002726
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x1d
mov al, 0xc2
mov al, 0xc3
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.10008ca1
mov esp, ebp
pop ebp
ret