joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005f00
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
cmp edi, 0x11
jne 0x10005f66
mov eax, dword [esp + 0xc]
push 4
push eax
call fcn.10005b20
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x10005fb1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10005faa
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
ret 0x14
mov edx, dword [esp + 0xc]
push 2
push edx
call fcn.10005b20
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x10005fb1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edi
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10005faa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 0x14
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
ret 0x14

Function at 0x10005fc0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, dword [esp + 0xc]
push esi
cmp eax, 0x11
push 2
jne 0x10006000
mov eax, dword [esp + 0xc]
push eax
call fcn.10005b20
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x1000603a
mov ecx, dword [esp + 0xc]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
push esi
jne 0x10006034
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
ret 0xc
mov edx, dword [esp + 0xc]
push edx
call fcn.10005b20
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x1000603a
mov eax, dword [esp + 0xc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
push esi
jne 0x10006034
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
ret 0xc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
ret 0xc

Function at 0x100061a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push 2
push eax
call fcn.10005b20
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x100061bd
xor eax, eax
pop esi
ret 0x14
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
push esi
je 0x100061eb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
ret 0x14
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
ret 0x14
Function at 0x10006470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1006b6eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x38]
call fcn.10004a20
xor edi, edi
push 0xffff
mov dword [esp + 0x18], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
push edi
push edi
push 1
push edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x1c]
pop edi
mov dword [esi], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10006970
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esi + 0x34], eax
call fcn.1000dd30
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.10006b80
test eax, eax
jne 0x10006998
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x34]
push eax
call fcn.1000db00
push ebx
call fcn.10004400
add esp, 8
mov dword [esi + 0x34], eax
test eax, eax
jne 0x100069b7
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x1c]
push ecx
push edx
push eax
call fcn.10004640
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100069d5
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x10006b70
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x48], eax
test eax, eax
je 0x100069fd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x30]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push ecx
call edi
cmp eax, 0x102
jne 0x10006a58
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esi + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.100067a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10006a49
mov ecx, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x18]
push eax
push ecx
call fcn.10004640
add esp, 0xc
cmp eax, 0xffffffff
je 0x10006a58
mov edx, dword [esi + 0x30]
push 0
push edx
call edi
cmp eax, 0x102
je 0x10006a13
mov eax, dword [esi + 0x34]
push eax
call fcn.1000e010
mov ecx, dword [esi + 0x34]
push ecx
call fcn.1000db00
add esp, 8
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x10006de0
Capabilities:
Simulate ctrl alt del

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10006dfd
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x10006e1a
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x37f
push 0
push str.winsta0
call dword [sym.imp.USER32.dll_OpenWindowStationA]
mov ebp, eax
test ebp, ebp
jne 0x10006e3a
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [sym.imp.USER32.dll_SetProcessWindowStation]
push ebp
call edi
test eax, eax
jne 0x10006e4f
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x1ff
push 0
push 0
push str.Winlogon
call dword [sym.imp.USER32.dll_OpenDesktopA]
mov esi, eax
test esi, esi
jne 0x10006e71
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [sym.imp.USER32.dll_SetThreadDesktop]
push esi
call ebx
test eax, eax
jne 0x10006e86
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x10006eb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x14]
push ecx
call ebx
test eax, eax
jne 0x10006ec3
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push ebp
call dword [sym.imp.USER32.dll_CloseWindowStation]
test eax, eax
jne 0x10006ed6
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 8
ret
Function at 0x10007370
Capabilities:
Modify service

Disassembly:
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov eax, dword [ebx]
push esi
push edi
push eax
xor esi, esi
call ebp
mov edi, eax
test edi, edi
jne 0x100073b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x41f
jne 0x100073d5
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx]
push ecx
call ebp
inc esi
mov edi, eax
cmp esi, 3
jge 0x100073b4
test edi, edi
jne 0x100073b8
jmp 0x10007389
test edi, edi
je 0x100073d5
mov edx, dword [esp + 0x14]
mov eax, dword [ebx]
push 2
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x100073de
push edi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
mov esi, eax
push edi
neg esi
sbb esi, esi
neg esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x10007420
Capabilities:
Modify service

Disassembly:
push ecx
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov eax, dword [ebx]
push esi
push edi
push eax
xor edi, edi
call ebp
mov esi, eax
test esi, esi
jne 0x10007469
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x41f
jne 0x10007486
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx]
push ecx
call ebp
inc edi
mov esi, eax
cmp edi, 3
jge 0x10007465
test esi, esi
jne 0x10007469
jmp 0x1000743a
test esi, esi
je 0x10007486
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
push 2
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x10007490
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push 1
push ebx
mov dword [esp + 0x1c], ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov edi, eax
push esi
neg edi
sbb edi, edi
neg edi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x10007550
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx]
sub esp, 0x1c
push ebx
push 0xf01ff
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x10007574
pop ebx
add esp, 0x1c
ret 4
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x10007593
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
lea edx, [esp + 4]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x100075b3
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebp, dword [esp + 0x24]
mov esi, eax
cmp dword [esp + 0x14], 2
jne 0x1000762d
mov eax, 0xcccccccd
mul dword [esp + 0x28]
shr edx, 3
cmp edx, 0x3e8
jae 0x100075e6
mov edx, 0x3e8
jmp 0x100075f3
cmp edx, 0x2710
jbe 0x100075f3
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1000762d
cmp dword [esp + 0x24], ebp
jbe 0x1000761a
call edi
mov ebp, dword [esp + 0x24]
mov esi, eax
jmp 0x10007626
call edi
mov ecx, dword [esp + 0x28]
sub eax, esi
cmp eax, ecx
ja 0x1000762d
cmp dword [esp + 0x14], 2
je 0x100075cb
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp edx, 4
push ebx
sete cl
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4

Function at 0x10007650
Capabilities:
Modify service

Disassembly:
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov eax, dword [ebx]
push esi
push edi
push eax
xor esi, esi
call ebp
mov edi, eax
test edi, edi
jne 0x10007698
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x41f
jne 0x100076b5
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx]
push ecx
call ebp
inc esi
mov edi, eax
cmp esi, 3
jge 0x10007694
test edi, edi
jne 0x10007698
jmp 0x10007669
test edi, edi
je 0x100076b5
mov edx, dword [esp + 0x14]
mov eax, dword [ebx]
push 2
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x100076be
push edi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
mov esi, eax
push edi
neg esi
sbb esi, esi
neg esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x100079b0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x5004
call fcn.1001d6a0
mov ecx, dword [esp + 0x500c]
lea eax, [esp + 0x5010]
push edi
push eax
push ecx
lea edx, [esp + 0x10]
push 0x5000
push edx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea eax, [esp + 4]
lea edi, [esp + 8]
or ecx, 0xffffffff
push 0
push eax
xor eax, eax
mov edx, dword [esp + 0x5014]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
add esp, 0x5004
ret

Function at 0x10007c30
Capabilities:
Modify service

Disassembly:
push ecx
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov ebx, eax
test ebx, ebx
jne 0x10007c5a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x14]
push 2
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x10007c76
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov ecx, dword [str.Creates_a_connection_to_a_remote_network_whenever_a_program_references_a_remote_DNS_or_NetBIOS_name_or_address.]
lea edx, [esp + 0xc]
push edx
push 1
push edi
mov dword [esp + 0x18], ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x10007c9a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10008100
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push ebx
push esi
mov esi, dword [esp + 0xa8]
push edi
push 0x1008b288
push esi
call fcn.100079b0
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x14]
add esp, 8
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x9c
call edi
mov ebx, eax
test ebx, ebx
jne 0x10008165
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call edi
test eax, eax
jne 0x10008165
pop edi
pop esi
pop ebx
add esp, 0x9c
ret 4
mov eax, dword [esp + 0x1c]
sub eax, 2
jne 0x100082af
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x1000818d
push str.Microsoft_Windows_Vista
push esi
call fcn.100079b0
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 5
jne 0x100081e8
cmp dword [esp + 0x14], 2
jne 0x100081b0
push str.Microsoft_Windows_2003
push esi
call fcn.100079b0
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 5
jne 0x100081e8
cmp dword [esp + 0x14], 1
jne 0x100081ce
push str.Microsoft_Windows_XP
push esi
call fcn.100079b0
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 5
jne 0x100081e8
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x100081ff
push str.Microsoft_Windows_2000
push esi
call fcn.100079b0
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 4
ja 0x100081ff
push str.Microsoft_Windows_NT
push esi
call fcn.100079b0
mov eax, dword [esp + 0x18]
add esp, 8
test ebx, ebx
je 0x100082af
mov cl, byte [esp + 0xa6]
cmp cl, 1
jne 0x1000823c
cmp eax, 4
jne 0x10008222
push str.Workstation_4.0
jmp 0x100082a6
mov eax, dword [esp + 0xa4]
test ah, 2
je 0x10008235
push str.Home_Edition
jmp 0x100082a6
push str.Professional
jmp 0x100082a6
cmp cl, 3
jne 0x100082af
cmp eax, 5
jne 0x100082af
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x10008280
mov eax, dword [esp + 0xa4]
test al, 0x80
je 0x10008261
push str.Datacenter_Edition
jmp 0x100082a6
test al, 2
je 0x1000826c
push str.Enterprise_Edition
jmp 0x100082a6
cmp ax, 0x400
jne 0x10008279
push str.Web_Edition
jmp 0x100082a6
push str.Standard_Edition
jmp 0x100082a6
test eax, eax
jne 0x100082af
mov al, byte [esp + 0xa4]
test al, 0x80
je 0x10008296
push str.Datacenter_Server
jmp 0x100082a6
test al, 2
je 0x100082a1
push str.Advanced_Server
jmp 0x100082a6
push str.Server
push esi
call fcn.100079b0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x9c
ret 4
Function at 0x100082c0
Capabilities:
Get common file path
Get hostname
Get session user name

Disassembly:
sub esp, 0x418
push esi
push edi
mov edi, dword [esp + 0x424]
push 0x1008b288
push edi
call fcn.100079b0
add esp, 8
lea eax, [esp + 8]
lea ecx, [esp + 0x20]
mov esi, 0x400
push eax
push ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1000830d
lea edx, [esp + 0x20]
push edx
push str.Computer_name:___s_r_n
push edi
call fcn.100079b0
add esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10008338
lea edx, [esp + 0x20]
push edx
push str.User_name:___s_r_n
push edi
call fcn.100079b0
add esp, 0xc
lea eax, [esp + 0x20]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000835f
lea ecx, [esp + 0x20]
push ecx
push str.System_directory:___s_r_n
push edi
call fcn.100079b0
add esp, 0xc
lea edx, [esp + 0x20]
push 0x105
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10008386
lea eax, [esp + 0x20]
push eax
push str.Windows_directory:___s_r_n
push edi
call fcn.100079b0
add esp, 0xc
push str.shdocvw.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100083f4
push str.DllGetVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100083ed
xor ecx, ecx
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
push edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
call eax
test eax, eax
jl 0x100083ed
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
push str.Internet_Explorer_Version:__ld._ld__Build_Number:__ld_r_n
push edi
call fcn.100079b0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
add esp, 0x418
ret 4

Function at 0x10008540
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
push 0x1008b288
push esi
call fcn.100079b0
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x18]
add esp, 8
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 0
shr ecx, 0x14
mov dword [esp + 8], ecx
sub esp, 8
fild qword [esp + 0x10]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
call sub.MSVCRT.dll__ftol
push eax
push str.Installed_RAM:__ldMB_t
push esi
call fcn.100079b0
mov edx, dword [esp + 0x30]
shr edx, 0xa
push edx
push str.Memory_Available:__ldKB_t
push esi
call fcn.100079b0
mov eax, dword [esp + 0x34]
push eax
push str.Precent_of_used_RAM:__ld___r_n
push esi
call fcn.100079b0
add esp, 0x2c
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x10008ab0
Capabilities:
Check os version
Get hostname
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x1006b7cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe8]
lea eax, [esp + 0x10]
push edi
push eax
mov ebp, ecx
push esi
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10008c2e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esi + 0x214]
push edi
mov ecx, ebp
call fcn.10008e70
test eax, eax
jne 0x10008b15
push 0x2710
call ebx
jmp 0x10008b00
mov ebx, 8
xor eax, eax
mov ecx, ebx
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x28]
xor ebp, ebp
shr edx, 0x14
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
fild qword [esp + 0x18]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x10]
mov dword [esi + 0x208], eax
call fcn.10001760
mov eax, dword [esp + 0x10]
mov ecx, 0x27
mov dword [esi + 0x20c], eax
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 0x9c
call edi
cmp eax, ebp
jne 0x10008bba
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0x94
push edx
call edi
test eax, eax
jne 0x10008bba
mov dword [esi + 0x210], ebx
jmp 0x10008c15
mov eax, dword [esp + 0x50]
sub eax, 2
je 0x10008bcb
mov dword [esi + 0x210], ebx
jmp 0x10008c15
mov eax, dword [esp + 0x44]
cmp eax, 6
jne 0x10008bdc
mov dword [esi + 0x210], ebp
jmp 0x10008c15
cmp eax, 5
jne 0x10008c15
mov eax, dword [esp + 0x48]
cmp eax, 2
jne 0x10008bf6
mov dword [esi + 0x210], 1
jmp 0x10008c15
cmp eax, 1
jne 0x10008c07
mov dword [esi + 0x210], 2
jmp 0x10008c15
cmp eax, ebp
jne 0x10008c15
mov dword [esi + 0x210], 3
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], 0xffffffff
call fcn.100017b0
mov eax, 1
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 4

Function at 0x10008d70
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10008d91
add esp, 0x14
ret 4
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10008ddd
xor eax, eax
add esp, 0x14
ret 4
mov ecx, dword [esp + 0x18]
push 0
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret 4