joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036a7b
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x314]
push eax
xor eax, eax
push eax
push esi
push 0x10036a6c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x310], eax
pop esi
ret

Function at 0x10036caa
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x100eb13d
call fcn.10077460
mov eax, dword [ebp + 0xc]
mov esi, ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001df0
xor edi, edi
push 0x100fae8c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.10003cf0
cmp dword [esi + 0x18], 8
jb 0x10036ce1
mov edx, dword [esi + 4]
jmp 0x10036ce4
lea edx, [esi + 4]
cmp dword [esi + 0x34], 8
jb 0x10036cef
mov eax, dword [esi + 0x20]
jmp 0x10036cf2
lea eax, [esi + 0x20]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x10036cfe
lea ecx, [ebp - 0x28]
push edi
push edi
push edi
push 1
push edx
push edi
push eax
push ecx
mov ecx, esi
call fcn.10036bb7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10036d1a
lea eax, [ebp - 0x28]
push edi
push edi
push edi
push eax
push str.startpin
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001fc0
call fcn.100774e3
ret 8

Function at 0x10036d3d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.10077be0
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10036d9b
lea eax, [ebp - 0x20c]
push eax
push str.ItemDestop
mov ecx, edi
call fcn.10036caa
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100773e8
leave
ret

Function at 0x10036da8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.10077be0
add esp, 0xc
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10036e06
lea eax, [ebp - 0x20c]
push eax
push str.ItemTopStartMenu
mov ecx, edi
call fcn.10036caa
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100773e8
leave
ret

Function at 0x10036e13
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.10077be0
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
push str.ItemSecondStartMenu
mov ecx, edi
call fcn.10036caa
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100773e8
leave
ret
Function at 0x10036e7a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.10077be0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10036eeb
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.100780b1
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
push str.ItemQuickLauch
mov ecx, edi
call fcn.10036caa
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100773e8
leave
ret
Function at 0x10037694
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x20c], di
call fcn.10077be0
add esp, 0xc
call fcn.1001a443
test eax, eax
push edi
lea eax, [ebp - 0x20c]
je 0x100376dd
push 0x1a
jmp 0x100376df
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.10003cc0
mov esi, 0x1011e01c
push esi
mov ecx, edi
call fcn.10003cf0
push str.hao123JuziBrowser
mov ecx, edi
call fcn.10003cf0
push esi
mov ecx, edi
call fcn.10003cf0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
leave
ret
Function at 0x10037cea
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.10077be0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10037da1
push 0x100fb274
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10037da1
push ebx
push esi
lea eax, [ebp - 0x78]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, esi
jbe 0x10037da0
push edi
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x10037d9f
push edi
push ebx
push esi
lea eax, [ebp - 0x78]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10037d98
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x1011e01c
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10037d98
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x194
leave
ret

Function at 0x10037db9
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x240]
sub esp, 0x2c0
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x23c], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push dword [ebp + 0x248]
mov byte [ebp - 0x79], bl
push ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x10037e44
push esi
push 0x2b0
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
call fcn.10077be0
add esp, 0xc
mov esi, 0x208
push esi
push 0x2b4
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
setne byte [ebp - 0x79]
cmp byte [ebp - 0x79], bl
je 0x10037e3a
push esi
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_ILFree]
pop esi
mov ecx, dword [ebp + 0x23c]
mov al, byte [ebp - 0x79]
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x240
leave
ret 4
Function at 0x10038b65
Capabilities:
Terminate thread

Disassembly:
push esi
lea esi, [ecx + 0x84c]
mov eax, dword [esi]
test eax, eax
je 0x10038b7e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi], 0
pop esi
ret

Function at 0x10038cfe
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor esi, esi
push 0x206
lea eax, [ebp - 0x62]
push esi
push eax
mov word [ebp - 0x64], si
call fcn.10077be0
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push str._.4d_.2d_.2d
push eax
call fcn.100054f5
add esp, 0x20
call fcn.100058ef
mov ecx, eax
call fcn.10017c43
push eax
push esi
mov ebx, str.CheckServiceFialNum
push ebx
mov esi, str.Setting
push esi
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
push str.RunServiceDate
push esi
call edi
cmp dword [ebp - 0x70], 0
je 0x10038dab
push dword [ebp - 0x68]
push 0x100f22d8
push ebx
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x124f80
mov esi, 0x493e0
push esi
mov ebx, eax
call fcn.1001962f
mov edi, dword [ebp - 0x6c]
add eax, ebx
push 0xdbba0
push esi
mov dword [edi + 0x884], eax
call fcn.1001962f
mov ecx, dword [ebp + 0x1a4]
add esp, 0x10
add eax, ebx
mov dword [edi + 0x888], eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x1a8
leave
ret
Function at 0x10038f3b
Capabilities:
Enumerate processes

Disassembly:
push 0x27c
mov eax, 0x100ea924
call fcn.10077460
mov dword [ebp - 0x280], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x27c], eax
jne 0x10038f69
xor eax, eax
jmp 0x10039074
push 0x228
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], ebx
call fcn.10077be0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x278], eax
je 0x10038f62
lea ecx, [ebp - 0x274]
push ecx
push eax
mov dword [ebp - 0x274], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10039066
push 7
pop esi
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], esi
call fcn.10002340
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
call fcn.10002340
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.10003cc0
push edi
lea ecx, [ebp - 0x2c]
call fcn.10003cc0
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.10003c90
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
mov byte [ebp - 4], 2
call fcn.10003c90
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.10038e63
cmp al, bl
jne 0x1003907c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001fc0
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10001fc0
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10038fb9
xor ebx, ebx
inc ebx
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.100774e3
ret 8
push dword [ebp - 0x26c]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x27c]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push dword [ebp - 0x278]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001fc0
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10001fc0
mov eax, esi
jmp 0x10039074

Function at 0x100390c8
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push str.EXPLORER.EXE
lea eax, [ebp - 8]
push eax
call fcn.10038f3b
test eax, eax
je 0x1003914f
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10077be0
add esp, 0xc
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], str.winsta0default
mov dword [ebp - 4], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x1003914b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp - 4]
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
cmp edi, esi
je 0x1003914b
push str.CreateProcessAsUser_ok__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, edi
jmp 0x1003914d
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x100394bc
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x88c]
push edi
xor edi, edi
cmp dword [eax + 0x224], edi
je 0x10039659
cmp dword [esi + 0x860], edi
jne 0x10039659
push ebx
call fcn.100058ef
mov ecx, eax
call fcn.10017c43
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [ebp - 0x70]
mov ebx, str.Setting
push 0xffffffffffffffff
push str.ServiceUpOnlineData
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x7a]
cmp eax, ecx
je 0x10039658
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x884]
jl 0x10039658
mov word [ebp + 0x19c], di
mov edi, 0x206
push edi
lea eax, [ebp + 0x19e]
push 0
push eax
call fcn.10077be0
and word [ebp - 0x6c], 0
push edi
lea eax, [ebp - 0x6a]
push 0
push eax
call fcn.10077be0
add esp, 0x18
call fcn.100058ef
mov ecx, eax
call fcn.10017bf1
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100780db
lea eax, [ebp - 0x6c]
push str.WnCore.exe
push eax
call fcn.100780b1
lea eax, [ebp + 0x19c]
push 0x100f57cc
push eax
call fcn.100780db
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x19c]
push eax
call fcn.100780b1
lea eax, [ebp + 0x19c]
push str.__UpOnlineData_0
push eax
call fcn.100780b1
lea eax, [ebp + 0x19c]
push str.WanNengWB
push eax
call fcn.100780b1
add esp, 0x30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x6c]
push eax
call fcn.1001a323
test eax, eax
pop ecx
je 0x10039609
lea eax, [ebp + 0x19c]
push eax
mov ecx, esi
call fcn.100390c8
and word [ebp + 0x3a4], 0
xor eax, eax
lea edi, [ebp + 0x3a6]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp - 0x7a]
push eax
lea eax, [ebp + 0x3a4]
push 0x100f2494
push eax
call fcn.100054f5
add esp, 0xc
push dword [ebp - 0x70]
lea eax, [ebp + 0x3a4]
push eax
push str.ServiceUpOnlineData
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [esi + 0x860], 1
pop ebx
mov ecx, dword [ebp + 0x3b8]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x3bc
leave
ret
Function at 0x10039670
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x88c]
push edi
xor edi, edi
cmp dword [eax + 0x224], edi
je 0x100397fc
cmp dword [esi + 0x864], edi
jne 0x100397fc
push ebx
call fcn.100058ef
mov ecx, eax
call fcn.10017c43
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [ebp - 0x70]
mov ebx, str.Setting
push 0xffffffffffffffff
push str.ServiceCompetitiveAnalysisData
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x7a]
cmp eax, ecx
je 0x100397fb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x888]
jl 0x100397fb
mov word [ebp + 0x19c], di
mov edi, 0x206
push edi
lea eax, [ebp + 0x19e]
push 0
push eax
call fcn.10077be0
and word [ebp - 0x6c], 0
push edi
lea eax, [ebp - 0x6a]
push 0
push eax
call fcn.10077be0
add esp, 0x18
call fcn.100058ef
mov ecx, eax
call fcn.10017bf1
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100780db
lea eax, [ebp - 0x6c]
push str.WnCore.exe
push eax
call fcn.100780b1
lea eax, [ebp + 0x19c]
push 0x100f57cc
push eax
call fcn.100780db
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x19c]
push eax
call fcn.100780b1
lea eax, [ebp + 0x19c]
push str.__QueryAppInfo
push eax
call fcn.100780b1
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x6c]
push eax
call fcn.1001a323
test eax, eax
pop ecx
je 0x100397ac
lea eax, [ebp + 0x19c]
push eax
mov ecx, esi
call fcn.100390c8
and word [ebp + 0x3a4], 0
xor eax, eax
lea edi, [ebp + 0x3a6]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp - 0x7a]
push eax
lea eax, [ebp + 0x3a4]
push 0x100f2494
push eax
call fcn.100054f5
add esp, 0xc
push dword [ebp - 0x70]
lea eax, [ebp + 0x3a4]
push eax
push str.ServiceCompetitiveAnalysisData
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [esi + 0x864], 1
pop ebx
mov ecx, dword [ebp + 0x3b8]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x3bc
leave
ret

Function at 0x1003997e
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x850]
push eax
xor eax, eax
push eax
push esi
push 0x10039974
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x84c], eax
pop esi
ret
Function at 0x10039b37
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x1c
push dword [ebp + 8]
call dword [eax]
test eax, eax
jne 0x10039b4b
inc eax
jmp 0x10039baf
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x10039bae
push esi
push 0x10020
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10039b82
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x10039bad
push ebx
lea eax, [ebp - 0x1c]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
push edi
call esi
xor eax, eax
test ebx, ebx
setne al
pop ebx
pop esi
pop edi
leave
ret 4

Function at 0x10039bb3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10039c28
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push str.WanNengWBInput
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10039c28
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x104
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], esi
je 0x10039c28
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 8

Function at 0x10039c2e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov esi, 0xf003f
push esi
xor edi, edi
push edi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10039c9a
push edi
lea eax, [ebp - 8]
push eax
push edi
push esi
push edi
push edi
push edi
push str.WanNengWBInput
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10039c9a
push 0x104
push dword [ebp + 0xc]
push 1
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], edi
je 0x10039c9a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 8
Function at 0x10039ca0
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x100ea954
call fcn.100773f7
lea ecx, [ebp - 0x40]
call fcn.1003a5da
xor esi, esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.1003a5b1
test eax, eax
je 0x10039d39
lea eax, [ebp - 0x10]
push eax
mov edi, 0xf013f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10039da0
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push esi
push esi
push esi
push str.GsProtect
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x10039d12
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10039da0
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
jmp 0x10039d9e
lea eax, [ebp - 0x14]
push eax
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10039da0
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push esi
push esi
push esi
push str.GsProtect
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x10039d79
push dword [ebp - 0x14]
jmp 0x10039d07
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x14]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1003a4d4
call fcn.100774cf
ret 8
Function at 0x10039e1a
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1a4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1ac]
xor ebx, ebx
push 0x206
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x6e]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x70], bx
call fcn.10077be0
lea eax, [esi + 0x61c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100780db
lea eax, [ebp - 0x70]
push str._StartService
push eax
call fcn.100780b1
add esp, 0x1c
push edi
mov edi, str.ServiceName
push edi
mov ecx, esi
call fcn.10039ca0
push dword [ebp - 0x78]
mov ecx, esi
push str.ServiceDescription
call fcn.10039ca0
push dword [ebp - 0x7c]
mov ecx, esi
push str.ServiceDisplayName
call fcn.10039ca0
lea eax, [ebp - 0x70]
push eax
push str.ServiceImagePath
mov ecx, esi
call fcn.10039ca0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 0x74]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push dword [ebp - 0x7c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push dword [ebp - 0x78]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [ebp - 0x74]
mov ecx, esi
push edi
call fcn.10039c2e
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [ebp - 0x74], eax
jne 0x10039f27
xor eax, eax
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x19c
leave
ret 0xc
push ebx
push ebx
push 0x1011e03c
push ebx
push ebx
lea ecx, [ebp - 0x70]
push ecx
push 1
push 2
push pe_nt_image_headers32
push 0xf01ff
lea ecx, [esi + 0x20c]
push ecx
lea ecx, [esi + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x78], eax
jne 0x10039f6a
push dword [ebp - 0x74]
call edi
mov eax, ebx
jmp 0x10039f0d
lea ecx, [ebp - 0x80]
push ecx
xor ebx, ebx
inc ebx
push ebx
add esi, 0x414
push eax
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 0x78]
call edi
jmp 0x10039f61