joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b938
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 0x14003b968
xor eax, eax
jmp 0x14003ba2b
mov rbp, rbx
cmp word [rax], si
je 0x14003b98d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003b974
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003b970
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.14003b858
movsxd r14, eax
test eax, eax
jne 0x14003b9cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003b961
mov rcx, r14
call fcn.140035c54
mov rdi, rax
test rax, rax
jne 0x14003b9e4
xor ecx, ecx
call fcn.140035c18
jmp 0x14003b9c0
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.14003b858
test eax, eax
jne 0x14003ba15
mov rcx, rdi
call fcn.140035c18
jmp 0x14003ba1f
xor ecx, ecx
call fcn.140035c18
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 0x14003ebfc
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.14003602c
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 0x14003ec9d
cmp ebx, dword [rsp + 0x30]
je 0x14003ec96
test esi, esi
je 0x14003ec96
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14003ec71
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14003ec7e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003ec5b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14003ec82
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14003ec9f
mov eax, 1
jmp 0x14003ec9f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400451ac
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, [0x1400699c0]
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 0x140045203
cmp word [rdx], r13w
jne 0x140045203
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140045208
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14004532d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14004534e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140045241
mov rdx, r9
mov word [rbx], cx
jmp 0x140045268
cmp r9, r8
jae 0x140045278
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 0x140045222
jmp 0x14004532d
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 0x140045322
cmp dword [rsp + 0x80], esi
je 0x140045322
lea r8, [0x1400699c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400452fa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400452ca
mov word [rbx], r13w
jmp 0x14004532a
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 0x1400452d7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14004532a
cmp word [rsp + 0x70], r13w
jne 0x140045307
cmp rbx, r14
je 0x1400452c4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140045060
cmp word [rsp + 0x70], r13w
je 0x14004532d
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, [0x1400699c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140045327
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14004532d
Function at 0x140045c3c
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.140045060
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140045060
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140045d8c
cmp rax, 0xffffffffffffffff
je 0x140045d8c
xor edi, edi
test rbp, rbp
jle 0x140045d37
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400378d4
mov rbx, rax
test rax, rax
jne 0x140045cc4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140045d2d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400326c4
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.1400421ac
cmp eax, 0xffffffff
je 0x140045d0d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140045cd4
mov edx, r15d
mov ecx, r14d
call fcn.1400326c4
jmp 0x140045d2d
cmp byte [rsi + 0x38], dil
je 0x140045d24
cmp dword [rsi + 0x34], 5
jne 0x140045d24
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140045d2d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140035c18
jmp 0x140045da0
jns 0x140045da0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140045060
cmp rax, 0xffffffffffffffff
jne 0x140045d58
cmp byte [rsi + 0x30], dil
je 0x140045da0
mov edi, dword [rsi + 0x2c]
jmp 0x140045da0
mov ecx, r14d
call fcn.14003c518
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140045da0
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 0x140045da0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140045d99
mov eax, dword [rsi + 0x2c]
jmp 0x140045d9e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140045060
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 0x140046850
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140046878
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140046878
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140009f90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rsi, qword [rbp + 0x50]
xor r14d, r14d
mov dword [rbp], 0x560041
mov dword [rbp + 4], 0x530041
mov dword [rbp + 8], 0x5f0054
mov dword [rbp + 0xc], 0x520050
mov dword [rbp + 0x10], 0x47004f
mov dword [rbp + 0x14], 0x450052
mov dword [rbp + 0x18], 0x530053
mov dword [rbp + 0x1c], 0x57005f
mov dword [rbp + 0x20], 0x44004e
mov word [rbp + 0x24], r14w
mov qword [rbp - 0x70], 0x50
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
lea rax, [rbp]
mov qword [rbp - 0x30], rax
lea rax, [0x14000a1e0]
mov qword [rbp - 0x68], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 0x48], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x14000a1a3
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
lea ecx, [r14 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
lea eax, [rbx - 0x12c]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
lea eax, [rcx - 0x64]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
call fcn.140051050
lea r9, [rax + 0x90]
mov rdx, qword [r9 + 0x10]
movabs rcx, 0x7ffffffffffffffe
sub rcx, rdx
cmp rcx, 0x18
jb 0x14000a1cb
cmp qword [r9 + 0x18], 7
jbe 0x14000a0c5
mov r9, qword [r9]
mov qword [rsp + 0x30], 0x18
lea rax, str._Antivirus_is_loading...
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x20]
call fcn.1400063a0
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova r8, qword [rbp - 0x20]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
je 0x14000a17b
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rcx, [rbp - 0x20]
call fcn.140008480
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140081ef0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, str.Could_not_create_window_
mov edx, 0x428
lea rcx, [rsp + 0x68]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rsp + 0x68]
call fcn.140084768
nop
lea r8, str.Could_not_register_class_
mov edx, 0x428
lea rcx, [rsp + 0x68]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rsp + 0x68]
call fcn.140084768
int3
call fcn.140007fc0
int3
Function at 0x14000ab60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov word [rsp + 8], cx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx r13d, word [rbp + 0x67]
xor ebx, ebx
mov dword [rbp - 0x35], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov qword [rbp - 0x21], rbx
mov dword [rbp - 0x35], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov rsi, qword [rbp - 0x29]
bt edi, ebx
jae 0x14000abf7
lea ecx, [rbx + 0x41]
mov word [rbp - 0x39], cx
cmp rsi, qword [rbp - 0x21]
je 0x14000abe3
mov word [rsi], cx
mov rsi, qword [rbp - 0x29]
add rsi, 2
mov qword [rbp - 0x29], rsi
jmp 0x14000abf7
lea r8, [rbp - 0x39]
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.14002e4c0
mov rsi, qword [rbp - 0x29]
inc ebx
cmp ebx, 0x1a
jl 0x14000abc0
lea r14, str.CDEFGHIJKLMNOPQRSTUVWXYZ
nop word [rax + rax]
movzx r12d, word [r14]
mov rbx, qword [rbp - 0x31]
cmp rbx, rsi
je 0x14000ac5a
nop dword [rax]
movzx ecx, word [rbx]
call fcn.140091828
mov edi, eax
mov ecx, r12d
call fcn.140091828
cmp eax, edi
je 0x14000ac3f
add rbx, 2
cmp rbx, rsi
jne 0x14000ac20
mov rsi, qword [rbp - 0x29]
cmp rbx, rsi
je 0x14000ac5a
add r14, 2
lea rax, [0x1400f2e5a]
cmp r14, rax
jne 0x14000ac10
jmp 0x14000acc6
movzx r8d, r13w
mov edx, 1
lea rcx, [rbp - 0x19]
call fcn.140007dc0
nop
mov r8d, 2
lea rdx, [0x1400ee45c]
lea rcx, [rbp - 0x19]
call fcn.140008380
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.1400654d0
nop
movzx ecx, r13w
call fcn.14000ad00
movzx edx, r12w
lea rcx, [rbp + 7]
call fcn.14000aa20
nop
lea rcx, [rbp + 7]
call fcn.140008480
nop
lea rcx, [rbp - 0x19]
call fcn.140008480
nop
lea rcx, [rbp - 0x31]
call fcn.14000ae00
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140081ef0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
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 0x14002d050
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, qword [rbp + 0x67]
mov qword [rbp + 7], rbx
mov rdi, qword [rbp + 0x6f]
xor esi, esi
mov dword [rbp - 0x29], esi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov dword [rbp - 0x29], 1
mov qword [rbp + 0x17], rsi
lea rdx, [rbp + 0x17]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002d17d
cmp dword [rbp + 0x1b], esi
jne 0x14002d157
mov edx, dword [rbp + 0x17]
mov rcx, rbx
call fcn.140028d40
mov dword [rbp + 0xf], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf]
mov r8d, dword [rbp + 0x17]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002d12e
mov edx, dword [rbp + 0xf]
mov rcx, rbx
call fcn.140028d40
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.get_file_content:_ReadFile
lea rcx, [rbp - 0x21]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rbp - 0x21]
call fcn.140084768
int3
lea r8, str.get_file_content
mov edx, 0xdf
lea rcx, [rbp - 0x21]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rbp - 0x21]
call fcn.140084768
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.get_file_content:_GetFileSizeEx
lea rcx, [rbp - 0x21]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rbp - 0x21]
call fcn.140084768
int3
Function at 0x140046860
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0x20008
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400468b6
xor bl, bl
jmp 0x14004695b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov dword [rbp + 0x10], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x54
lea r8, [rbp - 0x40]
lea edx, [r9 - 0x53]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400469b7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x48], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x54
lea r8, [rsp + 0x68]
lea edx, [r9 - 0x53]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14004698b
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004696b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0x138]
add rsp, 0x120
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.GetTokenInformation_TokenUser_failed
lea rcx, [rsp + 0x30]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rsp + 0x30]
call fcn.140084768
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.GetTokenInformation_TokenUser_failed
lea rcx, [rsp + 0x30]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rsp + 0x30]
call fcn.140084768
int3

Function at 0x1400491c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x43413841
mov dword [rsp + 0x24], 0x34333044
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x30], 0x6b736174
mov qword [rsp + 0x34], 0x73
mov dword [rsp + 0x44], 0xc
call fcn.14003cb30
add rsp, 0x58
ret
Function at 0x140049f40
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
xor ebx, ebx
mov eax, dword [r11 + 0x10]
mov dword [rcx + 0xe0], eax
cmp byte [0x14012bdf0], bl
je 0x140049f9e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [0x140000000]
cmp rcx, rax
jne 0x14004a164
call fcn.14003fd60
mov rcx, rax
call fcn.140062620
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x14004a15e
mov eax, dword [rdx + 8]
test eax, eax
je 0x14004a15e
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x140049fe4
test eax, eax
je 0x14004a15e
jmp 0x140049fd0
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x60]
call fcn.1400471e0
mov dword [rsp + 0x80], ebx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x14004b710]
xor edx, edx
xor ecx, ecx
call fcn.140097af8
mov rbp, rax
test rax, rax
je 0x14004a124
mov eax, dword [rsp + 0x80]
mov dword [rdi + 0xe4], eax
mov rdx, rbp
lea rcx, [rdi + 0xf0]
call fcn.14003f390
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x58]
test rax, rax
je 0x14004a072
lock inc dword [rax + 8]
mov rbx, qword [rdi + 0x50]
mov qword [rsp + 0x40], rbx
mov rsi, qword [rdi + 0x58]
mov qword [rsp + 0x48], rsi
lea rcx, [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, qword [rbx]
lea r8, [rdi + 0xf0]
mov edx, dword [rdi + 0xe4]
mov rcx, rbx
mov rax, qword [rax + 0x28]
call qword [case.0x140069c0f.0]
nop
test rsi, rsi
je 0x14004a0ec
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14004a0ec
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140069c0f.0]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x14004a0ec
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
mov rcx, rdi
call fcn.14004b740
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14009614c
mov r9d, dword [rax]
mov rcx, rdi
call fcn.140009900
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x50]
call fcn.14004cd40
lea rdx, [0x1401149e0]
lea rcx, [rsp + 0x50]
call fcn.140084768
int3
call fcn.14002e0d0
int3
lea rcx, [0x14012bd78]
call fcn.14002a630
test al, al
jne 0x14004a180
lea rcx, str.Thread_started_at_dll_unload.
call fcn.14006ec40
mov rcx, rdi
call fcn.140009900
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14004d150
lea rdx, [0x1401149c0]
lea rcx, [rsp + 0x50]
call fcn.140084768
int3
Function at 0x14004a780
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x28], rdi
xor ebp, ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
call fcn.14004ba50
mov rcx, rax
call fcn.140062620
mov rsi, rax
mov qword [rsp + 0x28], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x30], 1
call fcn.14004ba50
mov rcx, rax
call fcn.140062620
mov r8, rax
mov r9d, dword [rsp + 0x68]
movzx edx, r9b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs r10, 0x100000001b3
imul rdx, r10
movzx ecx, byte [rsp + 0x69]
xor rdx, rcx
imul rdx, r10
movzx eax, byte [rsp + 0x6a]
xor rdx, rax
imul rdx, r10
movzx eax, byte [rsp + 0x6b]
xor rdx, rax
imul rdx, r10
mov rcx, qword [r8 + 0x58]
and rcx, rdx
add rcx, rcx
mov rax, qword [r8 + 0x40]
mov rbx, qword [rax + rcx*8 + 8]
mov rdx, qword [r8 + 0x30]
cmp rbx, rdx
je 0x14004a871
mov rax, qword [rax + rcx*8]
cmp r9d, dword [rbx + 0x10]
je 0x14004a874
nop dword [rax]
cmp rbx, rax
je 0x14004a871
mov rbx, qword [rbx + 8]
cmp r9d, dword [rbx + 0x10]
jne 0x14004a860
jmp 0x14004a874
mov rbx, rbp
test rbx, rbx
cmove rbx, rdx
call fcn.14004ba50
mov rcx, rax
call fcn.140062620
cmp rbx, qword [rax + 0x30]
jne 0x14004a897
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
jmp 0x14004a8d4
mov r8, rbp
mov r9, rbp
mov rdx, qword [rbx + 0x28]
test rdx, rdx
je 0x14004a8cd
mov eax, dword [rdx + 8]
test eax, eax
je 0x14004a8c8
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14004a8c0
test eax, eax
jne 0x14004a8b0
jmp 0x14004a8c8
mov r8, qword [rbx + 0x20]
mov r9, qword [rbx + 0x28]
mov rsi, qword [rsp + 0x28]
mov qword [rdi], r8
mov qword [rdi + 8], r9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004b510
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
call fcn.14004ba50
mov rcx, rax
call fcn.140062620
mov rdi, rax
mov qword [rsp + 0x20], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x28], 1
call fcn.14004ba50
mov rcx, rax
call fcn.140062620
mov r8, rax
movzx edx, byte [rsi]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs r9, 0x100000001b3
imul rdx, r9
movzx ecx, byte [rsi + 1]
xor rdx, rcx
imul rdx, r9
movzx eax, byte [rsi + 2]
xor rdx, rax
imul rdx, r9
movzx eax, byte [rsi + 3]
xor rdx, rax
imul rdx, r9
mov rcx, qword [r8 + 0x58]
and rcx, rdx
shl rcx, 4
mov rdx, qword [r8 + 0x40]
add rdx, rcx
mov rbx, qword [rdx + 8]
cmp rbx, qword [r8 + 0x30]
je 0x14004b5e8
mov rcx, qword [rdx]
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x10]
je 0x14004b5ea
cmp rbx, rcx
je 0x14004b5e8
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14004b5d8
jmp 0x14004b5ea
xor ebx, ebx
test rbx, rbx
je 0x14004b67a
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14004b618
cmp rax, rbx
jne 0x14004b60e
mov rax, qword [r8 + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14004b623
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x14004b623
cmp rax, rbx
jne 0x14004b623
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r8 + 0x38]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x30]
call fcn.140009910
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14004b66c
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14004b667
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
mov rdi, qword [rsp + 0x20]
mov edx, 0x40
mov rcx, rbx
call fcn.140081f10
nop
cmp byte [rsp + 0x28], 0
je 0x14004b68a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret