joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e5d4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
lea rbx, [rsp + 0x30]
lea rax, str.unknown_folder
test edi, edi
cmovne rbx, rax
mov rcx, rbx
call fcn.14002ae3c
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140001c80
test edi, edi
sete al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140025b60
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140023384
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x14006854c], 0
mov edx, 1
mov rbx, rcx
mov byte [0x140068541], 1
mov byte [0x140068542], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.140001e98
cmp qword [0x14004dcf0], 0
jne 0x1400233cf
cmp byte [0x14006854b], 0
je 0x1400233d8
cmp dword [0x140068544], 0
jne 0x1400233ed
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400234b4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
cmp byte [0x140068460], dil
je 0x1400235e6
cmp qword [0x140068478], rdi
je 0x1400235e6
mov qword [rbp + 0x27], rdi
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], di
lea rdx, [rbp + 0x27]
lea rcx, [0x140068468]
call fcn.140020878
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareWinRAR_SFX
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400235aa
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002356b
mov rcx, qword [rbx]
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x1400235e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400235e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023607
call fcn.140025a4c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140025b60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14002adc4
int3
Function at 0x140023740
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140023770
mov rdx, qword [rcx]
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor edi, edi
mov qword [rbp - 0x28], rdi
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], di
mov qword [rbp - 0x30], rdi
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14000cf94
test al, al
je 0x1400237f7
mov rax, qword [rbp - 0x30]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400237bd
mov rcx, qword [rbx]
movzx ecx, word [rcx + rax*2]
call fcn.14000d374
test al, al
je 0x1400237d7
mov rax, qword [rbp - 0x30]
inc rax
mov qword [rbp - 0x30], rax
jmp 0x1400237b0
cmp qword [rbx + 0x18], 8
jb 0x1400237e1
mov rbx, qword [rbx]
mov rax, qword [rbp - 0x30]
lea rdx, [rbx + rax*2]
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140023833
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002382e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002384f
call fcn.140025a4c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140025b60
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.14002adc4
int3
Function at 0x1400250fc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140025174
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140025174
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140025174
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140025168
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140025186
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140025156
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140025176

Function at 0x140026a00
Capabilities:
Parse pe header

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

Function at 0x14002f4a4
Capabilities:
Parse pe header

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

Function at 0x1400393f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140039418
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140039418
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400025fc
Capabilities:
Parse pe header

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

Function at 0x1400061d4
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 0x140006033
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006033
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006033
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006033
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006033
cmp dword [rcx + 0x84], 0xe
jbe 0x140006033
cmp dword [rcx + 0xf8], 0
je 0x140006033
mov ecx, ebx
call fcn.1400060f0
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.140005ec0
nop
cmp dword [rbp + 0x20], 0
je 0x140006081
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000608c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005fc4
Function at 0x1400110b8
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140028790]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140011116
cmp word [rdx], r12w
jne 0x140011116
or byte [rax + r8*8 + 0x38], cl
jmp 0x14001111c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140011277
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140011252
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140011155
mov rcx, r9
jmp 0x140011178
cmp r9, rdx
jae 0x14001118f
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140011139
jmp 0x140011277
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001124c
cmp dword [rsp + 0x80], edi
je 0x14001124c
mov rdx, r14
lea r11, [0x140028790]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140011225
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400111f8
mov word [rbx], r12w
jmp 0x140011273
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140011201
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140011273
cmp word [rsp + 0x70], r12w
jne 0x140011232
cmp rbx, rsi
je 0x1400111f2
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14001662c
cmp word [rsp + 0x70], r12w
je 0x140011277
mov word [rbx], r13w
jmp 0x140011273
lea r11, [0x140028790]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14001126f
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140011277
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011acc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140011afe
call fcn.14000d318
mov dword [rax], 0x16
call fcn.14000d1dc
jmp 0x140011c1d
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140011c1d
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140011c1d
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140011b2d
lock or dword [rcx + 0x14], 0x10
jmp 0x140011c1d
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140011b41
call fcn.140017320
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14000e7c4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140011564
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140011c0b
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140011bd6
mov rcx, rsi
call fcn.14000e7c4
cmp eax, edi
je 0x140011bc1
mov rcx, rsi
call fcn.14000e7c4
cmp eax, 0xfffffffe
je 0x140011bc1
mov rcx, rsi
call fcn.14000e7c4
movsxd rbx, eax
lea r14, [0x140028790]
mov rcx, rsi
sar rbx, 6
call fcn.14000e7c4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140011bc8
lea rdx, [0x1400272d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140011bd6
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140011bfa
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140011bfa
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140011bfa
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140011c20
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140012f18
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 0x140012f9f
mov rsi, rbx
cmp word [rax], bp
je 0x140012f5e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140012f48
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140012f44
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000d374
mov rdi, rax
test rax, rax
je 0x140012f8c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003f70
mov rbp, rdi
xor ecx, ecx
call fcn.14000d338
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 0x140018664
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.14001662c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001662c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400187b4
cmp rax, 0xffffffffffffffff
je 0x1400187b4
xor edi, edi
test rbp, rbp
jle 0x14001875f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000f440
mov rbx, rax
test rax, rax
jne 0x1400186ec
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140018755
mov edx, 0x8000
mov ecx, r14d
call fcn.14000c414
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.1400105fc
cmp eax, 0xffffffff
je 0x140018735
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400186fc
mov edx, r15d
mov ecx, r14d
call fcn.14000c414
jmp 0x140018755
cmp byte [rsi + 0x38], dil
je 0x14001874c
cmp dword [rsi + 0x34], 5
jne 0x14001874c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140018755
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14000d338
jmp 0x1400187c8
jns 0x1400187c8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001662c
cmp rax, 0xffffffffffffffff
jne 0x140018780
cmp byte [rsi + 0x30], dil
je 0x1400187c8
mov edi, dword [rsi + 0x2c]
jmp 0x1400187c8
mov ecx, r14d
call fcn.140013460
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400187c8
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 0x1400187c8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400187c1
mov eax, dword [rsi + 0x2c]
jmp 0x1400187c6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001662c
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 0x140019420
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140019448
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140019448
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400021ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, ecx
call fcn.140002168
mov rdx, qword [rax + 0x18]
mov rbp, qword [rdx + 0x20]
mov r11, rbp
mov rcx, r11
call fcn.1400021a4
mov r11, qword [r11]
mov r10, qword [rax + 0x30]
test r10, r10
je 0x140002237
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x140002237
lea rdi, [r10 + rcx]
mov ecx, dword [rdi + 0xc]
add rcx, r10
call fcn.140002174
mov esi, dword [rdi + 0x20]
xor ebx, ebx
add rsi, r10
mov r15d, eax
cmp dword [rdi + 0x18], ebx
jbe 0x140002237
mov ecx, dword [rsi]
add rcx, r10
call fcn.140002174
add eax, r15d
cmp r14d, eax
je 0x140002257
inc ebx
add rsi, 4
cmp ebx, dword [rdi + 0x18]
jb 0x14000221a
cmp r11, rbp
jne 0x1400021d7
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx r8d, word [rcx + rbx*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + r8*4]
add rax, r10
jmp 0x14000223e
Function at 0x140002650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov ecx, 0x7bac0721
call fcn.1400021ac
mov ecx, 0xf477a895
mov r13, rax
call fcn.1400021ac
lea rcx, [rbp - 0x50]
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x50], 0x6c64746e
xor r15d, r15d
mov dword [rbp - 0x4c], 0x6c642e6c
mov word [rbp - 0x48], 0x6c
mov dword [rbp - 0x20], 0x526c7452
mov dword [rbp - 0x1c], 0x6c6c4165
mov dword [rbp - 0x18], 0x7461636f
mov dword [rbp - 0x14], 0x61654865
mov word [rbp - 0x10], 0x70
call fcn.140002274
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.140002294
lea rcx, [rbp - 0x40]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x40], 0x6c64746e
mov dword [rbp - 0x3c], 0x6c642e6c
mov word [rbp - 0x38], 0x6c
mov dword [rbp - 0x30], 0x416c7452
mov dword [rbp - 0x2c], 0x636f6c6c
mov dword [rbp - 0x28], 0x48657461
mov dword [rbp - 0x24], 0x706165
call fcn.140002274
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.140002294
mov rcx, qword [rbx]
lea edi, [r15 + 1]
mov r12, qword [rbx + 8]
mov qword [rbp + 0x50], rax
cmp dword [rcx + 0x94], r15d
jbe 0x140002863
mov esi, dword [rcx + 0x90]
lea edx, [rdi + 0x13]
add rsi, r12
mov rcx, rsi
call r13
test eax, eax
jne 0x140002863
add rsi, 0x10
mov edi, 1
cmp dword [rsi - 4], r15d
je 0x140002863
mov ecx, dword [rsi - 4]
mov rdx, qword [rbx + 0x38]
add rcx, r12
call qword [rbx + 0x20]
mov r14, rax
test rax, rax
je 0x140002860
mov ecx, dword [rbx + 0x18]
mov r15, qword [rbx + 0x10]
inc ecx
movsxd rdi, ecx
shl rdi, 3
call qword [rbp + 0x40]
mov rcx, rax
test r15, r15
je 0x1400027a6
mov r9, rdi
mov r8, r15
xor edx, edx
call qword [rbp + 0x48]
jmp 0x1400027b1
mov r8, rdi
mov edx, 8
call qword [rbp + 0x50]
mov rcx, rax
test rax, rax
je 0x140002852
mov qword [rbx + 0x10], rax
movsxd rax, dword [rbx + 0x18]
mov qword [rcx + rax*8], r14
inc dword [rbx + 0x18]
mov eax, dword [rsi - 0x10]
test eax, eax
jne 0x1400027d5
mov eax, dword [rsi]
mov r15d, eax
mov edi, 1
add r15, r12
mov rax, qword [r15]
test rax, rax
je 0x140002827
mov edi, dword [rsi]
add rdi, r12
mov r8, qword [rbx + 0x38]
mov rcx, r14
test rax, rax
jns 0x1400027ff
movzx edx, word [r15]
jmp 0x140002809
mov rdx, qword [r15]
add rdx, 2
add rdx, r12
call qword [rbx + 0x28]
mov qword [rdi], rax
test rax, rax
je 0x140002844
add r15, 8
add rdi, 8
mov rax, qword [r15]
test rax, rax
jne 0x1400027ed
lea edi, [rax + 1]
add rsi, 0x14
mov edx, 0x14
lea rcx, [rsi - 0x10]
call r13
xor r15d, r15d
test eax, eax
je 0x140002756
jmp 0x140002863
mov rdx, qword [rbx + 0x38]
xor edi, edi
mov rcx, r14
call qword [rbx + 0x30]
jmp 0x140002863
mov rdx, qword [rbx + 0x38]
mov rcx, r14
call qword [rbx + 0x30]
xor edi, edi
jmp 0x140002863
mov edi, r15d
mov rbx, qword [rsp + 0xc8]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400028c0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r15, rcx
mov ecx, 0x4faef192
call fcn.1400021ac
mov ecx, 0x9e5a8833
mov r12, rax
call fcn.1400021ac
mov ecx, 0xf477a895
mov rbx, rax
call fcn.1400021ac
mov ecx, 0xc9f93d32
mov rdi, rax
call fcn.1400021ac
lea rcx, [rbp - 0x20]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x20], 0x6c64746e
mov dword [rbp - 0x1c], 0x6c642e6c
mov word [rbp - 0x18], 0x6c
mov dword [rbp - 0x10], 0x416c7452
mov dword [rbp - 0xc], 0x636f6c6c
mov dword [rbp - 8], 0x48657461
mov dword [rbp - 4], 0x706165
call fcn.140002274
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140002294
mov r13, rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x1400029dd
movsxd rsi, dword [r15 + 0x3c]
add rsi, r15
cmp dword [rsi], 0x4550
jne 0x1400029dd
mov edx, dword [rsi + 0x50]
mov r9d, 4
mov rcx, qword [rsi + 0x30]
mov r8d, 0x3000
call rbx
mov r14, rax
test rax, rax
jne 0x1400029b3
mov edx, dword [rsi + 0x50]
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
call rbx
mov r14, rax
test rax, rax
je 0x1400029dd
call rdi
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x38]
call r13
xor r13d, r13d
mov rdi, rax
mov rcx, r14
test rax, rax
jne 0x1400029fd
xor edx, edx
mov r8d, 0x8000
call r12
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rax + 8], r14
mov r9d, 4
mov qword [rax + 0x18], r13
mov r8d, 0x1000
mov qword [rax + 0x10], r13
lea rax, [0x140002880]
mov qword [rdi + 0x20], rax
lea rax, [0x140002888]
mov qword [rdi + 0x28], rax
lea rax, [0x140002890]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], r13
mov edx, dword [rsi + 0x54]
call rbx
mov r8d, dword [rsi + 0x54]
mov rdx, r15
mov rcx, rax
mov rbx, rax
call qword [rbp + 0x48]
movsxd rax, dword [r15 + 0x3c]
mov r8, rdi
add rax, rbx
mov rdx, rsi
mov qword [rdi], rax
mov rcx, r15
mov qword [rax + 0x30], r14
call fcn.1400022c4
mov rdx, r14
sub rdx, qword [rsi + 0x30]
je 0x140002a7c
mov rcx, rdi
call fcn.1400025b4
mov rcx, rdi
call fcn.140002650
test eax, eax
je 0x1400029dd
mov rcx, rdi
call fcn.1400023b8
mov rcx, rdi
call fcn.140002568
mov rax, qword [rdi]
cmp dword [rax + 0x28], r13d
je 0x140002ac4
mov eax, dword [rax + 0x28]
xor r8d, r8d
add rax, r14
mov rcx, r14
lea ebx, [r8 + 1]
mov edx, ebx
call rax
test eax, eax
je 0x1400029dd
mov dword [rdi + 0x1c], ebx
mov rax, rdi
jmp 0x1400029df

Function at 0x140002b94
Capabilities:
Encode data using xor

Disassembly:
movsxd r8, edx
test edx, edx
jle 0x140002ba7
xor byte [rcx], 0x3a
inc rcx
sub r8, 1
jne 0x140002b9b
mov eax, 1
ret