joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448eb0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480638
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x448ee9
inc eax
mov dword [esi + 0x10], eax
jmp 0x448ffc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x448efd
mov eax, 0xffffffc7
jmp 0x448ffe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x448f0e
cmp dword [esi + 8], eax
jne 0x448efd
cmp dword [esi + 8], eax
jne 0x448f27
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x448f27
mov eax, 0xffffffc7
jmp 0x448ffe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x448f3b
push eax
mov ecx, ebx
call fcn.004486e0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00416ac0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x448f6c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00416ae0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00447e50
test eax, eax
mov dword [esp + 0x38], eax
je 0x448f9f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48af70
call fcn.00416cc0
mov eax, dword [esp + 0x38]
jmp 0x448ffe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00448d10
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x448fe3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00448d30
mov esi, eax
test esi, esi
jne 0x449013
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00448d10
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x448fb5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48af70
call fcn.00416cc0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48af70
call fcn.00416cc0
mov eax, esi
jmp 0x448ffe

Function at 0x44da40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x44daa0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x44daa0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x44daa0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x44daa0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x44dae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4531d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480f28
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.00479417
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00452b30
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.00479345
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.00475c09
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.00475c09
push 1
push 0
push 0
mov ecx, esi
call fcn.00475bb1
push 1
push 0
push 1
mov ecx, esi
call fcn.00475bb1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00479489
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x453350
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480f48
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.00479417
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00452b30
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.00479345
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 0x453414
cmp dword [esp + 0x40], 1
jne 0x453412
cmp ecx, eax
jge 0x453414
mov eax, ecx
cmp eax, 0xc8
jge 0x453420
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004531d0
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.00479489
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x453c10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480ff3
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.00474029
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.004796bf
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047ac1e
test eax, eax
je 0x453d2c
mov ecx, dword [esp + 0x3c]
call fcn.004796ec
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 0x453cf0
push edi
mov ecx, esi
call fcn.00476d55
mov ecx, esi
call fcn.00453ed0
cmp dword [esp + 0x38], 1
jne 0x453d25
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.00476e90
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 0x455f10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x455f43
push esi
call fcn.00459080
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x455f3c
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 0x455fc9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x455fb2
mov eax, dword [esi + 8]
test eax, eax
je 0x455f67
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 0x455fae
cmp eax, 2
je 0x455fb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x455f5a
cmp eax, 3
je 0x455f8d
cmp eax, 1
jne 0x455f5a
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 0x455f5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x455f5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00455ff0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x455fd8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00455ff0
add esp, 4
pop esi
ret

Function at 0x461510
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x4615d1
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x46157b
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x4615af
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4615af
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x46153e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4615e0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x461699
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x461637
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46167f
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov esi, dword [edx*4 + 0x4a35b4]
je 0x461651
or esi, 0x200
mov edx, dword [edi - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x46166c
test al, 0x40
je 0x461663
mov ecx, dword [ebx + 0x20]
jmp 0x46166a
test al, 0x80
je 0x46167f
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x46167f
mov ecx, dword [edi - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x461604
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x474e1f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x474e57
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.00472ea9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00472e81
jmp 0x474e63
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47650d
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 0x47654f
call fcn.0047c009
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47654f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x476546
xor eax, eax
jmp 0x476557
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047655d
pop edi
pop esi
pop ebx
ret 4

Function at 0x47c539
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 0x47c567
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47c585
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047c49f
jmp 0x47c585
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47c585
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047c49f
test edi, edi
mov eax, edi
jne 0x47c56f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1003b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
movzx eax, si
push 0
shr eax, 4
inc eax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x1003b30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100328c
jmp 0x1003b65
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1003b22
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1003b22
and esi, 0xf
jmp 0x1003b52
dec esi
lea eax, [eax + ecx*2]
movzx ecx, word [eax]
inc eax
inc eax
test esi, esi
jne 0x1003b4e
push dword [ebp + 0x10]
push ecx
push eax
call fcn.0100368c
mov esi, eax
test esi, esi
jge 0x1003b90
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003b90
test byte [eax + 0x3c], 2
je 0x1003b90
push esi
push 0x1001bb8
push 0xd
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x1003c7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], 0x80000001
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
jne 0x1003c9d
mov dword [ebp - 0xc], edi
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100360e
mov esi, eax
cmp esi, edi
mov dword [ebp + 0xc], esi
jl 0x1003d5c
mov dword [ebp + 8], edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call fcn.010033a2
test eax, eax
je 0x1003d55
cmp dword [ebp - 4], edi
jne 0x1003d13
cmp dword [ebp + 8], edi
jbe 0x1003d4e
push dword [ebp + 8]
call fcn.01003185
lea ecx, [ebp - 4]
mov esi, eax
call fcn.01004dbf
cmp esi, edi
je 0x1003d09
mov dword [ebp - 4], esi
jmp 0x1003cbe
mov dword [ebp - 4], edi
mov esi, 0x8007000e
jmp 0x1003d58
cmp dword [ebp - 0x10], 1
je 0x1003d20
mov esi, 0x8007000d
jmp 0x1003d5c
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.01003b9c
mov esi, eax
cmp esi, edi
jl 0x1003d5c
cmp dword [ebp + 0xc], edi
je 0x1003d40
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x1003d58
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x1003d58
mov esi, 0x8000ffff
jmp 0x1003d5c
mov esi, dword [ebp + 0xc]
cmp esi, edi
jge 0x1003d81
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003d81
test byte [eax + 0x3c], 2
je 0x1003d81
push esi
push 0x1001b10
push 0x22
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
lea ecx, [ebp - 4]
call fcn.01004dbf
lea ecx, [ebp - 0xc]
call fcn.0100357f
lea ecx, [ebp - 8]
call fcn.0100357f
pop edi
mov eax, esi
pop esi
leave
ret 0x14
Function at 0x1004508
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push eax
call fcn.010033a2
cmp dword [ebp - 4], 0
jge 0x1004555
mov eax, dword [section..data]
cmp eax, section..data
je 0x1004555
test byte [eax + 0x3c], 2
je 0x1004555
push dword [ebp - 4]
push 0x1001c78
push 0x2c
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x1004f9a
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10160e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push edi
xor edi, edi
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
jge 0x1004fdd
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 0x100175c
push 0x16
push eax
mov dword [ebp - 0x44], eax
inc edi
call fcn.01004757
add esp, 0x10
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x34]
cmp eax, ebx
je 0x1004ffe
mov dword [ebp + edi*4 - 0x44], eax
inc edi
inc ecx
cmp ecx, 3
jb 0x1004ff1
cmp edi, ebx
jne 0x100500d
mov dword [ebp - 0x20], ebx
jmp 0x1005089
push esi
push 0x1001f18
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.01004927
cmp esi, ebx
jne 0x100502d
mov dword [ebp - 0x24], ebx
jmp 0x100504e
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0x24], esi
push edi
push ebx
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x1005088
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100328c
cmp eax, ebx
mov dword [ebp - 0x20], eax
jge 0x1005088
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005088
test byte [eax + 0x3c], 2
je 0x1005088
push dword [ebp - 0x20]
push 0x1001cf8
push 0x1c
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
pop esi
lea ecx, [ebp - 0x24]
call fcn.01004927
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
pop edi
xor ecx, ebp
pop ebx
call fcn.01013a7d
leave
ret 0x20
Function at 0x100534f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10160e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0x2000000
push ebx
xor esi, esi
push edi
mov dword [ebp - 0x218], esi
call fcn.01007a9a
cmp eax, esi
mov dword [ebp - 0x214], eax
jl 0x100543f
lea eax, [ebp - 0x214]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push eax
call fcn.010033a2
test eax, eax
je 0x1005437
jmp 0x1005417
dec dword [ebp - 0x21c]
lea eax, [ebp - 0x214]
push eax
push 0x105
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x21c]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push eax
call fcn.010033a2
test eax, eax
je 0x1005437
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call fcn.0100534f
cmp eax, esi
mov dword [ebp - 0x214], eax
jl 0x100543f
cmp dword [ebp - 0x21c], esi
ja 0x10053c6
lea ecx, [ebp - 0x218]
call fcn.0100357f
push ebx
push edi
call fcn.01004508
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], esi
jge 0x1005469
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005469
test byte [eax + 0x3c], 2
je 0x1005469
push dword [ebp - 0x214]
push 0x1001c78
push 0x2e
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
lea ecx, [ebp - 0x218]
call fcn.0100357f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01013a7d
leave
ret 8

Function at 0x100579b
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 8], 0x80000001
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jne 0x10057bc
mov dword [ebp - 0xc], esi
lea eax, [ebp - 4]
push eax
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01007a9a
mov edi, eax
cmp edi, esi
jl 0x1005800
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 8], esi
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call fcn.010033a2
mov edi, dword [ebp + 8]
cmp edi, esi
jge 0x1005825
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005825
test byte [eax + 0x3c], 2
je 0x1005825
push edi
push 0x1001c78
push 0x24
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
lea ecx, [ebp - 8]
call fcn.01004dbf
lea ecx, [ebp - 0xc]
call fcn.0100357f
lea ecx, [ebp - 4]
call fcn.0100357f
mov eax, edi
pop edi
pop esi
leave
ret 0x14
Function at 0x10059c5
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 8], 0x80000001
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jne 0x10059e6
mov dword [ebp - 0xc], esi
lea eax, [ebp - 4]
push eax
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100360e
mov edi, eax
cmp edi, esi
jl 0x1005a2a
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 8], esi
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call fcn.010033a2
mov edi, dword [ebp + 8]
cmp edi, esi
jge 0x1005a4f
mov eax, dword [section..data]
cmp eax, section..data
je 0x1005a4f
test byte [eax + 0x3c], 2
je 0x1005a4f
push edi
push 0x1001c78
push 0x24
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
lea ecx, [ebp - 8]
call fcn.01004dbf
lea ecx, [ebp - 0xc]
call fcn.0100357f
lea ecx, [ebp - 4]
call fcn.0100357f
mov eax, edi
pop edi
pop esi
leave
ret 0x14

Function at 0x10072ab
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
xor esi, esi
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x100
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1007326
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100328c
mov esi, eax
test esi, esi
jge 0x1007326
mov eax, dword [section..data]
cmp eax, section..data
je 0x1007326
test byte [eax + 0x3c], 2
je 0x1007326
push esi
push 0x1001dc4
push 0x23
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101083d
mov eax, esi
pop esi
leave
ret 4