joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401595
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa8
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4016cb
xor eax, eax
xor esi, esi
push 0x3e
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x56]
push esi
push eax
call fcn.00401b64
push 0x40
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa0], 0x44
push esi
push eax
call fcn.00401b64
xor eax, eax
xorps xmm0, xmm0
push 0x7fe
mov word [ebp - 0xaa8], ax
lea eax, [ebp - 0xaa6]
push esi
push eax
movdqu xmmword [ebp - 0x14], xmm0
call fcn.00401b64
xor eax, eax
push 0x206
mov word [ebp - 0x2a8], ax
lea eax, [ebp - 0x2a6]
push esi
push eax
call fcn.00401b64
add esp, 0x30
lea eax, [ebp - 0x2a8]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x40220c
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
mov esi, eax
test esi, esi
je 0x4016cb
push 0x402214
add esi, 6
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4016cb
cmp eax, esi
jb 0x4016cb
sub eax, esi
sar eax, 1
cmp eax, 0x20
jg 0x4016cb
push esi
lea edx, [eax + 1]
lea ecx, [ebp - 0x58]
call fcn.004011c9
push dword [ebp - 4]
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0xaa8]
push 0x402218
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0xa0]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0xaa8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4016cb
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4016d1
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edx
mov edi, ecx
xor ebx, ebx
push eax
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x40178e
cmp esi, 0x800
ja 0x40178e
push 0x7ff
lea eax, [ebp - 0x80f]
mov byte [ebp - 0x810], bl
push ebx
push eax
call fcn.00401b64
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40178e
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x402270
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40178e
cmp dword [ebp - 0xc], ebx
je 0x40178e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
push edx
push 0x402274
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401797
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
xor eax, eax
xor esi, esi
push 0x5e
mov word [ebp - 0x68], ax
mov ebx, ecx
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.00401b64
xor eax, eax
push 0x3e
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xa6]
push esi
push eax
call fcn.00401b64
add esp, 0x18
mov dword [ebp - 4], 0x30
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 8]
push eax
push str.lbmini_version
push str.SoftwareKingsoftLBMINI
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x401843
lea edx, [ebp - 0x68]
mov ecx, ebx
call fcn.004016d1
lea ecx, [ebp - 0x68]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x401817
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push str.lbmini_version
push str.SoftwareKingsoftLBMINI
push 0x80000001
call esi
jmp 0x401845
xor ebx, ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x20
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 8]
push eax
push str.lbmini_pid
push str.SoftwareKingsoftLBMINI
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x401889
push ebx
push ebx
push 1
push str.lbmini_pid
push str.SoftwareKingsoftLBMINI
push 0x80000001
call esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40188f
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
push ebx
push esi
push edi
push 0xa
push str.LIEBAOSETUP
push 0
mov byte [esp + 0x1f], dl
mov byte [esp + 0x1e], cl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x401a3e
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x401a3e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x401a3e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [esp + 0x638]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x401a3e
lea edx, [esp + 0x428]
lea ecx, [esp + 0x638]
call fcn.00401334
mov esi, eax
cmp esi, 0xffffffff
je 0x401a3e
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
test ecx, ecx
jg 0x401944
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40193b
sub ecx, edx
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esi, 0x206
push esi
mov word [esp + 0x1c], ax
xor ebx, ebx
lea eax, [esp + 0x1e]
push ebx
push eax
call fcn.00401b64
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00401283
test al, al
je 0x401a30
push 0x402128
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x18]
call fcn.00401797
xor eax, eax
mov byte [esp + 0x11], bl
push esi
mov word [esp + 0x224], ax
lea eax, [esp + 0x226]
push ebx
push eax
call fcn.00401b64
add esp, 0xc
lea eax, [esp + 0x18]
mov edx, 0x104
lea ecx, [esp + 0x220]
push eax
call fcn.004011c9
lea eax, [esp + 0x11]
push eax
lea edx, [esp + 0x224]
lea ecx, [esp + 0x42c]
call fcn.00401430
pop ecx
test eax, eax
jne 0x401a25
xor edx, edx
lea ecx, [esp + 0x220]
call fcn.00401595
cmp byte [esp + 0x11], bl
jne 0x401a30
cmp byte [esp + 0x12], bl
jne 0x401a30
mov dl, byte [esp + 0x13]
lea ecx, [esp + 0x220]
call fcn.0040137d
jmp 0x401a30
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.00401595
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a47
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor esi, esi
xor al, al
mov dword [ebp - 8], ecx
mov bl, 1
mov byte [ebp + 0x13], al
cmp dword [ebp - 4], esi
jle 0x401b02
push edi
mov edx, dword [ecx + esi*4]
mov ecx, str.__upgrade
mov eax, edx
mov di, word [eax]
cmp di, word [ecx]
jne 0x401aa7
test di, di
je 0x401aa3
mov di, word [eax + 2]
cmp di, word [ecx + 2]
jne 0x401aa7
add eax, 4
add ecx, 4
test di, di
jne 0x401a81
xor eax, eax
jmp 0x401aac
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401ab7
mov al, 1
mov byte [ebp + 0x13], al
jmp 0x401af4
mov eax, str.__disable_shortcut
mov cx, word [edx]
cmp cx, word [eax]
jne 0x401ae2
test cx, cx
je 0x401ade
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x401ae2
add edx, 4
add eax, 4
test cx, cx
jne 0x401abc
xor eax, eax
jmp 0x401ae7
sbb eax, eax
or eax, 1
xor ecx, ecx
movzx ebx, bl
test eax, eax
mov al, byte [ebp + 0x13]
cmove ebx, ecx
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 4]
jl 0x401a77
pop edi
mov dl, bl
mov cl, al
call fcn.0040188f
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x41fb30
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41fb36
ret

Function at 0x43f956
Capabilities:
Packed with generic packer

Disassembly:
and al, ah
sal byte [ebx], cl
fisttp dword [ebx - 0x3cfffef9]
jmp 0x8c17c3f
loopne 0x43f959
push ebp
mov ebp, esp
jne 0x43f8eb
mov ecx, dword [edx + 8]
push ecx
mov ecx, dword [edx + 0x33]
rcr byte [edx + 0xd], 0x3d
push es
std
or byte [ebx + 0x56], dl
xor ecx, ecx
mov dword [ecx + ecx*4], ecx
inc ebp
add byte [edi + 0x74], al
sbb ch, byte [eax]
je 0x43f98f
lea eax, [ebp - 0xc]
je 0x43f98f
jmp 0x43f9a8
inc ebx
clc
inc ecx
add dh, dl
mov cl, 1
mov dword fs:[eax], esp
and dh, 3
push edx
and al, 0xc3
jmp 0x442680
mov esp, dword [eax - 0x74fffdbd]
inc ebp
mov eax, dword [ebx - 0x5fbd11f4]
or dword [esi + ebp*8], 0x42
mov al, byte [0xf843f4b0]
call 0x6c2f32c8
mov eax, dword [esi + 0x68]
xor byte [ebx - 0x3d], bl
push ebx
cmp word [eax + 0x2a], 0
je 0x44269d
mov ebx, eax
mov edx, eax
mov eax, dword [ebx + 0x2c]
inc dword [esi + 0x12be870]
adc al, 0xcc
call 0xcc5827cd
add byte [esi + 0x53], dl
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
push ebx
push 0xffffffffffffffff
xchg byte [eax - 0x18], dh
sub eax, dword [ecx]
adc al, 0x48
add byte [esi + 0x53], dl
call 0x2d2f3307
call 0x24492389
mov eax, dword [eax]
cmp al, 0xe8
Function at 0xab0370
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 0xab038e
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 0xad9074
push ecx
mov edi, eax
call fcn.00ac4198
mov esi, eax
add esp, 8
test esi, esi
jne 0xab03cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ac402e
push esi
call fcn.00ac3fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xab3850
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 0xab38ae
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 0xade720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xab38ba
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.00ac41e1
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 0xab38ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xade720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xab392a
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.00ac5082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xab3957
mov word [eax], si
add eax, 2
push eax
call fcn.00ac5030
add esp, 4
jmp 0xab3959
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 0xab38ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xab38b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xab40c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xad9458
push ecx
call fcn.00ac41e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00ac41e1
add esp, 0x10
jmp 0xab40d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00ac420b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00ac3dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00ab4050
mov eax, dword [0xade728]
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 0xab413b
push esi
call fcn.00ab3fb0
add esp, 4
mov dword [0xade728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xab414c
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.00ab3ff0
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 0xab7440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xab74b7
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 0xab748e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xab7471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xab747e
add edx, ecx
cmp ebx, edx
jb 0xab748a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xab7467
xor ecx, ecx
jmp 0xab74a2
test eax, eax
jne 0xab7492
xor ecx, ecx
jmp 0xab74a2
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.00ab73c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xab78f0
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 0xab7921
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 0xab7946
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 0xab796e
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 0xab7993
push ecx
push esi
call fcn.00ab74c0
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 0xab8c00
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 0xab8c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xab8c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xab8c38
add edx, eax
cmp ebx, edx
jb 0xab8c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xab8c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xab8c50
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 0xab8c70
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 0xab8cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xab8c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xab8ca8
add edx, ecx
cmp ebx, edx
jb 0xab8cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xab8c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xab8f60
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.00ac5145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xab8ffb
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 0xab8fdd
lea eax, [esp + 0x18]
push eax
jmp 0xab8fe2
push 0xade720
call fcn.00ac4fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xab8fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xab8f40
push 4
push ecx
push eax
call fcn.00ac543f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xab9310
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.00ac5145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xab93ab
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 0xab938d
lea eax, [esp + 0x18]
push eax
jmp 0xab9392
push 0xade720
call fcn.00ac4fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xab9360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xab8f40
push 4
push ecx
push eax
call fcn.00ac543f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xabaf20
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 0xabafd7
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 0xabafcf
push ebx
push edi
push 0xade770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0xabafae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0xade770
push esi
call ebx
test eax, eax
je 0xabafae
mov ebp, 3
cmp dword [0xade774], ebp
jne 0xabafaa
push 0x3e8
call edi
push 0xade770
push esi
call ebx
test eax, eax
jne 0xabaf8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0xabafc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0xabafbb
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 0xabee00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0xad48f0
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 0xabeed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00abb7a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0xabee61
mov edx, dword [eax]
jmp 0xabee63
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.00abd050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0xabeebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xabeebf
cmp esi, edi
je 0xabeebf
mov ecx, esi
call fcn.00ab6a00
push esi
call fcn.00ac41c8
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.00abb990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0xabeef5
mov eax, dword [eax]
jmp 0xabeef7
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.00aba640
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 0xabef25
mov eax, dword [eax]
jmp 0xabef27
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 0xabef76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xabef76
cmp esi, edi
je 0xabef76
mov eax, dword [esi]
cmp eax, edi
je 0xabef5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0xabef6d
push eax
call fcn.00ac41c8
add esp, 4
push esi
call fcn.00ac41c8
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