joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015360
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
lea rsi, [rcx + 0x30]
mov qword [rsp + 0x20], rsi
cmp byte [rsi + 0x28], 0
je 0x140015398
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dil, 1
jmp 0x14001539b
xor dil, dil
mov byte [rsp + 0x28], dil
mov byte [rbx + 0xb9], 1
cmp qword [rbx + 0xc0], 0
je 0x1400153ec
mov byte [rbx + 0xb8], 1
cmp byte [rsi + 0x28], 0
je 0x1400153cd
or qword [rbx + 0x70], 1
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp byte [rbx + 0xa0], 0
jne 0x1400153ec
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1400153ec
mov byte [rbx + 0xa0], 1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x140015408
cmp byte [rsi + 0x28], 0
je 0x140015400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
mov byte [rsp + 0x28], dil
mov rbp, qword [rbx + 0xc0]
xor r14d, r14d
test rbp, rbp
je 0x1400154bd
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x38], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea ecx, [r14 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
lock xadd dword [0x140088ed0], eax
mov rcx, qword [rbp + 8]
test eax, eax
je 0x14001546c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x14001548e
xor r8d, r8d
mov rdx, rcx
lea rcx, [fcn.14000bd70]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0xc0]
test rdi, rdi
je 0x1400154b1
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, rdi
call fcn.1400316f8
mov qword [rbx + 0xc0], r14
movzx edi, byte [rsp + 0x28]
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x140015527
lea rbp, [rbx + 0x88]
lea r15, [0x140085e60]
nop word [rax + rax]
mov rax, qword [rcx]
mov qword [rbx + 0xa8], rax
test rax, rax
jne 0x1400154f6
mov qword [rbx + 0xb0], r14
mov qword [rcx], r14
cmp rcx, rbp
je 0x14001551b
mov rax, qword [rcx + 8]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r15
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rdx, rcx
xor ecx, ecx
call rax
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
jne 0x1400154e0
mov qword [rbx + 0x78], r14
test dil, dil
je 0x140015539
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x140015560
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rbp - 0x41], ebx
lea rax, [0x140085e60]
mov qword [rbp - 0x39], rax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rdx], xmm0
mov eax, dword [rcx + 0xa4]
test eax, eax
jne 0x1400155af
call fcn.14000c0a0
xor eax, eax
jmp 0x1400156e8
mov dword [rbp + 0x27], ebx
lea rcx, [rbp + 0x2f]
call fcn.14002d9b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x3f], rbx
mov qword [rbp + 0x47], rbx
mov dword [rbp + 0x4f], ebx
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x51], rax
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x59]
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rdi + 0x30]
mov qword [rbp - 0x69], rcx
cmp byte [rcx + 0x28], 0
je 0x14001562f
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x61], 1
jmp 0x140015633
mov byte [rbp - 0x61], 0
mov r9, rsi
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140015a60
test rax, rax
je 0x140015691
nop dword [rax + rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov rcx, qword [rbp - 0x69]
cmp byte [rcx + 0x28], 0
je 0x140015679
cmp byte [rbp - 0x61], 0
jne 0x140015679
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x61], 1
mov r9, rsi
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140015a60
test rax, rax
jne 0x140015650
cmp byte [rbp - 0x61], 0
je 0x1400156a2
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp - 0x49]
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x3f]
call fcn.140019350
lea rdi, [rbp - 0x29]
mov esi, 0xa
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400156d2
call fcn.140031bf4
add rdi, 8
sub rsi, 1
jne 0x1400156c5
lea rcx, [rbp + 0x2f]
call fcn.14002da3c
mov rax, rbx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140015770
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x80
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x140088f24]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400158c7
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1400157b7
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400157a0
add rsp, 0x80
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400158c7
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x140015894
cmp ecx, 1
jne 0x1400158c7
lea rdx, [rbx + 0x58]
mov dword [rbx + 0x50], 2
lea rcx, [rsp + 0x30]
call fcn.14002d95c
xorps xmm0, xmm0
lea rax, vtable.asio::multiple_exceptions.0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x58], xmm0
call fcn.14002d95c
lea rcx, [rsp + 0x30]
call fcn.14002da3c
lea rcx, [rsp + 0x20]
call fcn.14002d9b0
lea r8, [0x140081a88]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14002d984
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14002d95c
lea rcx, [rsp + 0x20]
call fcn.14002da3c
lea rcx, [rsp + 0x68]
call fcn.14002da3c
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.140033b50
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x58]
call fcn.14002d954
lea rcx, [rsp + 0x40]
call fcn.14002da3c
add rsp, 0x80
pop rbx
ret
lea rcx, [rsp + 0x20]
mov dword [rbx + 0x50], 1
call fcn.14002d9b0
lea rcx, [rsp + 0x20]
call fcn.14002d9bc
lea rcx, [rbx + 0x58]
lea rdx, [rsp + 0x20]
call fcn.14002d954
lea rcx, [rsp + 0x20]
call fcn.14002da3c
add rsp, 0x80
pop rbx
ret
Function at 0x1400158d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov rbx, rcx
lea rdi, [rcx + 0x28]
xor ebp, ebp
cmp byte [rdi], bpl
jne 0x140015900
test r8b, r8b
je 0x140015926
test rbx, rbx
cmove rdi, rbp
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140015926
cmp qword [rax], rdi
je 0x140015951
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140015918
lock inc dword [rbx + 0xa4]
lea rdi, [rbx + 0x30]
mov qword [rsp + 0x20], rdi
cmp byte [rdi + 0x28], bpl
je 0x140015982
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov sil, 1
movzx eax, sil
movzx ecx, al
jmp 0x140015989
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140015926
inc dword [rcx + 0x78]
mov qword [r14], rbp
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x140015975
mov qword [rax], r14
mov qword [rcx + 0x70], r14
jmp 0x140015a38
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], r14
jmp 0x140015a38
xor sil, sil
xor al, al
xor cl, cl
mov byte [rsp + 0x28], sil
mov qword [r14], rbp
mov rdx, qword [rbx + 0xb0]
test rdx, rdx
je 0x1400159a2
mov qword [rdx], r14
jmp 0x1400159ac
mov qword [rbx + 0xa8], r14
movzx eax, cl
mov qword [rbx + 0xb0], r14
cmp byte [rdi + 0x28], 0
je 0x1400159f4
or qword [rbx + 0x70], 1
cmp qword [rbx + 0x70], 1
jbe 0x1400159ee
test al, al
je 0x1400159e0
cmp byte [rdi + 0x28], 0
je 0x1400159d8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor sil, sil
mov byte [rsp + 0x28], sil
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x1400159f0
xor al, al
test al, al
jne 0x140015a2a
cmp byte [rbx + 0xa0], 0
jne 0x140015a13
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140015a13
mov byte [rbx + 0xa0], 1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x140015a2a
cmp byte [rdi + 0x28], 0
je 0x140015a27
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor sil, sil
test sil, sil
je 0x140015a38
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14001f9d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001f9ff
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14001f9f7
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14001fa48
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001fa38
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14001fa38
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14001fa53
inc ecx
inc rax
cmp rax, 2
jl 0x14001fa26
mov rcx, rbx
call fcn.140031bf4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x28]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400223c0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x140022400
mov r8, qword [rcx + 0x18]
mov qword [rbp + 7], r8
mov rax, qword [rcx + 0x28]
mov qword [rbp + 0x17], rax
mov rax, qword [r8 + 8]
mov rdx, rcx
lea rcx, [rbp - 0x11]
call rax
jmp 0x140022410
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], 0
mov rax, qword [rbx + 0x30]
mov qword [rbp + 0x1f], rax
lea rdx, [rdi + 8]
lea rcx, [rbp + 0x2f]
call fcn.14002d95c
nop
cmp qword [rbp + 0xf], 0
je 0x14002252d
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140022460
lea rcx, [0x140023490]
mov qword [rbp - 0x49], rcx
lea rcx, [rbp + 0x27]
mov qword [rbp - 0x41], rcx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x11]
call rax
jmp 0x140022503
mov rdi, qword [rcx + 0x10]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x41]
call fcn.14002d95c
lea rax, [rbp - 0x49]
mov qword [rbp + 0x6f], rax
lea rax, [rbp + 0x77]
mov qword [rbp - 0x29], rax
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022498
mov rdx, qword [rax + 8]
jmp 0x14002249a
xor edx, edx
mov r8d, 0x28
call fcn.140010990
mov rbx, rax
mov qword [rbp - 0x19], 0
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x41]
call fcn.14002d95c
lea rax, [0x1400235d0]
mov qword [rbx], rax
mov qword [rbp + 0x67], rbx
mov qword [rbp - 0x21], 0
lea rcx, [rbp - 0x29]
call fcn.1400233f0
nop
lea rcx, [rbp - 0x41]
call fcn.14002da3c
nop
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x11]
call rdi
nop
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x140022503
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea rcx, [rbp + 0x2f]
call fcn.14002da3c
nop
cmp qword [rbp + 0xf], 0
je 0x140022522
mov rax, qword [rbp + 7]
mov rdx, qword [rax]
lea rcx, [rbp - 0x11]
call rdx
nop
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
lea rcx, [rbp - 0x29]
call fcn.14000bb50
nop
lea rcx, [rbp - 0x29]
call fcn.14000e490
int3
Function at 0x140023220
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x14002332a
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140023266
lea rcx, [0x140023570]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
mov rcx, rbx
call rax
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
xor esi, esi
mov qword [rdx], rsi
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400232a8
mov rdx, qword [rax + 8]
jmp 0x1400232ab
mov rdx, rsi
mov r8d, 0x18
call fcn.140010990
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x80], rsi
mov qword [rax + 8], rcx
lea rcx, [0x140023700]
mov qword [rax], rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x30]
call fcn.1400234d0
nop
lea rcx, [rsp + 0x80]
call fcn.14000f1d0
nop
lea rdx, [rsp + 0x88]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140023322
mov rax, qword [rcx]
xor edx, edx
call rax
nop
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x30]
call fcn.14000bb50
nop
lea rcx, [rsp + 0x30]
call fcn.14000e490
int3

Function at 0x1400233f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140023417
add rcx, 0x10
call fcn.14002da3c
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140023463
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023453
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140023453
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14002346e
inc ecx
inc rax
cmp rax, 6
jl 0x140023441
mov rcx, rbx
call fcn.140031bf4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x28]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x1400234d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400234f7
add rcx, 8
call fcn.14000f1d0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140023543
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023533
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140023533
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14002354e
inc ecx
inc rax
cmp rax, 6
jl 0x140023521
mov rcx, rbx
call fcn.140031bf4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x18]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x140027480
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
xor r14d, r14d
mov qword [r11 + 0x10], r14
mov dword [r11 + 8], r14d
lea rax, [r11 + 8]
mov qword [r11 - 0x68], rax
lea r9, [r11 + 0x10]
xor edx, edx
xor ecx, ecx
lea r8d, [r14 + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x140027658
mov edi, r14d
cmp dword [rsp + 0x90], r14d
jbe 0x140027658
mov eax, edi
lea rcx, [rax + rax*2]
lea rbp, [rcx*8]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + rbp + 8]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140027510
lea rcx, [rsp + 0x48]
call fcn.140025d40
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [0x140088f68]
call fcn.140026010
mov rax, qword [rax + 0x10]
mov rsi, qword [rsp + 0x60]
mov r10, qword [rsp + 0x48]
cmp byte [rax + 0x19], 0
jne 0x1400275c5
add rax, 0x20
mov r11, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140027561
mov rax, qword [rax]
lea r9, [rsp + 0x48]
cmp rsi, 8
cmovae r9, r10
mov rbx, qword [rsp + 0x58]
mov r8, rbx
cmp r11, rbx
cmovb r8, r11
test r8, r8
je 0x14002763b
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x1400275bc
sub r9, rax
cmp cx, dx
ja 0x140027634
cmp r8, 1
je 0x14002763b
dec r8
add rax, 2
movzx ecx, word [r9 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140027598
mov eax, 0xffffffff
test eax, eax
jns 0x140027640
xor bl, bl
cmp rsi, 8
jb 0x140027602
lea rdx, [rsi*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1400275fa
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027680
mov rcx, r10
call fcn.1400316f8
test bl, bl
je 0x140027649
mov r8, qword [rsp + 0x98]
add r8, 4
add r8, rbp
mov rdx, qword [0x140088fa8]
cmp rdx, qword [0x140088fb0]
je 0x140027644
mov eax, dword [r8]
mov dword [rdx], eax
add qword [0x140088fa8], 4
jmp 0x140027649
mov eax, 1
jmp 0x1400275c1
cmp rbx, r11
jb 0x1400275c5
mov bl, 1
jmp 0x1400275c7
call fcn.140027c30
inc edi
cmp edi, dword [rsp + 0x90]
jb 0x1400274d1
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14002766b
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140038810
int3
Function at 0x1400287c0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x40], r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rbp - 0x40], 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
mov ecx, 0x2027
call fcn.140031968
test rax, rax
je 0x1400289a7
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov qword [rbp - 0x38], rsi
lea r15, [rsi + 0x2000]
mov qword [rbp - 0x28], r15
xor edx, edx
mov r8d, 0x2000
mov rcx, rsi
call fcn.1400344b0
mov qword [rbp - 0x30], r15
mov rdx, rsi
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x140028950
mov r14d, r12d
lea rbx, [rsi + 4]
nop word [rax + rax]
movzx eax, word [rbx - 4]
test ax, ax
je 0x14002893e
mov word [rbp + 0x38], ax
movzx eax, word [rbx - 2]
mov word [rbp + 0x3a], ax
movzx eax, word [rbx]
mov word [rbp + 0x3c], ax
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r12w
mov r8d, 3
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.140025d40
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400288f6
mov qword [rdx], r12
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x10], r12
mov eax, 7
mov qword [rbp - 8], rax
mov word [rbp - 0x20], r12w
add qword [rdi + 8], 0x20
jmp 0x140028906
lea r8, [rbp - 0x20]
mov rcx, rdi
call fcn.140014580
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x14002893e
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400289a1
call fcn.1400316f8
add r14, 4
add rbx, 8
cmp r14, 0x14
jl 0x140028870
sub r15, rsi
sar r15, 1
add r15, r15
cmp r15, 0x1000
jb 0x14002897a
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400289a7
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1400316f8
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140038810
nop
call fcn.140038810
int3
Function at 0x14002fb8c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400831d0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14002fbd0
movzx eax, r14w
jmp 0x14002fd05
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14002fc0c
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x14002fc0c
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14002fd05
cmp qword [rcx + 0x80], r14
je 0x14002fd02
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14002fc4a
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14002fc73
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.140041068
cmp ax, di
je 0x14002fd02
movzx edi, si
jmp 0x14002fd02
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x140066498]
test eax, eax
je 0x14002fcc8
sub eax, 1
je 0x14002fcc8
cmp eax, 2
jne 0x14002fd02
movzx ecx, word [rbp + 7]
jmp 0x14002fc56
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x14002fcf2
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.140039394
cmp r14, rax
jne 0x14002fd02
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
cmovne di, si
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140032060
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14003225c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400322a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400322a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400322a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400322a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400322a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400322a8
xor al, al
add rsp, 0x28
ret

Function at 0x1400443a0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400441cc