joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push ecx
push 0x1001c098
call fcn.10010f90
add esp, 4
push eax
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
mov eax, dword [0x1012b9f4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x10010e76
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1012c65c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012b9f4], 0
call ebx
mov eax, dword [0x1012bb1c]
test eax, eax
je 0x10010ea2
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x1012c65c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012bb1c], 0
call ebx
mov eax, dword [0x1012bc44]
test eax, eax
je 0x10010ecd
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x1012c65c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012bc44], 0
call ebx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x10010ef3
dec eax
je 0x10010ee7
dec eax
jne 0x10010eff
mov eax, 0x6a
mov ecx, 0x2b39c0
jmp 0x10010f05
mov eax, 0x69
mov ecx, 0x227ee6
jmp 0x10010f05
mov eax, 0x67
mov ecx, 0xf1f0ec
jmp 0x10010f05
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp + 0xc]
call fcn.1000f250
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x10010d70
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x10010f87
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x10010f87
mov eax, dword [esi + 4]
test eax, eax
je 0x10010f82
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x1012c65c]
mov edx, dword [esi + 0x1c]
push ecx
push edx
mov dword [esi + 4], 0
call ebx
call fcn.100109e0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10010f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x100
push 0
push 0x1012d150
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
xor eax, eax
sub ecx, 0x1012d150
mov dl, byte [ecx + eax + 0x1012d150]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x1012d150], dl
inc eax
cmp eax, 0x100
jl 0x10010fb2
mov eax, 0x1012d150
pop ebp
ret
Function at 0x10010fe0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [ebp - 6]
movzx edx, word [ebp - 8]
mov eax, dword [ebp - 4]
shl ecx, 0x12
or ecx, edx
mov edx, dword [ebp - 0x14]
xor ecx, 0xb542d8e1
push ecx
movzx ecx, word [ebp - 0x28]
shl edx, 0x12
shl ecx, 0x12
or edx, eax
or ecx, eax
imul edx, edx, 0x5d78a569
imul eax, eax
xor ecx, 0x12b586fe
push ecx
push edx
sub eax, 0xba43edd
push eax
push 0xa2875a97
push str._08X__08X__08X__08X__08X
push 0x1012d120
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov eax, 0x1012d120
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.10010fe0
mov esi, eax
mov ecx, 0xb
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x68]
push eax
push 0xf003f
push 0
push 0x10126b96
movsb byte es:[edi], byte [esi]
push closesocket
mov dword [ebp - 0x6c], 0x2d
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x100110de
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x64]
push edx
push eax
push eax
mov eax, dword [ebp - 0x68]
push str.WindowID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x34]
test eax, eax
je 0x100110ef
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
push ecx
push edx
push 1
push 0
push str.WindowID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x64]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10011112
test al, al
je 0x1001110e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10011112
add ecx, 2
add edx, 2
test al, al
jne 0x100110f2
xor eax, eax
jmp 0x10011117
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100110d4
mov ecx, dword [ebp - 4]
xor ecx, ebp
lea eax, [ebp - 0x64]
call fcn.100143c4
mov esp, ebp
pop ebp
ret

Function at 0x10011130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.10010fe0
mov esi, eax
mov ecx, 0xb
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
push eax
push 0xf003f
push 0
push 0x10126b96
push closesocket
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x10011197
mov edx, dword [ebp - 0x38]
push 0x2d
lea ecx, [ebp - 0x34]
push ecx
push 1
push eax
push str.WindowID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x10011c90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x10121a7c]
push edi
cmp esi, dword [0x10121a80]
je 0x10011d5e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x10011cce
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push closesocket
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x10011ce3
add esi, 0x105
cmp esi, dword [0x10121a80]
jne 0x10011cb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10121a80]
mov esi, dword [0x10121a7c]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10011d46
xor edi, edi
cmp byte [edi + esi], 2
jne 0x10011d22
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x10121a7c]
mov ecx, dword [0x10121a80]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x10011d06
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10004650
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012160
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10121a8c]
push ebx
push esi
push edi
mov dword [ebp - 0x138], eax
cmp eax, dword [0x10121a90]
je 0x10012327
mov edi, dword [ebp - 0x134]
lea esi, [eax + 1]
xor ebx, ebx
jmp 0x100121a0
movzx eax, byte [eax]
cmp eax, 3
ja case.default.0x100121ac
jmp dword [eax*4 + 0x10012338]
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
cmp edi, ebx
je case.default.0x100121ac
lea ecx, [ebp - 0x134]
push ecx
push edi
mov dword [ebp - 0x134], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x138]
push edx
inc eax
push eax
jmp 0x1001231d
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, eax
cmp edi, ebx
jne 0x100121c5
jmp case.default.0x100121ac
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x130]
push ecx
push eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100122c6
mov ecx, esi
lea eax, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10012260
cmp dl, bl
je 0x1001225c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10012260
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10012240
xor eax, eax
jmp 0x10012265
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100122aa
mov edx, dword [ebp - 0x128]
push edx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x13c]
push eax
push edi
mov dword [ebp - 0x13c], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 8
call fcn.10004650
add esp, 0xc
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10012231
mov eax, dword [ebp - 0x134]
cmp eax, 0xffffffff
je case.default.0x100121ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.default.0x100121ac
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10012314
mov eax, dword [ebp - 0x138]
add eax, 0x41
add esi, 0x41
mov dword [ebp - 0x138], eax
cmp eax, dword [0x10121a90]
jne 0x100121a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x138]
push ebx
inc ecx
push ecx
push 8
call fcn.10004650
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x100123f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10012590
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100124b4
cmp dword [ebp - 4], 0x50000000
jb 0x10012431
cmp dword [ebp - 4], 0x80000000
ja 0x10012431
mov dword [ebp - 4], 0x4fff0000
jmp 0x1001240a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10012457
jmp 0x100124b4
cmp dword [ebp - 0x14], 0x10000
jne 0x1001249a
cmp dword [ebp - 0x18], 0x10000
jb 0x1001249a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001248d
mov eax, dword [ebp - 8]
jmp 0x100124b6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100124af
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10012590
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1001240a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100124c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100125c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1001257c
cmp dword [ebp - 4], 0x50000000
jb 0x100124fc
cmp dword [ebp - 4], 0x80000000
ja 0x100124fc
mov dword [ebp - 4], 0x80010000
jmp 0x100124d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10012522
jmp 0x1001257c
cmp dword [ebp - 0x14], 0x10000
jne 0x10012565
cmp dword [ebp - 0x18], 0x10000
jb 0x10012565
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10012558
mov eax, dword [ebp - 8]
jmp 0x1001257e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10012577
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100125c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100124d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10012cf0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10012d05
xor eax, eax
jmp 0x10012d7a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x10012d32
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10012d75
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10012d73
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10012d6f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10012d73
xor eax, eax
jmp 0x10012d7a
jmp 0x10012d29
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10012f40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012c280]
mov dword [ebp - 4], eax
jmp 0x10012f59
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10012f76
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10012f50
mov esp, ebp
pop ebp
ret
Function at 0x100133c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1012c290], eax
je 0x100133de
mov eax, 0x10dd
jmp 0x100134bf
mov eax, dword [0x1012c2a0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001345c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1001343a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1001343a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10012a60
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x100133e6
mov dword [0x1012c2a0], 0
call fcn.10012d80
mov ecx, dword [0x1012c29c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100134a9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10013474
mov dword [0x1012c29c], 0
mov dword [0x1012c290], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100139b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1012c294], 0
je 0x100139c9
mov eax, dword [0x1012c294]
jmp 0x10013a69
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x100139db
xor eax, eax
jmp 0x10013a69
push 8
call fcn.1001448c
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10013a31
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10013a1a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1012c294], eax
mov dword [0x1012c298], 0
mov eax, dword [ebp - 8]
jmp 0x10013a69
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10013a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100139fb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1012c29c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1012c29c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x100143c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c018]
jne 0x100143ce
repz ret
jmp fcn.10014907
Function at 0x10002e80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x104
lea esi, [ecx + 4]
push 0
push esi
call fcn.100106a0
add esp, 0xc
push 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10002eb1
xor eax, eax
pop esi
pop ebp
ret 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x10002eaa
push 0x10027b9c
push 0x104
push esi
call fcn.100152b1
push 0x101b1788
push 0x104
push esi
call fcn.100152b1
add esp, 0x18
push esi
call fcn.10002f00
cmp eax, 0x100000
jbe 0x10002ef3
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x10002f00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002f41
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x10003b70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x240], edx
mov esi, ecx
mov dword [ebp - 0x230], 0x22c
push 0
push eax
mov dword [ebp - 0x234], esi
call fcn.100106a0
add esp, 0xc
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10003c83
nop dword [eax]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100118d5
add esp, 8
test eax, eax
jne 0x10003c6d
push dword [ebp - 0x228]
mov dword [ebp - 0x238], 0xffffffff
push 1
push 0x1fffff
mov dword [ebp - 0x23c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10003c67
lea eax, [ebp - 0x23c]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10003c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call edi
jmp 0x10003c67
push esi
call edi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x10003c67
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x238]
je 0x10003c9d
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10003be0
test ebx, ebx
je 0x10003c8a
push ebx
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x23c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000da67
mov esp, ebp
pop ebp
ret
Function at 0x10004550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa74
mov eax, dword [0x101b600c]
xor eax, esp
mov dword [esp + 0xa70], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
push 0x44
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
push 0
push eax
movups xmmword [esp + 0x24], xmm0
call fcn.100106a0
add esp, 0xc
lea eax, [esp + 0x70]
push 0x208
push 0
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [esp + 0x278]
push 0x800
push 0
push eax
call fcn.100106a0
add esp, 0xc
test edi, edi
je 0x100045da
push edi
lea eax, [esp + 0x27c]
push 0x400
push eax
call fcn.10015598
add esp, 0xc
test esi, esi
je 0x100045fc
push esi
lea eax, [esp + 0x74]
push 0x104
push eax
call fcn.10015598
add esp, 0xc
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x70]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004603
lea eax, [esp + 0x18]
sub ecx, edx
push eax
lea eax, [esp + 0x2c]
sar ecx, 1
push eax
xor eax, eax
cmp eax, ecx
lea ecx, [esp + 0x78]
sbb eax, eax
and eax, ecx
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x298]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10004726
mov esi, dword [0x101b7488]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x1000469f
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push str.error_CreateProcess
push 0
push str.BaseCreateProcess
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x13a
push esi
call fcn.10002fc0
mov esi, dword [0x101b7488]
add esp, 0x18
test esi, esi
jne 0x1000470d
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push str.BaseCreateProcess
push str.................utilitycompany_liboutincludecommon_base_proc.cpp
push 0x13a
push ecx
mov ecx, esi
call fcn.100033f0
jmp 0x10004728
mov bl, 1
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x1000475d
test bl, bl
je 0x1000474e
cmp byte [ebp + 0x14], 0
je 0x1000474e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1000475a
mov dword [ecx], eax
jmp 0x1000475d
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x10004769
push eax
call esi
mov ecx, dword [esp + 0xa7c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000da67
mov esp, ebp
pop ebp
ret
Function at 0x100058c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
mov eax, dword [ecx + 0x20c]
xor bl, bl
or eax, 1
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ecx + 4]
mov dword [ebp - 0xc], 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005921
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000591f
lea ecx, [ebp - 8]
push ecx
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005921
mov bl, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000592f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4