joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a0ba
Capabilities:
Query or enumerate registry value
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
push ebx
push esi
mov esi, 0x52c
push 0
lea eax, [ebp - 0x53c]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1000a187
cmp eax, esi
jne 0x1000a187
lea eax, [ebp - 0x53c]
push eax
call fcn.10009b13
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1000a187
push 8
lea eax, [ebp - 0x10]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x51c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000a187
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x200
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x318]
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000a187
mov eax, dword [ebp - 8]
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x53c]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
je 0x1000a187
cmp eax, esi
jne 0x1000a187
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1000a189
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x1000a18d
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
push ebx
push esi
push edi
push 8
pop edi
xor ebx, ebx
push edi
lea eax, [ebp - 8]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov esi, 0x52c
lea eax, [ebp - 0x538]
push ebx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x1000a20c
cmp eax, esi
jne 0x1000a20c
lea eax, [ebp - 0x538]
push eax
call fcn.10009b13
cmp eax, ebx
pop ecx
je 0x1000a20c
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x518]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1000a213
push ebx
lea eax, [ebp - 8]
push edi
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
je 0x1000a20c
cmp eax, edi
je 0x1000a259
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 0x14]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x314]
push dword [ebp - 0x318]
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [ebp - 8], 1
je 0x1000a242
mov dword [ebp - 8], ebx
push ebx
lea eax, [ebp - 8]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
je 0x1000a25b
cmp eax, edi
jne 0x1000a25b
mov bl, 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x1000a20e
Function at 0x1000a268
Capabilities:
Delete registry value
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
push ebx
push esi
push edi
push 8
pop edi
xor ebx, ebx
push edi
lea eax, [ebp - 8]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov esi, 0x52c
lea eax, [ebp - 0x538]
push ebx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x1000a311
cmp eax, esi
jne 0x1000a311
lea eax, [ebp - 0x538]
push eax
call fcn.10009b13
cmp eax, ebx
pop ecx
je 0x1000a311
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x518]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000a2e8
lea eax, [ebp - 0x314]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
mov dword [ebp - 8], 1
je 0x1000a2eb
mov dword [ebp - 8], ebx
push ebx
lea eax, [ebp - 8]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
je 0x1000a304
cmp eax, edi
jne 0x1000a304
mov bl, 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x1000a313
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a4fd
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push ebx
push ebp
xor ebp, ebp
push esi
cmp dword [0x10093258], ebp
push edi
mov esi, ecx
je 0x1000a6af
mov eax, dword [0x10093264]
cmp eax, ebp
je 0x1000a668
mov ebx, dword [sym.imp.WS2_32.dll_send]
cmp eax, 3
je 0x1000a533
cmp eax, 1
jne 0x1000a5de
lea edi, [esi + 0x7082c]
push edi
push dword [esi + 0x28]
mov dword [edi], 0x70800
push 0x1001d8c0
push dword [esp + 0x24]
push 0x1008e160
push ebp
push dword [0x10093258]
call sub.MSVFW32.dll_ICImageCompress
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x1000a5de
mov ecx, dword [esi + 4]
push eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], ecx
mov ecx, dword [0x1001d8d0]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi]
sub ecx, 0x2c
lea edi, [esi + 0xc]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esi + 0x10]
add eax, 0x2c
lea ebp, [esi + 0x2c]
push eax
push ebp
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0
push 0x14
push edi
push dword [0x10093270]
call ebx
cmp eax, 0xffffffff
je 0x1000a6af
push 0
push dword [esi + 0x10]
push ebp
push dword [0x10093270]
call ebx
cmp eax, 0xffffffff
je 0x1000a6af
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebp, ebp
cmp dword [0x10093264], 4
jne 0x1000a6b3
push ebp
push ebp
push dword [esi + 0x28]
lea eax, [esi + 0x24]
lea edi, [esi + 0x2c]
push ebp
push ebp
push eax
lea eax, [esi + 0x20]
push eax
push dword [esp + 0x34]
push 0x1008e160
push edi
push 0x1001d8c0
push ebp
push dword [0x10093258]
call sub.MSVFW32.dll_ICCompress
add esp, 0x34
test eax, eax
jne 0x1000a6b3
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1001d8d0]
mov dword [esi + 0x14], eax
mov eax, dword [0x1001d8d4]
mov dword [esi + 0x10], eax
lea eax, [esi + 0xc]
push ebp
push 0x14
push eax
mov dword [eax], ecx
push dword [0x10093270]
call ebx
cmp eax, 0xffffffff
je 0x1000a6af
push ebp
push dword [esi + 0x10]
push edi
push dword [0x10093270]
call ebx
jmp 0x1000a6aa
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.WS2_32.dll_send]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0xc]
push ebp
push 0x14
push eax
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ecx
mov dword [eax], ecx
push dword [0x10093270]
call edi
cmp eax, 0xffffffff
je 0x1000a6af
push ebp
push dword [esi + 0x10]
push dword [esp + 0x20]
push dword [0x10093270]
call edi
cmp eax, 0xffffffff
jne 0x1000a6b3
xor eax, eax
jmp 0x1000a6b6
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x1000a9a2
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, 0x100152b0
call fcn.10015030
sub esp, 0x20
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jl 0x1000aa1a
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push 0x100164e4
push 1
push ebx
push 0x10016564
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x1000aa09
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push ebx
push edx
mov ecx, dword [eax]
push 0x10016554
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0xc]
cmp eax, ebx
je 0x1000aa21
mov eax, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x1000aa09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1000aa1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x1000aae7
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x1000aac3
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0x1001649c
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x1000aaa2
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
push ebx
mov word [ebp - 0x2c], 8
mov ecx, dword [eax]
push edx
push 0x100945ec
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x1000aa99
cmp esi, edi
jne 0x1000aa90
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x100164d4
push ebx
push ebx
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x1000aa44
mov eax, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp eax, ebx
pop esi
je 0x1000aad4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1000aae5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1000ab9f
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
xor edi, edi
push 2
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push 0x100164e4
push 1
push edi
push 0x10016564
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jne 0x1000ac96
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push edi
mov dword [ebp - 4], edi
mov ecx, dword [eax]
push edx
push 0x10016554
push eax
call dword [ecx + 0xc]
cmp eax, edi
jne 0x1000ac96
mov eax, dword [ebp - 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jne 0x1000ac84
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push 0x1001649c
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push edi
push edi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x1000ac76
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x24]
push edi
mov word [ebp - 0x24], 8
mov ecx, dword [eax]
push edx
push 0x100945ec
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1000ac6d
push dword [ebp - 0x1c]
call fcn.10011226
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strcat
push 0x10094638
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strcat
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x1000abfb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop edi
leave
ret

Function at 0x1000ac99
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.1000ab9f
add esp, 0x14
lea eax, [ebp - 0x104]
push 0
push esi
push eax
push dword [0x10093270]
call dword [sym.imp.WS2_32.dll_send]
pop esi
leave
ret
Function at 0x1000b26c
Capabilities:
Capture microphone audio
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x24], ebx
je 0x1000b288
push 0x100946d8
jmp 0x1000b33d
mov cx, word [esi + 4]
mov di, word [esi + 0xa]
mov word [ebp - 0x1a], cx
mov edx, dword [esi + 6]
movzx eax, di
movzx ecx, cx
imul eax, ecx
mov ecx, eax
mov dword [ebp - 0x18], edx
imul ecx, edx
shr ecx, 3
push 8
mov dword [ebp - 0x14], ecx
cdq
pop ecx
mov word [ebp - 0xe], di
idiv ecx
mov edi, dword [sym.imp.WINMM.dll_waveInOpen]
push 1
push ebx
push ebx
mov word [ebp - 0x1c], 1
mov word [ebp - 0xc], bx
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x1000b2f6
push ebx
mov dword [ebp - 8], 0x3039
mov dword [ebp - 4], 0xd431
push 8
lea eax, [ebp - 8]
jmp 0x1000b32b
push 0x20000
lea eax, [ebp - 0x1c]
push dword [0x1009327c]
push dword [esi + 0x14]
push eax
lea eax, [esi + 0xc]
push 0xffffffffffffffff
push eax
call edi
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x1000b348
push ebx
mov dword [ebp - 8], 0x3039
mov dword [ebp - 4], 0xd431
push 8
lea eax, [ebp - 8]
push eax
push dword [0x10093278]
call dword [sym.imp.WS2_32.dll_send]
push 0x100946b0
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
xor eax, eax
jmp 0x1000b34e
push 1
pop eax
mov dword [esi + 0x24], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000b353
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
je 0x1000b363
push 0x10094730
jmp 0x1000b385
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x1000b08b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
jne 0x1000b390
push 0x100946fc
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
xor eax, eax
pop esi
ret
push 1
pop eax
mov dword [esi + 0x20], eax
pop esi
ret

Function at 0x1000b398
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x20], edi
jne 0x1000b3b7
push 0x10094798
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
xor eax, eax
jmp 0x1000b40e
cmp dword [esi + 0x18], edi
je 0x1000b408
push ebx
push 0x32
pop ebx
push edi
push edi
push 0x12
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
lea eax, [ebp - 4]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x1000b404
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jne 0x1000b3cd
push edi
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x10094760
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
mov dword [esi + 0x18], edi
pop ebx
push 1
mov dword [esi + 0x20], edi
pop eax
pop edi
pop esi
leave
ret
Function at 0x1000b492
Capabilities:
Capture microphone audio

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x28], edi
je 0x1000b4a7
push 0x1009485c
jmp 0x1000b54c
push dword [esi + 0xc]
call dword [sym.imp.WINMM.dll_waveInReset]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x1000b4c1
push 0x10094830
jmp 0x1000b54c
push 0x140
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
push 0x20
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x3c0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x1c]
add esp, 0x10
mov dword [ecx + edi], eax
mov eax, dword [esi + 0x1c]
push 0x20
mov dword [eax + edi + 4], 0x3c0
mov eax, dword [esi + 0x1c]
add eax, edi
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x1000b540
mov eax, dword [esi + 0x1c]
push 0x20
add eax, edi
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x1000b547
add edi, 0x20
cmp edi, 0x140
jl 0x1000b4cf
push 1
pop eax
mov dword [esi + 0x28], eax
pop edi
pop esi
ret
push 0x100947fc
jmp 0x1000b54c
push 0x100947cc
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
xor eax, eax
jmp 0x1000b53d

Function at 0x1000b5e7
Capabilities:
Capture microphone audio

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
je 0x1000b5f7
push 0x10094944
jmp 0x1000b618
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x1000b605
push 0x10094684
jmp 0x1000b618
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
mov dword [esi + 0x10], eax
je 0x1000b623
push 0x10094918
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
xor eax, eax
pop esi
ret
push 1
pop eax
mov dword [esi + 0x2c], eax
pop esi
ret
Function at 0x1000bad5
Capabilities:
Delete service
Query service status
Receive data
Receive data on socket
Send data
Send data on socket
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [ebp - 0x4c]
push 0x28
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1000bb83
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x1000bb54
lea eax, [ebp - 0x48]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
je 0x1000bb57
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x20], 4
jne 0x1000bb40
lea eax, [ebp - 0x24]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1000bb57
mov dword [ebp - 8], 0xc6
jmp 0x1000bb67
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0xc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000bb88
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor esi, esi
push edi
push esi
lea eax, [ebp - 0x30]
push 0x28
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1000bc16
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, esi
je 0x1000bbe7
lea eax, [ebp - 0x2c]
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
cmp edi, esi
je 0x1000bbea
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x1000bbea
mov dword [ebp - 8], 0xc6
jmp 0x1000bbfa
mov edi, dword [ebp + 8]
mov dword [ebp - 8], 0xc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000bc1b
Capabilities:
Query service status
Receive data
Receive data on socket
Send data
Send data on socket
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [ebp - 0x4c]
push 0x28
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1000bcc8
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x1000bc99
lea eax, [ebp - 0x48]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
je 0x1000bc9c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x20], 4
je 0x1000bc7f
cmp dword [ebp - 0x20], 7
jne 0x1000bc9c
lea eax, [ebp - 0x24]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000bc9c
mov dword [ebp - 8], 0xc6
jmp 0x1000bcac
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0xc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000bccd
Capabilities:
Pause service
Query service status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [ebp - 0x4c]
push 0x28
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1000bd74
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x1000bd45
lea eax, [ebp - 0x48]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
je 0x1000bd48
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x20], 4
jne 0x1000bd48
lea eax, [ebp - 0x24]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000bd48
mov dword [ebp - 8], 0xc6
jmp 0x1000bd58
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0xc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000bd79
Capabilities:
Continue service
Query service status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [ebp - 0x4c]
push 0x28
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1000be20
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x1000bdf1
lea eax, [ebp - 0x48]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
je 0x1000bdf4
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x20], 7
jne 0x1000bdf4
lea eax, [ebp - 0x24]
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000bdf4
mov dword [ebp - 8], 0xc6
jmp 0x1000be04
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0xc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 8]
push 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret