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

Disassembly:
cmp ecx, dword [0x441638]
jne 0x41e6d6
repz ret
jmp fcn.00423646

Function at 0x42a332
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.00423055
and dword [ebp - 4], 0
cmp dword [0x445508], 0
mov ebx, eax
jne 0x42a3e3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42a494
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42a494
push eax
call fcn.00422fe3
mov dword [esp], 0x4372f4
push edi
mov dword [0x445508], eax
call esi
push eax
call fcn.00422fe3
mov dword [esp], 0x4372e0
push edi
mov dword [0x44550c], eax
call esi
push eax
call fcn.00422fe3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x445510], eax
call esi
push eax
call fcn.00422fe3
pop ecx
mov dword [0x445518], eax
test eax, eax
je 0x42a3e3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00422fe3
pop ecx
mov dword [0x445514], eax
mov eax, dword [0x445514]
cmp eax, ebx
je 0x42a43b
cmp dword [0x445518], ebx
je 0x42a43b
push eax
call fcn.0042305e
push dword [0x445518]
mov esi, eax
call fcn.0042305e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42a43b
test edi, edi
je 0x42a43b
call esi
test eax, eax
je 0x42a432
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42a432
test byte [ebp - 0xc], 1
jne 0x42a43b
or dword [ebp + 0x10], 0x200000
jmp 0x42a474
mov eax, dword [0x44550c]
cmp eax, ebx
je 0x42a474
push eax
call fcn.0042305e
pop ecx
test eax, eax
je 0x42a474
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42a474
mov eax, dword [0x445510]
cmp eax, ebx
je 0x42a474
push eax
call fcn.0042305e
pop ecx
test eax, eax
je 0x42a474
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445508]
call fcn.0042305e
pop ecx
test eax, eax
je 0x42a494
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42a496
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408df0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x40c
mov eax, dword [0x46607c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4732b4]
push ebx
mov ebx, dword [0x472fdc]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x408e3c
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov eax, dword [0x4732b4]
push esi
mov esi, dword [0x466e60]
cmp eax, 0x930
jne 0x408e57
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x4732b4]
mov dword [0x472fd8], esi
pop esi
cmp eax, 0x114e
jne 0x408e80
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x4732b4]
cmp eax, 0x2f
jne 0x408e9f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push edi
push ebx
call fcn.00408cb0
mov ecx, dword [esp + 0x418]
add esp, 8
pop edi
pop ebx
xor ecx, esp
call fcn.0040160d
add esp, 0x40c
ret
Function at 0x1000c38c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
mov dword [ebp - 8], edx
push edi
mov edi, ecx
cmp word [edx], ax
jne 0x1000c3a7
mov eax, edi
jmp 0x1000c42d
movzx eax, word [edi]
push ebx
push esi
test ax, ax
je 0x1000c429
mov esi, edi
mov ebx, edx
test ax, ax
je 0x1000c40c
movzx eax, word [ebx]
test ax, ax
je 0x1000c430
movzx ecx, word [esi]
sub ecx, eax
jne 0x1000c40c
push esi
call dword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
mov edx, dword [ebp - 4]
mov ecx, eax
mov eax, edx
sub ecx, ebx
sub eax, esi
xor ecx, eax
test ecx, 0xfffffffe
jne 0x1000c40c
jmp 0x1000c401
add esi, 2
add ebx, 2
movzx eax, word [ebx]
movzx ecx, word [esi]
sub ecx, eax
je 0x1000c405
cmp esi, edx
jb 0x1000c3f1
xor eax, eax
cmp word [esi], ax
jne 0x1000c3ba
xor edx, edx
cmp word [ebx], dx
je 0x1000c430
push edi
call dword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
mov edx, dword [ebp - 8]
mov edi, eax
movzx ecx, word [edi]
mov eax, ecx
test cx, cx
jne 0x1000c3b1
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
mov eax, edi
jmp 0x1000c42b
Function at 0x1000c88c
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1002d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop eax
call fcn.10028630
mov eax, esp
lea ecx, [ebp - 0x28]
push 0x1c
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test eax, eax
je 0x1000c943
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x48]
lea eax, [esi + 0x2000]
mov edi, ebx
neg edi
and edi, dword [ebp - 8]
sub edi, ebx
mov dword [ebp - 8], eax
cmp edi, eax
jb 0x1000c943
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test eax, eax
je 0x1000c943
add esi, dword [ebp - 0x1c]
mov ecx, 0x1000
test dword [ebp - 0x18], ecx
je 0x1000c8e9
test dword [ebp - 0x14], 0x100
mov esi, dword [ebp - 0x28]
je 0x1000c918
xor eax, eax
inc eax
jmp 0x1000c945
cmp edi, esi
jb 0x1000c943
mov eax, dword [ebp - 8]
cmp esi, eax
jae 0x1000c925
mov esi, eax
push 4
push ecx
push ebx
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
lea eax, [ebp - 0xc]
push eax
push 0x104
push ebx
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
jmp 0x1000c945
xor eax, eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027c70
leave
ret
Function at 0x1000d6f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x10028c20
call fcn.1002850f
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x18], esi
push 2
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x1000d745
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1000d872
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1000d872
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1000d778
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1000d86b
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1000d86b
push eax
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000d75a
push dword [ebp - 0x14]
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov edi, eax
cmp byte [ecx + eax], 0
je 0x1000d7f5
lea edi, [ecx + 1]
cmp edi, 0x400
ja 0x1000d7c2
mov ecx, edi
call fcn.1000c95d
test al, al
je 0x1000d7c2
mov eax, edi
call fcn.10028670
mov edi, esp
jmp 0x1000d7d0
push edi
lea ecx, [ebp - 0x18]
call fcn.1000c9c6
mov esi, dword [ebp - 0x18]
mov edi, eax
test edi, edi
jne 0x1000d7de
mov ebx, 0x8007000e
jmp 0x1000d868
mov eax, dword [ebp - 0x14]
inc eax
push eax
push dword [ebp - 0x1c]
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [edi + eax], bl
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d7fa
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
add eax, eax
mov dword [ebp - 0x14], eax
cmp eax, 0x400
ja 0x1000d82c
mov ecx, eax
call fcn.1000c95d
test al, al
mov eax, dword [ebp - 0x14]
je 0x1000d82c
call fcn.10028670
mov eax, esp
jmp 0x1000d838
push eax
lea ecx, [ebp - 0x18]
call fcn.1000c9c6
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000d85a
push dword [ebp - 0x1c]
xor ecx, ecx
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov word [eax], cx
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
neg eax
sbb ebx, ebx
and ebx, dword [ebp - 0x14]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
push ebx
call fcn.1000d5d8
mov ebx, eax
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov dword [ebp - 4], 1
test esi, esi
je 0x1000d88d
mov edi, dword [esi]
push esi
mov esi, edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
test edi, edi
jne 0x1000d87d
mov eax, ebx
lea esp, [ebp - 0x38]
call fcn.100284c1
ret 0x10
Function at 0x10022946
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax + 0x56]
push eax
push esi
push dword [ebp + 8]
call fcn.100224ff
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1002254a
push eax
push esi
push dword [ebp + 8]
call fcn.100224ff
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1002253a
dec eax
inc eax
jns 0x10022945
popfd
jl 0x100229bf
invalid
invalid

Function at 0x10022e5a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edx]
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.1002254a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100224ff
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
invalid
test dword [esp + edi*8], esp

Function at 0x10024961
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push 0x20106
push 0
push 0x100067a0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100249b1
push 8
lea eax, [ebp + 8]
push eax
push 3
push esi
push 0x100067d0
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jle 0x100249bc
movzx esi, si
or esi, 0x80070000
mov eax, esi
pop esi
leave
ret 8
Function at 0x10024db7
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
mov edi, edx
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0x18], edi
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
mov dword [edi], edx
mov dword [edi + 4], edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x10024de8
sub esi, ecx
sar esi, 1
add esi, 0x13
mov dword [ebp - 8], esi
lea eax, [esi + esi]
call fcn.10028670
mov ebx, esp
mov edx, esi
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.1000e251
mov esi, eax
test esi, esi
js 0x10024eea
mov edx, dword [ebp - 8]
mov ecx, ebx
push 0x10006840
call fcn.10024894
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
js 0x10024eea
mov eax, 0x250
call fcn.10028670
mov eax, esp
push eax
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10024e72
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10024eea
movzx esi, si
or esi, 0x80070000
jmp 0x10024eea
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
lea eax, [edi + 0x2c]
mov ecx, eax
call fcn.100249c9
mov ecx, eax
mov dword [ebp - 0x14], eax
sub ecx, esi
mov dword [ebp - 8], edx
mov eax, edx
mov edx, dword [ebp - 0xc]
sbb eax, edx
js 0x10024ea9
jg 0x10024e9b
test ecx, ecx
je 0x10024ea9
cmp eax, 0x7fff
jl 0x10024ebd
jg 0x10024ea9
cmp ecx, 0xffffffff
jb 0x10024ebd
cmp eax, 0xffff8000
jl 0x10024ebd
jg 0x10024eb7
cmp ecx, 1
jb 0x10024ebd
mov eax, esi
or eax, edx
jne 0x10024ec6
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push edi
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
lea eax, [edi + 0x2c]
jne 0x10024e7b
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov esi, dword [ebp - 0x10]
mov eax, esi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027c70
leave
ret
Function at 0x10024f4b
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov ebx, edx
push esi
push esi
push esi
push esi
mov eax, ecx
push ebx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_CopyFileExW]
test eax, eax
je 0x10024f71
xor eax, eax
inc eax
jmp 0x10024fd1
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 5
jne 0x10024fce
push esi
push esi
push 0x1000689c
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10024fce
push 0x100068b8
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10024fc7
push pe_nt_image_headers32
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push ebx
push dword [ebp - 4]
call dword [0x10030308]
call esi
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov eax, esi
jmp 0x10024fd0
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100257e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push edi
push esi
push eax
push ebx
push 0x10006a30
push dword [ecx]
mov dword [ebp - 4], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
mov edx, eax
sub ecx, 1
je 0x1002583b
sub ecx, 1
je 0x1002583b
sub ecx, 5
jne 0x10025852
mov eax, dword [edi]
test al, 1
jne 0x10025852
shr eax, 1
cmp eax, 2
jb 0x10025852
test esi, esi
je 0x1002584e
cmp word [esi + eax*2 - 2], bx
jne 0x10025852
cmp word [esi + eax*2 - 4], bx
jmp 0x1002584c
mov eax, dword [edi]
test al, 1
jne 0x10025852
test esi, esi
je 0x1002584e
shr eax, 1
cmp word [esi + eax*2 - 2], bx
jne 0x10025852
mov eax, edx
jmp 0x10025855
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10025e3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1002d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
push edi
push 0x10006d84
push 0x32
mov word [eax], cx
mov ecx, dword [ebp + 0x10]
pop edx
call fcn.1000e251
mov eax, dword [ebp + 0x18]
xor ecx, ecx
push 0x10006e4c
mov word [eax], cx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x10025f85
xor edi, edi
push edi
push 1
push 0x10
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
test eax, eax
je 0x10025f85
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test eax, eax
je 0x10025f85
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10025f85
movzx esi, word [ebx]
mov eax, esi
shr eax, 1
add eax, esi
call fcn.10028670
mov eax, esp
push esi
push ebx
push eax
mov dword [ebp - 0xc], eax
call sub.msvcrt.dll_memcpy
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
push 0x10006d9c
push esi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x10025f1f
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp ax, word [edi*8 + 0x10001968]
je 0x10025f0d
inc edi
cmp edi, 0x27
jb 0x10025efb
jmp 0x10025f1f
push dword [edi*8 + 0x1000196c]
mov ecx, dword [ebp + 8]
push 5
pop edx
call fcn.1000e251
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x1000692c
push esi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x10025f85
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0xffffffff
je 0x10025f69
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x10006dd0
push 0x32
push dword [ebp + 0x10]
call fcn.1001d0c2
mov ecx, dword [ebp - 8]
add esp, 0x1c
test byte [ecx + 0x1c], 1
mov eax, 0x10006de8
jne 0x10025f79
mov eax, 0x10006df0
mov ecx, dword [ebp + 0x18]
push eax
push 5
pop edx
call fcn.1000e251
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027c70
leave
ret 0x14
Function at 0x1002602d
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
mov dword [ebp - 0xc], ecx
mov eax, ebx
mov dword [ebp - 8], ebx
shr eax, 0x1e
push esi
push edi
sub eax, 0
je 0x10026060
sub eax, 1
je 0x10026060
sub eax, 1
je 0x1002605c
xor edi, edi
sub eax, 1
inc edi
jmp 0x10026063
push 2
jmp 0x10026062
push 4
pop edi
mov esi, dword [0x1002f66c]
test esi, esi
je 0x100260c6
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, esi
call dword [0x10030308]
call esi
test eax, eax
js 0x100260c6
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100260c3
mov esi, dword [ebx]
xor eax, eax
push eax
push dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
push eax
push 1
push eax
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, ax
push eax
movzx eax, di
push eax
push ebx
call dword [0x10030308]
call dword [esi + 0xc]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
jmp 0x100260f7
mov ebx, dword [ebp - 8]
push 0x10006e64
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x100260f7
xor eax, eax
push eax
push dword [ebp + 0x14]
push eax
push 1
push eax
mov eax, dword [ebp - 0xc]
push ebx
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10026104
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x888
mov eax, dword [0x1002d0e4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x634]
mov ebx, edx
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x888], ebx
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x42c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x250
lea eax, [ebp - 0x884]
push edi
push eax
call sub.msvcrt.dll_memset
push esi
push ebx
push 0x10006e70
lea eax, [ebp - 0x634]
push 0x104
push eax
call fcn.1001d0c2
add esp, 0x44
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10026222
inc edi
cmp word [ebp - 0x42c], 0
je 0x100261cb
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jle 0x1002620a
lea ecx, [ebp - 0x42c]
mov edx, 0x105
lea ebx, [ebp - 0x858]
mov eax, ecx
sub ebx, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x10026205
movzx eax, word [ebx + ecx]
test ax, ax
je 0x100261fe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100261e0
test edx, edx
jne 0x10026205
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x884]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x100261a6
mov ebx, dword [ebp - 0x888]
cmp edi, dword [ebp + 8]
jb 0x100262b6
lea eax, [ebp - 0x42c]
push eax
push ebx
push 0x10005f78
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.1001d0c2
add esp, 0x14
lea eax, [ebp - 0x21c]
mov edi, 0x80
push edi
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x100262b6
xor ecx, ecx
mov edx, 0x105
mov word [eax], cx
lea ecx, [ebp - 0x21c]
push 0x10006e88
call fcn.10024894
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
cmp esi, 0xffffffff
je 0x100262c2
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027c70
leave
ret 4
Function at 0x100262d9
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x1002d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [ebp - 0x414]
mov word [ebp - 0x414], ax
mov edx, 0x208
mov word [ebp - 6], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.100259e0
test eax, eax
js 0x100263ce
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x46c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x46c], 0x44
mov dword [ebp - 0x440], 0x81
push 6
pop eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push edi
push edi
push 8
push edi
push edi
push edi
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x100263bb
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push dword [ebp - 0x424]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [ebp - 0x418]
jmp 0x100263c1
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x100263cd
movzx eax, ax
or eax, 0x80070000
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027c70
leave
ret