joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800926e0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x180092702
mov edi, 0x10000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18009271e
mov rsi, 0xfffffffffff80000
mov rax, qword [0x180157d70]
mov rcx, qword [0x180157d68]
mov qword [rsp + 0x30], rbp
test rax, rax
jne 0x180092745
test rcx, rcx
je 0x18009275c
mov rax, rcx
mov qword [0x180157d70], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x18009275c
cmp rdx, rdi
jb 0x18009275c
cmp rdx, rsi
jbe 0x180092889
mov qword [0x180157d70], rcx
mov rax, rcx
test rcx, rcx
je 0x180092797
test rcx, rcx
je 0x180092787
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180092787
cmp rcx, rdi
jb 0x180092787
cmp rcx, rsi
jbe 0x180092889
mov rax, qword [rax + 8]
mov qword [0x180157d70], rax
test rax, rax
jne 0x180092770
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x1800927ba
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.1800924a0
test rax, rax
jne 0x180092837
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x1800927dd
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.1800925b0
test rax, rax
jne 0x180092837
cmp rbx, 0x40000000
jbe 0x1800927fa
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.1800925b0
test rax, rax
jne 0x180092837
cmp rbx, rbp
jae 0x180092813
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.1800924a0
test rax, rax
jne 0x180092837
mov rdx, rbx
mov rcx, rdi
call fcn.1800924a0
test rax, rax
jne 0x180092837
mov rdx, rsi
mov rcx, rbx
call fcn.1800925b0
test rax, rax
je 0x1800928b5
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x180157d70], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x180157d68]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x180157d68], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x180092871
mov qword [rax + 0x10], r8
mov rbx, qword [rax + 0x10]
cmp rbx, rdi
jb 0x1800928b5
cmp rbx, rsi
ja 0x1800928b5
mov rcx, qword [rbx + 0x48]
mov edx, 0xcc
mov qword [rax + 0x10], rcx
mov rcx, rbx
lea r8d, [rdx - 0x6c]
call fcn.1800bbd80
mov rax, rbx
jmp 0x1800928b7
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800928d0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x18009290d
xor al, al
jmp 0x18009294b
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18009291e
xor al, al
jmp 0x18009294b
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x180092945
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x180092945
mov al, 1
jmp 0x18009294b
xor al, al
jmp 0x18009294b
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18008c720
add rsp, 0x60
pop rbx
ret
Function at 0x180092e20
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x180157d80], 0
jne 0x180092ebb
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180157d80], ecx
jne 0x180092ebb
xor eax, eax
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180157d68]
mov qword [0x180157d98], rax
mov qword [0x180157d90], rax
mov dword [0x180157d84], eax
mov qword [0x180157d88], rax
test rbx, rbx
je 0x180092ea2
nop
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180092e80
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18008c720
add rsp, 0x38
ret
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18008c720
add rsp, 0x38
ret
Function at 0x180093460
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x180157d84]
mov rdi, rcx
test eax, eax
jne 0x180093503
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x18009348a
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.18008c568
mov rbx, rax
test rax, rax
jne 0x1800934a6
lea edi, [rax + 8]
jmp 0x1800934c9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1800934e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.18008c16c
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x180157d84], edi
mov qword [0x180157d88], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180157d90]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180157d90], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180094ab0
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 [0x180146748]
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 0x180094b5d
cmp word [rdx], r14w
je 0x180094b5d
test r8, r8
je 0x180094b18
cmp word [r8], r14w
je 0x180094b18
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x180094b5d
jmp 0x180094b58
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x60]
call fcn.1800bbd80
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 0x180094b5d
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x180094bc2
mov eax, dword [rbp + 0x40]
test eax, eax
js 0x180094bc2
lea rcx, vtable._BaseModule::CAutoLocker.0
mov qword [rsp + 0x48], rcx
lea rbx, [rbp + 0x58]
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x180094b92
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, dword [rbp + 0x40]
test eax, eax
js 0x180094baf
mov dword [rsp + 0x30], esi
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x180094bf7
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x10]
nop
test rbx, rbx
je 0x180094bbe
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x180094bd7
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.18008c720
add rsp, 0x480
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1800602ac
nop
int3

Function at 0x180096610
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov r9, rcx
test edx, edx
je 0x1800966f4
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 0x180096620
ret
Function at 0x1800981b0
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 [0x180146748]
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 [0x180146770]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x71]
call fcn.18003ae30
test eax, eax
jne 0x180098372
xor edx, edx
lea r8d, [rsi + 0x64]
lea rcx, [rbp - 0x49]
call fcn.1800bbd80
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, [0x18010d59c]
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180098372
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x180098372
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x180098298
test cl, 1
jne 0x180098372
mov eax, ecx
shr rax, 1
cmp word [rbp + rax*2 - 0x4b], si
je 0x18009829c
jmp 0x180098372
mov word [rbp - 0x49], si
shr ecx, 1
cmp ecx, 0x2d
jne 0x180098372
call fcn.18000a3f0
mov rcx, rax
test rax, rax
je 0x1800983a6
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.1800961e0
mov dword [rsp + 0x34], esi
lea r8, [rsp + 0x34]
lea rdx, [0x18010d5a4]
lea rcx, [rbp + 0xb]
call fcn.180098440
mov edx, 0x2a
mov rbx, qword [rbp - 0x79]
mov rcx, rbx
call fcn.180096610
movzx ecx, al
cmp dword [rsp + 0x34], ecx
jne 0x180098353
lea rcx, [rbp - 0x49]
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x180098314
mov r8d, eax
lea rdx, [rbp - 0x49]
mov rcx, r15
call fcn.18000b310
mov r8d, dword [0x180146780]
mov rdx, qword [str.ffffffff]
lea rcx, [rbp - 0x49]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
mov esi, 1
test eax, eax
jne 0x180098351
mov dword [r14], esi
jmp 0x18009835a
mov rdi, 0xffffffffffffffff
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x180098372
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x180098381
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18008c720
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.180009990
int3
Function at 0x18009b240
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x550
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je 0x18009b400
cmp ebx, 0x20
jb 0x18009b400
xor edx, edx
mov dword [rsp + 0x34], 1
mov r8d, 0x400
mov dword [rsp + 0x30], 0x400
lea rcx, [rsp + 0x140]
call fcn.1800bbd80
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 0x18009b400
lea rcx, [rsp + 0x140]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18009b2f0
cmp rax, 0x40
jne 0x18009b400
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 0x18009b33d
movzx eax, byte [r9 + rcx]
test al, al
je 0x18009b33d
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x18009b320
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 0x18009b390
movzx eax, byte [r9 + rcx]
test al, al
je 0x18009b390
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x18009b370
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.1800bbd80
mov r8d, 0x400
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.18009b430
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18009b400
mov rdx, rbx
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.18009c3e0
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x18009b402
xor eax, eax
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.18008c720
mov rbx, qword [rsp + 0x570]
add rsp, 0x550
pop rdi
ret
Function at 0x18009be40
Capabilities:
Get storage device properties

Disassembly:
push rbp
push r14
mov eax, 0x2c88
call fcn.18008c6b0
sub rsp, rax
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rsp + 0x2c60], rax
mov r14d, edx
mov rbp, rcx
test rcx, rcx
je 0x18009c069
test edx, edx
je 0x18009c069
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.18008bfb0
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 0x18009c02a
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.1800bbd80
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 0x18009c01d
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x3e8
call fcn.1800bbd80
mov edx, dword [rsp + 0x568]
lea r9, [rsp + 0x160]
mov r8d, r12d
lea rcx, [rsp + 0x550]
call fcn.18009cde0
lea rax, [r14 - 1]
mov ecx, r15d
cmp rax, 0x7ffffffe
mov rdx, r14
cmova ecx, r13d
test ecx, ecx
js 0x18009c019
mov rax, rbp
test r14d, r14d
je 0x18009c000
mov r8d, 0x7ffffffe
lea r9, [rsp + 0x160]
sub r8, rdx
sub r9, rbp
lea rcx, [r8 + rdx]
test rcx, rcx
je 0x18009c000
movzx ecx, byte [r9 + rax]
test cl, cl
je 0x18009c000
mov byte [rax], cl
inc rax
sub rdx, r12
jne 0x18009bfe4
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 0x18009c035
inc edi
cmp edi, 0x10
jl 0x18009bec0
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 0x18009c06b
xor eax, eax
mov rcx, qword [rsp + 0x2c60]
xor rcx, rsp
call fcn.18008c720
add rsp, 0x2c88
pop r14
pop rbp
ret
Function at 0x18009c090
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
test rcx, rcx
je 0x18009c15e
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1800bbd80
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x18009c15e
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x18009c0f0
mov ecx, 0x103
mov eax, eax
sub rcx, rdx
cmp rax, rcx
jae 0x18009c15e
lea rcx, [rsp + 0x20]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18009c112
mov eax, dword [0x18010d4a0]
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18009c130
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 0x18009c140
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x18009c160
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18008c720
add rsp, 0x240
pop rbx
ret
Function at 0x18009c180
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2e0
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x80
call fcn.1800bbd80
mov r8d, 0x80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.18009b430
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 0x18009c210
movzx eax, byte [r9 + rcx]
test al, al
je 0x18009c210
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x18009c1f0
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 0x18009c23e
inc rax
sub rcx, 1
jne 0x18009c230
xor r8d, r8d
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmovne r8, rax
je 0x18009c29f
lea rcx, [rsp + 0xc0]
lea rcx, [rcx + r8]
sub rdx, r8
je 0x18009c291
lea rax, [r8 + 0x7ffffefb]
add rax, rdx
lea r9, [rsp + 0x40]
sub r9, rcx
test rax, rax
je 0x18009c291
movzx r8d, byte [r9 + rcx]
test r8b, r8b
je 0x18009c291
mov byte [rcx], r8b
dec rax
inc rcx
sub rdx, 1
jne 0x18009c273
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.1800bbd80
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 0x18009c36d
lea rax, [rsp + 0x1d0]
sub rdi, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x18009c323
inc rax
test ecx, ecx
jne 0x18009c311
test edx, edx
je 0x18009c36d
lea rcx, [rsp + 0x1d0]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x18009c332
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 0x18009c375
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.18008c720
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2e0
pop rdi
ret
Function at 0x18009f6c4
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18009f6d7
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.18009fce4
lea rdx, [0x180140aa0]
lea rcx, [rsp + 0x20]
call fcn.1800bb740
int3

Function at 0x1800a9f50
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x180158ae0]
xor edx, edx
jmp fcn.18009f6c4

Function at 0x1800aa8e8
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x180158ae0]
jmp fcn.18009f6c4

Function at 0x1800b64c4
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, [0x1800b6580]
mov r9, qword [r9 + 8]
jmp fcn.1800a7908

Function at 0x1800b6558
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, [0x1800b6590]
mov r9, qword [r9 + 8]
jmp fcn.1800a7908
Function at 0x1800ba110
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.1800bbd80
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 0x1800ba2ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
call fcn.180068070
mov r8, qword [rax]
lea edx, [r13 + 1]
mov rcx, rax
call qword [r8 + 0x10]
cmp al, 1
jne 0x1800ba2d3
movdqa xmm0, xmmword [0x1800f5220]
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.18000c180
nop
movdqa xmm0, xmmword [0x1800f5220]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], r13b
lea r8d, [r13 + 3]
lea rdx, [0x1800f4f90]
lea rcx, [rsp + 0x38]
call fcn.18000c180
nop
call fcn.180068070
mov rdi, rax
lea r9d, [r13 + 0x58]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.180008390
mov rbx, rax
lea rdx, str.RecvData_failed__error_code_:
mov rcx, rax
call fcn.180009250
mov edx, r15d
mov rcx, rbx
call fcn.180014e30
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rsp + 0x80]
call fcn.1800093c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1800ba287
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ba282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ba341
call fcn.18008c16c
movdqa xmm0, xmmword [0x1800f5220]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1800ba2d3
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ba2ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ba33b
call fcn.18008c16c
mov dword [rsi + 0x18], 6
cmp r15d, 0xe8
jne 0x1800ba2ee
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.180078c30
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.1800beee8
nop
call fcn.1800beee8
nop
int3