joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009ef00
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x480
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rdi, r9
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], r9
xor r14d, r14d
mov esi, r14d
test rdx, rdx
je 0x18009efad
cmp word [rdx], r14w
je 0x18009efad
test r8, r8
je 0x18009ef68
cmp word [r8], r14w
je 0x18009ef68
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x18009efad
jmp 0x18009efa8
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x60]
call fcn.1800c61d0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov rdx, rbx
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x18009efad
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18009f012
mov eax, dword [rbp + 0x40]
test eax, eax
js 0x18009f012
lea rcx, vtable._BaseModule::CAutoLocker.0
mov qword [rsp + 0x48], rcx
lea rbx, [rbp + 0x58]
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x18009efe2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, dword [rbp + 0x40]
test eax, eax
js 0x18009efff
mov dword [rsp + 0x30], esi
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18009f047
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x10]
nop
test rbx, rbx
je 0x18009f00e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18009f027
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180096b80
add rsp, 0x480
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180066d1c
nop
int3

Function at 0x1800a0a60
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov r9, rcx
test edx, edx
je 0x1800a0b44
mov r10d, edx
movzx edx, byte [r9]
lea r9, [r9 + 1]
xor dl, al
movzx eax, dl
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
movzx r8d, al
and dl, 1
cmove r8d, ecx
movzx eax, r8b
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
movzx edx, al
and r8b, 1
cmove edx, ecx
movzx eax, dl
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
movzx r8d, al
and dl, 1
cmove r8d, ecx
movzx eax, r8b
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
movzx edx, al
and r8b, 1
cmove edx, ecx
movzx eax, dl
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
movzx r8d, al
and dl, 1
cmove r8d, ecx
movzx eax, r8b
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
movzx edx, al
and r8b, 1
cmove edx, ecx
movzx eax, dl
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
movzx r8d, al
and dl, 1
cmove r8d, ecx
movzx eax, r8b
shr al, 1
movzx ecx, al
movzx eax, cl
xor al, 0x8c
and r8b, 1
movzx eax, al
cmove eax, ecx
sub r10, 1
jne 0x1800a0a70
ret
Function at 0x1800a2600
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rsp + 0x130], rbx
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov r15, rcx
xor esi, esi
mov dword [rdx], esi
mov qword [rbp - 0x71], rsi
mov dword [rbp - 0x69], esi
mov qword [rbp - 0x61], rsi
mov r9d, 0x201
mov r8, qword [0x1801548d0]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x71]
call fcn.180041b90
test eax, eax
jne 0x1800a27c2
xor edx, edx
lea r8d, [rsi + 0x64]
lea rcx, [rbp - 0x49]
call fcn.1800c61d0
mov dword [rsp + 0x30], 0x64
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [0x18011914c]
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800a27c2
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x1800a27c2
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1800a26e8
test cl, 1
jne 0x1800a27c2
mov eax, ecx
shr rax, 1
cmp word [rbp + rax*2 - 0x4b], si
je 0x1800a26ec
jmp 0x1800a27c2
mov word [rbp - 0x49], si
shr ecx, 1
cmp ecx, 0x2d
jne 0x1800a27c2
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x1800a27f6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x79], rax
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x79]
call fcn.1800a0630
mov dword [rsp + 0x34], esi
lea r8, [rsp + 0x34]
lea rdx, [0x180119154]
lea rcx, [rbp + 0xb]
call fcn.1800a2890
mov edx, 0x2a
mov rbx, qword [rbp - 0x79]
mov rcx, rbx
call fcn.1800a0a60
movzx ecx, al
cmp dword [rsp + 0x34], ecx
jne 0x1800a27a3
lea rcx, [rbp - 0x49]
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800a2764
mov r8d, eax
lea rdx, [rbp - 0x49]
mov rcx, r15
call fcn.18000b4d0
mov r8d, dword [0x1801548e0]
mov rdx, qword [str.ffffffff]
lea rcx, [rbp - 0x49]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
mov esi, 1
test eax, eax
jne 0x1800a27a1
mov dword [r14], esi
jmp 0x1800a27aa
mov rdi, 0xffffffffffffffff
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1800a27c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x1800a27d1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180096b80
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.180009b50
int3
Function at 0x1800a5690
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x550
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je 0x1800a5850
cmp ebx, 0x20
jb 0x1800a5850
xor edx, edx
mov dword [rsp + 0x34], 1
mov r8d, 0x400
mov dword [rsp + 0x30], 0x400
lea rcx, [rsp + 0x140]
call fcn.1800c61d0
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x140]
lea r8, str.mid64
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWow6432NodeComMaster
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1800a5850
lea rcx, [rsp + 0x140]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1800a5740
cmp rax, 0x40
jne 0x1800a5850
mov edx, 0x80
lea r9, [rsp + 0x140]
lea rax, [rsp + 0x40]
mov r8d, edx
sub r9, rax
lea rcx, [rsp + 0x40]
lea rax, [r8 - 0x60]
test rax, rax
je 0x1800a578d
movzx eax, byte [r9 + rcx]
test al, al
je 0x1800a578d
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x1800a5770
test r8, r8
lea rax, [rcx - 1]
lea r9, [rsp + 0x160]
cmovne rax, rcx
lea rcx, [rsp + 0xc0]
mov byte [rax], 0
lea rax, [rsp + 0xc0]
sub r9, rax
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7e]
test rax, rax
je 0x1800a57e0
movzx eax, byte [r9 + rcx]
test al, al
je 0x1800a57e0
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1800a57c0
test rdx, rdx
lea rax, [rcx - 1]
mov r8d, 0x400
cmovne rax, rcx
xor edx, edx
lea rcx, [rsp + 0x140]
mov byte [rax], 0
call fcn.1800c61d0
mov r8d, 0x400
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.1800a5880
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1800a5850
mov rdx, rbx
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1800a6830
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x1800a5852
xor eax, eax
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.180096b80
mov rbx, qword [rsp + 0x570]
add rsp, 0x550
pop rdi
ret
Function at 0x1800a6290
Capabilities:
Get storage device properties

Disassembly:
push rbp
push r14
mov eax, 0x2c88
call fcn.180096b10
sub rsp, rax
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rsp + 0x2c60], rax
mov r14d, edx
mov rbp, rcx
test rcx, rcx
je 0x1800a64b9
test edx, edx
je 0x1800a64b9
mov qword [rsp + 0x2ca8], rbx
mov qword [rsp + 0x2cb0], rsi
mov qword [rsp + 0x2cb8], rdi
mov qword [rsp + 0x2c80], r12
mov qword [rsp + 0x2c78], r13
mov r13d, 0x80070057
mov qword [rsp + 0x2c70], r15
xor r15d, r15d
mov ebx, r15d
mov edi, r15d
lea r12d, [r15 + 1]
nop dword [rax]
mov r9d, edi
lea r8, str..PhysicalDrive_d
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.180096410
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800a647a
xor eax, eax
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x550]
xor edx, edx
mov qword [rsp + 0x4c], rax
mov r8d, 0x2710
mov dword [rsp + 0x48], r15d
call fcn.1800c61d0
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
lea rax, [rsp + 0x550]
mov dword [rsp + 0x28], 0x2710
mov r9d, 0xc
mov qword [rsp + 0x20], rax
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1800a646d
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x3e8
call fcn.1800c61d0
mov edx, dword [rsp + 0x568]
lea r9, [rsp + 0x160]
mov r8d, r12d
lea rcx, [rsp + 0x550]
call fcn.1800a7230
lea rax, [r14 - 1]
mov ecx, r15d
cmp rax, 0x7ffffffe
mov rdx, r14
cmova ecx, r13d
test ecx, ecx
js 0x1800a6469
mov rax, rbp
test r14d, r14d
je 0x1800a6450
mov r8d, 0x7ffffffe
lea r9, [rsp + 0x160]
sub r8, rdx
sub r9, rbp
lea rcx, [r8 + rdx]
test rcx, rcx
je 0x1800a6450
movzx ecx, byte [r9 + rax]
test cl, cl
je 0x1800a6450
mov byte [rax], cl
inc rax
sub rdx, r12
jne 0x1800a6434
test rdx, rdx
lea rcx, [rax - 1]
cmovne rcx, rax
mov byte [rcx], r15b
mov ecx, 0x8007007a
cmovne ecx, r15d
test ecx, ecx
cmove ebx, r12d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1800a6485
inc edi
cmp edi, 0x10
jl 0x1800a6310
mov r15, qword [rsp + 0x2c70]
mov eax, ebx
mov rbx, qword [rsp + 0x2ca8]
mov r13, qword [rsp + 0x2c78]
mov r12, qword [rsp + 0x2c80]
mov rdi, qword [rsp + 0x2cb8]
mov rsi, qword [rsp + 0x2cb0]
jmp 0x1800a64bb
xor eax, eax
mov rcx, qword [rsp + 0x2c60]
xor rcx, rsp
call fcn.180096b80
add rsp, 0x2c88
pop r14
pop rbp
ret
Function at 0x1800a64e0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
test rcx, rcx
je 0x1800a65ae
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1800c61d0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1800a65ae
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x1800a6540
mov ecx, 0x103
mov eax, eax
sub rcx, rdx
cmp rax, rcx
jae 0x1800a65ae
lea rcx, [rsp + 0x20]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1800a6562
mov eax, dword [0x180119050]
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1800a6580
xor edx, edx
nop dword [rax]
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1800a6590
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1800a65b0
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180096b80
add rsp, 0x240
pop rbx
ret
Function at 0x1800a65d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2e0
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x80
call fcn.1800c61d0
mov r8d, 0x80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1800a5880
mov edx, 0x104
lea rax, [rsp + 0xc0]
mov r9, rdi
lea rcx, [rsp + 0xc0]
mov r8d, edx
sub r9, rax
nop word [rax + rax]
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x1800a6660
movzx eax, byte [r9 + rcx]
test al, al
je 0x1800a6660
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x1800a6640
lea rax, [rcx - 1]
test r8, r8
cmovne rax, rcx
mov rcx, rdx
mov byte [rax], 0
lea rax, [rsp + 0xc0]
nop dword [rax]
cmp byte [rax], 0
je 0x1800a668e
inc rax
sub rcx, 1
jne 0x1800a6680
xor r8d, r8d
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmovne r8, rax
je 0x1800a66ef
lea rcx, [rsp + 0xc0]
lea rcx, [rcx + r8]
sub rdx, r8
je 0x1800a66e1
lea rax, [r8 + 0x7ffffefb]
add rax, rdx
lea r9, [rsp + 0x40]
sub r9, rcx
test rax, rax
je 0x1800a66e1
movzx r8d, byte [r9 + rcx]
test r8b, r8b
je 0x1800a66e1
mov byte [rcx], r8b
dec rax
inc rcx
sub rdx, 1
jne 0x1800a66c3
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
xor edx, edx
mov dword [rsp + 0x34], 1
mov r8d, 0x100
lea rcx, [rsp + 0x1d0]
call fcn.1800c61d0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x1d0]
mov rcx, 0xffffffff80000002
lea r8, str.mid64
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWow6432NodeComMaster
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov rbx, 0xffffffffffffffff
test eax, eax
jne 0x1800a67bd
lea rax, [rsp + 0x1d0]
sub rdi, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x1800a6773
inc rax
test ecx, ecx
jne 0x1800a6761
test edx, edx
je 0x1800a67bd
lea rcx, [rsp + 0x1d0]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1800a6782
mov dword [rsp + 0x28], eax
lea r8, str.mid64_old
lea rax, [rsp + 0x1d0]
mov r9d, 1
lea rdx, str.SoftwareWow6432NodeComMaster
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea rax, [rsp + 0xc0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800a67c5
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x28], ebx
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, str.mid64
mov rcx, 0xffffffff80000002
lea rdx, str.SoftwareWow6432NodeComMaster
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.180096b80
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2e0
pop rdi
ret
Function at 0x1800a9b14
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1800a9b27
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1800aa134
lea rdx, [0x18014e210]
lea rcx, [rsp + 0x20]
call fcn.1800c5b90
int3

Function at 0x1800b43a0
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x180166d20]
xor edx, edx
jmp fcn.1800a9b14

Function at 0x1800b4d38
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x180166d20]
jmp fcn.1800a9b14

Function at 0x1800c0914
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1800c09d0]
mov r9, qword [r9 + 8]
jmp fcn.1800b1d58

Function at 0x1800c09a8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1800c09e0]
mov r9, qword [r9 + 8]
jmp fcn.1800b1d58
Function at 0x1800c4560
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov r14, rdx
mov rsi, rcx
lea rbp, [rcx + 0x28]
xor edx, edx
mov r8d, 0x20000
mov rcx, rbp
call fcn.1800c61d0
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea r9, [rsi + 0x20028]
mov r8d, 0x20000
mov rdx, rbp
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1800c473e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
call fcn.18006eac0
mov r8, qword [rax]
lea edx, [r13 + 1]
mov rcx, rax
call qword [r8 + 0x10]
cmp al, 1
jne 0x1800c4723
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r13b
lea r8d, [r13 + 0x61]
lea rdx, str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
lea rcx, [rsp + 0x58]
call fcn.18000c340
nop
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], r13b
lea r8d, [r13 + 3]
lea rdx, [0x1800fffb0]
lea rcx, [rsp + 0x38]
call fcn.18000c340
nop
call fcn.18006eac0
mov rdi, rax
lea r9d, [r13 + 0x58]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.180008550
mov rbx, rax
lea rdx, str.RecvData_failed__error_code_:
mov rcx, rax
call fcn.180009410
mov edx, r15d
mov rcx, rbx
call fcn.180014ff0
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rsp + 0x80]
call fcn.180009580
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1800c46d7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c46d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c4791
call fcn.1800965cc
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1800c4723
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c471e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c478b
call fcn.1800965cc
mov dword [rsi + 0x18], 6
cmp r15d, 0xe8
jne 0x1800c473e
mov dword [rsi + 0x18], 7
mov qword [rsi + 0x20], r13
lea rcx, [r14 + 8]
mov rax, qword [rcx]
mov qword [rcx + 8], rax
mov dword [r14 + 0x20], r13d
movsxd r9, dword [rsi + 0x20028]
add r9, rbp
mov rdx, qword [rcx + 8]
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov r8, rbp
call fcn.180081630
mov dword [r14 + 0x20], r13d
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800c9338
nop
call fcn.1800c9338
nop
int3
Function at 0x1800c47a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx + 0x20], 0
jne 0x1800c47eb
mov dword [rcx + 0x18], 8
jmp 0x1800c49f2
mov rax, qword [rdx + 0x10]
sub rax, qword [rdx + 8]
movsxd rdi, eax
lea rcx, [rdi + 1]
call fcn.180096ba4
mov r14, rax
xor r15d, r15d
test rax, rax
je 0x1800c481d
lea r8, [rdi + 1]
xor edx, edx
mov rcx, rax
call fcn.1800c61d0
mov byte [r14], r15b
jmp 0x1800c4820
mov r14, r15
mov dword [rsp + 0x160], r15d
mov rdx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
sub rax, rdx
movsxd r8, eax
mov rcx, r14
call fcn.1800c5d60
mov r8, qword [rbx + 0x10]
sub r8, qword [rbx + 8]
inc r8d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x160]
mov rdx, r14
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800c49e1
mov dword [rsi + 0x18], 5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.18006eac0
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x10]
cmp al, 1
jne 0x1800c49cc
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r15b
mov r8d, 0x61
lea rdx, str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
lea rcx, [rsp + 0x50]
call fcn.18000c340
nop
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov r8d, 3
lea rdx, [0x1800fffb0]
lea rcx, [rsp + 0x30]
call fcn.18000c340
nop
call fcn.18006eac0
mov rdi, rax
mov r9d, 0x48
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180008550
mov rbx, rax
lea rdx, str.send_failed__error_code_:
mov rcx, rax
call fcn.180009410
mov edx, ebp
mov rcx, rbx
call fcn.180014ff0
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rsp + 0x78]
call fcn.180009580
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800c4980
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c497b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c4a1f
call fcn.1800965cc
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800c49cc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c49c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c4a19
call fcn.1800965cc
cmp ebp, 0xe8
jne 0x1800c49e5
mov dword [rsi + 0x18], 7
mov qword [rsi + 0x20], r15
jmp 0x1800c49e5
mov dword [rsi + 0x18], r15d
mov edx, 1
mov rcx, r14
call fcn.1800965cc
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.180096b80
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1800c9338
nop
call fcn.1800c9338
nop
int3
Function at 0x1800d7028
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800d7020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800c94d4
or eax, 0xffffffff
jmp 0x1800d7022
xor eax, eax
add rsp, 0x28
ret
jmp 0x1800d7000

Function at 0x1800e702c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1800e6ecc
call fcn.1800c9544
mov dword [rax], 0x16
call fcn.1800c9318
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800e6eb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1800e6eb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1800e6efe
lock or dword [rax + 0x14], 0x10
jmp 0x1800e6eb4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1800e6f1b
mov rcx, qword [rbp + 0x10]
call fcn.1800e7cd0
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1800e19e0
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800e7750
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1800e6f72
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1800e6eb4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1800e6fde
mov rcx, qword [rbp + 0x10]
call fcn.1800e19e0
cmp eax, 0xffffffff
je 0x1800e6fc5
mov rcx, qword [rbp + 0x10]
call fcn.1800e19e0
cmp eax, 0xfffffffe
je 0x1800e6fc5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1800e19e0
movsxd rdi, eax
lea rsi, [0x180167560]
mov rcx, rbx
sar rdi, 6
call fcn.1800e19e0
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1800e6fcc
lea rax, [0x180154dd0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800e6fde
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1800e7014
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1800e7010
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1800e7010
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1800e6eb7
jmp 0x1800e6e84