joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c090
Capabilities:
Create directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5627a3
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x414], 0
cmp dword [esi + 0x180], 0
mov dword [ebp - 0x41c], edi
je 0x45c107
lea eax, [ebp - 0x410]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x410]
push eax
lea eax, [esi + 0x38]
push 0x58b3a0
push eax
call fcn.00415d20
add esp, 0xc
jmp 0x45c15e
lea ecx, [ebp - 0x418]
call fcn.00482350
mov dword [ebp - 4], 3
cmp byte [ebp + 0xc], 0
je 0x45c137
push 0
push dword [esi + 0x38]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c15e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x38]
sub ecx, 0x10
call fcn.004022c0
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x414], 1
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.005295e2
mov esp, ebp
pop ebp
ret 8

Function at 0x45c1a0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5627f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x45c1eb
push 0
push dword [esi + 0x34]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esi + 0x34]
sub ecx, 0x10
call fcn.004022c0
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45c760
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5627f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x45c7ab
push 0
push dword [esi + 0x68]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esi + 0x68]
sub ecx, 0x10
call fcn.004022c0
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45c9a0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5627f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x45c9eb
push 0
push dword [esi + 0x74]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esi + 0x74]
sub ecx, 0x10
call fcn.004022c0
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45ca20
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5627f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x45ca6b
push 0
push dword [esi + 0x78]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esi + 0x78]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esi + 0x78]
sub ecx, 0x10
call fcn.004022c0
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45cbf0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45cc26
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x45ccc4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
je 0x45ccc3
jmp 0x45cc60
lea eax, [ebp - 0x20c]
mov ecx, str.LTVSrv.exe
jmp 0x45cc70
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x45cc96
test dx, dx
je 0x45cc92
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x45cc96
add ecx, 4
add eax, 4
test dx, dx
jne 0x45cc70
xor eax, eax
jmp 0x45cc9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ccbd
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x45cc60
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x228]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005295e2
mov esp, ebp
pop ebp
ret
Function at 0x45e090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562c58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov dword [ebp + 8], esi
mov edx, dword [eax]
mov eax, dword [ecx]
lea ecx, [ebp + 8]
push ecx
push 0x20019
push esi
push edx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x45e0f5
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
sete al
test eax, eax
jne 0x45e115
push 0x5afaa8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x80004005
push eax
call fcn.00532408
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
xor edi, edi
lea eax, [ebp - 0x14]
push edi
push eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], edi
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x45e152
cmp dword [ebp - 0x14], 7
je 0x45e148
lea ecx, [edi + 0xd]
jmp 0x45e152
mov edi, dword [ebp + 8]
shr edi, 1
xor ecx, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
test ecx, ecx
sete al
test eax, eax
jne 0x45e17d
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x45e176
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
xor al, al
jmp 0x45e21d
test edi, edi
jns 0x45e18b
push 0x80070057
call fcn.004027b0
mov ebx, dword [ebp + 0x10]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x45e1a9
push edi
mov ecx, ebx
call fcn.00402590
mov ecx, dword [ebx]
cmp edi, dword [ecx - 8]
jg 0x45e181
mov dword [ecx - 0xc], edi
xor edx, edx
mov eax, dword [ebx]
mov word [eax + edi*2], dx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x20]
push dword [eax]
call fcn.00478170
neg eax
sbb eax, eax
inc eax
je 0x45e15d
mov eax, dword [ebx]
test eax, eax
jne 0x45e1de
xor ecx, ecx
jmp 0x45e1f0
push dword [eax - 8]
push eax
call fcn.00529878
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45e181
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x45e181
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x45e21b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov al, 1
mov dword [ebp - 0x1c], 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 0xc
Function at 0x4616b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 1
mov word [ebp - 0xc], 0x124
lea ebx, [esi + 0xa]
mov dword [ebp - 0xa], eax
push ebx
mov dword [ebp - 6], esi
call fcn.0052d1c5
mov edi, eax
add esp, 8
test edi, edi
jne 0x4616e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movq xmm0, qword [ebp - 0xc]
mov ax, word [ebp - 4]
push esi
push dword [ebp + 0x10]
movq qword [edi], xmm0
mov word [edi + 8], ax
lea eax, [edi + 0xa]
push eax
call fcn.00531580
add esp, 0xc
push 0
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push edi
mov esi, eax
call fcn.0052adae
add esp, 4
xor eax, eax
cmp esi, 0xffffffff
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x461740
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
push 1
mov esi, dword [eax]
add esi, 0xa
push esi
call fcn.0052d1c5
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x461839
push 0
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
je 0x461830
test esi, esi
je 0x461830
cmp esi, 0xa
jl 0x461830
movq xmm0, qword [ebx]
sub esi, 0xa
push edi
mov edi, dword [ebp + 0xc]
movq qword [edi], xmm0
mov ax, word [ebx + 8]
mov word [edi + 8], ax
test esi, esi
jle 0x4617b6
push esi
lea eax, [ebx + 0xa]
push eax
push dword [ebp + 0x10]
call fcn.00531580
add esp, 0xc
mov eax, dword [edi + 6]
cmp esi, eax
jb 0x4617c4
mov ecx, dword [ebp + 0x14]
cmp esi, dword [ecx]
jb 0x4617f9
push 0
push eax
lea ecx, [ebx + 0xa]
push ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x46181e
test edi, edi
je 0x46181e
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + 0xa]
push edi
push eax
add ecx, esi
push ecx
call fcn.00531580
add esp, 0xc
add esi, edi
mov edi, dword [ebp + 0xc]
jmp 0x4617b6
push eax
lea eax, [ebx + 0xa]
push eax
push dword [ebp + 0x10]
call fcn.00531580
push ebx
call fcn.0052adae
add esp, 0x10
xor eax, eax
cmp byte [edi], 0x24
sete al
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
call fcn.0052adae
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
call fcn.0052adae
add esp, 4
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x466220
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
push 0
push 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], esi
push eax
lea eax, [esi + 1]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x46628f
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005295e2
mov esp, ebp
pop ebp
ret 8

Function at 0x468cd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564d28
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x468d38
or eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
call fcn.00402b10
mov byte [ebp - 4], 1
push dword [ebp + 8]
push str._s__rem
lea eax, [ebp - 0x14]
push eax
call fcn.00415d20
mov dword [ebp - 0x70], 0x44
push 0x40
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.00531bd0
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 8
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004023a0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x468dd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564d58
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x5ba1b0]
or esi, 0xffffffff
lea edi, [ebx + 0x1424]
mov dword [ebp - 0x60], vtable.CLockMgr_class_CMutexWrapper_.0
mov dword [ebp - 0x5c], edi
cmp dword [edi], 0
mov dword [ebp - 0x58], 1
je 0x468e39
call dword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
mov ecx, 0x2710
cmovne esi, ecx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
mov dword [0x5ba188], ebx
mov dword [0x5ba18c], eax
call fcn.00449010
mov esi, dword [ebx + 0x1414]
lea eax, [ebp - 0x47]
push 0x31
push 0
push eax
call fcn.00531bd0
add esp, 0xc
mov dword [ebp - 0x4e], 4
mov ax, word [ebp - 0x4c]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x48]
mov word [ebp - 0x54], 0x24
push 0
push 0xe
push eax
push dword [ebp + 8]
mov dword [ebp - 0x52], 0x20009411
movq xmm0, qword [ebp - 0x54]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3e], esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x468ec3
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 0x60], vtable.CLockMgr_class_CMutexWrapper_.0
test eax, eax
je 0x468ebf
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x468ee3
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
mov dword [ebp - 0x60], vtable.CLockMgr_class_CMutexWrapper_.0
test eax, eax
je 0x468ede
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4
Function at 0x469480
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564df3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push ecx
mov ecx, dword [ebp + 8]
call fcn.00413f90
test eax, eax
jne 0x4694ce
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 8
call fcn.00529b2d
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4694f7
mov dword [esi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 4], 0
jmp 0x4694f9
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
lea edi, [esi + 4]
push 0
push edi
push 0
push 3
push 0
push 0
push 0
push 0x584038
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x469539
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x469631
mov eax, dword [ebx + 0xfc]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 3
push 0
push str.HKEnable
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x469566
push eax
call ebx
mov eax, dword [ebp - 0x10]
push 6
add eax, 0xf4
push eax
push 3
push 0
push str.HKey
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x469589
push eax
call ebx
mov eax, dword [ebp - 0x10]
push 6
add eax, 0x100
push eax
push 3
push 0
push str.HKeyMod
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4695ac
push eax
call ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10c
mov dword [ebp + 8], ecx
mov eax, dword [ecx]
cmp dword [eax - 4], 1
jle 0x4695cb
push dword [eax - 0xc]
call fcn.004024c0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4695d5
sub ecx, dword [ebp + 8]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.Alias
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x469602
push eax
call ebx
mov eax, dword [ebp - 0x10]
push 1
mov al, byte [eax + 0x140c]
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
push 3
push 0
push str.Paused
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x46962c
push eax
call ebx
mov ebx, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
test eax, eax
je 0x46964b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], 0
push esi
call fcn.005295dd
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x469700
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
xor esi, esi
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x810], eax
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x469844
cmp dword [edi], esi
je 0x469844
lea ecx, [ebp - 0x808]
call fcn.004fb930
test eax, eax
je 0x4697bc
push 4
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], esi
push eax
push 3
push esi
push str.Net_DF
push dword [ebp - 0x808]
call ebx
test eax, eax
je 0x46977d
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
call edi
jmp 0x4697c4
push dword [edi]
push dword [ebp - 0x810]
push 3
push 0
push str.Net_stat
push dword [ebp - 0x808]
call ebx
test eax, eax
jne 0x4697bc
mov ecx, dword [ebp - 0x80c]
mov eax, dword [edi]
push 1
mov dword [ecx + 0x1408], eax
mov ecx, dword [ebp - 0x808]
call fcn.004fb9c0
add esp, 4
test eax, eax
jne 0x469810
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 4
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0
push eax
push 3
push 0
push str.Net_DF
push dword [ebp - 0x808]
call ebx
test eax, eax
je 0x4697ef
push eax
call edi
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005295e2
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
push 4
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x80c]
push eax
push 4
push 0
push str.Net_SH
push dword [ebp - 0x808]
call ebx
test eax, eax
je 0x46983d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 1
jmp 0x4697ef
push str.sstray.exe
push str.SYSTEMCurrentControlSetServices_sParameters
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.0052df5e
add esp, 0x10
lea eax, [ebp - 0x808]
push 0
push eax
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x469836
push 4
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], esi
push eax
push 3
push 0
push str.Net_DF
push dword [ebp - 0x808]
call ebx
test eax, eax
je 0x4697be
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
call edi
jmp 0x4697c4
Function at 0x4698d0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push str.sstray.exe
push str.SYSTEMCurrentControlSetServices_sParameters
push 0x400
push eax
call fcn.0052df5e
add esp, 0x10
lea eax, [ebp - 0x808]
push 0
push eax
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x469951
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x810]
mov dword [esi], 0x400
push eax
push edi
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x810], 0x400
push eax
push 0
push str.Net_stat
push dword [ebp - 0x808]
mov dword [ebp - 0x80c], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4699f8
push dword [esi]
push 0
push edi
call fcn.00531bd0
add esp, 0xc
mov dword [ebp - 0x80c], 0
lea eax, [ebp - 0x80c]
push 4
push eax
push 3
push 0
push str.Net_DF
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4699d1
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov dword [esi], 0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x808]
push esi
call fcn.004fb9f0
add esp, 4
test eax, eax
jne 0x469a0f
mov dword [esi], eax
jmp 0x469a17
mov eax, dword [esi]
mov dword [ebx + 0x1408], eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005295e2
mov esp, ebp
pop ebp
ret 8
Function at 0x469a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 4], eax
push str.sstray.exe
push str.SYSTEMCurrentControlSetServices_sParameters
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0
push 0x400
push eax
call fcn.0052df5e
add esp, 0x10
lea eax, [ebp - 0x808]
push 0
push eax
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x469abb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], 3
push eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x810], 4
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push str.Net_DF
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x469b1e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x80c]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret