joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430c08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x430c36
mov eax, ebx
call fcn.004316bc
cmp dword [ebx + 0x40], 0
je 0x430c2f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x430ca7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x430c99
cmp dword [ebx + 8], 0
je 0x430c58
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x430c6a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x430c99
cmp dword [ebx + 8], 0
je 0x430c4b
cmp eax, 3
je 0x430c7d
dec eax
jne 0x430c4b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x430c4b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x430c4b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x430cc5
cmp dword [ebx + 0x14], 0xcc
je 0x430cc5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00430cd0
pop ebx
ret

Function at 0x441cf4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x463c7c
cmp dword [edi], 0
jne 0x441d70
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x463c78]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45e7d4
mov ecx, 2
call fcn.00403114
mov edx, 0x441ccc
lea eax, [esi + 5]
call fcn.00441cec
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00441cec
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x441d45
mov dword [0x463c78], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x441eec
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x442002
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInUnprepareHeader
test eax, eax
jne 0x44200d
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0xa2], 0
je 0x441f90
mov eax, ebx
call fcn.00402ea0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x441f89
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, ebx
call fcn.00403114
push ebx
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441f90
mov eax, dword [ebp - 0xc]
call fcn.00402ebc
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00408054
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x44200d
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x44200d
jmp 0x44200d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004421c0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442014
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff7c
mov esi, edx
lea edi, [esp]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, eax
cmp byte [ebx + 4], 0
jne 0x44208d
push 0x10004
push 0
mov eax, dword [ebx + 0x98]
push eax
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [ebx + 0x94]
push eax
call sub.winmm.dll_waveInOpen
test eax, eax
jne 0x44208d
movzx esi, byte [ebx + 0x91]
test esi, esi
jle 0x44206c
mov eax, ebx
call fcn.00442158
dec esi
jne 0x442062
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x44208d
mov esi, esp
lea edi, [ebx + 0x10]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebx + 4], 1
add esp, 0x84
pop edi
pop esi
pop ebx
ret
Function at 0x442158
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x20
call fcn.00402ea0
mov edi, eax
mov edx, edi
mov eax, dword [ebx + 8]
call fcn.00441a90
mov esi, edi
mov eax, dword [ebx + 0xc]
call fcn.00402ea0
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], eax
push 0x20
push edi
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x4421b8
push 0x20
push edi
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x442250
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004056d0
xor eax, eax
push ebp
push 0x442356
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00442364
xor eax, eax
push ebp
push 0x4422ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004056e0
mov dword [ebx + 4], eax
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x10], eax
mov word [ebp - 0x14], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4422db
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4422f8
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x442340
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x442321
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.wsock32.dll_connect
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x442332
test esi, esi
jge 0x44233c
mov byte [ebx + 0xc], 0
jmp 0x442340
mov byte [ebx + 0xc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44235d
lea eax, [ebp - 4]
call fcn.00405234
ret
Function at 0x444030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x463e88
cmp dword [edi], 0
jne 0x4440ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x463e8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45e980
mov ecx, 2
call fcn.00403114
mov edx, 0x444010
lea eax, [esi + 5]
call fcn.00444008
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00444008
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x444081
mov dword [0x463e8c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44c184
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44c25c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00405234
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
push 2
push 0
call sub.NetAPI32.dll_NetShareEnum
test eax, eax
jne 0x44c241
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
dec edi
test edi, edi
jl 0x44c238
inc edi
lea edx, [ebp - 4]
mov esi, ebx
mov eax, dword [esi]
call fcn.00406230
lea edx, [ebp - 8]
mov eax, dword [esi + 0x18]
call fcn.00406230
lea edx, [ebp - 0xc]
mov eax, dword [esi + 8]
call fcn.00406230
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x44c274
push dword [ebp - 4]
push 0x44c280
push dword [ebp - 8]
push 0x44c280
push dword [ebp - 0xc]
push 0x44c280
mov eax, dword [ebp - 0x10]
mov edx, 8
call fcn.004055e4
add ebx, 0x20
dec edi
jne 0x44c1e1
lea eax, [ebp - 0x20]
push eax
call sub.NetAPI32.dll_NetApiBufferFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c263
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405258
ret
Function at 0x44c750
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00409c7c
add esp, 0x108
pop ebx
ret

Function at 0x44c778
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
mov eax, dword [ebp - 8]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44c81a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x44c7b3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
call sub.KERNEL32.DLL_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x44c7ff
push 0
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
call fcn.00405740
push eax
push edi
call sub.KERNEL32.DLL_WriteFile_1
push edi
call sub.KERNEL32.DLL_CloseHandle_1
cmp esi, dword [ebp - 0xc]
jne 0x44c7ff
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c821
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405258
ret

Function at 0x44c82c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
mov eax, dword [ebp - 8]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44c8da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0044c750
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov ecx, 0x44c8f0
call fcn.00405568
cmp dword [ebp - 4], 0
je 0x44c8bf
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405568
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.0044c778
test al, al
je 0x44c8bf
push 1
push 0
push 0
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405568
mov eax, dword [ebp - 0x18]
call fcn.004056e0
push eax
push 0x44c8f8
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c8e1
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405258
ret
Function at 0x44d3d8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44d515
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405234
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x44d52c
call fcn.004057d0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405748
mov eax, dword [ebp - 0x1c]
call fcn.0044c900
mov esi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44d449
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
push 8
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x44d52c
call fcn.004057d0
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00405748
mov eax, dword [ebp - 0x20]
call fcn.004056e0
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp - 0x10]
call fcn.00402ea0
mov ebx, eax
xor esi, esi
jmp 0x44d4bd
push dword [ebp - 8]
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.0040542c
push dword [ebp - 0x24]
push 0x44d538
lea eax, [ebp - 8]
mov edx, 3
call fcn.004055e4
inc esi
mov dword [ebp - 0x10], 0xff
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x44d493
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00405288
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d51c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405258
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405258
ret
Function at 0x44de5c
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44dfe8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 4]
mov edx, 0x200
call fcn.00405914
mov eax, 0x2000
call fcn.0044de3c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x44dfcb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov dword [ebp - 0x10], 0x200
mov dword [ebp - 0x14], 0x2000
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x44df12
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push esi
call sub.advapi32.dll_RegDeleteValueA
test ebx, ebx
je 0x44deab
xor edi, edi
mov dword [ebp - 0x10], 0x200
mov dword [ebp - 0x14], 0x2000
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x44dfad
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCreateKeyA
mov ebx, eax
test ebx, ebx
jne 0x44dfad
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push esi
call sub.advapi32.dll_RegCreateKeyA
mov ebx, eax
test ebx, ebx
jne 0x44dfa4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.0044de5c
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push esi
call sub.advapi32.dll_RegDeleteKeyA
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
je 0x44df18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dfd2
mov eax, dword [ebp - 0x1c]
call fcn.00402ebc
ret
Function at 0x44e06c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004056d0
mov eax, dword [ebp - 8]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44e109
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004056e0
mov esi, eax
push esi
push ebx
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x44e0ee
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004056e0
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x44e0d5
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0044de5c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e110
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405258
ret

Function at 0x44e268
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x44e271
mov eax, dword [ebp - 4]
add esp, 0xfffff8e4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004056d0
mov eax, dword [ebp + 0xc]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44e334
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0x2710
mov eax, ebx
call fcn.00405234
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push esi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x44e316
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2720]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp + 0xc]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x44e316
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
lea edx, [ebp - 0x2720]
mov ecx, 0x2710
call fcn.004054a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e33b
lea eax, [ebp - 4]
call fcn.00405234
lea eax, [ebp + 0xc]
call fcn.00405234
ret
Function at 0x44e52c
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44e603
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x44e5e2
cmp edi, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x44e57f
mov esi, 0x10
jmp 0x44e584
mov esi, 0x20
or esi, 4
push esi
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
jbe 0x44e5dc
cmp dword [ebp - 8], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x44e5cc
cmp edi, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x44e5c0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call sub.advapi32.dll_StartServiceA
jmp 0x44e5cc
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x28]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
call fcn.0044e344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e60a
lea eax, [ebp - 4]
call fcn.00405234
ret

Function at 0x44e614
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
mov eax, dword [ebp - 8]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44e720
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405234
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x44e705
push 1
mov eax, dword [ebp - 8]
call fcn.004056e0
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x44e705
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceConfigA
mov eax, dword [ebp - 0x14]
call fcn.00402e88
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44e6f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceConfigA
test eax, eax
jne 0x44e6cd
call fcn.00404c30
jmp 0x44e705
mov eax, esi
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
call fcn.0040542c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e6fc
mov edx, 0x24
mov eax, dword [ebp - 0x10]
call fcn.00402ebc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e727
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405258
ret
Function at 0x44e730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004056d0
mov eax, dword [ebp - 8]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44e7bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004056e0
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e7c3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405258
ret