joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c46c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp - 8], eax
movsx eax, byte [ebp + 8]
push ebx
push esi
push edi
push eax
push str.__c:
lea esi, [ebp - 0x60]
call fcn.0041dc15
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x41c49e
mov eax, dword [eax + 4]
jmp 0x41c4a1
add eax, 4
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov ebx, eax
push 1
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], ebx
call fcn.00403c15
cmp ebx, esi
je 0x41c4cf
cmp ebx, 0xffffffff
jne 0x41c4e9
lea eax, [ebp - 0x40]
call fcn.00407285
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044302b
leave
ret
push 0x28
pop edx
push 9
pop ecx
xor eax, eax
push esi
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push edx
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x41c535
or esi, 0xffffffff
lea eax, [ebp - 0x40]
call fcn.00407285
mov eax, esi
jmp 0x41c4da
mov esi, dword [ebp - 0x20]
jmp 0x41c529

Function at 0x41c53a
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x41c611
test ebx, ebx
je 0x41c611
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x41c596
push ebx
push 0x492c8c
push esi
mov eax, edi
call fcn.0041da01
xor eax, eax
inc eax
jmp 0x41c613
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x41c60b
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00444cd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x41c60b
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.0041dafd
test eax, eax
jne 0x41c62b
inc ebx
cmp ebx, 0x1a
jl 0x41c5a1
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044302b
add ebp, 0x1a0
leave
ret
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
jmp 0x41c58c
Function at 0x41c933
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x4a3070]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.0041d0a6
push esi
test eax, eax
je 0x41c9c0
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00444cd0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x41c9b7
cmp esi, 0xffffffff
je 0x41c9b7
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x41c9b3
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0041d0a6
test eax, eax
je 0x41c9b7
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x41c999
lea eax, [esp + 4]
call fcn.00407285
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.0044302b
mov esp, ebp
pop ebp
ret 4

Function at 0x41c9d5
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x482c99
call fcn.004445f1
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x41ca6a
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x41ca62
cmp esi, 0xffffffff
je 0x41ca62
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.00444cd0
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41ca5e
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x41ca62
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41ca47
lea eax, [ebp - 0x10]
call fcn.00407285
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.0044302b
add ebp, 0x230
leave
ret 4

Function at 0x41ca8f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x41caa2
xor eax, eax
jmp 0x41cafb
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00444cd0
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.0041b72e
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41caf3
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0041b75b
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x41cb01
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
jne 0x41cb18
xor eax, eax
jmp 0x41cc20
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41cc1d
lea eax, [ebp - 4]
push eax
xor ebx, ebx
inc ebx
push ebx
push ebx
push esi
push 0x2000000
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x41cc14
mov edi, dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 4
lea eax, [ebp + 8]
push eax
push 0xc
push dword [ebp - 4]
call edi
test eax, eax
je 0x41cc0b
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1a
push dword [ebp - 4]
mov dword [ebp - 0x14], ebx
call edi
push esi
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x41cc0b
mov edi, dword [ebp + 0xc]
call fcn.0041b72e
push 0x40
mov ebx, eax
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x70], 0x44
call fcn.00444cd0
xor eax, eax
mov dword [ebp - 0x24], esi
add esp, 0xc
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 8]
push 0x430
push esi
push esi
push esi
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x41cbfc
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0041b75b
push dword [ebp - 8]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41cd02
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x41cd1b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.0041cc27
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x41ce17
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0041c9d5
cmp dword [ebp - 0x14], esi
je 0x41cd12
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x41cd57
cmp eax, 0xffffffff
jne 0x41cd63
lea eax, [ebp - 0x10]
call fcn.00407285
mov eax, esi
jmp 0x41cd14
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41cd57
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41ce0d
mov edi, dword [ebp + 8]
call fcn.0041b72e
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.00444cd0
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
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]
test eax, eax
je 0x41cdfc
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.0041b75b
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x41cd57

Function at 0x41ce69
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x41ce90
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044302b
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x41ceb2
cmp esi, 0xffffffff
jne 0x41cec4
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.00407285
mov eax, esi
pop esi
jmp 0x41ce82
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00444cd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x41ceb2
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.0041c53a
xor esi, esi
inc esi
jmp 0x41ceb4
Function at 0x41cf0a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x41cf1d
xor eax, eax
inc eax
jmp 0x41cf4f
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x41cf44
cmp eax, 0xffffffff
je 0x41cf44
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea eax, [ebp + 8]
call fcn.00407285
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x41d20f
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
or dword [esi], 0xffffffff
push ebx
push dword [esp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d2a4
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x41d2a4
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x41d2a3
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x41d2a3
cmp eax, ebx
jl 0x41d278
mov eax, 0x400000
jg 0x41d274
cmp ecx, eax
jbe 0x41d278
mov edi, eax
jmp 0x41d27a
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi]
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x41d2a3
push dword [esi + 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop ebx
ret 4

Function at 0x41d50f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x41d547
xor eax, eax
jmp 0x41d583
lea eax, [ebp - 4]
push eax
push 0xf01ff
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41d543
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x41de52
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484f11
mov eax, dword fs:[0]
push eax
mov eax, 0x203c
call fcn.0044f6d0
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x2028], edi
call fcn.00403912
push edi
xor esi, esi
inc esi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x2020]
push eax
mov dword [ebp - 0x2028], esi
call fcn.0041b51c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x201c], edi
je 0x41df6a
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2010], ax
lea eax, [ebp - 0x200e]
push edi
push eax
mov dword [ebp - 0x2014], edi
call fcn.00444cd0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2010]
push eax
push edi
jmp 0x41df54
inc dword [ebp - 0x2014]
lea eax, [ebp - 0x2010]
push eax
lea esi, [ebp - 0x2044]
call fcn.004034dc
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2024]
call fcn.0040395d
push edi
push 1
mov byte [ebp - 4], 1
call fcn.00403d0d
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2014]
push dword [ebp - 0x201c]
mov dword [ebp - 0x2018], 0x1000
call ebx
test eax, eax
je 0x41df06
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x201c], edi
je 0x41df88
push dword [ebp - 0x201c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2024]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044302b
leave
ret

Function at 0x41dfa8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x41dff7
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x41dffd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push str.Softwareprojonepodlp_volatile_
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
cmp edi, esi
jne 0x41e04e
push 4
push dword [ebp + 8]
push 4
push esi
push str.upgraded
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x41e0e3
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x41e142
push 0xf003f
push edi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41e13a
push 0x10
push dword [ebp + 8]
lea esi, [ebp - 0xc]
call fcn.0041e095
cmp dword [ebp - 0xc], edi
je 0x41e13a
push edi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41e137
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x41e13a
xor edi, edi
inc edi
lea eax, [ebp - 0xc]
call fcn.0041e0c3
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x41e14a
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x41e1b6
push 0xf01ff
push 0x4b75a0
lea esi, [ebp - 0xc]
call fcn.0041e095
cmp dword [ebp - 0xc], ebx
je 0x41e1b6
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41e1b6
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41e1b6
inc ebx
lea eax, [ebp - 0xc]
call fcn.0041e0c3
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x41e1c7
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x41e215
push 0xf003f
push edi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41e20d
push 0x10000
push dword [ebp + 8]
lea esi, [ebp - 0xc]
call fcn.0041e095
cmp dword [ebp - 0xc], edi
je 0x41e20d
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov edi, eax
lea eax, [ebp - 0xc]
call fcn.0041e0c3
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x41e21d
Capabilities:
Get common file path

Disassembly:
push 0
push 0x23
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
ret 4
Function at 0x41fe02
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x41fe3b
push dword [ebp + 0x10]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.0041f771
add esp, 0xc
mov eax, edi
pop edi
leave
ret 0xc

Function at 0x42057c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x492f88
lea ecx, [ebp - 0x20]
call fcn.0041dbb7
pop ecx
pop ecx
test esi, esi
je 0x4205ea
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
jae 0x4205c0
lea ecx, [ebp - 0x1c]
push ebx
push edi
push eax
push esi
push 1
push ecx
mov edi, str.Softwareprojonepodlp_volatilelastError_
push edi
call fcn.0041dfa8
mov ebx, dword [ebp - 0x1c]
add esp, 0x14
cmp dword [ebp - 8], 8
jae 0x4205e1
lea ebx, [ebp - 0x1c]
call fcn.0041dca5
pop edi
pop ebx
jmp 0x420607
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4205f6
lea eax, [ebp - 0x1c]
push eax
push str.Softwareprojonepodlp_volatilelastError_
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.00403d0d
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044302b
leave
ret

Function at 0x420ec1
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x1c
push esi
mov esi, eax
cmp dword [esi + 0x14], 0
je 0x420f62
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push ebp
push edi
push str.servAddr
mov edi, str.Softwareprojonepodlp_
push edi
mov ebp, reloc.WS2_32.dll_bind
push ebp
call ebx
push str.servHost
push edi
push ebp
call ebx
cmp dword [esi + 0x18], 0x10
jb 0x420f01
mov eax, dword [esi + 4]
jmp 0x420f04
lea eax, [esi + 4]
xor ebp, ebp
push ebp
call fcn.0041c641
test eax, eax
push esi
lea eax, [esp + 0x14]
push eax
je 0x420f32
call fcn.00439e09
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x420f28
mov eax, dword [eax + 4]
jmp 0x420f2b
add eax, 4
mov ebx, str.servAddr
jmp 0x420f4c
call fcn.00439e09
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x420f44
mov eax, dword [eax + 4]
jmp 0x420f47
add eax, 4
mov ebx, str.servHost
mov esi, eax
call fcn.0041dce5
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.00403c15
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret
Function at 0x420fac
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00444cd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004034dc
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044302b
add ebp, 0x190
leave
ret

Function at 0x421025
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00444cd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004034dc
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044302b
add ebp, 0x190
leave
ret