joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026540
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a47d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d10d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x10026594
mov eax, 0x80004003
mov dword [ebp - 0x10], eax
jmp 0x1002666b
xor esi, esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
push ebx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100265ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x41f
jne 0x10026603
push 0x10c
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x10026603
lea eax, [ebp - 0x1c]
push eax
push 0x10c
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceLockStatusW]
test eax, eax
je 0x10026603
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0x80004005
jmp 0x1002664f
push 2
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x1002660a
mov eax, 0x80004005
jmp 0x1002664f
cmp dword [ebp + 0xc], 0
mov ecx, 4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, 1
cmovne eax, ecx
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push dword [ebp - 0x10]
neg eax
sbb edi, edi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
xor ecx, ecx
mov eax, 0x80004005
and edi, 1
cmovne eax, ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x1002666b
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10026687
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026dc0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a48f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x10026e13
mov edi, 0x80004003
jmp 0x10026e7e
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x10026e39
mov edi, 0x80004005
jmp 0x10026e68
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
push ecx
xorps xmm0, xmm0
push 1
push eax
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
xor ecx, ecx
mov edi, 0x80004005
test eax, eax
mov eax, dword [ebp - 0x30]
cmovne edi, ecx
mov byte [ebp - 4], 0
test eax, eax
je 0x10026e7e
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10026e97
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x34], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x10026f10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c7ec0
push 0x1006e600
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100d10d4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
xor esi, esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], 0xffffffff
mov dword [ebp - 4], esi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x254], edi
cmp edi, 0xffffffff
je 0x1002700b
push 0x22c
push esi
lea eax, [ebp - 0x248]
push eax
call fcn.1006e460
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1002700b
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0x258]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10026ffa
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x10026ffa
cmp dword [ebp - 0x24c], ebx
jne 0x10026ffa
mov esi, dword [ebp - 0x240]
mov dword [ebp - 0x250], esi
jmp 0x1002700b
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10026fb0
mov dword [ebp - 4], 0xfffffffe
call fcn.10027043
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 8
Function at 0x10027050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4946
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x100d10d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100270cd
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x100270cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x100270cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x1002714a
lea eax, [ebp - 0x1c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xb4]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 2
push str.FilterMsgHelper_Init_Start
push esi
call fcn.10008960
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.1000cc10
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1002714a
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1002714a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002714a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 8], 0
jne 0x1002716c
push 0
push 0
push ebx
push 0x100284f0
push 0
push 0
call fcn.10076314
add esp, 0x18
mov dword [ebx + 8], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a670
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a52bb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x100d10d4]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
mov dword [ebp - 0x224], ebx
call fcn.1006e460
push dword [ebx]
lea eax, [ebp - 0x210]
push str.SYSTEMCurrentControlSetServices_s
push 0xff
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x210]
push 0x2021b
push eax
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x21c]
call fcn.10029270
mov edi, dword [ebp - 0x21c]
test eax, eax
je 0x1002a725
xor ebx, ebx
jmp 0x1002a76b
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x220]
push 4
push eax
push 4
push 0
push str.Start
push edi
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x1002a764
mov eax, dword [ebp - 0x224]
push esi
push ebx
push dword [eax]
push str.CInstallSvc::SetSvcStartType_fail_strSvcName__s__dwStartType__ld__lResult_ld
call fcn.1000d740
add esp, 0x10
xor ebx, ebx
test esi, esi
sete bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1002a787
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], 0
mov eax, ebx
mov dword [ebp - 0x218], 0
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.10061eb3
mov esp, ebp
pop ebp
ret 8
Function at 0x1002a8b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5387
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100d10d4]
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 ebx, ecx
mov esi, dword [ebp + 8]
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1002aa34
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
or edi, 0xffffffff
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
jne 0x1002a957
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.10060830
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
push eax
call fcn.1001a9d0
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a9b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002a9b2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006e460
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x24]
push dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a990
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10014ae0
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002a9c7
lea ebx, [eax + 1]
jmp 0x1002a9f2
push dword [ebp - 0x21c]
push 1
push dword [esi + 0x2c]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push esi
push str.AutoStart2___d
call fcn.1000d740
xor ebx, ebx
add esp, 8
test esi, esi
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x1002aa14
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.10061eb3
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000d6a0
int3
Function at 0x1002b1a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c8750
push 0x1006e600
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100d10d4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], esi
push 0x200
push esi
lea eax, [ebp - 0x21c]
push eax
call fcn.1006e460
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x220]
push eax
push 0x20206
push esi
lea eax, [ebp - 0x21c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002b263
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
test eax, eax
cmove esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.1002b295
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1002b2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c8730
push 0x1006e600
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x100d10d4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.1006e460
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x220]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x21c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002b38c
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 4
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0
push esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], 0xfffffffe
call fcn.1002b3bc
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002ea70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x630063
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x100d36cc
mov dword [ebp - 0x18], 0x6f006d
mov dword [ebp - 0x14], 0x730075
mov edx, 0xb
mov dword [ebp - 0x10], 0x530065
sub esi, eax
mov dword [ebp - 0xc], 0x630076
nop dword [eax]
lea ecx, [edx + 0x7ffffff3]
test ecx, ecx
je 0x1002eade
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002eade
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002eac0
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1002eb00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100d37d0
mov dword [ebp - 0x1c], 0x430050
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x61004d
mov dword [ebp - 0x14], 0x61006e
mov edx, 0xc
mov dword [ebp - 0x10], 0x650067
sub esi, eax
mov dword [ebp - 0xc], 0x760053
mov dword [ebp - 8], 0x63
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x1002eb6e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002eb6e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002eb50
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1002eb90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100d3790
mov dword [ebp - 0x1c], 0x610068
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6f006c
mov dword [ebp - 0x14], 0x650070
mov edx, 0xc
mov dword [ebp - 0x10], 0x730074
sub esi, eax
mov dword [ebp - 0xc], 0x760053
mov dword [ebp - 8], 0x63
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x1002ebfe
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002ebfe
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002ebe0
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
Function at 0x1002ee00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x20], 0x6c0042
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x20]
mov eax, 0x100d370c
mov dword [ebp - 0x1c], 0x650075
mov dword [ebp - 0x18], 0x680077
mov edx, 0xd
mov dword [ebp - 0x14], 0x6c0061
sub esi, eax
mov dword [ebp - 0x10], 0x530065
mov dword [ebp - 0xc], 0x630076
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x1002ee6e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002ee6e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002ee50
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1002ee90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x20], 0x650064
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x20]
mov eax, 0x100d385c
mov dword [ebp - 0x1c], 0x720066
mov dword [ebp - 0x18], 0x670061
mov edx, 0xd
mov dword [ebp - 0x14], 0x650067
sub esi, eax
mov dword [ebp - 0x10], 0x530072
mov dword [ebp - 0xc], 0x630076
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x1002eefe
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002eefe
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002eee0
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1002f090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100d3814
mov dword [ebp - 0x20], 0x690061
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x680073
mov dword [ebp - 0x18], 0x6e0061
mov edx, 0xe
mov dword [ebp - 0x14], 0x700067
sub esi, eax
mov dword [ebp - 0x10], 0x740065
mov dword [ebp - 0xc], 0x760053
mov dword [ebp - 8], 0x63
lea ecx, [edx + 0x7ffffff0]
test ecx, ecx
je 0x1002f0ff
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002f0ff
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002f0e1
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
Function at 0x1002f120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x6f0064
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x100d3628
mov dword [ebp - 0x18], 0x70006c
mov dword [ebp - 0x14], 0x690068
mov edx, 0xb
mov dword [ebp - 0x10], 0x53006e
sub esi, eax
mov dword [ebp - 0xc], 0x630076
nop dword [eax]
lea ecx, [edx + 0x7ffffff3]
test ecx, ecx
je 0x1002f18e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002f18e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002f170
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1002f420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x690061
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x100d37f4
mov dword [ebp - 0x18], 0x680073
mov dword [ebp - 0x14], 0x6e0061
mov edx, 0xb
mov dword [ebp - 0x10], 0x700067
sub esi, eax
mov dword [ebp - 0xc], 0x740065
nop dword [eax]
lea ecx, [edx + 0x7ffffff3]
test ecx, ecx
je 0x1002f48e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002f48e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002f470
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret

Function at 0x1002f530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x20], 0x690061
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x20]
mov eax, 0x100d3750
mov dword [ebp - 0x1c], 0x680073
mov dword [ebp - 0x18], 0x6e0061
mov edx, 0xd
mov dword [ebp - 0x14], 0x770067
sub esi, eax
mov dword [ebp - 0x10], 0x530070
mov dword [ebp - 0xc], 0x630076
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x1002f59e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002f59e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002f580
test edx, edx
lea ecx, [eax - 2]
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
Function at 0x10031840
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c88c8
push 0x1006e600
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100d10d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], 0
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
push 0xf023f
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003197d
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
cmp dword [ebp - 0x24], 7
jne 0x1003197d
mov eax, dword [ebp - 0x1c]
add eax, 8
lea ebx, [eax + ebx*2]
push 0x100d3c66
push ebx
call fcn.10062033
add esp, 8
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x1003197d
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x20]
call esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebx + ebx]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jae 0x10031941
lea esi, [eax + edi]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10031916
mov ecx, dword [ebp - 0x1c]
lea edx, [ebx + ebx]
cmp edx, ecx
jne 0x1003197d
mov esi, dword [ebp - 0x30]
lea eax, [esi + 1]
push eax
push dword [ebp + 0xc]
lea eax, [edi - 2]
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebx + esi]
add eax, eax
xor ecx, ecx
mov word [eax + edi], cx
add eax, 2
push eax
push edi
push 7
push ecx
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xfffffffe
call fcn.100319a0
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8