joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad05056
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x4ad05178
call fcn.4ad0162f
xor edi, edi
push edi
call dword [0x4ad01144]
cmp word [eax], 0x5a4d
jne 0x4ad05169
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4ad05169
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
jne 0x4ad19012
cmp dword [ecx + 0x74], 0xe
jbe 0x4ad05169
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [0x4ad01080]
pop ecx
or dword [0x4ad2fa50], 0xffffffff
or dword [0x4ad2fa4c], 0xffffffff
call dword [section..text]
mov ecx, dword [0x4ad34888]
mov dword [eax], ecx
call dword [0x4ad01004]
mov ecx, dword [0x4ad34884]
mov dword [eax], ecx
mov eax, dword [0x4ad01008]
mov eax, dword [eax]
mov dword [0x4ad2fa54], eax
call fcn.4ad04fe0
cmp dword [0x4ad34878], edi
je 0x4ad19037
call fcn.4ad05194
push 0x4ad34870
push 0x4ad3486c
call fcn.4ad05189
mov eax, dword [0x4ad34880]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x4ad3487c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [0x4ad01014]
mov dword [ebp - 0x34], eax
push 0x4ad34868
push 0x4ad34860
call fcn.4ad05189
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x4ad01018]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.4ad03ff1
jmp 0x4ad19048
mov dword [ebp - 0x1c], edi
jmp 0x4ad050ae
and eax, 0xa300c04
push es
or byte [ebx], ch
push es
add dword [0x8030705], eax
xor byte [0x862a0906], cl
dec eax
xchg bh, dh
or eax, 0x50b0101
add byte [ebx], al
add byte [ecx], 1
add byte [edx - 0x18b4db3a], bl
xchg edi, eax
mov dl, 0x52
add dword [edi + eax*4 + 0xf], esp
loop 0x4ad1905c
xchg ebx, eax
sub byte [esi + 0x79], dl
jbe 0x4ad19014
jns 0x4ad19095
hlt
stc
or dl, byte [0xe7a4d67]
mov dword [eax + 0x42333f3c], eax
fimul word [esi - 0x59a30d8e]
js 0x4ad18fe9
mov ecx, 0x8fd285b0
and eax, 0xbd8adbed
loope 0x4ad1906e
mov al, 0x85
ror byte [edi - 0x752412db], cl
mov ebp, 0x567d2ce1
jge 0x4ad1909a
pushal
add al, 0x12
iretd
daa
arpl word [eax - 8], di
inc esi
push esp
push esp
dec edx
push ss
fisubr dword [ebx - 0x16]
pop esp
mov ebx, 0x6c7a86fb
pop esi
jg 0x4ad190ab
jae 0x4ad190c2
mov al, byte [0xdeb09d36]
mov bl, 0xe9
iretd
jmp 0xd733a33a
insb byte es:[edi], dx
and al, 0xc
imul ecx, dword [eax - 0x41686ed2], 0xffffffdf
dec esi
xor cl, byte [esp + ebx*2 + 0x2784276e]
jns 0x4ad1901d
popfd
retf
xchg dword [ebp + 0x47], ebp
jbe 0x4ad19066
push ebp
scasd eax, dword es:[edi]
dec esi
mov dh, 0xf1
aad 0x7a
sbb dh, byte [ebx + 0x81d9cf9]
pushfd
sbb eax, 0xfd284808
dec eax
sub ch, bh
jno 0x4ad190ab
call [esi + 7]
pop esi
pop es
wait
and eax, 0xf8a3b042
or edi, ebp
popal
rcr byte [edi - 0x46], cl
je 0x4ad190a4
popal
aad 0xf3
loop 0x4ad190a1
inc esp
mov edi, 0x8ae30d29
invalid
Function at 0x4ad08b58
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ad33b78]
and word [ebp - 6], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
add eax, 0x40
push esi
mov word [ebp - 0xa], ax
push edi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], 0x3d
mov word [ebp - 8], 0x3a
call int.4ad01b84
mov esi, dword [0x4ad01178]
mov ebx, dword [0x4ad01220]
mov edi, eax
test edi, edi
je 0x4ad172df
push edi
call esi
test al, al
je 0x4ad172d5
push 0
push 0x4ad34400
call fcn.4ad01555
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 4
Function at 0x4ad1c445
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x407008], 0x8088405
inc edx
mov dword [ebx + 0x407008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x17c5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x17c51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x17c507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17c506a
add dl, dl
jne 0x17c5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17c50dc
xor eax, eax
add dl, dl
jne 0x17c5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17c517d
add dl, dl
jne 0x17c50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17c50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17c50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17c50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x17c50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x17c5075
mov eax, 1
add dl, dl
jne 0x17c50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17c50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17c50e1
sub eax, ebx
mov ebx, 1
jne 0x17c5128
mov ecx, 1
add dl, dl
jne 0x17c510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x17c5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17c5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17c5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x17c513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x17c514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17c5136
cmp eax, 0x7d00
jae 0x17c516d
cmp eax, 0x500
jb 0x17c5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17c5075
cmp eax, 0x7f
ja 0x17c5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17c5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x17c519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x17c5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x45d39f
Capabilities:
Encode data using xor

Disassembly:
dec edi
cmp ah, byte [edx + 0x61]
or dword [edx - 0xc], esp
cmpsb byte [esi], byte es:[edi]
in al, dx
call 0x61c35cd5
mov dword [ebp + 0x61], edi
sub dword [ebx + 4], esp
adc eax, 0xe263d71f
xlatb
arpl dx, sp
mov esi, 0x92700def
loope 0x45d388
jl 0x45d313
das
mov ebp, dword [esi - 0xc]
mov al, ah
inc ebp
test al, 0x81
push 0x24844c00
inc eax
outsd dx, dword [esi]
jae fcn.0045d327
mov al, byte [0xcf0280ce]
out dx, al
inc eax
ljmp 0x68c9
lahf
out 0xaa, al
sbb eax, 0x42a2006a
push eax
dec ecx
pushfd
cmpsd dword [esi], dword es:[edi]
invalid
mov al, byte [ecx]
sub eax, 0xa08789d2
fyl2x
xchg edi, eax
pop ds
mov bl, 0xf2
and dword [edx], 0x64
jne 0x45d35d
pop esp
fucomp st(6)
mov esp, 0x868146a4
inc esi
add dword [esi + 0x21e7c1aa], 0xf9754012
mov edi, 0x60ff801f
lea edi, [ebx]
xor edx, dword [edi]
loope 0x45d35a
sub dword [ecx + 0x27], eax
and eax, 0x4716c86a
adc bl, byte [edx]
insb byte es:[edi], dx
retf 0xdc5d

Function at 0x48b520
Capabilities:
Encode data using xor

Disassembly:
call 0x7845a0c5
and eax, 0x1c53d35a
sbb dword [esi + 0x6c], 0x5ab772a0
jp 0x48b580
mov ecx, 0x80da13a8
or bh, byte [edx]
add ebx, dword [ebp - 0x62b4eba4]
popfd
pop esp
adc al, 0x4b
popfd
or dword [esi + 0xf0d045f], esi
xlatb
std
mov dl, al
add eax, 0x3a26c0e5
mov eax, 0x3697ce91
salc
mov eax, 0x4e9a8a75
mov byte [0x9751d475], al
or eax, 0x2c2cfa61
sbb byte [esi], ah
dec edi
push esp
cmp al, 0x3d
dec eax
push 0x842819f
mov bl, dl
invalid
loop 0x48b53c
ret

Function at 0x4bbee1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33f0
cmp edx, dword [eax]
je 0x4bbf03
add eax, 8
inc ecx
cmp eax, 0x4c3480
jl 0x4bbef4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33f0]
jne 0x4bc031
mov eax, dword [0x4c8e20]
cmp eax, 1
je 0x4bc00b
test eax, eax
jne 0x4bbf34
cmp dword [0x4c3318], 1
je 0x4bc00b
cmp edx, 0xfc
je 0x4bc031
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbf6b
lea eax, [ebp - 0x1a4]
push 0x4c16a8
push eax
call fcn.004bc8c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcd50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbfae
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcd50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c16a4
push edi
call fcn.004bec20
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1688
push eax
call fcn.004bc8c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc8d0
lea eax, [ebp - 0xa0]
push 0x4c1684
push eax
call fcn.004bc8d0
push dword [esi + 0x4c33f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc8d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c165c
push eax
call fcn.004beb94
add esp, 0x2c
pop edi
jmp 0x4bc031
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33f4]
push 0
push eax
push dword [esi]
call fcn.004bcd50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0xdb2370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xdb238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xddb074
push ecx
mov edi, eax
call fcn.00dc6198
mov esi, eax
add esp, 8
test esi, esi
jne 0xdb23cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00dc602e
push esi
call fcn.00dc5fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xdb5850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xdb58ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xde0720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdb58ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00dc61e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xdb58ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xde0720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdb592a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00dc7082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xdb5957
mov word [eax], si
add eax, 2
push eax
call fcn.00dc7030
add esp, 4
jmp 0xdb5959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xdb58ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xdb58b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xdb5ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xdb6080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xdb60c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xddb458
push ecx
call fcn.00dc61e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00dc61e1
add esp, 0x10
jmp 0xdb60d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00dc620b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00dc5dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00db6050
mov eax, dword [0xde0728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xdb613b
push esi
call fcn.00db5fb0
add esp, 4
mov dword [0xde0728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xdb614c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00db5ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xdb9440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xdb94b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xdb948e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xdb9471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xdb947e
add edx, ecx
cmp ebx, edx
jb 0xdb948a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xdb9467
xor ecx, ecx
jmp 0xdb94a2
test eax, eax
jne 0xdb9492
xor ecx, ecx
jmp 0xdb94a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00db93c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xdb98f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xdb9921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xdb9946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xdb996e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xdb9993
push ecx
push esi
call fcn.00db94c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xdbac00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xdbac4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xdbac2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xdbac38
add edx, eax
cmp ebx, edx
jb 0xdbac46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xdbac21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xdbac50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xdbac70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xdbacb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xdbac9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xdbaca8
add edx, ecx
cmp ebx, edx
jb 0xdbacb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xdbac91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xdbaf60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00dc7145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xdbaffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xdbafdd
lea eax, [esp + 0x18]
push eax
jmp 0xdbafe2
push 0xde0720
call fcn.00dc6fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xdbafb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xdbaf40
push 4
push ecx
push eax
call fcn.00dc743f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xdbb310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00dc7145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xdbb3ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0xdbb38d
lea eax, [esp + 0x18]
push eax
jmp 0xdbb392
push 0xde0720
call fcn.00dc6fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xdbb360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xdbaf40
push 4
push ecx
push eax
call fcn.00dc743f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xdbcf20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 4], ebp
je 0xdbcfd7
mov eax, dword [esp + 0xc]
push esi
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0xdbcfcf
push ebx
push edi
push 0xde0770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0xdbcfae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0xde0770
push esi
call ebx
test eax, eax
je 0xdbcfae
mov ebp, 3
cmp dword [0xde0774], ebp
jne 0xdbcfaa
push 0x3e8
call edi
push 0xde0770
push esi
call ebx
test eax, eax
jne 0xdbcf8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0xdbcfc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0xdbcfbb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ecx
ret
Function at 0xdc0e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0xdd68f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0xdc0ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00dbd7a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0xdc0e61
mov edx, dword [eax]
jmp 0xdc0e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00dbf050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0xdc0ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xdc0ebf
cmp esi, edi
je 0xdc0ebf
mov ecx, esi
call fcn.00db8a00
push esi
call fcn.00dc61c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00dbd990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0xdc0ef5
mov eax, dword [eax]
jmp 0xdc0ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00dbc640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0xdc0f25
mov eax, dword [eax]
jmp 0xdc0f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0xdc0f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xdc0f76
cmp esi, edi
je 0xdc0f76
mov eax, dword [esi]
cmp eax, edi
je 0xdc0f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0xdc0f6d
push eax
call fcn.00dc61c8
add esp, 4
push esi
call fcn.00dc61c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret