joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448320
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046ea24
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00447cc0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046e952
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046b21b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046b21b
push 1
push 0
push 0
mov ecx, esi
call fcn.0046b1c3
push 1
push 0
push 1
mov ecx, esi
call fcn.0046b1c3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046ea96
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4484a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046ea24
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00447cc0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046e952
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x448564
cmp dword [esp + 0x40], 1
jne 0x448562
cmp ecx, eax
jge 0x448564
mov eax, ecx
cmp eax, 0xc8
jge 0x448570
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00448320
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046ea96
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x448cf0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4763a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00469633
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046eccc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047022b
test eax, eax
je 0x448e0c
mov ecx, dword [esp + 0x3c]
call fcn.0046ecf9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x448dd0
push edi
mov ecx, esi
call fcn.0046c369
mov ecx, esi
call fcn.00448f70
cmp dword [esp + 0x38], 1
jne 0x448e05
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046c4a4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44b820
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44b853
push esi
call fcn.0044e930
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44b84c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44b8d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44b8c2
mov eax, dword [esi + 8]
test eax, eax
je 0x44b877
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44b8be
cmp eax, 2
je 0x44b8c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44b86a
cmp eax, 3
je 0x44b89d
cmp eax, 1
jne 0x44b86a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44b86a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44b86a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044b900
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44b8e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044b900
add esp, 4
pop esi
ret

Function at 0x46a429
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46a461
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004684e0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004684b8
jmp 0x46a46d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46bb23
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46bb65
call fcn.0047161b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46bb65
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46bb5c
xor eax, eax
jmp 0x46bb6d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046bb73
pop edi
pop esi
pop ebx
ret 4

Function at 0x471b4b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x471b79
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471b97
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00471ab1
jmp 0x471b97
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471b97
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00471ab1
test edi, edi
mov eax, edi
jne 0x471b81
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x10080c7
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x103a0c8
call fcn.01008254
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x103ecc4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1007edc
cmp eax, esi
jne 0x1007ecf
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1007edf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1007eb6
xor esi, esi
inc esi
mov eax, dword [0x103ecc0]
cmp eax, esi
jne 0x1007ef2
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1007f2d
mov eax, dword [0x103ecc0]
test eax, eax
jne 0x1007f27
mov dword [0x103ecc0], esi
push 0x1001610
push 0x1001604
call fcn.01007e33
pop ecx
pop ecx
test eax, eax
je 0x1007f2d
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1007ff7
mov dword [0x103e904], esi
mov eax, dword [0x103ecc0]
cmp eax, esi
jne 0x1007f51
push 0x1001600
push 0x10015f4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x103ecc0], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1007f5e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x103ecc8], ebx
je 0x1007f7f
push 0x103ecc8
call fcn.010081c9
pop ecx
test eax, eax
je 0x1007f7f
push ebx
push 2
push ebx
call dword [0x103ecc8]
push dword [0x103e8ec]
push dword [0x103e8f0]
push dword [0x103e8e8]
call fcn.01007a3f
add esp, 0xc
mov dword [0x103e900], eax
cmp dword [0x103e8f4], ebx
jne 0x1007fdd
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x103e904], ebx
jne 0x1007feb
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x103e900]
call fcn.01008299
ret
call fcn.0100843f
jmp 0x1007e94
Function at 0x1008e23
Capabilities:
Delete registry value

Disassembly:
push 0x3c
mov eax, 0x10393be
call fcn.010372df
lea ecx, [ebp - 0x48]
call fcn.01015c7b
xor edi, edi
push edi
push 0x100199c
mov esi, 0x1001940
push esi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.01015a87
mov ebx, eax
cmp ebx, edi
jge 0x1008e8f
mov eax, dword [section..data]
cmp eax, section..data
je 0x1008f9e
test byte [eax + 0x1c], 1
je 0x1008f9e
push ebx
push 0x10017f0
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1008f9e
push edi
push 0x80000002
lea ecx, [ebp - 0x48]
call fcn.01015def
test eax, eax
jl 0x1008f9c
lea ecx, [ebp - 0x48]
call fcn.01015d1b
push edi
push 0x1001910
push esi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], eax
call fcn.01015a87
mov ebx, eax
cmp ebx, edi
jge 0x1008eea
mov eax, dword [section..data]
cmp eax, section..data
je 0x1008f9e
test byte [eax + 0x1c], 1
je 0x1008f9e
push ebx
push 0x10017f0
push 0x2c
jmp 0x1008e7f
push edi
push 0x80000002
lea ecx, [ebp - 0x48]
call fcn.01015def
test eax, eax
jl 0x1008f9c
lea ecx, [ebp - 0x48]
call fcn.01015d1b
push edi
push 0x10018ec
push esi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], eax
call fcn.01015a87
mov ebx, eax
cmp ebx, edi
jge 0x1008f40
mov eax, dword [section..data]
cmp eax, section..data
je 0x1008f9e
test byte [eax + 0x1c], 1
je 0x1008f9e
push ebx
push 0x10017f0
push 0x2d
jmp 0x1008e7f
push edi
mov esi, 0x80000002
push esi
lea ecx, [ebp - 0x48]
call fcn.01015def
test eax, eax
jl 0x1008f9c
lea ecx, [ebp - 0x48]
call fcn.01015d1b
cmp eax, dword [ebp - 0x18]
jne 0x1008f9c
push edi
push 4
lea eax, [ebp - 0x14]
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.01015d56
mov ebx, eax
cmp ebx, edi
jge 0x1008f9c
mov eax, dword [section..data]
cmp eax, section..data
je 0x1008f9e
test byte [eax + 0x1c], 1
je 0x1008f9e
push 0x10017f0
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x1008f9e
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push 2
push 0x1001868
call fcn.01016001
test eax, eax
jl 0x1008fd8
mov esi, dword [sym.imp.KERNEL32.dll_RegDeleteValueW]
push 0x100199c
push dword [ebp - 0x10]
call esi
push 0x1001910
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.01015cbc
mov eax, ebx
call fcn.010373cb
ret
Function at 0x1009a0b
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 8], edi
je 0x1009a89
push 0x1001820
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x288], eax
cmp eax, edi
je 0x1009a42
call ebx
cmp eax, 0xb7
jne 0x1009a9e
mov eax, dword [esi + 0x288]
cmp eax, edi
je 0x1009a5b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x288], edi
jmp 0x1009a7f
mov eax, dword [section..data]
cmp eax, section..data
je 0x1009a7f
test byte [eax + 0x1c], 1
je 0x1009a7f
push 0x10017f0
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
call ebx
push eax
call fcn.0100968c
jmp 0x1009aa0
add esi, 0x288
mov eax, dword [esi]
cmp eax, edi
je 0x1009a9e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1009aac
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push 0x1001c88
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
je 0x1009af5
mov eax, dword [section..data]
cmp eax, section..data
je 0x1009b37
test byte [eax + 0x1c], 1
je 0x1009b37
push 0x10017f0
push 0x19
jmp 0x1009b2c
push 0x54
push 0x1001c30
push 2
push edi
push 0x1001c08
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
je 0x1009b49
mov eax, dword [section..data]
cmp eax, section..data
je 0x1009b37
test byte [eax + 0x1c], 1
je 0x1009b37
push 0x10017f0
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
cmp esi, edi
jle 0x1009b4b
and esi, 0xffff
or esi, 0x80070000
jmp 0x1009b4b
xor esi, esi
cmp dword [ebp - 4], edi
je 0x1009b59
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x1009b64
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 2
push 0
push 0x1001c88
push 0x80000002
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009bad
push 0x1001c08
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegDeleteValueW]
test eax, eax
je 0x1009bad
jle 0x1009ba9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1009baf
xor esi, esi
cmp dword [ebp - 4], 0
je 0x1009bbe
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x1009c45
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push esi
push edi
mov esi, 0x1001d80
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test edi, edi
je 0x1009c89
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1009c76
cmp eax, 0x80
jne 0x1009c7d
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1009c84
mov eax, dword [section..data]
cmp eax, section..data
je 0x1009cb9
test byte [eax + 0x1c], 1
je 0x1009cb9
push esi
push 0x10017f0
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008bcd
push 5
call fcn.0100968c
jmp 0x1009c86
Function at 0x100aa02
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.01009bc8
mov esi, eax
cmp esi, ebx
jl 0x100ab26
cmp dword [ebp - 4], ebx
je 0x100ab26
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, ebx
je 0x100aa84
mov eax, dword [section..data]
cmp eax, section..data
je 0x100ab10
test byte [eax + 0x1c], 1
je 0x100ab10
push 0x10017f0
push 0x16
jmp 0x100ab05
cmp dword [ebp - 8], 0x40
jb 0x100aabb
mov eax, dword [section..data]
cmp eax, section..data
je 0x100aab1
test byte [eax + 0x1c], 1
je 0x100aab1
push dword [ebp - 8]
push 0x10017f0
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
mov esi, 0xe0000003
jmp 0x100ab4b
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 3
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegSetValueExW]
mov esi, eax
cmp esi, ebx
je 0x100ab22
mov eax, dword [section..data]
cmp eax, section..data
je 0x100ab10
test byte [eax + 0x1c], 1
je 0x100ab10
push 0x10017f0
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
cmp esi, ebx
jle 0x100ab4b
and esi, 0xffff
or esi, 0x80070000
jmp 0x100ab4b
xor esi, esi
jmp 0x100ab4b
mov eax, dword [section..data]
cmp eax, section..data
je 0x100ab4b
test byte [eax + 0x1c], 1
je 0x100ab4b
push esi
push 0x10017f0
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
cmp dword [ebp - 4], ebx
je 0x100ab59
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x100b1b8
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x103e010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x468]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x46c], ebx
call sub.msvcrt.dll_memset
mov dword [ebp - 0x428], ebx
xor eax, eax
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov ecx, esi
stosd dword es:[edi], eax
call fcn.01008df4
test eax, eax
je 0x100b242
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b3d9
test byte [eax + 0x1c], 4
je 0x100b3d9
push 0x10017f0
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x100b3d9
xor eax, eax
mov word [ebp - 0x20c], ax
mov word [ebp - 0x414], ax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
jae 0x100b3b2
cmp eax, ebx
je 0x100b3b2
lea eax, [ebp - 0x20c]
push eax
push 0x1001e5c
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0100878d
mov esi, eax
add esp, 0x10
cmp esi, ebx
jge 0x100b2c9
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b3de
test byte [eax + 0x1c], 1
je 0x100b3de
push 0x10017f0
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x100b3de
push 0x44
pop esi
push esi
lea eax, [ebp - 0x46c]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
lea edi, [ebp - 0x428]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push ebx
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x46c], esi
push eax
cmp dword [ebp - 0x418], ebx
je 0x100b34b
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x100b398
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b380
test byte [eax + 0x1c], 1
je 0x100b380
lea ecx, [ebp - 0x20c]
push ecx
push 0x10017f0
push 0x4c
jmp 0x100b375
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100b398
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b380
test byte [eax + 0x1c], 1
je 0x100b380
lea ecx, [ebp - 0x20c]
push ecx
push 0x10017f0
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008bcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100b394
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x100b3de
push dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x424]
call esi
xor esi, esi
jmp 0x100b3de
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x100b3d9
test byte [ecx + 0x1c], 1
je 0x100b3d9
push eax
push 0x10017f0
push 0x4a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01008600
mov esi, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.010084d5
leave
ret 4
Function at 0x100b3f6
Capabilities:
Delete file

Disassembly:
push 0x80
mov eax, 0x1039613
call fcn.01037352
lea ecx, [ebp - 0x8c]
call fcn.0100f0e5
xor edi, edi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
call fcn.0100f130
cmp eax, edi
jge 0x100b45e
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x100b535
test byte [ecx + 0x1c], 1
je 0x100b535
push eax
push 0x10017f0
push 0x63
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01008600
jmp 0x100b535
lea ecx, [ebp - 0x8c]
call fcn.0100f2c1
lea ecx, [ebp - 0x8c]
mov esi, eax
call fcn.0100f2a2
test eax, eax
je 0x100b535
lea ecx, [ebp - 0x8c]
call fcn.0100f2b8
test eax, eax
jne 0x100b535
call fcn.0100eb05
test eax, eax
jne 0x100b535
cmp esi, edi
je 0x100b535
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0100f2a2
push eax
call fcn.0100eeb2
cmp eax, edi
jl 0x100b535
mov eax, dword [ebp - 0x54]
cmp eax, edi
ja 0x100b535
jb 0x100b4cf
mov eax, dword [ebp - 0x58]
cmp eax, esi
jae 0x100b535
lea ecx, [ebp - 0x8c]
call fcn.0100f2a2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100b535
lea ecx, [ebp - 0x8c]
call fcn.0100f2a2
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov word [ebp - 0x50], ax
cmp esi, 0x400
jbe 0x100b50c
shr esi, 0xa
jmp 0x100b50f
xor esi, esi
inc esi
push esi
push 0x1001e70
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.0100878d
add esp, 0x10
push 4
lea eax, [ebp - 0x60]
push eax
push 2
push 0x400003fa
call fcn.0100eb93
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.01008ff1
call fcn.010373e4
ret