joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009f7c0
Capabilities:
Get disk information

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 3
call fcn.100a7f77
mov ebp, eax
add esp, 4
mov ecx, ebp
xor eax, eax
mov dword [esp + 0x10], 0
mov bl, 0x43
mov word [ecx], ax
mov byte [ecx + 2], al
mov eax, ebp
xor edx, edx
mov edi, 0x10105f55
or ecx, 0xffffffff
mov word [eax], dx
push ebp
mov byte [eax + 2], dl
xor eax, eax
mov byte [ebp], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
je 0x1009f846
inc bl
cmp bl, 0x5a
jl 0x1009f7e5
mov esi, dword [esp + 0x10]
push ebp
call fcn.100a7e8e
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x18]
mov eax, ebp
push 0
push 0
mov dx, word [eax]
push 0
push 0
push 0
mov word [ecx], dx
mov al, byte [eax + 2]
push 0
push 0
push ebp
mov byte [ecx + 2], al
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push ebp
mov esi, eax
call fcn.100a7e8e
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x1009f890
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x100bda6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.100b57ea
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x1009f962
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1009f8fa
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100b577c
xor eax, eax
jmp 0x1009f9b2
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1009f915
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1009f966
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1009f966
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.100a7a79
add esp, 8
test eax, eax
je 0x1009f95e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1009f937
jmp 0x1009f966
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x1009f986
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100b577c
xor eax, eax
jmp 0x1009f9b2
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.100b577c
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8
Function at 0x1009f9d0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x354
mov eax, dword [esp + 0x35c]
push ebx
push ebp
xor ebx, ebx
push esi
cmp eax, 0xffffffff
push edi
mov dword [esp + 0x18], 0x224
jne 0x1009faf5
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x23c]
push eax
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x244], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1009fb6a
mov ecx, dword [esp + 0x244]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x18]
mov edi, eax
push edx
push edi
mov dword [esp + 0x18], edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1009fad6
mov eax, dword [esp + 0x368]
lea ebp, [eax + ebx*4]
xor esi, esi
test ebx, ebx
jle 0x1009fa81
mov edi, dword [esp + 0x368]
mov edx, dword [edi]
lea ecx, [esp + 0x138]
push ecx
push edx
call fcn.100a8a80
add esp, 8
test eax, eax
je 0x1009fabb
inc esi
add edi, 4
cmp esi, ebx
jl 0x1009fa62
push 0x104
call fcn.100a7f77
mov edx, eax
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebp], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
add ebp, 4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x1009fa55
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1009fa23
jmp 0x1009fb6a
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x18], esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1009fb6a
mov ebp, dword [esp + 0x368]
push 0x104
call fcn.100a7f77
mov edx, eax
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebp], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add ebp, 4
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x1009fb19
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x354
ret 8
Function at 0x1009fb80
Capabilities:
Get memory capacity

Disassembly:
mov ecx, dword [0x10105f91]
sub esp, 0xd4
cmp ecx, 0xffffffff
push esi
jne 0x1009fbfa
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1009fbbf
mov edx, dword [esp + 0x48]
mov ecx, 4
cmp ecx, edx
sbb ecx, ecx
inc ecx
mov dword [0x10105f91], ecx
jmp 0x1009fbc5
mov ecx, dword [0x10105f91]
test ecx, ecx
jne 0x1009fbfa
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1009fbf4
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x10105f91]
mov esi, eax
mov dword [0x1010acf5], esi
jmp 0x1009fc00
mov ecx, dword [0x10105f91]
mov esi, dword [0x1010acf5]
test esi, esi
jne 0x1009fc0f
mov ecx, 1
mov dword [0x10105f91], ecx
xor eax, eax
xor edx, edx
test ecx, ecx
je 0x1009fce2
lea edx, [esp + 4]
mov dword [esp + 4], 0x20
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0xdc]
dec eax
cmp eax, 4
ja case.default.0x1009fc3f
jmp dword [eax*4 + 0x1009fdbc]
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x20]
xor edx, edx
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0xc]
xor edx, edx
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
test esi, esi
je 0x1009fda7
lea ecx, [esp + 4]
mov dword [esp + 4], 0x40
push ecx
call esi
mov edx, dword [esp + 0xdc]
lea eax, [edx - 1]
cmp eax, 4
ja case.default.0x1009fd0c
jmp dword [eax*4 + 0x1009fdd0]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, 0x14
call fcn.100a8b50
pop esi
add esp, 0xd4
ret 4
Function at 0x1009fe30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bda96
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebp
push esi
mov esi, dword [esp + 0x130]
push edi
cmp esi, 0x1010ab19
je 0x100a000a
cmp dword [esp + 0x138], 0x1010ab19
je 0x100a000a
mov ebp, dword [esp + 0x13c]
cmp ebp, 0x1010ab19
je 0x100a000a
push ebx
push esi
lea ecx, [esp + 0x14]
call fcn.100b57ea
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x138], 0
mov dword [esp + 0x24], 0x100
call fcn.100b4580
mov eax, dword [eax]
push 0x100fddc1
push eax
call fcn.100a88ee
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call fcn.100b577c
test bl, bl
pop ebx
je 0x1009fee9
push esi
lea ecx, [esp + 0x10]
push 0x10106049
push ecx
call fcn.100b497e
add esp, 0xc
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, ecx
lea edi, [esp + 0x24]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1009fff6
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1009ff57
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1009fff6
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s_shell_scommand
push eax
call fcn.100b497e
add esp, 0x10
lea ecx, [esp + 0x14]
push ebp
call fcn.100b57ea
push 0x10106031
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 1
call fcn.100b59be
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
push ecx
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1009ffe5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
push eax
push esi
push 1
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100a0026
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.100b577c
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.100b577c
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x124
ret 0xc
mov ecx, dword [esp + 0x10]
push ecx
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.100b577c
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.100b577c
mov eax, 1
jmp 0x100a000c
Function at 0x100a0060
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bdaab
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebp
push esi
mov esi, dword [esp + 0x12c]
cmp esi, 0x1010ab19
je 0x100a01ea
mov ebp, dword [esp + 0x130]
cmp ebp, 0x1010ab19
je 0x100a01ea
push ebx
push esi
lea ecx, [esp + 0x10]
call fcn.100b57ea
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], 0
mov dword [esp + 0x1c], 0x100
call fcn.100b4580
mov eax, dword [eax]
push 0x100fddc1
push eax
call fcn.100a88ee
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.100b577c
test bl, bl
pop ebx
je 0x100a0107
push esi
lea ecx, [esp + 0xc]
push 0x10106049
push ecx
call fcn.100b497e
add esp, 0xc
mov ecx, dword [esp + 0x10]
push edi
mov edx, ecx
xor eax, eax
lea edi, [esp + 0x20]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x100a01d6
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100a016e
mov eax, dword [esp + 0xc]
push eax
jmp 0x100a01d0
lea ecx, [esp + 0x1c]
push ebp
push ecx
lea edx, [esp + 0x10]
push str._s_shell_scommand
push edx
call fcn.100b497e
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0x10
push eax
push closesocket
call esi
test eax, eax
je 0x100a01a3
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x100a01d0
lea edx, [esp + 0x1c]
push ebp
push edx
lea eax, [esp + 0x10]
push str._s_shell_s
push eax
call fcn.100b497e
mov ecx, dword [esp + 0x18]
add esp, 0x10
push ecx
push closesocket
call esi
test eax, eax
je 0x100a0205
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x124], 0xffffffff
call fcn.100b577c
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x120
ret 8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x124], 0xffffffff
call fcn.100b577c
mov eax, 1
jmp 0x100a01ec
Function at 0x100a0230
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100bdac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x10106c69]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esp + 0x20], edi
mov esi, 0x41
mov dword [esp + 0x14], 0x1a
push esi
lea ecx, [esp + 0x14]
push 0x10106059
push ecx
call fcn.100b497e
add esp, 0xc
test ebx, ebx
jne 0x100a029f
mov edx, dword [esp + 0x10]
push edx
call ebp
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x100a0298
jmp dword [eax*4 + 0x100a02e0]
mov eax, dword [esp + 0x10]
push eax
call ebp
cmp eax, ebx
jne case.default.0x100a0298
inc edi
mov eax, dword [esp + 0x14]
inc esi
dec eax
mov dword [esp + 0x14], eax
jne 0x100a0272
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.100b577c
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x100a02f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x100bdae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x10106c69]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], 0x41
mov dword [esp + 0x2c], 0x1a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0x1010605d
push edx
call fcn.100b497e
mov esi, dword [esp + 0x34]
add esp, 0xc
test esi, esi
jne 0x100a0368
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x100a0361
jmp dword [eax*4 + 0x100a03ec]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, esi
jne case.default.0x100a0361
push 3
call fcn.100a7f77
mov edi, dword [esp + 0x14]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
add ebx, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
jne 0x100a032f
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.100b577c
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x100a0400
Capabilities:
Delete file
Delete registry value
Get common file path
Get startup folder
Persist via run registry key

Disassembly:
sub esp, 0x108
lea eax, [esp]
push ebx
push esi
push edi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edi, ecx
push closesocket
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [esp + 0x118]
test eax, eax
jne 0x100a044d
mov ecx, dword [esp + 0xc]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x100a0442
mov esi, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [esp + 0x14]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x18]
push str._s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
jne 0x100a0489
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
push closesocket
mov ecx, edi
call fcn.100a2d60
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x108
ret 4
Function at 0x100a04b0
Capabilities:
Get common file path
Get startup folder
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x100bdb21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.100a63e5
mov esi, dword [esp + 0x164]
push 0
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x160], 0
call fcn.100a64a8
test eax, eax
lea ecx, [esp + 0x14]
jne 0x100a0509
call fcn.100a645e
jmp 0x100a05c7
call fcn.100a645e
mov eax, dword [esp + 0x168]
test eax, eax
jne 0x100a0629
push esi
lea ecx, [esp + 0x10]
call fcn.100b57ea
mov ebx, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], bl
call fcn.100a63e5
push 0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 2
call fcn.100a64a8
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.100a645e
test edi, edi
je 0x100a05a6
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100a05a6
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x160]
mov eax, dword [ecx - 8]
push eax
mov eax, dword [esp + 0x14]
push esi
push ebx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100a05e2
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], bl
call fcn.100a6422
lea ecx, [esp + 0xc]
mov byte [esp + 0x158], 0
call fcn.100b577c
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.100a6422
xor eax, eax
jmp 0x100a06ad
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], bl
call fcn.100a6422
lea ecx, [esp + 0xc]
mov byte [esp + 0x158], 0
call fcn.100b577c
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.100a6422
mov eax, ebx
jmp 0x100a06ad
push 0
lea eax, [esp + 0x50]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [esp + 0x160]
lea edx, [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x54]
push str._s_s.lnk
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x4c]
push ecx
push esi
mov ecx, edi
call fcn.100a3070
test eax, eax
jne 0x100a0683
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.100a6422
xor eax, eax
jmp 0x100a06ad
lea edx, [esp + 0x4c]
mov ecx, edi
push edx
push closesocket
call fcn.100a2d60
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.100a6422
mov eax, 1
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0xc
Function at 0x100a06d0
Capabilities:
Empty the recycle bin
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
xor esi, esi
push edi
cmp eax, 3
mov edi, ecx
ja case.default.0x100a06e9
jmp dword [eax*4 + 0x100a07b8]
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je case.default.0x100a06e9
push 0
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, edi
call fcn.1009ec80
mov esi, eax
pop edi
pop esi
add esp, 0x104
ret 4
push 0
mov ecx, edi
call fcn.1009ebc0
push 0
lea edx, [esp + 0xc]
push 0x20
push edx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100a06e9
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.1009ea40
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
mov esi, eax
pop edi
neg esi
sbb esi, esi
inc esi
mov eax, esi
pop esi
add esp, 0x104
ret 4
push 1
mov ecx, edi
call fcn.1009ebc0
push 0
lea ecx, [esp + 0xc]
push 0x21
push ecx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100a06e9
lea edx, [esp + 8]
mov ecx, edi
push edx
call fcn.1009ea40
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
Function at 0x100a0c80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esp + 0x104]
dec eax
je 0x100a0cc4
dec eax
je 0x100a0cb1
mov al, byte [esp + 0x90]
and eax, 1
add esp, 0x100
ret 4
mov al, byte [esp + 0x91]
and eax, 1
add esp, 0x100
ret 4
mov al, byte [esp + 0x14]
and eax, 1
add esp, 0x100
ret 4