joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400020b0
Capabilities:
Encode data using xor

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
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a3e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a425
xor al, al
jmp 0x14000a472
cmp word [rbx], 0
je 0x14000a43d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a430
cmp word [rsp + 0x30], 0
je 0x14000a46b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a493
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a450
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b530
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f640
int3
Function at 0x14000a980
Capabilities:
Read file on windows

Disassembly:
test rdx, rdx
je 0x14000ab0c
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x60], r14
xor sil, sil
xor r14d, r14d
mov qword [rsp + 0x50], rbx
mov rdi, rdx
mov rbp, rcx
nop word [rax + rax]
mov rax, qword [0x140033db8]
mov rcx, qword [0x140033dc0]
sub rax, rcx
je 0x14000a9f4
mov rdx, qword [0x140033db0]
cmp rdi, rax
mov rbx, rdi
cmovae rbx, rax
add rdx, rcx
mov r8, rbx
mov rcx, rbp
call fcn.14000d400
add rbp, rbx
sub rdi, rbx
add qword [0x140033dc0], rbx
jmp 0x14000aaf2
mov rax, qword [0x140031da0]
mov rcx, qword [0x140031d98]
cmp rax, rcx
jb 0x14000aaa0
test sil, sil
jne 0x14000aaa0
cmp rcx, rax
jne 0x14000ab0d
mov rcx, qword [0x140031da8]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x140033dc8]
mov eax, eax
sub rcx, rax
je 0x14000aaf2
mov rdx, qword [0x140031d90]
lea r9, [rsp + 0x58]
mov ebx, 0x20003
mov qword [rsp + 0x20], r14
cmp rcx, rbx
cmovb rbx, rcx
mov rcx, qword [0x140031da8]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000ab13
mov eax, dword [rsp + 0x58]
cmp rax, rbx
jne 0x14000ab13
add qword [0x14002fd70], rbx
mov qword [0x140031da0], r14
mov qword [0x140031d98], rbx
jmp 0x14000aaf2
mov rcx, qword [0x140031d88]
lea r8, [0x140031d90]
lea rdx, [0x140033db0]
mov qword [0x140033dc0], r14
mov qword [0x140033db8], 0x20000
call fcn.140006fb0
mov rcx, qword [0x140033dc0]
cmp rcx, qword [0x140033db8]
sete sil
cmp rax, 0xffffffffffffff88
ja 0x14000ab0d
mov qword [0x140033db8], rcx
mov qword [0x140033dc0], r14
test rdi, rdi
jne 0x14000a9b0
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.14000a880
int3
call fcn.14000a8c0
int3
Function at 0x14000ab20
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x140031d80]
test rcx, rcx
je 0x14000ab5b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ab4e
mov rcx, qword [0x140031d80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140031d80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140033dd0], 0
je 0x14000ac4e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140028840]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140031db0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000ac2f
test al, 0x10
je 0x14000ac2f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000abd5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000be38
Capabilities:
Parse pe header

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

Function at 0x14000f634
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f493
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f493
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f493
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f493
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f493
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f493
cmp dword [rcx + 0xf8], 0
je 0x14000f493
mov ecx, ebx
call fcn.14000f550
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f320
nop
cmp dword [rbp + 0x20], 0
je 0x14000f4e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f4ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f424
Function at 0x140018ed4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018f5b
mov rsi, rbx
cmp word [rax], bp
je 0x140018f1a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018f04
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018f00
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400165c0
mov rdi, rax
test rax, rax
je 0x140018f48
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d400
mov rbp, rdi
xor ecx, ecx
call fcn.1400156f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f390
Capabilities:
Parse pe header

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

Function at 0x1400a90b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400a90bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a90cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a90b5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a90e5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a90d2
sub eax, 3
jb 0x1400a90ff
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a9136
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400a9126
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a9124
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a9113
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400a9072
jmp 0x1400a90bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xf400
mov dl, 0x18
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a9182
cmp rsi, rcx
jae 0x1400a918a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a9169
cmp al, 0x8f
ja 0x1400a9169
cmp byte [rsi - 2], 0xf
je 0x1400a916f
sub al, 0xe8
cmp al, 1
ja 0x1400a9153
cmp rsi, rcx
jae 0x1400a918a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a9159
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a918a
lodsb al, byte [rsi]
jmp 0x1400a9169
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa7000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a91e7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xbeb38]
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 0x1400a9197
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 0x1400a91e1
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a91b7
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 0x1400a9221
cmp al, 0xef
ja 0x1400a9213
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a91f3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a9202
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 + 0x22f]
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 0x1400a9275
sub rsp, 0xffffffffffffff80
jmp 0x140001690
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
invalid
mov ebp, 0xfa6d7bf0
std
jne 0x14002328b
jg 0x1400232b5
int3
cld
insd dword [rdi], dx
fistp word [rdx + 0x3485b0b3]
mov al, 0x85
xor al, 0x95
mov al, 0x85
xor al, 0x95
fst dword [rdi + 0x1f]
adc esi, edx
xchg esi, eax
sahf
int 0xbc
cdq
movabs eax, dword [0xe7d1addf14f7ffb1]
test byte [rbx - 7], ah
mov esi, 0xf97dd8e8
jo 0x14002327d
jo 0x14002324c
mov ch, 0x30
sbb al, 0x93
or bh, dh
pop rdi
in eax, 0x5e
and al, 0x92
or al, 0xe6
invalid
Function at 0x180025610
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, dword [rsp + 0x40]
lea esi, [rcx + 6]
cmp ecx, esi
jae case.0x180025656.1
lea edi, [rcx - 0x54]
lea r14, [0x180000000]
lea rbp, [0x180091b58]
cmp edi, 9
ja case.0x180025656.2
mov ecx, dword [r14 + rdi*4 + 0x25724]
add rcx, r14
jmp rcx
mov dword [0x180091b68], 0
jmp case.0x180025656.2
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x18009161c], eax
cmp eax, 0xffffffff
je 0x18002570f
mov byte [0x180091618], 1
mov ebx, 1
jmp case.0x180025656.2
inc dword [0x180091894]
jmp case.0x180025656.2
xor edx, edx
mov ecx, 0xa1
call fcn.18003fe10
jmp case.0x180025656.2
lea rax, [0x1800918a0]
nop word [rax + rax]
mov byte [rax], 0
add rax, 2
cmp rax, rbp
jl 0x1800256b0
mov byte [0x180091b58], 0
mov byte [0x180091b5a], 0
mov byte [0x180091b5c], 0
mov byte [0x180091b5e], 0
mov byte [0x180091b60], 0
mov byte [0x180091b62], 0
mov byte [0x180091b64], 0
inc edi
lea eax, [rdi + 0x54]
cmp eax, esi
jb 0x180025642
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
lea rdx, str.disassemble_fragment:_invalid_end
mov ecx, 0x10008
call fcn.180025910
xor eax, eax
jmp 0x1800256fc
Function at 0x18002da00
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push r14
push r15
sub rsp, 0x28
lea ebp, [rcx + 0x124]
mov r15, r8
mov r14, rdx
mov edi, ecx
cmp ecx, ebp
jae 0x18002db29
mov qword [rsp + 0x58], rbx
movsxd rbx, dword [rsp + 0x50]
mov qword [rsp + 0x60], rsi
mov esi, dword [rsp + 0x50]
mov qword [rsp + 0x68], r12
lea r12, [0x180101980]
mov qword [rsp + 0x20], r13
lea r13, [0x180101988]
nop dword [rax]
mov eax, edi
sub eax, 0x49
je 0x18002dadc
sub eax, 0x3b
je 0x18002daae
sub eax, 0xe
je 0x18002da89
cmp eax, 0x3b
jne 0x18002db0a
xor r9d, r9d
lea r8, [0x1800e1fc0]
mov edx, 0x100
xor ecx, ecx
call fcn.180037890
jmp 0x18002db0a
cmp rbx, 5
je 0x18002db34
movsxd rcx, esi
lea rax, [rbx + rcx*4]
add rcx, rax
mov rax, qword [r14]
add rcx, rcx
mov qword [r12 + rcx*8], rax
mov qword [r12 + rcx*8 + 8], r15
jmp 0x18002db0a
xor r9d, r9d
lea r8, [0x1800e1fe0]
mov edx, 0x100
xor ecx, ecx
call fcn.180037890
xor r9d, r9d
lea r8, [0x1800e1fa0]
mov edx, 0x100
xor ecx, ecx
call fcn.180037890
jmp 0x18002db0a
mov rax, qword [r14]
xor ebx, ebx
mov rsi, rax
shr rax, 0x36
shr rsi, 0x36
lea rax, [rax + rax*4]
shl rax, 4
add rax, r13
cmp qword [rax], 0
je 0x18002db0a
inc rbx
add rax, 0x10
cmp rbx, 5
jl 0x18002daf7
add edi, 0x49
cmp edi, ebp
jb 0x18002da50
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r13, qword [rsp + 0x20]
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rbp
ret
lea rcx, str.FC_Resume_Before
call fcn.180076310
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x18002ee90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
imul r11d, edx, 0x66
mov r12, r9
mov r14, r8
mov rbp, rcx
mov r10d, edx
cmp edx, r11d
ja 0x18002eedd
mov eax, r10d
sub eax, 0x3e
je 0x18002ef02
cmp eax, 0x57
je 0x18002f053
imul eax, edx, 0x33
add r10d, eax
cmp r10d, r11d
jbe 0x18002eec1
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movabs rax, 0x985deb9fc49333f9
lea r15, [rcx + 8]
mov qword [rsp + 0x20], rax
mov esi, 0x94
movabs rax, 0xaadc1a2be446234d
movabs r13, 0xa24f0f571bb202e7
mov qword [rsp + 0x28], rax
movabs rax, 0xbaeb854cd3259441
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
nop word [rax + rax]
mov ecx, esi
sub ecx, 0x94
je 0x18002ef64
cmp ecx, 0x4c
je 0x18002eee2
jmp 0x18002f044
movzx ecx, byte [r14]
mov rax, rbp
mov r9, qword [rbp + 0x38]
test cl, cl
mov r8, qword [rbp + 0x20]
mov r10, qword [rbp + 0x28]
cmove rax, r15
mov rdx, qword [rbp + 0x30]
mov rcx, r8
mov rbx, qword [rbp + 0x18]
mov rdi, qword [rax]
mov rax, r15
cmove rax, rbp
and r8, rdi
mov r11, qword [rax]
mov rax, r9
and rcx, r11
and rax, rdi
imul rcx, qword [rsp + 0x20]
imul rax, r13
and r9, r11
add rax, rcx
mov rcx, r10
and rcx, r11
and r10, rdi
imul rcx, qword [rsp + 0x28]
add rax, rcx
mov rcx, rdx
and rcx, rdi
and rdx, r11
imul rcx, qword [rsp + 0x30]
add rax, rcx
movabs rcx, 0xd2fb81862830191f
imul rdx, rcx
movabs rcx, 0xfd7866b439b94495
imul r8, rcx
add rax, rdx
movabs rcx, 0xec0ade190c0f6003
imul r9, rcx
add rax, r8
movabs rcx, 0xd5a4c95928f2fbe3
imul r10, rcx
mov rcx, rbx
add rax, r9
and rcx, r11
add rax, r10
and rbx, rdi
movabs rdx, 0xa3ec1abc71e90863
imul rcx, rdx
add rax, rcx
movabs rcx, 0xd6e4e47d24962951
imul rbx, rcx
add rax, rbx
add esi, 0x4c
cmp esi, 0x12c
jb 0x18002ef50
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov r8d, 0x11f
call fcn.180023aa0
xor edx, edx
xor r9d, r9d
mov r8, r14
lea ecx, [rdx + 0x44]
call fcn.18005e8b0
mov ecx, dword [r12]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x18003b8d0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x180090f80]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, qword [rsp + 0x30]
lea r13d, [r8 + 0x237]
mov qword [rsp + 0x40], rdx
mov r15d, r8d
mov qword [rsp + 0x48], rcx
cmp r8d, r13d
jae case.0x18003b953.3
movzx r14d, byte [rsp + 0x38]
lea r12d, [r8 - 9]
mov rbp, qword [rsp + 0x48]
lea rsi, [0x180000000]
xor ebx, ebx
cmp r12d, 0xd1
ja case.0x18003b953.5
movzx eax, byte [rsi + r12 + 0x3bb60]
mov ecx, dword [rsi + rax*4 + 0x3bb48]
add rcx, rsi
jmp rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x18003ba6b
mov esi, 5
cmp esi, 5
ja case.default.0x18003b98d
lea rdx, [0x180000000]
mov eax, esi
mov ecx, dword [rdx + rax*4 + 0x3bc34]
add rcx, rdx
jmp rcx
xor edx, edx
mov dword [rsp + 0x2b8], 0x44
mov r8d, 0x250
lea rcx, [rsp + 0x50]
mov r14b, 1
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
jmp case.default.0x18003b98d
mov eax, 0x56
mov dword [rsp + 0x2a0], 0x550054
mov word [rsp + 0x2a4], ax
mov dword [rsp + 0x2a6], 0x530052
jmp case.default.0x18003b98d
movzx eax, r14b
cmp rbp, 0xffffffffffffffff
mov ecx, ebx
cmovne ecx, eax
movzx r14d, cl
jmp case.default.0x18003b98d
mov eax, 0x45
mov dword [rsp + 0x2aa], 0x46005f
mov word [rsp + 0x2b6], ax
mov dword [rsp + 0x2ae], 0x43004f
mov dword [rsp + 0x2b2], 0x530055
jmp case.default.0x18003b98d
test r14b, r14b
je 0x18003ba4e
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, rbx
dec esi
lea eax, [rsi + 0x47]
cmp eax, 0x46
ja 0x18003b971
mov rax, qword [rsp + 0x30]
lea rsi, [0x180000000]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x40]
mov rdi, rax
mov qword [rsp + 0x30], rax
jmp case.0x18003b953.5
mov eax, dword [rdx]
cmp eax, 0xf
ja 0x18003bb25
mov dword [rsp + 0x28], 0x124
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor ecx, ecx
call fcn.180071dd0
mov rdx, qword [rsp + 0x40]
mov rdi, rax
mov qword [rsp + 0x30], rax
jmp case.0x18003b953.5
mov rcx, rdx
call qword [0x180136ec0]
mov rdx, qword [rsp + 0x40]
mov byte [rsp + 0x30], al
mov rdi, qword [rsp + 0x30]
jmp case.0x18003b953.5
cmp byte [0x180091059], bl
je 0x18003bb36
add r15d, 0x51
add r12d, 0x51
cmp r15d, r13d
jb 0x18003b933
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.180076c30
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x10003
call fcn.180025910
mov rax, rbx
jmp 0x18003bafa
xor edx, edx
mov ecx, 0x10001
call fcn.180025910
mov rax, rbx
jmp 0x18003bafa
Function at 0x180062120
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rdi, qword [rsp + 0x50]
lea ebx, [r8 + 0x162]
mov dword [rsp + 0x30], ebx
mov r12, r9
mov ebp, r8d
mov r14, rcx
cmp r8d, ebx
jae case.0x1800621a0.2
mov rsi, qword [rsp + 0xc0]
lea r13d, [r8 - 0x5e]
mov r15, qword [rsp + 0x50]
lea rdx, [0x180000000]
mov eax, dword [rsp + 0x30]
xor ebx, ebx
nop
cmp r13d, 0xe3
ja case.default.0x1800621a0
movzx eax, byte [rdx + r13 + 0x6235c]
mov ecx, dword [rdx + rax*4 + 0x62344]
add rcx, rdx
jmp rcx
mov r15, rbx
jmp case.0x1800621a0.5
mov eax, dword [r12]
cmp eax, 4
ja 0x18006232b
mov r9, rsi
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x38]
mov dword [rsp + 0x40], ebx
mov edx, 0x119
lea rcx, [rsp + 0x40]
call fcn.180066700
test eax, eax
je 0x1800622af
mov ebp, 0x7f
mov eax, ebp
sub eax, 0x7f
je 0x18006220a
cmp eax, 0x34
jne 0x180062299
test r14, r14
je 0x180062299
mov rax, qword [rsi]
mov ecx, dword [rax + 0xc]
mov dword [r14], ecx
jmp 0x180062299
mov r15, qword [rsi + 0x18]
mov qword [rsi + 0x18], rbx
mov ecx, dword [r12]
test ecx, ecx
je 0x18006227a
mov rdx, qword [rsi]
mov r8d, dword [rdx + 0xc]
cmp ecx, r8d
je 0x18006227a
mov eax, dword [rdx + 4]
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], eax
mov eax, dword [rdx]
mov edx, 0x8d
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], ecx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], r8d
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.18001ff80
mov rcx, qword [rsi]
mov r15, rax
mov eax, dword [r12]
mov dword [rcx + 0xc], eax
test r15, r15
je 0x18006233f
mov rax, qword [rsi]
mov ecx, dword [rax]
mov rax, qword [rsp + 0xc8]
mov dword [rax], ecx
mov rax, qword [rsi]
mov ecx, dword [rax + 4]
mov rax, qword [rsp + 0xa8]
mov dword [rax], ecx
add ebp, 0x34
cmp ebp, 0xe7
jb 0x1800621e3
mov ebp, dword [rsp + 0xb0]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x18], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800622ef
mov ecx, dword [0x18009161c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
jmp 0x1800622ef
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x10], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 8], rbx
mov rdi, r15
lea rdx, [0x180000000]
mov eax, dword [rsp + 0x30]
add ebp, 0x3b
add r13d, 0x3b
mov dword [rsp + 0xb0], ebp
cmp ebp, eax
jb 0x180062180
mov rax, rdi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
lea r9, str.c0_watchhi_1
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.180041b10
mov rax, rbx
jmp 0x180062313