joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1456720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..data
lea edi, [esi - 0x64000]
push edi
or ebp, 0xffffffff
jmp 0x1456742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1456749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1456738
mov eax, 1
add ebx, ebx
jne 0x145675b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x145676c
jne 0x145678b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x145678b
dec eax
add ebx, ebx
jne 0x1456778
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1456750
add ebx, ebx
jne 0x1456787
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x14567dd
xor ecx, ecx
sub eax, 3
jb 0x14567a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1456812
sar eax, 1
mov ebp, eax
jmp 0x14567ae
add ebx, ebx
jne 0x14567ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x145677c
inc ecx
add ebx, ebx
jne 0x14567bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x145677c
add ebx, ebx
jne 0x14567c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x14567be
jne 0x14567da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x14567be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14567fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14567ee
jmp 0x145673e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14567fc
add edi, ecx
jmp 0x145673e
pop esi
mov edi, esi
mov ecx, 0x8b4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x145681a
cmp byte [edi], 0x11
jne 0x145681a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x145681f
lea edi, [esi + 0x73000]
mov eax, dword [edi]
or eax, eax
je 0x1456897
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbeb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbec00]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x145684c
mov ecx, edi
jns 0x145687b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbec08]
or eax, eax
je 0x1456891
mov dword [ebx], eax
add ebx, 4
jmp 0x1456869
call dword [esi + 0xbec04]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x14568c8
cmp al, 0xef
ja 0x14568bb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x145689d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x14568aa
mov ebp, dword [esi + 0xbec0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x14568fc
sub esp, 0xffffff80
jmp 0x13e42a7
Function at 0x401118
Capabilities:
Create process on windows

Disassembly:
jmp 0x4029d0
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x402ac2
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, edi
call fcn.00401267
test eax, eax
jne 0x402ac2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.00401267
test eax, eax
jne 0x402ac2
mov edi, dword [sym.imp.MSVCRT.dll__mbsstr]
lea edx, [esp + 0x10]
push 0x40c9e8
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x402a93
lea eax, [esp + 0x10]
push 0x40c9e4
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x402a93
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x402a96
mov byte [esi], 0
push 0x40c9e0
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x401190
Capabilities:
Hide graphical window

Disassembly:
jmp 0x403460
push ecx
call fcn.00401285
test eax, eax
je 0x40346e
xor eax, eax
pop ecx
ret
push esi
push edi
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00401127
lea eax, [esp + 8]
xor esi, esi
push eax
push 0x409
push 0xa
push 0x1721
mov dword [esp + 0x18], esi
call dword [0x40dc30]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4034d7
mov ecx, dword [esp + 8]
push 0x40
push 0x3000
push ecx
push esi
call dword [0x40dc28]
mov esi, eax
test esi, esi
je 0x4034d7
mov edx, dword [esp + 8]
push 0
push esi
push 0x5b
push str.grnEFSL3LdhKI6_r6N_HtocONS_K8hSo_4pI3cyxJt5KsgjspL_uuO_qbRDeGkPNuq_ybJeWnDq_7Yvc_omhL
push edx
push edi
call dword [0x40dc2c]
add esp, 0x18
push esi
call dword [0x40dc34]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret

Function at 0x401217
Capabilities:
Get common file path

Disassembly:
jmp 0x4025d0
push 0xffffffffffffffff
push 0x407cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x40267a
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004063dc
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402661
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x402661
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x70], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004063ca
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401267
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x4026c0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x402722
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x401285
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
jmp 0x403060
push ecx
push 0
push 1
push 0
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x14], 0
call sub.ADVAPI32.dll_CryptAcquireContextA
test eax, eax
jne 0x403081
pop ecx
ret
push 8
push 1
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
call sub.ADVAPI32.dll_CryptAcquireContextA
neg eax
sbb eax, eax
neg eax
pop ecx
ret
Function at 0x416f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x416fb9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x416fb9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x416fa8
cmp esi, edx
jae 0x416fb9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x416f96
cmp esi, edx
jae 0x416fb9
cmp word [esi], 0
je 0x416fb9
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x41c800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0x4be02c
mov dword [ebp - 0x20], 0x4be02c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x1c], 1
push 0
push 0
push esi
push 0x41c7a0
push 0
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call fcn.004655d0
mov esi, eax
add esp, 0x18
xor ebx, ebx
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41c882
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
je 0x41c8e4
jmp 0x41c8c5
push 0x4be02c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00416dd0
int3
Function at 0x41cf50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e226
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x4b9070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 0
mov dword [ebp - 0x414], ecx
push 0
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 1
push ecx
push 0x14
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x418], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41d017
call fcn.00417040
test eax, eax
js 0x41d159
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [ebp - 0x414]
call dword [eax]
mov edx, edi
mov esi, 0xc
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x41d09b
add edx, 4
add eax, 4
sub esi, 4
jae 0x41cff1
mov esi, dword [edi + 0x10]
add esi, 0x14
cmp esi, 0xffffffff
jae 0x41d14a
jmp 0x41d026
cmp dword [ebp - 0x418], 0x14
jne 0x41d154
jmp 0x41cfde
mov eax, dword [ebp - 0x414]
test eax, eax
jne 0x41d04a
cmp esi, 0x400
jbe 0x41d0cf
push esi
lea ecx, [ebp - 0x414]
call fcn.004271d0
jmp 0x41d091
lea ecx, [ebp - 0x410]
cmp esi, 0x400
jbe 0x41d0a5
cmp eax, ecx
lea ecx, [ebp - 0x414]
push esi
jne 0x41d08c
call fcn.004271d0
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push 0x400
push eax
mov edx, esi
call fcn.00416c50
push eax
call fcn.00416e10
add esp, 0xc
jmp 0x41d091
call fcn.004271a0
mov eax, dword [ebp - 0x414]
test eax, eax
jne 0x41d0db
push 0x80004005
jmp 0x41d15a
cmp eax, ecx
je 0x41d0cf
push esi
push eax
mov edx, 0x400
lea ecx, [ebp - 0x410]
call fcn.00416c50
push eax
call fcn.00416e10
add esp, 0xc
lea ecx, [ebp - 0x414]
call fcn.00427190
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], eax
push dword [edi + 0x10]
add eax, 0x14
lea ecx, [ebp - 0x420]
push eax
call fcn.0041ca40
test eax, eax
js 0x41d159
mov edx, dword [edi + 0x10]
push ecx
mov ecx, dword [ebp - 0x414]
lea ecx, [ecx + 0x14]
call fcn.00437cb0
add esp, 4
mov ecx, ebx
push dword [ebp - 0x414]
call fcn.0041d4b0
lea eax, [ebp - 0x410]
cmp dword [ebp - 0x414], eax
je 0x41d12c
lea ecx, [ebp - 0x414]
call fcn.00427190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045527a
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00416dd0
mov eax, 0x80070026
push eax
lea ecx, [ebp - 0x418]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
int3
Function at 0x4227b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e968
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xbb8
push dword [edi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [edi + 0x34]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
neg eax
sbb esi, esi
neg esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x42281d
movzx eax, ax
or eax, 0x80070000
test esi, esi
je 0x422907
cmp dword [ebp - 0x10], 0x103
jne 0x4228f5
push dword [edi + 0x34]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
push 0
push dword [edi + 0x34]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd580], 0
jne 0x4228ad
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42289f
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd580
sub esp, 0xc
push 0x1a5
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x20
call fcn.00451f60
jmp 0x4228a1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4be180], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be180]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4be180]
push ebx
push str.Thread__Id0x_x__terminated
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov ecx, dword [0x4be180]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be180]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x14]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
int3
Function at 0x42fd40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f070
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0045571a
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00452f37
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437cb0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
xor eax, eax
xor esi, esi
test edi, edi
je 0x437cd8
nop dword [eax]
lea edx, [eax + 1]
mov al, byte [eax + 0x4a5cc0]
xor byte [esi + ecx], al
inc esi
cmp edx, 0xe
sbb eax, eax
and eax, edx
cmp esi, edi
jb 0x437cc0
pop edi
pop esi
ret
Function at 0x44a9b0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [esi + 8]
push 0xf003f
push 0
call fcn.0044c500
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov byte [ebp - 4], 1
test edi, edi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44aa1c
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
je 0x44aacd
push 0x10000
push dword [esi + 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x24], esi
xor ebx, ebx
mov byte [ebp - 4], 2
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44aa55
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
je 0x44aae3
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
neg eax
sbb ebx, ebx
neg ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44aa7c
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
je 0x44aaf9
jmp 0x44aa9d
test esi, esi
je 0x44aaac
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x44aab2
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x44aab9
push edi
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x14]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
push eax
lea ecx, [ebp - 0x18]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
int3
Function at 0x44ab10
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483be8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
call fcn.0041bc40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov eax, ecx
not eax
cmp eax, 1
jb 0x44accc
lea eax, [ecx + 1]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00441f40
test al, al
je 0x44acd6
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x44ace0
mov edx, dword [ebp - 0x1c]
lea edi, [ebp + 0x24]
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x20]
mov dword [edx], eax
mov eax, dword [ebp + 0x1c]
mov dword [edx + 4], eax
cmp ebx, 0xffffffff
je 0x44abeb
nop dword [eax]
mov eax, dword [edi]
mov esi, ecx
cmp esi, dword [ebp - 0x14]
jb 0x44abd5
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004430e0
test al, al
je 0x44acd6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edi]
add edi, 8
mov dword [edx + esi*8], ebx
inc ecx
mov dword [edx + esi*8 + 4], eax
mov dword [ebp - 0x18], ecx
mov ebx, dword [edi - 4]
cmp ebx, 0xffffffff
jne 0x44abb0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
push 0xf003f
push 0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x20], edx
call fcn.0044c500
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
xor eax, eax
test edi, edi
setne al
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x44ac2b
movzx ebx, bx
or ebx, 0x80070000
cmp dword [ebp + 0xc], 0
je 0x44aca5
push 0xf01ff
push dword [esi + 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x44ac61
movzx ebx, bx
or ebx, 0x80070000
cmp dword [ebp + 0xc], 0
je 0x44ac9a
lea eax, [ebp - 0x30]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x44ac92
movzx ebx, bx
or ebx, 0x80070000
cmp dword [ebp + 0xc], 0
je 0x44ac9a
xor ebx, ebx
test esi, esi
je 0x44aca5
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x44acb0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x1c]
call fcn.00441c50
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070216
call fcn.00416dd0
push 0x8007000e
call fcn.00416dd0
push 0x80070057
call fcn.00416dd0
int3
Function at 0x44acf0
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4b9070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ebx
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
neg eax
sbb esi, esi
neg esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44ad3f
movzx eax, ax
or eax, 0x80070000
test esi, esi
je 0x44ae05
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0x1c], ebx
je 0x44aded
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
mov dword [ebp - 0x28], edi
call esi
mov ecx, dword [ebp + 0x10]
sub eax, edi
cmp eax, ecx
jae 0x44add8
mov eax, 0xcccccccd
mul ecx
mov edi, edx
shr edi, 3
cmp edi, 0x3e8
jae 0x44ad86
mov eax, 0x3e8
jmp 0x44ad95
mov eax, edi
cmp edi, 0x2710
jbe 0x44ad95
mov eax, 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
neg eax
sbb esi, esi
neg esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44adc1
movzx eax, ax
or eax, 0x80070000
test esi, esi
je 0x44ae1b
cmp dword [ebp - 0x1c], ebx
je 0x44aded
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0x10]
jb 0x44ad77
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045527a
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045527a
mov esp, ebp
pop ebp
ret 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
push eax
lea ecx, [ebp - 0x28]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
int3