joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407730
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, 0x56c279
mov dword [ebp - 4], 0
call fcn.00500c8d
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 1
push 0x536a34
push eax
call fcn.00404680
add esp, 0xc
push 0x536a34
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.004045b0
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00404370
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4077c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4077e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0x1c], 0
mov ecx, 0x440
mov eax, 0x40
mov dword [ebp - 0x58], 0x3c
cmovne eax, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], eax
mov ecx, 5
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
xor eax, eax
cmp byte [ebp + 0x18], al
mov dword [ebp - 0x4c], 0
cmovne eax, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x38], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x407867
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [edi], eax
cmp byte [ebp + 0x10], 0
je 0x407886
push dword [ebp + 0x20]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4078a8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408270
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52efee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, 0x56c279
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.00500c8d
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x408382
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 1
push eax
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x408371
mov edx, dword [ebp - 0x18]
xor eax, eax
push esi
mov esi, dword [ebp - 0x1c]
test edx, edx
je 0x40831c
lea ecx, [esi + 8]
nop dword [eax]
cmp dword [ecx], 0
je 0x40830f
inc eax
add ecx, 0xc
cmp eax, edx
jb 0x408300
jmp 0x40831c
lea eax, [eax + eax*2]
movq xmm0, qword [esi + eax*4]
movq qword [ebp - 0x2c], xmm0
push esi
call sub.WTSAPI32.dll_WTSFreeMemory
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 5
push dword [ebp - 0x2c]
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x408370
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x408345
xor ecx, ecx
jmp 0x40835f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408350
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00406790
push dword [ebp - 0x10]
call sub.WTSAPI32.dll_WTSFreeMemory
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x408bb0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f157
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
mov ecx, 0x56c279
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0
call fcn.00500c8d
push 0x208
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x2a8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x408dd5
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00404ac0
test al, al
jne 0x408c72
lea ecx, [ebp - 0x2a8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408c54
sub ecx, edx
lea eax, [ebp - 0x2a8]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406790
push ebx
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x12]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x94], 1
push eax
push ecx
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x4d005c
push edx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0x630069
mov dword [ebp - 0x88], 0x6f0072
mov dword [ebp - 0x84], 0x6f0073
mov dword [ebp - 0x80], 0x740066
mov dword [ebp - 0x7c], 0x49005c
mov dword [ebp - 0x78], 0x74006e
mov dword [ebp - 0x74], 0x720065
mov dword [ebp - 0x70], 0x65006e
mov dword [ebp - 0x6c], 0x200074
mov dword [ebp - 0x68], 0x780045
mov dword [ebp - 0x64], 0x6c0070
mov dword [ebp - 0x60], 0x72006f
mov dword [ebp - 0x5c], 0x720065
mov dword [ebp - 0x58], 0x51005c
mov dword [ebp - 0x54], 0x690075
mov dword [ebp - 0x50], 0x6b0063
mov dword [ebp - 0x4c], 0x4c0020
mov dword [ebp - 0x48], 0x750061
mov dword [ebp - 0x44], 0x63006e
mov dword [ebp - 0x40], 0x5c0068
mov dword [ebp - 0x3c], 0x730055
mov dword [ebp - 0x38], 0x720065
mov dword [ebp - 0x34], 0x500020
mov dword [ebp - 0x30], 0x6e0069
mov dword [ebp - 0x2c], 0x65006e
mov dword [ebp - 0x28], 0x5c0064
mov dword [ebp - 0x24], 0x610054
mov dword [ebp - 0x20], 0x6b0073
mov dword [ebp - 0x1c], 0x610042
mov dword [ebp - 0x18], 0x5c0072
call fcn.00404100
mov edx, dword [eax]
mov dword [ebp - 4], 2
pop ebx
test edx, edx
jne 0x408d9b
xor eax, eax
jmp 0x408daf
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408da0
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00404880
lea ecx, [ebp - 0xa0]
call fcn.0040bc60
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x408de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f1b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov ecx, 0x56c279
mov dword [ebp - 0x14], 0
call fcn.00500c8d
mov dword [ebp - 4], 1
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x408f32
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
push 0x104
push 0
mov dword [ebp - 0x14], 2
mov dword [esi], eax
lea eax, [ebp - 0x138]
push eax
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x138]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call fcn.004043f0
push 2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00405cc0
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00404370
mov edx, dword [ebp - 0x28]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408eab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xd]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x55005c
push edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0x650073
mov dword [ebp - 0x1c], 0x730072
mov dword [ebp - 0x18], 0x5c
call fcn.00404100
mov edx, dword [eax]
mov dword [ebp - 4], 3
test edx, edx
jne 0x408efa
xor eax, eax
jmp 0x408f10
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408f00
sub eax, edi
sar eax, 1
pop edi
push eax
push edx
mov ecx, esi
call fcn.00404880
lea ecx, [ebp - 0x34]
call fcn.0040bc60
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x4094b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
mov ecx, 0x56c279
call fcn.00500c8d
push 6
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 8]
push eax
push 0x536a14
push 0
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x4095d5
push ebx
push edi
lea eax, [ebp - 1]
mov dword [ebp - 0x70], 0x790053
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x6c], 0x740073
push ecx
lea edx, [ebp - 0x70]
mov dword [ebp - 0x68], 0x6d0065
push edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x64], 0x56002e
mov dword [ebp - 0x60], 0x6c006f
mov dword [ebp - 0x5c], 0x6d0075
mov dword [ebp - 0x58], 0x2e0065
mov dword [ebp - 0x54], 0x690042
mov dword [ebp - 0x50], 0x4c0074
mov dword [ebp - 0x4c], 0x63006f
mov dword [ebp - 0x48], 0x65006b
mov dword [ebp - 0x44], 0x500072
mov dword [ebp - 0x40], 0x6f0072
mov dword [ebp - 0x3c], 0x650074
mov dword [ebp - 0x38], 0x740063
mov dword [ebp - 0x34], 0x6f0069
mov dword [ebp - 0x30], 0x6e
call fcn.00404100
lea ecx, [ebp - 0x2c]
push ecx
push dword [eax]
call dword [sym.imp.PROPSYS.dll_PSGetPropertyKeyFromName]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0040bc60
pop edi
pop ebx
test esi, esi
js 0x4095d5
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x18]
push edx
xorps xmm0, xmm0
lea edx, [ebp - 0x2c]
movups xmmword [ebp - 0x18], xmm0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
js 0x4095d5
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, 1
je 0x4095e2
cmp esi, 3
je 0x4095e2
cmp esi, 5
je 0x4095e2
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4095e2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4095f0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov ecx, 0x56c279
push 0xffffffffffffffff
push 0x52f285
push eax
mov dword fs:[0], esp
sub esp, 0x214
push esi
call fcn.00500c8d
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x409743
lea eax, [ebp - 0x14]
push eax
call fcn.00408270
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00503f20
add esp, 0x10
mov dword [ebp - 0x18], 0x104
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x409754
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ac0
test al, al
jne 0x4096bf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4096a0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406790
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x40970a
cmp dword [esi - 0xc], 0
je 0x40970a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404490
add esp, 8
test al, al
je 0x40970a
lea ecx, [ebp - 0x10]
call fcn.004041e0
lea ecx, [ebp - 0x14]
call fcn.004041e0
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409724
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x409743
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor al, al
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x4098c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
mov ecx, 0x56c279
call fcn.00500c8d
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 1], 1
test ebx, ebx
je 0x409996
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40997c
nop
mov eax, ebx
lea ecx, [ebp - 0x20c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40993e
test dx, dx
je 0x40993a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40993e
add ecx, 4
add eax, 4
test dx, dx
jne 0x409918
xor eax, eax
jmp 0x409943
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409965
mov esi, dword [ebp - 0x228]
push esi
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
jne 0x409978
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409910
jmp 0x40997c
mov byte [ebp - 1], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 1]
xor ecx, ecx
pop edi
cmp esi, 0xffffffff
pop esi
cmove eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409ad0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f2ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov ecx, 0x56c279
mov dword [ebp - 4], 0
call fcn.00500c8d
call fcn.004068b0
call fcn.00406b80
mov eax, dword [eax + 8]
test eax, eax
je 0x409ba9
cmp eax, 0xa
ja 0x409b1e
jb 0x409ba9
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push 0
sub esp, 0x18
mov ecx, esi
mov edx, esp
lea edi, [ecx + 2]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409b41
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00403070
call fcn.0040dd60
mov esi, dword [ebp + 8]
add esp, 0x1c
mov eax, esi
xorps xmm0, xmm0
push 1
sub esp, 0x18
lea edi, [eax + 2]
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409b84
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
push esi
call fcn.00403070
call fcn.0040dd60
add esp, 0x1c
jmp 0x409c5e
xor eax, eax
mov dword [ebp - 0x3c], 0x610074
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x6b0073
push eax
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x610062
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0x750072
mov dword [ebp - 0x2c], 0x70006e
mov dword [ebp - 0x28], 0x6e0069
call fcn.00404100
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0
push dword [ebp + 8]
push dword [eax]
push 0
call esi
lea ecx, [ebp - 0x20]
call fcn.0040bc60
xor eax, eax
mov dword [ebp - 0x38], 0x610074
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x34], 0x6b0073
push eax
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x610062
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x700072
mov dword [ebp - 0x28], 0x6e0069
call fcn.00404100
push 0
push 0
push 0
push dword [ebp + 8]
push dword [eax]
push 0
call esi
lea ecx, [ebp - 0x20]
call fcn.0040bc60
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b0b0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, 0x56c279
push edi
call fcn.00500c8d
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x40b116
push esi
push 0xf01ff
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40b0f5
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x40b115
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]
call esi
push edi
call esi
pop esi
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop edi
test eax, eax
jg 0x40b132
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x40b140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov ecx, 0x56c279
call fcn.00500c8d
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b19c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x40b186
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 4]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop esi
test eax, eax
jg 0x40b1b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x40b1c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x56c279
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00500c8d
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40b294
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b283
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b257
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406790
push 1
push 0x536974
mov ecx, esi
call fcn.00404880
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x40b2a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x56c279
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00500c8d
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40b374
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b363
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b337
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406790
push 1
push 0x536974
mov ecx, esi
call fcn.00404880
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3

Function at 0x40b380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x56c279
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00500c8d
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40b454
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b443
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b417
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406790
push 1
push 0x536974
mov ecx, esi
call fcn.00404880
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x40b460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52f4e6
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.00501270
push esi
mov ecx, 0x56c279
mov dword [ebp - 0x14], 0
call fcn.00500c8d
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40b543
mov dword [ebp - 4], 0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40b614
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
push 0x800
push 0
mov dword [ebp - 0x14], 2
mov dword [esi], eax
lea eax, [ebp - 0x814]
push eax
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x814]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b603
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b506
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406790
push 1
push 0x536974
mov ecx, esi
call fcn.00404880
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40b61e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0x800
lea eax, [ebp - 0x1014]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b5d1
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b5a0
sub ecx, edx
lea eax, [ebp - 0x1014]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406790
push 1
push 0x536974
lea ecx, [ebp - 0x10]
call fcn.00404880
mov esi, dword [ebp - 0x10]
push edi
lea edi, [esi - 0x10]
push edi
call fcn.00404bb0
mov esi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40b602
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
push 0x80004005
call fcn.00404a90
int3