joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180081574
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18006ede0
sub rsp, rax
mov rax, qword [0x180091080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18007bbbc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800815c3
mov rax, rbp
jmp 0x1800816cb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xf8530]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180082f94
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xf8530]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800816c7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800816c7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180082f94
test rax, rax
js 0x1800816c7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800816c7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800816b9
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800816b9
cmp byte [rcx], 0xd
jne 0x18008169f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800816ae
cmp byte [rcx + 1], 0xa
jne 0x1800816ae
inc rcx
jmp 0x1800816ae
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x914b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180081681
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800816cb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18006edb0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180082334
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800f8530]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18008238b
cmp word [rdx], r13w
jne 0x18008238b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180082390
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800824b5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800824d6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800823c9
mov rdx, r9
mov word [rbx], cx
jmp 0x1800823f0
cmp r9, r8
jae 0x180082400
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800823aa
jmp 0x1800824b5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800824aa
cmp dword [rsp + 0x80], esi
je 0x1800824aa
lea r8, [0x1800f8530]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180082482
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180082452
mov word [rbx], r13w
jmp 0x1800824b2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18008245f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800824b2
cmp word [rsp + 0x70], r13w
jne 0x18008248f
cmp rbx, r14
je 0x18008244c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180082f9c
cmp word [rsp + 0x70], r13w
je 0x1800824b5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800f8530]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800824af
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800824b5
Function at 0x180086438
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180086468
xor eax, eax
jmp 0x18008652b
mov rbp, rbx
cmp word [rax], si
je 0x18008648d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180086474
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180086470
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180084b20
movsxd r14, eax
test eax, eax
jne 0x1800864cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180086461
mov rcx, r14
call fcn.18007f318
mov rdi, rax
test rax, rax
jne 0x1800864e4
xor ecx, ecx
call fcn.18007ee94
jmp 0x1800864c0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180084b20
test eax, eax
jne 0x180086515
mov rcx, rdi
call fcn.18007ee94
jmp 0x18008651f
xor ecx, ecx
call fcn.18007ee94
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800892a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18007c1e0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180089341
cmp ebx, dword [rsp + 0x30]
je 0x18008933a
test esi, esi
je 0x18008933a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180089315
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180089322
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800892ff
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180089326
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180089343
mov eax, 1
jmp 0x180089343
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18008dcd8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180082f9c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180082f9c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18008de28
cmp rax, 0xffffffffffffffff
je 0x18008de28
xor edi, edi
test rbp, rbp
jle 0x18008ddd3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18007e034
mov rbx, rax
test rax, rax
jne 0x18008dd60
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18008ddc9
mov edx, 0x8000
mov ecx, r14d
call fcn.18008db5c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18007eb8c
cmp eax, 0xffffffff
je 0x18008dda9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18008dd70
mov edx, r15d
mov ecx, r14d
call fcn.18008db5c
jmp 0x18008ddc9
cmp byte [rsi + 0x38], dil
je 0x18008ddc0
cmp dword [rsi + 0x34], 5
jne 0x18008ddc0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18008ddc9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18007ee94
jmp 0x18008de3c
jns 0x18008de3c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180082f9c
cmp rax, 0xffffffffffffffff
jne 0x18008ddf4
cmp byte [rsi + 0x30], dil
je 0x18008de3c
mov edi, dword [rsi + 0x2c]
jmp 0x18008de3c
mov ecx, r14d
call fcn.180086bf4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18008de3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18008de3c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18008de35
mov eax, dword [rsi + 0x2c]
jmp 0x18008de3a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180082f9c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18008e660
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18008e688
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18008e688
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001b50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001be3
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001bda
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001bc4
add rax, 2
test ecx, ecx
jne 0x140001bb0
mov rcx, rbx
test edx, edx
je 0x140001c06
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001ba0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400fb630
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140001be5
Function at 0x140003370
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.1400fb5d0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x10a0], rbx
mov qword [rsp + 0x10b0], rsi
mov qword [rsp + 0x10b8], rdi
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rbp + 0xf68], rax
mov rdi, rdx
mov dword [rbp + 0xf50], 0x360033
mov dword [rbp + 0xf54], 0x740030
mov dword [rbp + 0xf58], 0x610072
mov dword [rbp + 0xf5c], 0x2e0079
mov dword [rbp + 0xf60], 0x780065
mov dword [rbp + 0xf64], reloc.WS2_32.dll_WSAAsyncSelect
xor esi, esi
lea rcx, [rbp + 0xf50]
call fcn.140001b50
mov ebx, eax
test eax, eax
je 0x1400034cd
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400034cd
mov edx, dword [rsp + 0x20]
shr edx, 2
mov ecx, esi
test edx, edx
je 0x1400034cd
mov eax, ecx
cmp dword [rsp + rax*4 + 0x50], ebx
je 0x140003456
inc ecx
cmp ecx, edx
jb 0x140003446
jmp 0x1400034cd
cmp qword [rdi + 0x10], rsi
je 0x1400034cd
mov r8, rdi
lea rdx, [rsp + 0x28]
call fcn.140002000
nop
call fcn.140002200
mov dword [rbp + 0xf50], 0x73006c
mov dword [rbp + 0xf54], 0x730061
mov dword [rbp + 0xf58], 0x2e0073
mov dword [rbp + 0xf5c], 0x780065
mov dword [rbp + 0xf60], reloc.WS2_32.dll_WSAAsyncSelect
lea rdx, [rbp + 0xf50]
call fcn.140001d10
test eax, eax
je 0x1400034be
lea r8, [rsp + 0x28]
mov edx, eax
call fcn.140002320
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400034cd
call fcn.1400869f0
mov rcx, qword [rbp + 0xf68]
xor rcx, rsp
call fcn.1400fb630
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000ab90
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rcx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
movsd xmm6, qword [0x14143ed58]
lea r15, [0x14143e2a0]
lea r12, [0x14143e778]
lea r13, [0x141584378]
or esi, 0xffffffff
movsd xmm7, qword [0x14143ed48]
nop dword [rax + rax]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
subsd xmm6, xmm0
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], 0x117
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r13
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14000f490
mov rdi, rax
mov r8d, esi
lea rdx, [0x14143e7a8]
lea rcx, [rsp + 0x28]
call fcn.140001960
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140023d90
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14000ac8b
cmp eax, 0xffffffff
je 0x14000ac99
lock dec dword [rcx]
jne 0x14000ac99
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x14000aca9
mov dl, 0x20
call fcn.140023e10
movaps xmm1, xmm6
mov rcx, qword [rdi]
call fcn.140024220
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x14000acc5
mov dl, 0x20
call fcn.140023e10
nop
lea rcx, [rsp + 0x40]
call fcn.140003fa0
inc ebx
cmp ebx, 0x1e
jl 0x14000ac10
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x14000ad92
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], 0x11c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14000f490
mov rbx, rax
mov r8d, esi
lea rdx, [0x14143e7d0]
lea rcx, [rsp + 0x20]
call fcn.140001960
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140023d90
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14000ad5d
cmp eax, 0xffffffff
je 0x14000ad6b
lock dec dword [rcx]
jne 0x14000ad6b
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x14000ad7c
mov dl, 0x20
call fcn.140023e10
nop
lea rcx, [rsp + 0x30]
call fcn.140003fa0
lea rax, [0x14143f7c8]
mov qword [r14], rax
jmp 0x14000ada1
mov r8d, esi
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14000ab10
mov rax, r14
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400fb630
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000ade0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x20], 0
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14000af32
or r8d, 0xffffffff
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14000ab10
mov rbx, rax
lea rcx, [rsp + 0x24]
call fcn.1400231f0
movzx r8d, word [rax]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140008330
nop
lea r8, [0x14143e5fc]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140008270
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14000aea4
cmp eax, 0xffffffff
je 0x14000aeb3
lock dec dword [rcx]
jne 0x14000aeb3
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14000aecd
cmp eax, 0xffffffff
je 0x14000aedb
lock dec dword [rcx]
jne 0x14000aedb
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
lea rax, [0x14143f7c8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov ecx, dword [0x14143f7c8]
test ecx, ecx
je 0x14000af1c
cmp ecx, 0xffffffff
je 0x14000afe7
lock dec dword [0x14143f7c8]
jne 0x14000afe7
mov rax, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rax
call fcn.140011b40
jmp 0x14000afe7
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 0xeb
lea rax, [0x14143e2a0]
mov qword [rsp + 0x58], rax
lea rax, [0x14143e5a8]
mov qword [rsp + 0x60], rax
lea rax, [0x141584378]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14000f490
mov rbx, rax
or r8d, 0xffffffff
lea rdx, [0x14143e5d8]
lea rcx, [rsp + 0x30]
call fcn.140001960
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140023d90
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14000afb4
cmp eax, 0xffffffff
je 0x14000afc2
lock dec dword [rcx]
jne 0x14000afc2
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x14000afd3
mov dl, 0x20
call fcn.140023e10
nop
lea rcx, [rsp + 0x48]
call fcn.140003fa0
lea rax, [0x14143f7c8]
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400fb630
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000dbb0
Capabilities:
Enumerate process modules

Disassembly:
push rdi
mov eax, 0x1270
call fcn.1400fb5d0
sub rsp, rax
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rsp + 0x1250], rax
mov rdi, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov edx, 0x1000
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x14000dd67
mov qword [rsp + 0x1280], rbx
mov qword [rsp + 0x1288], rbp
mov ebp, dword [rsp + 0x20]
mov qword [rsp + 0x1290], rsi
shr ebp, 2
xor esi, esi
mov qword [rsp + 0x1268], r14
mov qword [rsp + 0x1260], r15
test ebp, ebp
je 0x14000dd3d
lea r14, [rsp + 0x40]
or r15, 0xffffffffffffffff
mov r8d, dword [r14]
test r8d, r8d
je 0x14000dd2f
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000dd2f
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
mov rcx, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x14000dd26
mov rdx, qword [rsp + 0x28]
lea r8, [rsp + 0x1040]
mov r9d, 0x104
mov rcx, rbx
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
je 0x14000dd26
cmp word [rsp + 0x1040], 0
jne 0x14000dca9
xor eax, eax
jmp 0x14000dcbe
lea rcx, [rsp + 0x1040]
mov rax, r15
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000dcb4
cmp qword [rdi + 0x18], 8
mov r10, qword [rdi + 0x10]
jb 0x14000dcce
mov rdx, qword [rdi]
jmp 0x14000dcd1
mov rdx, rdi
cmp r10, rax
mov r9, rax
cmovb r9, r10
test r9, r9
je 0x14000dd0a
lea r8, [rsp + 0x1040]
nop dword [rax + rax]
movzx ecx, word [r8]
cmp word [rdx], cx
jne 0x14000dd80
add rdx, 2
add r8, 2
dec r9
jne 0x14000dcf0
xor r9d, r9d
movsxd rcx, r9d
test r9d, r9d
jne 0x14000dd22
cmp r10, rax
jb 0x14000dd26
xor ecx, ecx
cmp r10, rax
setne cl
test ecx, ecx
je 0x14000dd92
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add r14, 4
cmp esi, ebp
jb 0x14000dc32
xor al, al
mov r14, qword [rsp + 0x1268]
mov rsi, qword [rsp + 0x1290]
mov rbp, qword [rsp + 0x1288]
mov rbx, qword [rsp + 0x1280]
mov r15, qword [rsp + 0x1260]
mov rcx, qword [rsp + 0x1250]
xor rcx, rsp
call fcn.1400fb630
add rsp, 0x1270
pop rdi
ret
cmp word [rdx], cx
mov r9d, 1
cmovb r9d, r15d
jmp 0x14000dd0d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000dd3f
Function at 0x14000ecd0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x150
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor esi, esi
mov rbx, rcx
mov qword [rcx], 0x114
mov qword [rcx + 8], rsi
mov dword [rcx + 0x10], esi
mov word [rcx + 0x14], si
add rcx, 0x16
xor edx, edx
mov r8d, 0xfe
call fcn.1400fb660
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbx + 4], 6
jne 0x14000ee20
cmp dword [rbx + 8], 2
jne 0x14000ee20
lea edx, [rsi + 2]
mov r8b, 3
xor ecx, ecx
mov qword [rsp + 0x160], rdi
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rsi + 1]
mov rcx, rax
mov r8b, 3
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rsi + 8]
mov r8b, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov ecx, dword [rbx + 4]
xor edx, edx
mov dword [rsp + 0x24], ecx
mov ecx, dword [rbx + 8]
mov r8d, 0xfe
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 0xc]
mov rdi, rax
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rbx + 0x10]
mov dword [rsp + 0x20], 0x11c
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x36]
mov word [rsp + 0x34], si
call fcn.1400fb660
lea edx, [rsi + 0xb]
lea rcx, [rsp + 0x20]
mov r8, rdi
mov qword [rsp + 0x134], rsi
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x14000edf4
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov r8, rdi
mov dword [rbx + 8], eax
inc eax
mov edx, 0xb
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x14000edd0
mov rdi, qword [rsp + 0x160]
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400fb630
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rsi
ret
mov rax, rbx
jmp 0x14000edff

Function at 0x14000fcb0
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov r9, r8
mov r8, rdx
mov edx, ecx
lea rcx, [rsp + 0x58]
call fcn.1400101c0
nop
call fcn.140010930
lea rcx, [rsp + 0x58]
test al, al
jne 0x14000fcf5
call fcn.14001afc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000fd58
lea rdx, [rsp + 0x20]
call fcn.1400420c0
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
add rbx, rcx
call fcn.1400fb22c
lea rcx, [rax + 0x60]
mov r8, rbx
lea rdx, [0x14143f568]
call fcn.1400fc1a0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14000fd3b
cmp eax, 0xffffffff
je 0x14000fd49
lock dec dword [rcx]
jne 0x14000fd49
mov rcx, qword [rsp + 0x20]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011b40
call fcn.1400fb22c
lea rcx, [rax + 0x60]
call fcn.1400fa7dc
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x14000fd72
cmp eax, 0xffffffff
je 0x14000fd80
lock dec dword [rcx]
jne 0x14000fd80
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret