joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a4852
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x228], 0
and dword [ebp - 0x224], 0
and dword [ebp - 0x230], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x22c], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10072050
add esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 0x21c], 0xffffffff
and dword [ebp - 0x214], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x100a48e4
xor eax, eax
jmp 0x100a4975
push dword [ebp - 0x230]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x100a4906
xor eax, eax
jmp 0x100a4975
push dword [ebp - 0x230]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x100a4928
xor eax, eax
jmp 0x100a4975
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100a4947
xor eax, eax
jmp 0x100a4975
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.10036316
pop ecx
pop ecx
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x228], eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006f3d1
leave
ret

Function at 0x100a4faa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x14], ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0
push 0
push dword [ebp - 0x10]
push 0x100a4e9d
push 0
push 0
call fcn.10072983
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10031249
push eax
mov ecx, dword [ebp - 0x10]
call fcn.100362df
lea ecx, [ebp - 0xc]
call fcn.1002147e
mov ecx, dword [ebp - 0x10]
call fcn.1001e65e
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100a5b4e
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push 0x100cd1ec
push 1
push 0
push 0x100cd1dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100a5b8b
jmp 0x100a5bb8
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100a5ba7
jmp 0x100a5bb8
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x100a5bc9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100a5bda
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x100a6b68
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
call fcn.10003b84
cmp eax, 2
jge 0x100a6b83
xor eax, eax
jmp 0x100a6be6
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003cec
and dword [ebp - 8], 0
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100a6bd4
jb 0x100a6bc3
cmp dword [ebp - 8], 0x6400000
jae 0x100a6bd4
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.10003c4c
mov eax, dword [ebp - 0x10]
jmp 0x100a6be6
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.10003c4c
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100a8ff4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a90a5
push dword [ebp - 4]
call fcn.1006e788
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100a9092
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100c9040
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100a9092
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.1007130d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100a90a7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.1007130d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100a9611
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4e3c
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x10], 1
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10072050
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
call fcn.10003be1
and dword [ebp - 4], 0
push 0
push str._HostInstallPackDir_
lea ecx, [ebp - 0x230]
call fcn.1001080c
test eax, eax
jl 0x100a96a9
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10024135
add esp, 0xc
jmp 0x100a96ed
push 0
push str._HostInstallPackExe_
lea ecx, [ebp - 0x230]
call fcn.1001080c
test eax, eax
jl 0x100a96d8
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.100246a2
add esp, 0xc
jmp 0x100a96ed
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003be1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x238]
push eax
call fcn.100a919f
pop ecx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
call fcn.1001e65e
push eax
push str.RandomSubPathTag
lea ecx, [ebp - 0x14]
call fcn.100247ac
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10003c4c
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x100a977f
push 0x104
lea ecx, [ebp - 0x14]
call fcn.1001e65e
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.100726c3
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003be1
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003c4c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006f3d1
leave
ret
Function at 0x100a9bef
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
and word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10072050
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x100c8f4c
push 0x100c8f64
call fcn.100ad2bb
add esp, 0xc
test eax, eax
je 0x100a9c89
lea eax, [ebp - 0x218]
push eax
call fcn.1006f3bb
pop ecx
test eax, eax
jbe 0x100a9c89
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a9c89
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016fb
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x100a9ca8
push 0x100c8f98
mov ecx, dword [ebp + 8]
call fcn.100016fb
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f3d1
leave
ret

Function at 0x100a9cb4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b56fe
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x70], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x100a9cec
cmp dword [ebp + 0xc], 0
jne 0x100a9cf3
xor eax, eax
jmp 0x100a9df2
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.10072050
add esp, 0xc
and dword [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 0x81
mov eax, dword [ebp + 0x14]
neg eax
sbb eax, eax
and eax, 5
mov word [ebp - 0x3c], ax
push 0x100c8ebc
lea ecx, [ebp - 0x8c]
call fcn.100016fb
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10004dbd
push 0x100c8ec0
lea ecx, [ebp - 0x8c]
call fcn.10004dbd
push 0x100c8ec4
lea ecx, [ebp - 0x8c]
call fcn.10004dbd
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.10004dbd
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10004e6d
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100a9dd4
cmp dword [ebp + 0x18], 0
je 0x100a9dc2
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10001769
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x70]
xor ecx, ebp
call fcn.1006f3d1
leave
ret
Function at 0x100ab0a4
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x100fd130], 0
je 0x100ab0e9
push dword [ebp - 4]
push dword [0x100fd130]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100ab0d6
push 0xffffffffffffffff
push dword [0x100fd130]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x100fd130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x100fd130], 0
cmp dword [0x100fd138], 0
je 0x100ab105
push dword [0x100fd138]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x100fd138], 0
leave
ret
Function at 0x100ab241
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4673
mov eax, dword fs:[0]
push eax
mov eax, 0x822c
call fcn.10088960
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and word [ebp - 0x4224], 0
push 0x206
push 0
lea eax, [ebp - 0x4222]
push eax
call fcn.10072050
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x4224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x100c9890
lea eax, [ebp - 0x4224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.10072050
add esp, 0xc
and word [ebp - 0x822c], 0
push 0x4002
push 0
lea eax, [ebp - 0x822a]
push eax
call fcn.10072050
add esp, 0xc
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x822c]
push eax
push 0x100c989c
push str.RTData
push 0x100c98b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100ab431
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x401c]
push eax
push 0x100c98c4
push str.ConfData
push 0x100c98dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100ab431
lea eax, [ebp - 0x401c]
push eax
call fcn.1006f3bb
pop ecx
push eax
lea eax, [ebp - 0x401c]
push eax
lea eax, [ebp - 0x8234]
push eax
call fcn.1009df22
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x822c]
push eax
call fcn.1006f3bb
pop ecx
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8238]
push eax
call fcn.1009df22
add esp, 0xc
lea ecx, [ebp - 0x8234]
call fcn.10003b84
cmp eax, 0x1000
jge 0x100ab3e0
lea ecx, [ebp - 0x8234]
call fcn.10003b84
push eax
lea ecx, [ebp - 0x8234]
call fcn.1001e65e
push eax
push section.Downlaod
call fcn.100726c3
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10003b84
cmp eax, 0x1000
jge 0x100ab417
lea ecx, [ebp - 0x8238]
call fcn.10003b84
push eax
lea ecx, [ebp - 0x8238]
call fcn.1001e65e
push eax
push 0x10102008
call fcn.100726c3
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8234]
call fcn.10003c4c
lea eax, [ebp - 0x4224]
push eax
push 0xffff
push str.index
push 0x100c98fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x8230], eax
cmp dword [ebp - 0x8230], 0xffff
je 0x100ab46a
mov eax, dword [ebp - 0x8230]
mov dword [0x10106014], eax
lea eax, [ebp - 0x4224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f3d1
leave
ret
Function at 0x100ab48e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b46a3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.QQPC02FB3C82_DC18_475c_A75E_B44B90975300MGR
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
lea ecx, [ebp - 0x10]
call fcn.10003bae
and dword [ebp - 4], 0
push dword [ebp + 8]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push 0x100c9744
lea eax, [ebp - 0x10]
push eax
call fcn.1001618e
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x6c], 0
je 0x100ab537
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100ab537
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003c4c
mov eax, dword [ebp - 0x14]
jmp 0x100ab54a
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003c4c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100ac471
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x1c
call fcn.1006f147
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100ac498
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.100016fb
mov dword [ebp - 0x10], eax
jmp 0x100ac49c
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push 0x100fd134
push 0
push dword [ebp - 4]
push 0x100ac3f3
push 0
push 0
call fcn.10072983
add esp, 0x18
mov dword [0x100fd130], eax
xor eax, eax
cmp dword [0x100fd130], 0
setne al
mov dword [0x100fd13c], eax
mov eax, dword [0x100fd13c]
leave
ret 4

Function at 0x100ac4e2
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
and dword [ebp - 4], 0
push 0x20a
push 0
push str.InstallerSvcEx2014
call fcn.10072050
add esp, 0xc
push 0x104
push dword [ebp + 8]
push str.InstallerSvcEx2014
call fcn.100726c3
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100ac53c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100ac5e3
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100ac561
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100ac5da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100ac57f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100ac5d1
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x10], 0
jle 0x100ac5d1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100ac5bd
cmp dword [ebp - 0x28], 4
jne 0x100ac5bb
jmp 0x100ac5d1
jmp 0x100ac5c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100ac5d1
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100ac586
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x100ac5e9
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100ac613
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100ac663
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100ac638
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100ac657
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x100ac64e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x100ac665
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100ac692
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x100ac6fe
push 0
push 0
push 0
push 0
push 0x100c9cd8
push dword [ebp + 8]
push 1
push dword [ebp + 0x18]
push 0x110
push 0xf01ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100ac6d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100ac6f2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x100acb6d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100d5d08
push 0x100765a0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100e13e0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x14]
add eax, 5
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100ac700
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x210]
call fcn.100ac700
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x100acc99
cmp dword [ebp - 0x28], 0
je 0x100acc99
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
cmp eax, 0xe9
jne 0x100acc99
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
push eax
call fcn.1006fbcf
add esp, 0xc
test eax, eax
jne 0x100acc99
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call fcn.1006fbcf
add esp, 0xc
test eax, eax
je 0x100acc99
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x40
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100acc99
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x100acc86
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
jmp 0x100accb4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret