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

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x440820
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4407da
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
push edi
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x4407fe
cmp eax, 0xffffffff
je 0x4407fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x402884
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
call fcn.00401590
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
cmp dword [ebp + 8], 3
jne 0x4028cd
mov eax, dword [ebp + 0xc]
add eax, 8
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402588
jmp 0x402908
mov dword [esp + 0x1a], 0x2e323731
mov dword [esp + 0x1e], 0x332e3731
mov dword [esp + 0x22], 0x33312e31
mov word [esp + 0x26], 0x35
mov dword [esp + 0x2c], 0x20fb
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x1a]
mov dword [esp], eax
call fcn.00402588
mov eax, 0
leave
ret
Function at 0xacfcc6
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
adc edx, edi
sub edx, ecx
mov edx, dword [ebp + 8]
lea esp, [esp - 0x114]
stc
test esp, eax
push esi
stc
test edx, edx
jmp 0xdab31b
mov eax, dword [edx + 0x3c]
cmp dl, 0x80
add eax, edx
cmp dword [eax], 0x4550
jmp 0xdb228b
je 0xf39528
mov esi, dword [ebp + 0xc]
test ch, 0x8a
cmp bx, 0xa4be
test esi, esi
jmp 0xf3950c
jne 0xf39528
mov ecx, dword [eax + 0x78]
test edi, ebp
mov dword [ebp - 4], ecx
test ecx, ecx
je 0xf39528
mov eax, 0x5a4d
cmp si, 0x7ca0
clc
cmp ebx, esp
cmp word [edx], ax
je 0xd58e99

Function at 0xadc600
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
dec ebp
pop ebp
ja 0xb7ecde
jns 0xadc61c
fcom qword [edx]
push 0x49
mov edi, 0x64c2d195
mov esi, 0xf5c73dea
mov ecx, 0x2a4a8c6a
cmc
sub dh, ch
pop ss
loope 0xadc5f2
salc
pop esp
mov byte [0xbd6f818a], al
rcr dword [esi], 1
int3

Function at 0xb95606
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
xor ecx, edx
and ecx, 0xff
mov dword [esp], 0x7594aa98
push 0x7b2a1cbc
mov ecx, dword [ecx*4 + 0xf34c30]
shr edx, 8
sal dword [esp + 2], 0xf2
xor edx, ecx
inc esi
call fcn.00d846d5

Function at 0xbacf0d
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
neg al
add edx, 0x7fb71ca6
xor bl, al
neg word [esp + edx - 0x19d54a2d]
call fcn.00ac0fc2
xor al, bl
mov dword [esp + edx - 0x61bbf61b], 0xd1a9c881
sub dword [esp + edx - 0x61bbf61b], edx
dec al
ror al, 1
or dl, dl
dec al
ror word [esp + edx - 0x61bbf61b], 0x6a
xor edx, 0xfba5db92
jae 0xac8660
mov edx, 0xcb1af582
call fcn.00f4788e

Function at 0xbae225
Capabilities:
Encrypt data using rc4 prga

Disassembly:
ret
jb 0xba8359
push esi
movzx esi, cl
mov eax, 0x6c16c16d
shl dx, cl
bts dx, bx
mul esi
clc
mov eax, esi
xor si, 0xcf90
add si, sp
stc
sub eax, edx
bsf esi, eax
shr eax, 1
mov si, ax
btr esi, 8
lea eax, [eax + edx]
shr eax, 5
movzx eax, al
mov edx, eax
add si, 0x3691
sar si, 0xa5
and si, 0x922
pop esi
test edx, 0x57a613ac
add cl, 0xd3
jmp 0xbacedb
jne 0xdbd1cf
mov dword [edi + 4], edx
stc
movzx eax, cl
mov dword [edi], eax
clc
test di, 0x400d
xor eax, eax
jmp 0x9a9787
jne 0x9afdf7
mov dword [edi + 8], edx
stc
mov dword [edi + 4], 0
cmp cl, 9
jmp 0xdbd1a6
sub eax, 1
jmp 0xba834f
add edi, 2
shl dl, cl
mov word [edi], dx
call fcn.00f2fa72
mov dword [edi + 8], 0
test sp, 0x220a
clc
stc
cmp cl, 0x2d
jmp 0x9afda5
jb 0xae4609
movzx edx, cl
mov eax, 0x38e38e39
cmc
mul edx
cbw
shr edx, 1
movzx eax, dl
sbb dl, 0x26
cdq
shrd dx, di, 0xad
mov edx, eax
lea ecx, [ecx]
test dx, bp
add cl, 0xf7
clc
test cx, 0x1406
sub eax, 1
jmp 0xae45ff
Function at 0xd7a7e8
Capabilities:
Encode data using xor

Disassembly:
add edi, 4
push 0x8faee4b2
xor edx, edx
test ecx, ecx
lea esp, [esp + 4]
je 0xd5c6fe
push 0xf7054591
rol dword [esp], 0x94
mov dword [esp], edi
mov edi, 0x340a69b4
not edi
sar edi, 0xa2
movzx edi, byte [eax]
push 0x573df291
dec dword [esp]
xor edi, edx
and edi, 0xff
push 0xf6ae78b0
mov edi, dword [edi*4 + 0x9aa964]
shr edx, 8
xor edx, edi
inc eax
xor edx, 0x8b13fe82
dec ecx
lea esp, [esp + 8]
jne 0xd5c6b1
push 0x7612a08f
mov edi, dword [esp + 4]
lea esp, [esp + 8]
not edx
call fcn.009a451b
mov cl, byte [edi + ecx - 0x693ac88b]
push 0x43b16c27
call fcn.00dc69cd
mov ebp, dword [esp + ecx - 0x4185b813]
movzx edi, al
shl edi, 0x2a
call fcn.00d98fe8
sysenter
call fcn.00da0e67
mov ecx, 0xd0afa93e
neg cl
mov eax, dword [edi]
dec cx
mov ecx, dword [edi + 4]
jnp 0xd5c68c

Function at 0xd952fe
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
sar dx, 0x88
sbb al, 5
xor byte [esp + edx + 9], 0x8b
xor dx, dx
xor bl, al
call 0x9b8a26

Function at 0xda1fdc
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
jmp 0xdaf91d
mov edx, dword [edi]
push esi
mov si, word ss:[edx]
call fcn.00dbf723
mov eax, 0x38b7693d
movzx edx, ax
lea ebp, [edx + eax*8 + 0x5b9ee39e]
lea esi, [esi + eax - 0x38b7693e]
jmp 0xb62933
movzx edx, byte [esi + edx - 0x693d]
neg eax
and ax, ax
rol bp, 0x6c
xor dl, bl
sal ax, 0xa2
push eax
neg dl
not dl
xchg word [esp + ebp*2 - 0x42b472d7], bp
xchg dword [esp + ebp*2 - 0x42b490b6], ebp
ror dl, 1
sub dl, 0x96
dec eax
call fcn.00ac05bb
Function at 0xf23a6f
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
je 0xdcc5a5
mov ecx, eax
mov eax, 0x400
mov edi, edx
btr dx, 0x11
test bl, al
cmc
movzx edx, ax
btc ax, bp
mov eax, edx
test esp, 0xb71c618f
stc
shl edx, 0x10
test bp, cx
or eax, edx
cmp cx, bp
test dx, si
test cl, 0x86
shr ecx, 1
rep stosd dword es:[edi], eax
jmp 0xdcc5a0
mov dword [ebp - 0x20], edx
sub esi, edi
test edx, edi
stc
mov dword [ebp - 0x44], esi
mov esi, edi
jmp 0xf4c5a7
mov byte [ebp - 1], bl
sub esi, edi
mov dword [ebp - 0x48], esi
or si, 0x8385
mov esi, dword [eax]
cmp di, dx
cmp sp, 0x1a1f
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x14]
stc
mov dword [ecx], ebx
shld cx, si, 0xba
rcl ch, 0x2a
mov ecx, dword [eax + 4]
bt ax, 0x13
btr ax, 0xa7
rcl ah, 0x3a
add ecx, esi
rcl al, cl
mov eax, 0x300
shl eax, cl
clc
mov dword [ebp - 0x3c], esi
clc
mov dword [ebp - 0x14], ebx
stc
mov dword [ebp - 0x10], edi
test sp, 0x5a10
add eax, 0x736
jmp 0xf51b7d
mov dword [ebp - 0x40], eax
test ebp, eax
xor esi, esi
test di, si
jmp 0xb9a6fd
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], edi
jmp 0xaa0b54
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp + 8]
sar al, cl
lea eax, [ecx - 1]
jmp 0xba5b14
xor bp, 0xcd94
sub bp, 0x4d25
xor bp, 0x5b04
mov dword [esp], 0xcba9020a
xor bx, bp
sub edi, 2
call fcn.00b7323d
push ebp
mov ebp, esp
test ebp, 0x51034d86
inc edx
shrd dx, bp, 0x93
sub esp, 0x48
sub dx, dx
cmc
mov ecx, dword [eax + 8]
sal edx, 0xab
add dx, 0x85b7
mov edx, dword [eax + 0xc]
cmp sp, di
push ebx
stc
push esi
neg si
inc si
push edi
bt si, 0x2c
test dh, dh
bswap edi
mov edi, 1
adc si, bp
mov esi, edi
shl esi, cl
mov ecx, dword [eax + 4]
cmp cx, si
xor ebx, ebx
jmp 0xab8dee
shl esi, cl
bts cx, si
movzx ecx, dx
neg cx
mov ecx, dword [ebp + 0xc]
test bp, 0xde8c
stc
cmp sp, 0x150f
mov dword [ebp - 0x18], ebx
jmp 0xb9fa5b
mov dword [ebp - 0x28], edi
jmp 0xd57c6a

Function at 0xf23b68
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
call fcn.00f579e1
mov ecx, 0xfc1a2a2f
mov ecx, dword [edi]
call fcn.00dbdc13

Function at 0xf581e2
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
inc ecx
mov cx, word [eax]
call fcn.00b57bb7
pushfd
add dword [esp + 4], 0xff0dd38c
mov dword [esp + 4], 0x6201a9bb
push dword [esp]
popfd
lea esp, [esp + 4]
call fcn.00b6d346
mov ecx, 0xd580b90e
dec cl
movsx eax, cl
mov eax, dword [ebp + eax*2 - 0x1a]
jg 0xda95f3
Function at 0x100017d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001836
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edi, [eax + 0x16c0b8]
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x10
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0x10001040
mov dword [edi], 0xffffff68
mov eax, ecx
mov byte [edi + 6], cl
shr eax, 8
mov byte [edi + 7], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 8], al
lea eax, [ebp + 0xc]
push eax
shr ecx, 0x18
mov word [edi + 4], 0x68ff
mov byte [edi + 9], cl
mov byte [edi + 0xa], 0xc3
push dword [ebp + 0xc]
push 0x10
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov eax, 1
pop ebp
ret 0xc
Function at 0x8e7370
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 0x8e738e
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 0x910074
push ecx
mov edi, eax
call fcn.008fb198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8e73cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.008fb02e
push esi
call fcn.008fafb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x8ea850
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 0x8ea8ae
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 0x915720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8ea8ba
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.008fb1e1
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 0x8ea8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x915720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8ea92a
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.008fc082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x8ea957
mov word [eax], si
add eax, 2
push eax
call fcn.008fc030
add esp, 4
jmp 0x8ea959
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 0x8ea8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8ea8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x8eaff0
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 0x8eb080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x8eb0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x910458
push ecx
call fcn.008fb1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.008fb1e1
add esp, 0x10
jmp 0x8eb0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.008fb20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.008fadff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.008eb050
mov eax, dword [0x915728]
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], reloc.wtsapi32.dll_WTSSetSessionInformationW
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x8eb13b
push esi
call fcn.008eafb0
add esp, 4
mov dword [0x915728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x8eb14c
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.008eaff0
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 0x8ee440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x8ee4b7
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 0x8ee48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8ee471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8ee47e
add edx, ecx
cmp ebx, edx
jb 0x8ee48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8ee467
xor ecx, ecx
jmp 0x8ee4a2
test eax, eax
jne 0x8ee492
xor ecx, ecx
jmp 0x8ee4a2
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.008ee3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x8ee8f0
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 0x8ee921
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 0x8ee946
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 0x8ee96e
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], reloc.wtsapi32.dll_WTSQueryUserToken
jne 0x8ee993
push ecx
push esi
call fcn.008ee4c0
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 0x8efc00
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 0x8efc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x8efc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x8efc38
add edx, eax
cmp ebx, edx
jb 0x8efc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x8efc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x8efc50
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 0x8efc70
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 0x8efcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8efc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8efca8
add edx, ecx
cmp ebx, edx
jb 0x8efcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8efc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x8eff60
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.008fc145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x8efffb
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 0x8effdd
lea eax, [esp + 0x18]
push eax
jmp 0x8effe2
push 0x915720
call fcn.008fbfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x8effb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x8eff40
push 4
push ecx
push eax
call fcn.008fc43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x8f0310
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.008fc145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x8f03ab
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 0x8f038d
lea eax, [esp + 0x18]
push eax
jmp 0x8f0392
push 0x915720
call fcn.008fbfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x8f0360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x8eff40
push 4
push ecx
push eax
call fcn.008fc43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x8f1f20
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 0x8f1fd7
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 0x8f1fcf
push ebx
push edi
push 0x915770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x8f1fae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x915770
push esi
call ebx
test eax, eax
je 0x8f1fae
mov ebp, 3
cmp dword [0x915774], ebp
jne 0x8f1faa
push 0x3e8
call edi
push 0x915770
push esi
call ebx
test eax, eax
jne 0x8f1f8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0x8f1fc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0x8f1fbb
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 0x8f5e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push reloc.wtsapi32.dll_WTSVirtualChannelRead
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 0x8f5ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.008f27a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x8f5e61
mov edx, dword [eax]
jmp 0x8f5e63
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.008f4050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x8f5ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x8f5ebf
cmp esi, edi
je 0x8f5ebf
mov ecx, esi
call fcn.008eda00
push esi
call fcn.008fb1c8
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.008f2990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x8f5ef5
mov eax, dword [eax]
jmp 0x8f5ef7
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.008f1640
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 0x8f5f25
mov eax, dword [eax]
jmp 0x8f5f27
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 0x8f5f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x8f5f76
cmp esi, edi
je 0x8f5f76
mov eax, dword [esi]
cmp eax, edi
je 0x8f5f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x8f5f6d
push eax
call fcn.008fb1c8
add esp, 4
push esi
call fcn.008fb1c8
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