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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x20a0
call fcn.180069af0
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x2090], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x80], rcx
xor ebp, ebp
mov dword [rsp + 0x44], ebp
lea ecx, [rbp + 8]
call fcn.180054d48
cmp rax, rbp
je 0x18000577b
mov qword [rax], rbx
jmp 0x18000577e
mov rax, rbp
mov qword [rbx], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x28], rbp
mov dword [rsp + 0x44], 1
lea r12, vtable.RegHandleHolder.0
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
mov rdi, qword [rsp + 0x50]
cmp rdi, rbp
je 0x1800058d4
mov esi, ebp
mov word [rsp + 0x90], bp
xor edx, edx
mov r8d, 0x1ffe
lea rcx, [rsp + 0x92]
call fcn.180055bd0
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x1800058cf
inc esi
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbp
mov word [rsp + 0x60], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.180007250
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1800062d8
nop
cmp qword [rsp + 0x78], 8
jb 0x18000588a
mov rcx, qword [rsp + 0x60]
call fcn.180054958
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
je 0x18000582a
mov rdi, qword [rsp + 0x50]
jmp 0x1800058d4
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x48], r12
cmp rdi, rbp
je 0x1800058e7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x2090]
xor rcx, rsp
call fcn.180055580
add rsp, 0x20a0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000590c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
and qword [r11 - 0x28], 0
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
mov edi, r9d
mov rsi, r8
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x180005994
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x50]
mov r9d, edi
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1800059e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp rdx, rbx
je 0x180005a1d
cmp r8, rbx
je 0x180005a1d
lea rax, [r11 + 0x10]
lea r9, [r11 + 0x20]
mov dword [rsp + 0x58], ebx
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], rbx
mov dword [rsp + 0x48], ebx
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, ebx
sete al
jmp 0x180005a1f
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x180005a54
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180005ae9
lea r8d, [rdi + 0x10]
lea rdx, str.gxdte
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x180005aa4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180005acd
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x180005ac8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x180005acd
mov edi, 1
test rsi, rsi
je 0x180005adb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180005ae9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x180005bac
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180005c2a
lea rdx, str.gxdte
mov r8d, 0x10000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x180005bfe
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180005c0e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, eax
test rdi, rdi
je 0x180005c1c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180005c2a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180005c3c
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edi, edi
xor edx, edx
xor ecx, ecx
lea r8d, [rdi + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180005cde
lea r8d, [rdi + 4]
lea rdx, str.gxdte
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x180005c8a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180005cc2
and dword [rsp + 0x20], edi
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x18]
call fcn.180055bd0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180005cc2
cmp dword [rsp + 0x24], 4
mov eax, 1
cmove edi, eax
test rsi, rsi
je 0x180005cd0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180005cde
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret

Function at 0x180005cf0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor esi, esi
mov rdi, rdx
lea r8, [rsp + 0x20]
lea edx, [rsi + 0x23]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov ebx, esi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
jl 0x180005d76
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], si
call fcn.180055bd0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, esi
je 0x180005d76
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ebx, [rsi + 1]
mov rcx, qword [rsp + 0x20]
cmp rcx, rsi
je 0x180005d86
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180055580
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000d60c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
mov dil, cl
mov byte [rsp + 0x20], cl
lea rcx, [rsp + 0x20]
mov rsi, rdx
xor ebx, ebx
mov byte [rsp + 0x21], 0x3a
mov byte [rsp + 0x22], 0x5c
mov qword [rsp + 0x23], rax
mov dword [rsp + 0x2b], eax
mov byte [rsp + 0x2f], al
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea ebp, [rbx + 1]
cmp eax, 2
je 0x18000d664
cmp eax, 3
jne 0x18000d677
mov cl, dil
call fcn.1800030b8
cmp eax, 0xffffffff
je 0x18000d683
cmp eax, 7
cmove ebx, ebp
test ebx, ebx
mov al, bpl
setne cl
mov byte [rsi], cl
jmp 0x18000d685
xor al, al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002487c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
lea r9, str.attachCachePath
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.18000558c
nop
xor edi, edi
cmp qword [rsp + 0x50], rdi
jbe 0x18002493c
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x18002490a
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, edi
je 0x180024920
mov rcx, rbx
call fcn.180004bf4
nop
cmp qword [rsp + 0x58], 8
jb 0x180024932
mov rcx, qword [rsp + 0x40]
call fcn.180054958
mov eax, 1
jmp 0x180024a1b
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.180055bd0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov ecx, 0x23
call fcn.180005cf0
cmp eax, edi
jne 0x180024985
cmp qword [rsp + 0x58], 8
jb 0x18002497e
mov rcx, qword [rsp + 0x40]
call fcn.180054958
xor eax, eax
jmp 0x180024a1b
lea rdx, str.PodlpRptCache
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x1800249b3
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, edi
je 0x1800249cc
lea rcx, [rsp + 0x60]
call fcn.180004bf4
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x60]
lea r8, str.attachCachePath
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rcx, 0xffffffff80000002
call fcn.180005488
nop
cmp qword [rsp + 0x58], 8
jb 0x180024a16
mov rcx, qword [rsp + 0x40]
call fcn.180054958
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x180025614
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x180
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov esi, r9d
mov rbx, r8
mov r12, rdx
mov rbp, rcx
xor edi, edi
cmp r8, rdi
je 0x180025685
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
je 0x180025682
mov rcx, rbx
call fcn.180001f84
cmp rax, 0xc800000
jbe 0x180025685
cmp esi, edi
je 0x18002567d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, rdi
jmp 0x180025685
mov rbx, rdi
mov rdx, r12
lea rcx, [rsp + 0xa0]
call fcn.180015944
nop
mov r9d, esi
mov r8, rbx
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.180024a3c
cmp eax, edi
jne 0x1800256b5
jmp 0x180025823
mov word [rsp + 0xf0], di
xor edx, edx
lea r8d, [rdx + 0x7e]
lea rcx, [rsp + 0xf2]
call fcn.180055bd0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r11d, dword [0x1800a0900]
mov ebx, r11d
inc r11d
mov dword [0x1800a0900], r11d
call fcn.180002f5c
movzx ecx, word [rsp + 0x6c]
movzx edx, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
movzx r10d, word [rsp + 0x66]
movzx r11d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r8, str._04d__02d__02d__02d:_02d:_02d__d__08x
mov edx, 0x40
lea rcx, [rsp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xa0]
call fcn.180017458
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800014d4
cmp qword [rax + 0x20], 8
jb 0x18002577f
mov r9, qword [rax + 8]
jmp 0x180025783
lea r9, [rax + 8]
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0xf0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
mov rcx, 0xffffffff80000002
call fcn.180005488
mov ebx, eax
cmp qword [rsp + 0x90], 8
jb 0x1800257b9
mov rcx, qword [rsp + 0x78]
call fcn.180054958
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rdi
mov word [rsp + 0x78], di
cmp qword [rsp + 0xe8], 0x10
jb 0x1800257ea
mov rcx, qword [rsp + 0xd0]
call fcn.180054958
cmp ebx, edi
je 0x1800257fc
lea rcx, str.GlobalD36B0A68_AE78_4fa2_BD9C_05FD95224F52
call fcn.18002467c
jmp 0x180025821
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0xf0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
lea rcx, str.CachedReport_write_register_failed:__s._s__d
call fcn.180026784
nop
mov edi, ebx
lea rcx, [rsp + 0xa0]
call fcn.180015af0
mov eax, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180055580
add rsp, 0x180
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002691c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov rdi, r8
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x180026968
mov edx, dword [rsp + 0x58]
lea rcx, str.thread__d_created:__s
mov r8, rdi
call fcn.1800265ec
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180026978
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0xc0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movsxd rbp, r9d
mov rsi, r8
mov rdi, rdx
mov ebx, ecx
test rdx, rdx
jne 0x1800269c4
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180026bfa
mov r13d, 2
cmp ecx, 1
je 0x1800269e5
cmp ecx, r13d
je 0x1800269e5
lea ecx, [r13 + 0x55]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180026bfa
cmp qword [0x18009d420], 0xffffffffffffffff
jne 0x180026a7a
xor r8d, r8d
mov edx, r13d
mov ecx, r13d
call sub.WS2_32.dll_socket
mov qword [0x18009d420], rax
cmp rax, 0xffffffffffffffff
je 0x180026a5d
xor eax, eax
mov dword [rsp + 0x30], eax
lea rdx, str.127.0.0.2
lea rcx, str.127.0.0.3
cmp ebx, 1
cmove rcx, rdx
test rcx, rcx
je 0x180026a3c
lea rdx, [rsp + 0x30]
call fcn.18000332c
mov eax, dword [rsp + 0x30]
mov dword [0x1800a0e9c], eax
mov word [0x1800a0e98], r13w
mov ecx, 0x32e9
call sub.WS2_32.dll_htons
mov word [0x1800a0e9a], ax
jmp 0x180026a69
lea rcx, str.PpSendExternalMessage:_create_socket_failed
call fcn.180032454
cmp qword [0x18009d420], 0xffffffffffffffff
jne 0x180026a7a
xor eax, eax
jmp 0x180026bfa
and dword [rsp + 0x68], 0xfffffe00
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
and qword [rsp + 0x80], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180015854
mov rbx, rax
lea rdx, str.message
lea rcx, [rsp + 0x60]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
lea r11, [rsp + 0x38]
mov qword [rsp + 0x30], r11
lea rdx, [0x18007ceb9]
test rsi, rsi
cmovne rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180015854
mov rbx, rax
lea rdx, str.content
lea rcx, [rsp + 0x60]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
lea r11, [rsp + 0x38]
mov qword [rsp + 0x30], r11
mov byte [rsp + 0x40], 1
btr dword [rsp + 0x40], 8
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
mov qword [rsp + 0x38], rbp
lea rdx, str.broadcast
lea rcx, [rsp + 0x60]
call fcn.180016e68
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.180015b88
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.180017458
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rdx, qword [rsp + 0x98]
mov r8d, dword [rsp + 0xa8]
inc r8d
mov dword [rsp + 0x28], sendto
lea rax, [0x1800a0e98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rcx, qword [0x18009d420]
call sub.WS2_32.dll_sendto
xor ebx, ebx
test eax, eax
setg bl
cmp qword [rsp + 0xb0], 0x10
jb 0x180026bd1
mov rcx, qword [rsp + 0x98]
call fcn.180054958
mov qword [rsp + 0xb0], sendto
and qword [rsp + 0xa8], 0
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x60]
call fcn.180015af0
mov eax, ebx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.180055580
add rsp, 0xc0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180029d00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.180055bd0
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logsignored
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.180007250
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x180029e88
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov esi, edx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov word [rsp + 0x60], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.180055bd0
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, 1
jne 0x180029f02
lea rdx, str.projonepodlp
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x180029f19
cmp esi, 2
jne 0x180029f66
lea rdx, str.projonepotcm
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp rdi, rbp
je 0x180029f2c
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180007250
mov rax, rbx
jmp 0x18002a00c
cmp esi, ebp
jne 0x180029fe7
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x30]
call fcn.180029e88
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebp
je 0x180029fbf
mov r8, rdi
mov edx, 2
mov rcx, rbx
call fcn.180029e88
nop
cmp qword [rsp + 0x50], 8
jb 0x180029fba
mov rcx, qword [rsp + 0x38]
call fcn.180054958
mov rax, rbx
jmp 0x18002a00c
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.180029e88
nop
cmp qword [rsp + 0x50], 8
jb 0x180029fe2
mov rcx, qword [rsp + 0x38]
call fcn.180054958
mov rax, rbx
jmp 0x18002a00c
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor r8d, r8d
lea rdx, [0x18007c198]
mov rcx, rbx
call fcn.180007250
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002bc34
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
cmp qword [rcx + 0x20], 0x10
jb 0x18002bc45
mov r8, qword [rcx + 8]
jmp 0x18002bc49
lea r8, [rcx + 8]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpkeyrule_secClass_
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
xor ecx, ecx
cmp eax, ecx
jne 0x18002bc8f
cmp dword [rsp + 0x48], 4
jne 0x18002bc8f
mov ecx, dword [rsp + 0x50]
mov eax, ecx
add rsp, 0x38
ret

Function at 0x18002ce74
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x18002cecf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18002cebb
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x18002cf7a
call fcn.180002f5c
lea rdx, str._s._08x
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rbx
call fcn.180005248
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
cmovae rdx, qword [rsp + 0x28]
mov r8d, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18002cf66
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x28]
test eax, eax
je 0x18002cf4e
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call fcn.180002920
cmp qword [rsp + 0x40], 8
jb 0x18002cf47
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov eax, 1
jmp 0x18002cf7a
cmp qword [rsp + 0x40], 8
mov r8d, edi
mov rdx, rbx
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp qword [rsp + 0x40], 8
jb 0x18002cf78
mov rcx, qword [rsp + 0x28]
call fcn.180054958
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180055580
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18002cfd8
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
xor esi, esi
cmp rcx, rsi
je 0x18002d153
xor edx, edx
call fcn.18002dbbc
cmp eax, esi
je 0x18002d153
mov word [rsp + 0x70], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.180055bd0
call fcn.180002f5c
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, str._s._08x
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, rdi
call fcn.18002cf90
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.18002cd9c
cmp eax, esi
jne 0x18002d144
lea rcx, [rsp + 0x30]
call fcn.18002c358
nop
mov rcx, qword [rsp + 0x50]
sub rcx, qword [rsp + 0x48]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x18002d0c5
lea rcx, [rsp + 0x30]
call fcn.18002fd2c
mov rcx, qword [rsp + 0x30]
call fcn.180054958
jmp 0x18002d144
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1800358c0
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.18002fd2c
mov rcx, qword [rsp + 0x30]
call fcn.180054958
cmp ebx, esi
je 0x18002d144
mov ebx, esi
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x18002d120
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18002ce74
jmp 0x18002d125
mov eax, 1
cmp eax, esi
jne 0x18002d13d
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jl 0x18002d0f3
jmp 0x18002d144
mov eax, 1
jmp 0x18002d155
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x18002d155
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180055580
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret