joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011e79
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x1003b164]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x418]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x10011f54
mov edi, 0x104
mov esi, 0x208
push 0x80000002
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x428], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1001202b
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x424], ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push dword [ebp - 0x418]
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], edi
call ebx
test eax, eax
je 0x10011f8e
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.10023cf0
leave
ret 0xc
cmp dword [ebp - 0x428], 1
jne 0x10011fb0
push dword [ebp - 0x430]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10011fe6
inc dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x424]
jmp 0x10011f1b
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, dword [ebp + 0xc]
pop ecx
jae 0x10012021
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x42c]
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
xor eax, eax
jmp 0x10011f42
mov eax, 0x8007007a
jmp 0x10011f42
jle 0x10011f42
and eax, 0xffff
or eax, 0x80070000
jmp 0x10011f42

Function at 0x10013867
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1003b164]
and word [ebp - 0x404], 0
mov edx, dword [ebp + 8]
push esi
push edi
push dword [edx + 4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0xff
lea edi, [ebp - 0x402]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [edx]
push eax
push edx
push dword [eax]
lea eax, [ebp - 0x404]
push 0x100138f0
push 0x200
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
and word [ebp - 6], 0
add esp, 0x1c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call sub.ntdll.dll_DbgUserBreakPoint
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi], 0x80110486
inc eax
pop esi
call fcn.10023cf0
leave
ret 8
Function at 0x10023cf0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003b164]
jne 0x10023d01
test ecx, 0xffff0000
jne 0x10023d01
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x1003ba60], eax
mov dword [0x1003ba5c], ecx
mov dword [0x1003ba58], edx
mov dword [0x1003ba54], ebx
mov dword [0x1003ba50], esi
mov dword [0x1003ba4c], edi
mov word [0x1003ba78], ss
mov word [0x1003ba6c], cs
mov word [0x1003ba48], ds
mov word [0x1003ba44], es
mov word [0x1003ba40], fs
mov word [0x1003ba3c], gs
pushfd
pop dword [0x1003ba70]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x1003ba74], ecx
mov dword [0x1003ba68], eax
mov dword [0x1003b9b0], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x1003b96c], eax
mov eax, dword [0x1003b164]
mov dword [ebp - 4], eax
mov eax, dword [0x1003b160]
xor edi, edi
inc edi
mov dword [ebp - 4], eax
push 0
mov dword [0x1003ba64], ecx
mov dword [0x1003b960], 0xc0000409
mov dword [0x1003b964], edi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10023de4
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret
Function at 0x10025172
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x10001af4
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002519d
xor eax, eax
leave
ret 4
push esi
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x100251cc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
jmp 0x10025199

Function at 0x10025b98
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1003b164]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ebx
je 0x10025bc4
mov eax, dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x220]
push eax
call fcn.10027523
cmp eax, esi
mov dword [ebp - 0x224], eax
jl 0x10025c09
push edi
jne 0x10025c88
call fcn.10018194
test eax, eax
jne 0x10025c24
push 4
pop ecx
mov edi, 0x1003b708
lea esi, [ebp - 0x220]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10025c24
mov dword [ebp - 0x224], 0x8004d012
pop edi
test ebx, ebx
je 0x10025c10
and dword [ebx], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
pop esi
pop ebx
call fcn.10023cf0
leave
ret 4
mov eax, dword [0x1003be90]
test eax, eax
jne 0x10025c4a
push 0x16e
push 0x10004bf8
push 0x10025c58
call fcn.100280bc
mov eax, dword [0x1003be90]
test eax, eax
je 0x10025c7c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov dword [ebp - 0x224], eax
jmp 0x10025c08
mov dword [ebp - 0x224], 0x8000ffff
jmp 0x10025c08
cmp eax, 1
jne 0x10025c93
mov dword [ebp - 0x224], esi
mov eax, dword [0x1003bed0]
cmp eax, esi
je 0x10025ca2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x1003be90]
cmp eax, esi
mov dword [0x1003bed0], esi
mov dword [0x1003bec0], esi
je 0x10025cc3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x1003be90], esi
mov ebx, 0x1003b6ec
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x10001a04
mov edi, 0x1003b708
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.10023f47
add eax, 0x288
push eax
call fcn.1002553d
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [0x1003be94]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [ebp - 0x228]
jmp 0x10025c08
Function at 0x10026231
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x10004ba8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002626d
push 0x10004b8c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x10026274
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x10026328
mov edi, 0x80000002
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100262b1
push dword [ebp - 4]
call ebx
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push 0x10004ba8
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10026394
lea eax, [ebp - 8]
push eax
mov edi, 0x1003beec
push edi
push esi
push esi
mov esi, 0x10026308
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10026374
cmp dword [0x1003beec], 0xa
ja 0x10026374
push dword [ebp - 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret
push 4
push edi
push 4
push 0
push esi
push dword [ebp - 4]
mov dword [0x1003beec], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x100262fb
mov dword [0x1003beec], 1
jmp 0x10026300

Function at 0x100264d9
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebx
mov esi, dword [0x1003bedc]
mov dword [ebp - 4], eax
mov edi, 0x1003bedc
test esi, esi
jne 0x10026501
pop edi
pop esi
pop ebx
leave
ret
call ebx
sub eax, dword [ebp - 4]
cmp eax, dword [0x1003bed8]
jae 0x100264fc
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1002652c
mov eax, dword [esi]
push 0
push esi
mov dword [edi], eax
call fcn.100264ab
mov esi, dword [edi]
jmp 0x100264f8
mov edi, esi
mov esi, dword [esi]
jmp 0x100264f8
Function at 0x10027824
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 0x10004b70
push 1
push 0x3001f
xor esi, esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x1002788e
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x20]
push esi
push esi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x10027896
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x100278a8
call esi
mov esi, eax
jmp 0x10027886
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10027886
Function at 0x1002853c
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1003b164]
mov ecx, dword [ebp + 8]
or dword [ebp - 0x48], 0xffffffff
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp ecx, edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
je 0x100286cd
cmp eax, edi
je 0x100286cd
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push ecx
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x48], ebx
je 0x100285b9
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x100285cd
mov esi, 0x80110429
cmp dword [ebp - 0x48], 0xffffffff
je 0x100285b9
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea esp, [ebp - 0x68]
mov ecx, dword [ebp - 4]
call fcn.10023cf0
pop edi
pop esi
pop ebx
leave
ret 8
push edi
lea eax, [ebp - 0x4c]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100285aa
cmp dword [ebp - 0x4c], 0x40
jne 0x100285aa
cmp word [ebp - 0x44], 0x5a4d
jne 0x100285aa
cmp dword [ebp - 8], edi
je 0x100285aa
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1002862a
mov eax, dword [ebp - 8]
cdq
cmp edx, dword [ebp - 0x58]
jg 0x100285aa
jl 0x10028617
cmp eax, dword [ebp - 0x5c]
jae 0x100285aa
push edi
push edi
push dword [ebp - 8]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10028654
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1002863f
call esi
mov esi, eax
jmp 0x100285aa
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x100285aa
mov ebx, 0x108
mov eax, ebx
mov dword [ebp - 0x4c], edi
call fcn.10001a44
mov esi, esp
push edi
lea eax, [ebp - 0x4c]
push eax
push ebx
push esi
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100286ad
cmp dword [ebp - 0x4c], ebx
jne 0x100286ad
cmp dword [esi], 0x4550
jne 0x100286ad
test byte [esi + 5], 1
je 0x100286b5
cmp word [esi + 0x18], 0x10b
jne 0x100286ad
cmp dword [esi + 0xe8], edi
je 0x100286ad
cmp dword [esi + 0xec], edi
je 0x100286ad
mov eax, dword [ebp - 0x54]
mov dword [eax], 1
mov esi, dword [ebp - 0x50]
jmp 0x100285aa
cmp word [esi + 0x18], 0x20b
jne 0x100286ad
cmp dword [esi + 0xf8], edi
je 0x100286ad
cmp dword [esi + 0xfc], edi
jmp 0x100286a2
mov esi, 0x80070057
jmp 0x100285aa
Function at 0x1002877f
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, eax
and eax, 0xf
push edi
shr esi, 4
inc esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, si
push eax
push esi
push 6
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x100287bf
push 6
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100287ef
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100287ef
lea edx, [edi + 1]
xor ebx, ebx
test edx, edx
jle 0x100287ef
mov cx, word [eax]
inc eax
inc eax
test cx, cx
je 0x100287ea
cmp ebx, edi
movzx esi, cx
je 0x100287f8
lea eax, [eax + esi*2]
inc ebx
cmp ebx, edx
jl 0x100287d6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov edi, dword [ebp + 0xc]
push esi
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcsncpy]
and word [edi + esi*2], 0
xor eax, eax
add esp, 0xc
inc eax
jmp 0x100287f1
Function at 0x10028c77
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100382f1
call fcn.10001a8f
sub esp, 0x70
push ebx
push esi
xor esi, esi
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
call fcn.1002bfb6
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0x100020c0
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x50], 0x81
mov word [ebp - 0x4c], 6
mov word [ebp - 0x4a], si
mov dword [ebp - 0x48], esi
call fcn.1002bfc5
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], eax
jl 0x10028d5d
lea eax, [ebp - 0x14]
push eax
push 1
mov edi, 0xf01ff
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
cmp eax, esi
je 0x10028d4c
lea ecx, [ebp - 0x28]
call fcn.1002c020
cmp eax, esi
mov dword [ebp - 0x10], eax
jl 0x10028d5d
lea eax, [ebp - 0x18]
push eax
push 1
push 2
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
cmp eax, esi
je 0x10028d4c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
push 8
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp eax, esi
jne 0x10028dba
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10028dac
call edi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], esi
je 0x10028d67
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 0x18], esi
je 0x10028d71
push dword [ebp - 0x18]
call ebx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002c13a
cmp dword [ebp - 0x10], esi
jne 0x10028d8a
cmp dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x1c]
jne 0x10028d8d
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1002c18d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
call edi
and eax, 0xffff
or eax, 0x80070000
jmp 0x10028d5a
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
call ebx
push dword [ebp - 0x34]
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x10028d5d
cmp dword [ebp + 0x10], esi
jne 0x10028d5d
cmp eax, esi
jg 0x10028dae
jmp 0x10028d5a
Function at 0x100299f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and word [eax], 0
push ebx
push esi
push edi
push 0x10029b90
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call fcn.100278bf
mov eax, dword [ebp + 0x20]
push dword [ebp + 8]
and word [eax], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x10029b28
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10029b28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10029b28
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10029b28
movzx edi, word [esi]
mov eax, edi
shr eax, 1
add eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.10001a44
mov ebx, esp
mov ecx, edi
mov eax, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x10029b5c
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10029ac2
mov ecx, dword [ebp - 8]
mov cx, word [ecx]
xor eax, eax
cmp cx, word [eax*8 + 0x10004f28]
je 0x10029ba6
inc eax
cmp eax, 0x27
jb 0x10029aae
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x100026fc
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10029b28
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
je 0x10029b0c
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x10029b44
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call fcn.100278e1
mov eax, dword [ebp - 4]
add esp, 0x1c
test byte [eax + 0x1c], 1
mov eax, 0x10029b3c
jne 0x10029b1c
mov eax, 0x10029b34
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x20]
call fcn.100278bf
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x1c
push dword [eax*8 + 0x10004f2c]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.100278bf
jmp 0x10029ac2
Function at 0x10029cc9
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
shr eax, 0x1e
inc ebx
cmp eax, ebx
push esi
push edi
jbe 0x10029d25
cmp eax, 2
jne 0x10029ce6
push eax
pop ebx
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.100293cf
mov esi, dword [ebp - 4]
cmp esi, edi
je 0x10029d29
movzx ecx, word [ebp + 0x10]
mov eax, dword [esi]
push edi
push dword [ebp + 0x14]
push edi
push ecx
movzx ecx, word [ebp + 8]
push edi
push dword [ebp + 0xc]
push ecx
movzx ecx, bx
push ecx
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
push 4
jmp 0x10029ce5
push 0x10029d5c
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
je 0x10029d1e
push edi
push dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x10029d1e

Function at 0x10029d90
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x1003b164]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
xor ebx, ebx
push eax
mov word [ebp - 0x414], bx
mov word [ebp - 6], bx
call fcn.100276a2
cmp eax, ebx
jl 0x10029e71
push esi
push edi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x468]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push ebx
push ebx
push 8
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
mov dword [ebp - 0x46c], 0x44
mov dword [ebp - 0x440], 0x81
mov word [ebp - 0x43c], 6
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10029e7c
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x424]
call esi
mov eax, dword [ebp - 0x418]
cmp eax, ebx
jle 0x10029e6f
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.10023cf0
leave
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10029e8c
call esi
jmp 0x10029e6f
call esi
jmp 0x10029e65
Function at 0x10029e95
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0x1003b164]
and word [ebp - 0x624], 0
and word [ebp - 0x41c], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x622]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
and word [ebp - 0x210], ax
and dword [ebp - 0x874], eax
and dword [ebp - 0x878], eax
mov edx, 0x82
mov ecx, edx
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
push esi
mov ecx, edx
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
push ebx
mov ecx, 0x93
lea edi, [ebp - 0x870]
push 0x1002a064
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x624]
push 0x104
push eax
call fcn.100278e1
add esp, 0x14
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x87c], eax
je 0x10029f9e
inc dword [ebp - 0x878]
cmp word [ebp - 0x41c], 0
je 0x10029f6f
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jle 0x10029f87
lea eax, [ebp - 0x848]
push eax
push 0x105
lea eax, [ebp - 0x41c]
push eax
call fcn.10027659
lea eax, [ebp - 0x874]
push eax
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10029f47
mov eax, dword [ebp - 0x878]
cmp eax, dword [ebp + 0x10]
jb 0x1002a034
lea eax, [ebp - 0x41c]
push eax
push ebx
push 0x10004c74
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.100278e1
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x14
mov ebx, 0x80
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x210]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x1002a034
and word [eax], 0
push 0x1002a058
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.1002790f
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call edi
cmp dword [ebp - 0x87c], 0xffffffff
pop edi
pop esi
pop ebx
je 0x1002a04c
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
call fcn.10023cf0
leave
ret 0xc