joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001039d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100103e1
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100103e1
mov al, 1
jmp 0x100103e3
xor al, al
pop esi
leave
ret

Function at 0x100103e6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001043e
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1001043e
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x10010442
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
xor esi, esi
mov edi, ecx
push esi
push dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100104a1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100104a1
lea eax, [ebp - 0x408]
push eax
jmp 0x100104a6
push 0x10061c24
mov ecx, edi
call fcn.10001f8b
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x100104b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
push 0
push dword [ebp + 8]
mov esi, ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10010512
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push 0x1006253c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x808]
push eax
jmp 0x10010517
push 0x10061d80
mov ecx, esi
call fcn.10003b7e
mov eax, esi
pop esi
leave
ret
Function at 0x10010523
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
push ebx
mov esi, 0x10061c24
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10010583
cmp dword [ebp - 4], eax
jbe 0x10010583
push dword [ebp - 4]
call fcn.10037a45
push dword [ebp - 4]
mov esi, eax
push 0
push esi
call fcn.10033130
add esp, 0x10
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov ecx, edi
call fcn.10003b7e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10010592
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 8]
push esi
push eax
push 0x20019
xor esi, esi
push esi
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10010602
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10010602
push dword [ebp + 0x18]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0x14]
call fcn.10005f0f
push dword [ebp + 0x10]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0xc]
call fcn.10005f96
mov al, 1
jmp 0x10010604
xor al, al
pop esi
leave
ret

Function at 0x10010607
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10010657
push esi
lea ecx, [ebp + 0xc]
call fcn.10002329
push eax
lea ecx, [ebp + 0xc]
call fcn.10001eae
push eax
push dword [ebp + 0x24]
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete bl
jmp 0x10010659
xor bl, bl
lea ecx, [ebp + 0xc]
call fcn.10001f0f
mov al, bl
pop ebx
leave
ret

Function at 0x10010666
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100106a5
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x100106a5
mov al, 1
leave
ret
xor al, al
leave
ret
Function at 0x100106a9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100106fb
push esi
lea ecx, [ebp + 0xc]
call fcn.10002329
lea ecx, [ebp + 0xc]
lea eax, [eax*2 + 2]
push eax
call fcn.10001e24
push eax
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete bl
jmp 0x100106fd
xor bl, bl
lea ecx, [ebp + 0xc]
call fcn.10001e30
mov al, bl
pop ebx
leave
ret

Function at 0x1001070a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1001074d
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1001074d
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x10010751
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10010790
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10010790
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x10010794
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100107d3
push esi
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x100107d3
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x10010837
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10010863
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x10010863
mov al, 1
leave
ret
xor al, al
leave
ret
Function at 0x10010867
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xabb4
call fcn.10051c50
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x4a0]
push edi
push eax
mov ebx, ecx
call fcn.10033130
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x50]
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0x3fff
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x10010940
mov esi, edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 0xff
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1001093a
push 0x1006771c
lea ecx, [ebp - 0x34]
call fcn.10003b7e
push eax
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x80]
call fcn.10003cff
pop ecx
push eax
mov ecx, 0x10071490
call fcn.10002e42
lea ecx, [ebp - 0x80]
call fcn.10001e30
lea ecx, [ebp - 0x34]
call fcn.10001e30
inc esi
cmp esi, dword [ebp - 4]
jb 0x100108dd
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10010a74
mov esi, edi
xor eax, eax
mov dword [ebp - 0xc], 0x2710
lea edi, [ebp - 0x74]
mov dword [ebp - 8], 0x3fff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0xabb0], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2bb0]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xabb0]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10010a6a
push 0xa
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x1c]
call fcn.1003d460
add esp, 0xc
lea ecx, [ebp - 0x68]
push 0x1006771c
call fcn.10003b7e
push eax
lea edx, [ebp - 0xabb0]
lea ecx, [ebp - 0x34]
call fcn.10003cff
pop ecx
push eax
mov ecx, 0x100714a8
call fcn.10002e42
lea ecx, [ebp - 0x34]
call fcn.10001e30
lea ecx, [ebp - 0x68]
call fcn.10001e30
push 0x10061c40
lea ecx, [ebp - 0x34]
call fcn.10001f8b
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x68]
call fcn.10004cc7
pop ecx
push eax
mov ecx, 0x100714c0
call fcn.10002f6f
lea ecx, [ebp - 0x68]
call fcn.10001f0f
lea ecx, [ebp - 0x34]
call fcn.10001f0f
push str._regsplt_
lea ecx, [ebp - 0x98]
call fcn.10001f8b
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2bb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.10001fae
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.100027a9
pop ecx
push eax
mov ecx, 0x10071558
call fcn.10002f6f
lea ecx, [ebp - 0x68]
call fcn.10001f0f
lea ecx, [ebp - 0x34]
call fcn.10001f0f
lea ecx, [ebp - 0x98]
call fcn.10001f0f
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x1001094d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100115f6
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and dword [eax], 0
push edi
push ecx
mov dword [ebp - 4], edx
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x10011676
cmp word [esi + 8], 2
jne 0x10011658
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x10011658
mov edi, dword [esi + 0xc]
jmp 0x10011652
push dword [eax]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.1001158d
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x10011671
lea eax, [ecx + 0x1c]
add edi, 4
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
test eax, eax
jne 0x1001162e
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.1003a303
add esp, 0x10
xor eax, eax
jmp 0x1001169d
push 8
pop eax
jmp 0x1001169d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x1001169b
sub eax, 1
je 0x10011694
sub eax, 1
jne 0x1001169b
lea eax, [ecx + 2]
jmp 0x1001169d
mov eax, 0x2afa
jmp 0x1001169d
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10011c7d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
cmp dword [0x10072b18], 0
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x1001183b
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x10011abd
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.100117fd
jne 0x10011ddf
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10011dd5
push ebx
push esi
push edi
lea eax, [ebp - 0x22c]
mov ebx, 0x10c
push eax
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.1003d02c
push str.ws2_32
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.1003d086
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
xor edi, edi
test esi, esi
je 0x10011d3c
push str.getaddrinfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10011d38
push esi
call ebx
mov esi, edi
test esi, esi
jne 0x10011d96
lea eax, [ebp - 0x22c]
mov esi, 0x10c
push eax
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.1003d02c
push str.wship6
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.1003d086
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10011dd2
push str.getaddrinfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10011d92
push esi
call ebx
mov esi, edi
test esi, esi
je 0x10011dd2
mov ebx, edi
push dword [ebp + ebx*8 - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + ebx*8 - 0x14], eax
test eax, eax
je 0x10011db3
inc ebx
cmp ebx, 3
jl 0x10011d98
jmp 0x10011dbc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
je 0x10011dd2
mov eax, dword [ebp + edi - 0x14]
mov dword [edi + 0x1006d9e8], eax
add edi, 8
cmp edi, 0x18
jl 0x10011dc0
pop edi
pop esi
pop ebx
mov dword [0x10072b18], 1
mov eax, dword [0x1006d9e8]
leave
ret
Function at 0x100143ec
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push str._sysinfo.txt
push str.temp
call fcn.10037dbf
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10003b7e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.10002936
pop ecx
lea ecx, [ebp - 0x30]
call fcn.10001e30
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
mov edx, 0x10067910
lea ecx, [ebp - 0x30]
call fcn.1000abb2
pop ecx
mov ecx, eax
call fcn.10001e24
push eax
push str.dxdiag
push 0x10061c6c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.10001e30
lea ecx, [ebp - 0x18]
call fcn.10001fd4
mov esi, ebx
lea ecx, [ebp - 0x48]
call fcn.10001e24
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.10019305
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
inc esi
call fcn.10007ceb
test al, al
je 0x10014493
cmp esi, 0x4b0
jl 0x10014464
lea ecx, [ebp - 0x18]
call fcn.10007ceb
test al, al
jne 0x10014523
lea ecx, [ebp - 0x48]
call fcn.10001e24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0xc8]
call fcn.10004102
push ecx
lea ecx, [ebp - 0xc8]
call fcn.100042d6
test al, al
je 0x10014518
sub esp, 0x18
lea eax, [ebp - 0x18]
mov esi, esp
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
push 0x10070ea8
call fcn.10002845
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002821
pop ecx
push 0x97
lea ecx, [ebp - 0xc8]
call fcn.100044b2
lea ecx, [ebp - 0x30]
call fcn.10001f0f
lea ecx, [ebp - 0xc8]
call fcn.10004816
mov bl, 1
lea ecx, [ebp - 0xc8]
call fcn.100048d4
lea ecx, [ebp - 0x18]
call fcn.10001f0f
lea ecx, [ebp - 0x48]
call fcn.10001e30
lea ecx, [ebp + 8]
call fcn.10001f0f
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x10014c2d
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
lea eax, [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
push edi
push eax
push 0x10061c3c
call fcn.10001f8b
push eax
push str.Temp
call fcn.10037dca
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.10004cc7
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.10002821
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.10001f0f
lea ecx, [ebp - 0x84]
call fcn.10001f0f
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.10001eae
push eax
lea ecx, [ebp - 0x138]
call fcn.1000d30a
lea ecx, [ebp - 0x138]
call fcn.10014e6c
test al, al
je 0x10014d5e
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.10014e7c
lea ecx, [ebp - 0x138]
call fcn.1000d2bb
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call fcn.10001eae
movaps xmm0, xmmword [0x10068330]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
mov esi, 0x10061c24
mov edi, 0x10071610
setne bl
cmp dword [ebp - 0x1c], 0
je 0x10014d48
sub esp, 0x18
mov ecx, esp
push esi
call fcn.10001f8b
push 0x70
mov ecx, edi
call fcn.100044b2
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.10001eae
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp bl, 1
jne 0x10014d79
sub esp, 0x18
mov ecx, esp
push esi
call fcn.10001f8b
push 0x6e
mov ecx, edi
jmp 0x10014d74
sub esp, 0x18
mov ecx, esp
push 0x10061c24
call fcn.10001f8b
push 0x6f
mov ecx, 0x10071610
call fcn.100044b2
lea ecx, [ebp - 0x138]
call fcn.1000ce58
lea ecx, [ebp - 0x18]
call fcn.10001f0f
lea ecx, [ebp + 8]
call fcn.10001f0f
lea ecx, [ebp + 0x20]
call fcn.10001f0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001797a
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x20
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x20
lea ecx, [ebp + 8]
mov esi, eax
call fcn.10001e24
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x100179b2
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100179d0
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.10001e30
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x100179df
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x11
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf003f
lea ecx, [ebp + 8]
mov esi, eax
call fcn.10001e24
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x10017a1a
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10017a6d
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x10017a3b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 2
jmp 0x10017a6d
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 1
jne 0x10017a3b
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
neg ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb bl, bl
and bl, 0xfe
add bl, 3
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.10001e30
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x10017a7c
Capabilities:
Pause service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.10001e24
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x10017ab4
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10017ad2
lea eax, [ebp - 0x1c]
push eax
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.10001e30
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x10017ae1
Capabilities:
Continue service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.10001e24
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x10017b19
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10017b37
lea eax, [ebp - 0x1c]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.10001e30
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x10017b46
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov byte [ebp - 1], cl
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 2
lea ecx, [ebp + 8]
mov esi, eax
call fcn.10001e24
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x10017b7f
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10017bc3
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x10017b9c
sub eax, 1
je 0x10017b98
sub eax, 1
jne 0x10017b9f
push 3
jmp 0x10017b9e
push 2
jmp 0x10017b9e
push 4
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.10001e30
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x10017be6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea ecx, [esp + 4]
mov dl, 0x30
push esi
push str.alarm.wav
call fcn.1000b804
pop ecx
lea ecx, [esp + 8]
call fcn.10001e24
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10017c71
mov esi, 0x10071948
mov edx, 0x10061c24
mov ecx, esi
call fcn.10005465
test al, al
je 0x10017c5f
sub esp, 0x18
cmp byte [0x10070abe], 0
mov ecx, esp
push 0x10067a94
je 0x10017c49
call fcn.10001f8b
mov ecx, 0x10071960
jmp 0x10017c53
call fcn.10001f8b
mov ecx, 0x10071578
push 0xa1
call fcn.100044b2
jmp 0x10017c81
lea ecx, [esp + 8]
call fcn.10001e24
mov edx, eax
mov ecx, esi
call fcn.10019375
lea ecx, [esp + 8]
call fcn.10001e24
mov ecx, eax
call fcn.10017c8f
lea ecx, [esp + 8]
call fcn.10001e30
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10017ce4
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x10071948
mov bl, dl
call fcn.10001edf
test bl, bl
je 0x10017cfc
pop ebx
jmp fcn.10017be6
mov byte [0x10070abf], 1
pop ebx
ret