joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ec500
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400ec50d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400ec51d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400ec505
lea eax, [rcx + 1]
jmp 0x1400ec52b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400ec53e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400ec524
sub eax, 3
jb 0x1400ec55e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400ec5ad
sar eax, 1
movsxd rbp, eax
jb 0x1400ec594
jmp 0x1400ec56c
add ebx, ebx
jne 0x1400ec56a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ec594
inc ecx
add ebx, ebx
jne 0x1400ec57a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ec594
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400ec58d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400ec57c
add ecx, 2
jmp 0x1400ec599
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400ec4c2
jmp 0x1400ec50d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa8600
mov dl, 0x26
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400ec5fd
cmp rsi, rcx
jae 0x1400ec605
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400ec5e4
cmp al, 0x8f
ja 0x1400ec5e4
cmp byte [rsi - 2], 0xf
je 0x1400ec5ea
sub al, 0xe8
cmp al, 1
ja 0x1400ec5ce
cmp rsi, rcx
jae 0x1400ec605
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400ec5d4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400ec605
lodsb al, byte [rsi]
jmp 0x1400ec5e4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe9000]
mov eax, dword [rdi]
or eax, eax
je 0x1400ec66e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xec8a0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400ec612
jns 0x1400ec647
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400ec651
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400ec668
mov qword [rbx], rax
add rbx, 8
jmp 0x1400ec632
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400ec6a8
cmp al, 0xef
ja 0x1400ec69a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400ec67a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400ec689
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x257]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400ec6fc
sub rsp, 0xffffffffffffff80
jmp 0x14007c0c4
Function at 0x140001a70
Capabilities:
Check for time delay via queryperformancecounter
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x1d0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rcx, [0x1400056f0]
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rbx, rbx
lea rsi, [0x140005720]
lea rcx, [0x1400037f4]
cmovne rsi, rbx
mov rdx, rsi
call fcn.140001080
mov rcx, qword [0x1400056d8]
test rcx, rcx
je 0x140001b46
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edx, 0x80
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__strtime_s]
lea rcx, [0x140005920]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x140005920]
lea r9, [rsp + 0x40]
mov rcx, qword [0x1400056d8]
lea rdx, str._s___OS_time:_t_s__ProgTime:_t_e_s_n
xorps xmm1, xmm1
mov qword [0x1400056e8], rax
sub rax, qword [0x140005718]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400056d0]
mov r8, rsi
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
movsd qword [rsp + 0x20], xmm1
call fcn.140001030
mov rcx, qword [0x1400056d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rdx, str.ERROR
mov rcx, rsi
xor ebx, ebx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov r10, rax
test rax, rax
je 0x140001cd2
add r10, 5
mov r8d, 0xffffffff
lea rdx, [r10 - 1]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + 1]
lea rdx, [rdx + 1]
inc r8d
cmp cl, 0xa
je 0x140001b99
test cl, cl
je 0x140001b99
cmp cl, 0x20
je 0x140001b80
movsxd rdx, r8d
mov r9d, ebx
add rdx, r10
mov rcx, rbx
nop word [rax + rax]
movzx r8d, byte [rdx]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x140001bd7
mov byte [rsp + rcx + 0x30], r8b
inc r9d
inc rcx
cmp rcx, 0xb
je 0x140001bd7
mov ebx, 1
inc rdx
jmp 0x140001bb0
movsxd rax, r9d
cmp rax, 0xc
jae 0x140001d00
lea rdx, str.numach_last_err.txt
mov qword [rsp + 0x1e0], rdi
lea rcx, [rsp + 0xc0]
mov byte [rsp + rax + 0x30], 0
call fcn.140001140
lea rdx, [0x14000354c]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
mov rcx, rax
cmp ebx, 1
jne 0x140001c38
lea r8, [rsp + 0x30]
lea rdx, [0x1400037f4]
call fcn.140001030
jmp 0x140001c44
lea rdx, [0x140003824]
call fcn.140001030
mov r8, rsi
lea rdx, [0x1400037f4]
mov rcx, rdi
call fcn.140001030
mov edx, 0x80
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__strtime_s]
lea rcx, [0x140005920]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x140005920]
lea r8, [rsp + 0x40]
xorps xmm3, xmm3
mov qword [0x1400056e8], rax
sub rax, qword [0x140005718]
lea rdx, str.OS_time:_t_s__ProgTime:_t_e_s_n
xorps xmm0, xmm0
mov rcx, rdi
cvtsi2sd xmm0, qword [0x1400056d0]
cvtsi2sd xmm3, rax
divsd xmm3, xmm0
movq r9, xmm3
call fcn.140001030
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rdi, qword [rsp + 0x1e0]
lea rcx, [0x1400056f0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140001d20
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1d0
pop rsi
ret
call fcn.140001e54
int3
Function at 0x140029bbc
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.14001d294
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d294
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029d0c
cmp rax, 0xffffffffffffffff
je 0x140029d0c
xor edi, edi
test rbp, rbp
jle 0x140029cb7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fbc0
mov rbx, rax
test rax, rax
jne 0x140029c44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029cad
mov edx, 0x8000
mov ecx, r14d
call fcn.14001abfc
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.14001df70
cmp eax, 0xffffffff
je 0x140029c8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c54
mov edx, r15d
mov ecx, r14d
call fcn.14001abfc
jmp 0x140029cad
cmp byte [rsi + 0x38], dil
je 0x140029ca4
cmp dword [rsi + 0x34], 5
jne 0x140029ca4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029cad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b960
jmp 0x140029d20
jns 0x140029d20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d294
cmp rax, 0xffffffffffffffff
jne 0x140029cd8
cmp byte [rsi + 0x30], dil
je 0x140029d20
mov edi, dword [rsi + 0x2c]
jmp 0x140029d20
mov ecx, r14d
call fcn.1400190b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029d20
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 0x140029d20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029d19
mov eax, dword [rsi + 0x2c]
jmp 0x140029d1e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d294
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 0x14002ae10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140147dad
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x18]
je 0x140147e0c
mov eax, 0x9f010d3d
sal rax, 0x33
adc rax, rax
push rsi
xor al, 0x34
lea rsi, [0x14016c0b8]
mov eax, 0xaaab2f11
movzx eax, byte [r9]
xor eax, r10d
push 0xffffffff971e5682
and eax, 0xff
mov eax, dword [rsi + rax*4]
shr r10d, 8
xor r10d, eax
inc r9
push 0xffffffffa23c0a20
xor r10d, 0x73b59a9c
dec rdx
lea rsp, [rsp + 0x10]
jne 0x140147dce
pop rsi
jmp 0x14014baaa
not r10d
call fcn.140164bb7
jmp 0x140177155
Function at 0x1809ff058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1809ff1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1809ff089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809ff06f
add dl, dl
jne 0x1809ff096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809ff0f6
xor eax, eax
add dl, dl
jne 0x1809ff0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809ff1ad
add dl, dl
jne 0x1809ff0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809ff0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809ff0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809ff0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1809ff0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1809ff07e
mov eax, 1
add dl, dl
jne 0x1809ff106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809ff113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809ff0fb
sub eax, ebx
mov ebx, 1
jne 0x1809ff14c
mov ecx, 1
add dl, dl
jne 0x1809ff12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1809ff13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809ff123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1809ff07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1809ff168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1809ff175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809ff15d
cmp eax, 0x7d00
jae 0x1809ff19b
cmp eax, 0x500
jb 0x1809ff196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1809ff07e
cmp eax, 0x7f
ja 0x1809ff19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1809ff07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1809ff1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1809ff07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14007167c
Capabilities:
Copy file
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1ff88]
mov eax, 0x20080
call fcn.140037740
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.140072b78
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.140072b78
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140071716
test dil, dil
je 0x14007170f
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.1400263a4
test eax, eax
je 0x140071708
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x1400717ba
xor al, al
jmp 0x1400717ba
lea rcx, [rbp + 0xff80]
call fcn.140073088
test al, al
je 0x14007170f
lea rcx, [rbp - 0x80]
call fcn.140073088
test al, al
je 0x1400717d3
test dil, dil
je 0x14007170f
lea rdx, [0x1400ca678]
lea rcx, [rbp + 0xff80]
call fcn.14002590c
lea rcx, [rbp + 0xff80]
call fcn.140025748
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.140025748
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x20080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14001ea0c
lea rcx, [rsp + 0x58]
call fcn.140071b50
lea rcx, [rsp + 0x58]
test al, al
sete bl
call fcn.14001bc24
test bl, bl
jne 0x14007170f
lea rcx, [rbp - 0x80]
call fcn.140073088
test al, al
jmp 0x14007173a
Function at 0x140071c78
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rbx, rcx
lea rcx, [rsp + 0x30]
xor edi, edi
mov r14b, dil
call fcn.14001dfc0
lea rcx, [rsp + 0x70]
call fcn.14001dfc0
lea rcx, [rsp + 0x50]
call fcn.14001dfc0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001a038
mov rcx, qword [rsp + 0x30]
call fcn.140073088
test al, al
je 0x140071cec
lea rdx, [0x1400ca678]
lea rcx, [rsp + 0x30]
call fcn.14001e870
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.140019df4
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov sil, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140071d8f
cmp sil, 1
jne 0x140071d8f
test byte [rbp - 0x70], 0x10
jne 0x140071d6e
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r14b, sil
call fcn.14001ec74
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001e5b0
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.14001e870
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x140071d84
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140071d23
mov sil, dil
jmp 0x140071d23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140071d9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.14001bc24
lea rcx, [rsp + 0x70]
call fcn.14001bc24
lea rcx, [rsp + 0x30]
call fcn.14001bc24
lea r11, [rsp + 0x2e0]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1401895c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401895cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401895dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401895c5
lea eax, [rcx + 1]
jmp 0x1401895eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401895fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401895e4
sub eax, 3
jb 0x14018961e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14018966d
sar eax, 1
movsxd rbp, eax
jb 0x140189654
jmp 0x14018962c
add ebx, ebx
jne 0x14018962a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140189654
inc ecx
add ebx, ebx
jne 0x14018963a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140189654
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14018964d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14018963c
add ecx, 2
jmp 0x140189659
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140189582
jmp 0x1401895cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b400
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401896b9
cmp rsi, rcx
jae 0x1401896c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401896a0
cmp al, 0x8f
ja 0x1401896a0
cmp byte [rsi - 2], 0xf
je 0x1401896a6
sub al, 0xe8
cmp al, 1
ja 0x14018968a
cmp rsi, rcx
jae 0x1401896c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140189690
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401896c1
lodsb al, byte [rsi]
jmp 0x1401896a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x187000]
mov eax, dword [rdi]
or eax, eax
je 0x14018972a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1a0fe4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401896ce
jns 0x140189703
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14018970d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140189724
mov qword [rbx], rax
add rbx, 8
jmp 0x1401896ee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140189782
sub rsp, 0xffffffffffffff80
jmp 0x14001bce0
Function at 0x140080b80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov r14, rcx
mov ecx, dword [0x140146128]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebp, ebp
test rax, rax
je 0x140080bbb
mov rdx, qword [rax + 8]
jmp 0x140080bbe
mov rdx, rbp
mov r9d, 8
mov r8d, 0x88
movzx ecx, byte [rsp + 0x50]
call fcn.140088c90
mov r8, rax
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rdx, qword [rbx + 0x20]
mov qword [rbx + 0x20], rbp
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x18], rbp
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x10], rbp
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x20], rcx
mov qword [r8 + 0x28], rdx
mov rax, qword [rbx + 0x28]
mov qword [r8 + 0x30], rax
mov rax, qword [rbx + 0x30]
mov qword [r8 + 0x38], rax
mov rax, qword [rbx + 0x38]
mov qword [r8 + 0x40], rax
mov rax, qword [rbx + 0x40]
mov qword [r8 + 0x48], rax
mov eax, dword [rbx + 0x48]
mov dword [r8 + 0x50], eax
mov qword [r8 + 0x58], rbp
mov qword [r8 + 0x60], rbp
mov rax, qword [rbx + 0x50]
mov qword [r8 + 0x58], rax
mov rax, qword [rbx + 0x58]
mov qword [r8 + 0x60], rax
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], rbp
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [r8 + 0x68], xmm0
mov rax, qword [rbx + 0x70]
mov qword [r8 + 0x78], rax
lea rax, [0x140089e80]
mov qword [r8], rax
mov qword [r14], r8
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x140080c9d
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140080c9d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140080c9d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140080ce3
mov rdx, qword [rbx + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x140080cd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140080cf9
mov rcx, r8
call fcn.140105794
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov rax, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140081f00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
xor edi, edi
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov rcx, rax
mov qword [rsp + 0x28], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140081f47
mov rdx, qword [rbx]
mov r8, rdx
mov rsi, rdx
jmp 0x140081f4d
mov rsi, rbx
mov r8, rbx
mov rbp, qword [rbx + 0x10]
add rbp, r8
cmp rdx, rbp
je 0x140081fbe
movabs r14, 0xcbf29ce484222325
movabs r15, 0x100000001b3
mov r12d, 0x9e3779b9
movzx ebx, byte [rsi]
lea rcx, [rsp + 0x20]
call fcn.140091350
movzx edx, bl
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::ctype_char_::toupper_char_const___ptr64]
movzx ecx, al
xor rcx, r14
imul rcx, r15
mov rax, rdi
shl rax, 6
mov rdx, rdi
shr rdx, 2
add rcx, rax
lea rax, [rdx + r12]
add rcx, rax
xor rdi, rcx
inc rsi
cmp rsi, rbp
jne 0x140081f73
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140081fdc
mov rdx, qword [rcx]
call qword [rdx + select]
test rax, rax
je 0x140081fdc
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret