joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444b31
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
lea esp, [esp + 8]
jne 0x498c6a
push esi
jmp 0x469c21
mov dword [esp], 1
pushal
mov word [esp + 4], ax
mov dword [esp + 0x1c], esi
pushal
mov byte [esp + 4], cl
push dword [esp]
push 0x51eabd7c
lea esp, [esp + 0x44]
call fcn.004ac5a4
mov edi, 0xf40e552
movzx di, cl
mov di, 0x2419
bswap di
mov edi, eax
pushal
lea esp, [esp + 0x20]
jmp 0x47c598

Function at 0x458650
Capabilities:
Encode data using xor

Disassembly:
pop ebp
push esp
pushal
pushfd
push dword [esp + 0x28]
ret 0x40
pushfd
mov esp, ebp
movsx bp, al
jmp 0x450cb2
pushfd
pushfd
lea ebp, [ebp + 1]
pushfd
mov word [esp], 0xc5b0
call fcn.0046a866
jno 0x4586de
inc esp
setl byte [ebx + 0x6008245c]
pushfd
mov ebx, dword [esp + 8]
pushal
jmp 0x4549fe
stc
mov dword [0x9740e38], eax
fadd qword [edx + 0x63]
dec edx
xor ecx, dword [ecx + 0x28bebd9]
invalid

Function at 0x45c543
Capabilities:
Encode data using xor

Disassembly:
push esp
pushfd
call 0x45ed71
jle 0x45c54b
call dword [ecx + 0x25b19bb8]
pop esp
xchg ecx, eax
mov eax, 0x5c25b19b
inc ebx
pop ss
jle 0x45c5c5
adc ah, ch
sbb byte [edx], 0xb4
sahf
push es
je 0x45c582
push esp
in al, dx
mov al, 0xea
popal
invalid
pop ss
push 0x5a
or al, 0xe4
push ss
mov dh, 0xcc
fst dword [eax + 0x5a0f6604]
fistp dword [esi - 0x3279a70b]
cmc
pop eax
xchg ch, cl
xor eax, 0xe4025646
out 0x26, al
xlatb
js 0x45c592
iretd
xor dword [esi - 0x1359d477], edx
xchg byte [edi + 0x35db1e4c], al
push esp
cmp dl, 0xfa
pop esp
sbb byte [ebx], cl
xchg ebx, eax
fstp dword [ecx + 0x5687b308]
fstp dword [ebx - 0x40f1db21]
and ch, byte [edi - 0x6b]
loopne 0x45c59b
adc dl, byte [edx + 0x2dad0bd3]
jo 0x45c633
xor dword [ecx], ebx
push es
jmp 0x45c605
pop ds
push ebp
daa
fisttp dword [ebp - 0x21]
sub byte [eax*8 - 0x7a4b8ad8], dl
in eax, 0xcd
push ecx
dec esp
push ecx
xor al, 0xaa
lodsb al, byte cs:[esi]
ror dh, 0xc8
jp 0x45c5f2
sahf
movsd dword es:[edi], dword cs:[esi]
lcall 0xb86d, 0xfdf0e092
fadd dword [0xdf1a12e0]
sub al, 0xd3
pushal
and bl, byte [eax + edx*8 + 0x4c]
inc ebp
retf 0x24e3

Function at 0x46b25d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 8], 0xa4
jmp 0x47701a

Function at 0x46d9c4
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], esi
pushal
lea esp, [esp + 0x20]
call fcn.004ac5a4
movsx di, bl
movsx edi, dl
mov edi, eax
pushal
lea esp, [esp + 0x20]
jmp 0x47c598

Function at 0x4726a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
xchg dword [esp + 0x10], eax
call fcn.00420251
setno ah
nop
push 0xa74cb601
movsx ax, bl
sete ah
mov eax, dword [esp + 4]
push 0xe2d83752
mov byte [esp], 0xe1
jmp 0x46db17

Function at 0x48445d
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0xc]
jle 0x4440e0
rdtsc
rdtsc
cwde
movzx ecx, word [edi + ebx*8 + 4]
mov dh, al
lea edx, [ecx*2 + 0x11e9d6b]
mov eax, dword [ebp + 0x18]
pushal
mov edx, dword [ebp + 0x10]
pushfd
mov dword [esp + 0x20], eax
pushfd
mov dword [esp + 0x24], eax
lahf
sete ah
setbe ah
mov eax, dword [ebp + 0xc]
jmp 0x421a01
Function at 0x486731
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop ebx
mov ebx, 0x406292
push 0xd7df1267
pushal
pushfd
mov ebx, dword [ebx + 0xa08c3]
jmp 0x444b2c

Function at 0x487209
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x28]
call fcn.00426751
stc
add esp, 4

Function at 0x496879
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x14]
call fcn.00426751
cmp cl, 0x4d
add esp, 4
mov bx, 0x5d0c
mov dword [esi + 0x2c], edi
call fcn.0049f744
mov dword [esp + 4], ecx
lea esp, [esp + 0x28]
je 0x47c58d
cmc
clc
cmp dx, si
clc
test ebx, 0xffff0000
push 0x48a634b2
call fcn.00478783
mov dword [esi + 0x34], edi
jmp 0x421f68

Function at 0x4a1270
Capabilities:
Encode data using xor

Disassembly:
pushfd
mov ebx, dword [ebx + 0x58243]
call fcn.004ad2f2
packssdw mm3, qword [ebp - 0xc]
dec esp
mov esi, 0xabdbd125
add dh, byte [edi - 0x22]
cmpsd dword [esi], dword es:[edi]
invalid

Function at 0x4a7964
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], 0xb2fb3f1d
lea esp, [esp + 0x48]
call fcn.004ac5a4
bswap di
mov di, 0x19c6
not di
mov edi, eax
pushfd
mov word [esp], di
mov byte [esp], dh
mov dword [esp], ebx
lea esp, [esp + 4]
jmp 0x47c598

Function at 0x4a8409
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x28]
je 0x47c58d
jbe 0x4598c1
test ebx, 0xffff0000
jmp 0x4bab82
jne 0x498c6a
pushal
pushal
pushfd
push 0x168fd69a
mov dword [esp + 0x44], 1
mov byte [esp], 0xb2
mov dword [esp + 0x40], esi
mov byte [esp + 0x10], bl
push 0x8cb90888
call fcn.004a7964
clc
cmp bx, bx
clc
test ebx, 0xffff0000
call fcn.00444b31
or edx, dword [ebp - 0x15]
sti
or dword [eax - 0x4e397473], eax
and eax, 0xb7555069
xchg ebx, eax
mov byte [0xdd078ae3], al
test eax, esp
invalid
jmp 0x420dc0
jmp 0x42174e
Function at 0x424bc9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9d66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push 0x1c
call fcn.004855d9
pop ecx
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x424c09
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.00424de9
mov dword [ebp - 0x2c], eax
jmp 0x424c0d
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push 0
push 0
push dword [ebp - 0x10]
push 0x424a83
push 0
push 0
call fcn.00485d02
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x424c4b
push dword [ebp - 0x14]
call dword [0x4ae048]
mov al, 1
jmp 0x424c4d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6ac93003
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4a79480b
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x404bef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bf9
repz ret
jmp fcn.0040883b

Function at 0x4060f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0xe3d89c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe3d8a6
pushal
call 0xe3d8ac
pop ebp
sub ebp, 0x10
sub ebp, 0xa3d89c
jmp 0xe3d8c2
mov eax, 0xa3d89c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ca
mov edx, 0xc325ab9c
xor byte [eax], dl
inc eax
dec ecx
jne 0xe3d8d9
jmp 0xe3d8ec
pop ss
push ecx
pop ss
adc eax, 0x9c9c9ca0
sbb eax, 0x9c9c645d
pushfd
lahf
push ecx
and al, 0x98
pushfd
pushfd
pushfd
mov ah, 0x9c
pushfd
pushfd
imul edi, dword [esi - 0x61], 0x54
pop ss
sbb eax, 0x9c9c9c90
lahf
pop ecx
int3
Function at 0x10a1370
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 0x10a138e
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 0x10ca074
push ecx
mov edi, eax
call fcn.010b5198
mov esi, eax
add esp, 8
test esi, esi
jne 0x10a13cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.010b502e
push esi
call fcn.010b4fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x10a4850
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 0x10a48ae
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 0x10cf720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10a48ba
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.010b51e1
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 0x10a48ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x10cf720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10a492a
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.010b6082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x10a4957
mov word [eax], si
add eax, 2
push eax
call fcn.010b6030
add esp, 4
jmp 0x10a4959
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 0x10a48ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x10a48b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x10a50c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x10ca458
push ecx
call fcn.010b51e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.010b51e1
add esp, 0x10
jmp 0x10a50d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.010b520b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.010b4dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.010a5050
mov eax, dword [0x10cf728]
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 0x10a513b
push esi
call fcn.010a4fb0
add esp, 4
mov dword [0x10cf728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x10a514c
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.010a4ff0
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 0x10a8440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x10a84b7
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 0x10a848e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10a8471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x10a847e
add edx, ecx
cmp ebx, edx
jb 0x10a848a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10a8467
xor ecx, ecx
jmp 0x10a84a2
test eax, eax
jne 0x10a8492
xor ecx, ecx
jmp 0x10a84a2
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.010a83c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x10a88f0
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 0x10a8921
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 0x10a8946
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 0x10a896e
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 0x10a8993
push ecx
push esi
call fcn.010a84c0
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 0x10a9c00
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 0x10a9c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x10a9c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x10a9c38
add edx, eax
cmp ebx, edx
jb 0x10a9c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x10a9c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x10a9c50
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 0x10a9c70
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 0x10a9cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10a9c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x10a9ca8
add edx, ecx
cmp ebx, edx
jb 0x10a9cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10a9c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10a9f60
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.010b6145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x10a9ffb
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 0x10a9fdd
lea eax, [esp + 0x18]
push eax
jmp 0x10a9fe2
push 0x10cf720
call fcn.010b5fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x10a9fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x10a9f40
push 4
push ecx
push eax
call fcn.010b643f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x10aa310
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.010b6145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x10aa3ab
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 0x10aa38d
lea eax, [esp + 0x18]
push eax
jmp 0x10aa392
push 0x10cf720
call fcn.010b5fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x10aa360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x10a9f40
push 4
push ecx
push eax
call fcn.010b643f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x10abf20
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 0x10abfd7
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 0x10abfcf
push ebx
push edi
push 0x10cf770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x10abfae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x10cf770
push esi
call ebx
test eax, eax
je 0x10abfae
mov ebp, 3
cmp dword [0x10cf774], ebp
jne 0x10abfaa
push 0x3e8
call edi
push 0x10cf770
push esi
call ebx
test eax, eax
jne 0x10abf8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0x10abfc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0x10abfbb
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 0x10afe00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10c58f0
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 0x10afed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.010ac7a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x10afe61
mov edx, dword [eax]
jmp 0x10afe63
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.010ae050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x10afebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10afebf
cmp esi, edi
je 0x10afebf
mov ecx, esi
call fcn.010a7a00
push esi
call fcn.010b51c8
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.010ac990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x10afef5
mov eax, dword [eax]
jmp 0x10afef7
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.010ab640
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 0x10aff25
mov eax, dword [eax]
jmp 0x10aff27
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 0x10aff76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10aff76
cmp esi, edi
je 0x10aff76
mov eax, dword [esi]
cmp eax, edi
je 0x10aff5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x10aff6d
push eax
call fcn.010b51c8
add esp, 4
push esi
call fcn.010b51c8
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