joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005b64
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400dbd6c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140002cde
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400dbdf6
cmp byte [rbp - 0x21], r15b
je 0x1400dbdf1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400dbe2c
call fcn.1400061d1
test eax, eax
jne 0x1400dbe18
cmp byte [rbp - 0x21], r15b
je 0x1400dbe10
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400dbe2c
cmp byte [rbp - 0x21], r15b
je 0x1400dbe29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000654b
test eax, eax
jne 0x1400dbecc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002cde
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400dbe6b
cmp byte [rbp - 0x21], r15b
je 0x1400dbea0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400dbea0
call fcn.1400061d1
test eax, eax
jne 0x1400dbe8c
cmp byte [rbp - 0x21], r15b
je 0x1400dbe85
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400dbea0
cmp byte [rbp - 0x21], r15b
je 0x1400dbe9d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000654b
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400dbecc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400dbecf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400dbedd
mov rcx, rdi
call fcn.140001258
cmp byte [rbp + 0x3f], r15b
je 0x1400dbeec
mov rcx, qword [rbp + 0x27]
call fcn.140001258
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140005cf9
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400a9384
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 0x1400a915f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a915f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a915f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a915f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a915f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a915f
cmp dword [rcx + 0xf8], 0
je 0x1400a915f
mov ecx, ebx
call fcn.1400a92c8
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.1400a8e50
nop
cmp dword [rbp + 0x20], 0
je 0x1400a91ad
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a91e8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400a90f0

Function at 0x140005d9e
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400389b4
jmp 0x1400568ac
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400389e6
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400389c9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140004138
Function at 0x1400105d2
Capabilities:
Parse credit card information

Disassembly:
jmp 0x1400105d2
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
mov edi, 1
cmp edx, 0x3a
je 0x140010601
xor edi, edi
cmp ebp, 0x3d
je 0x140010601
xor eax, eax
cmp ebp, 0x2e
mov edi, 0xe
cmove edi, eax
mov rbx, qword [rsi]
xor r14d, r14d
movabs r15, 0x4800800000000001
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x140010622
bt r15, rcx
jb 0x14001062f
mov rcx, rsi
call fcn.140004cc3
inc r14
jmp 0x140010611
cmp eax, ebp
jne 0x1400106de
cmp ebp, 0x3a
jne 0x140010675
mov r8, qword [rsi]
mov rcx, qword [rsi + 0x68]
mov r9d, dword [rsi + 0x70]
shr r9d, 8
and r9d, 1
mov rdx, rbx
call fcn.1400061bd
test ax, ax
je 0x1400106e5
lea rcx, [rsi + 0x40]
mov rdx, qword [rsi + 0x48]
mov r8d, eax
xor r9d, r9d
call fcn.14000218f
jmp 0x1400106bc
cmp ebp, 0x2e
je 0x140010698
cmp ebp, 0x3d
jne 0x1400106bc
mov r8, qword [rsi]
cmp rbx, r8
je 0x1400106ef
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.140003535
jmp 0x1400106bc
mov r8, qword [rsi]
cmp rbx, r8
je 0x1400106ef
lea rcx, [rsi + 0x40]
mov rax, qword [rsi + 0x48]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov r9, r14
call fcn.140005fbf
mov rcx, rsi
call fcn.140004cc3
cmp dword [rsi + 0x7c], 0x5d
jne 0x1400106de
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140004cc3
mov ecx, edi
call fcn.140005182
mov ecx, 1
call fcn.140005182
xor ecx, ecx
call fcn.140005182
int3

Function at 0x14001bbd8
Capabilities:
Parse pe header

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

Function at 0x14006507c
Capabilities:
Get geographical location

Disassembly:
jmp 0x14006507c
sub rsp, 0x28
call fcn.140003d41
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400650ce
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400650ce
sub ecx, 1
je 0x1400650c7
cmp ecx, 1
je 0x1400650c0
xor eax, eax
jmp 0x1400650d3
mov eax, 3
jmp 0x1400650d3
mov eax, 1
jmp 0x1400650d3
mov eax, 2
add rsp, 0x28
ret
Function at 0x140079ae0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140079ae0
mov rax, rcx
neg rcx
test rax, 7
je 0x140079afd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140079b58
test al, 7
jne 0x140079af0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140079b11
mov rdx, qword [rax - 8]
test dl, dl
je 0x140079b82
test dh, dh
je 0x140079b7c
shr rdx, 0x10
test dl, dl
je 0x140079b76
test dh, dh
je 0x140079b70
shr rdx, 0x10
test dl, dl
je 0x140079b6a
test dh, dh
je 0x140079b64
shr edx, 0x10
test dl, dl
je 0x140079b5e
test dh, dh
jne 0x140079b11
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400a90f0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400a9384
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 0x1400a915f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a915f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a915f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a915f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a915f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a915f
cmp dword [rcx + 0xf8], 0
je 0x1400a915f
mov ecx, ebx
call fcn.1400a92c8
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.1400a8e50
nop
cmp dword [rbp + 0x20], 0
je 0x1400a91ad
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a91e8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400a90f0
Function at 0x1400ca084
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ca084
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 0x1400ca0b4
xor eax, eax
jmp 0x1400ca177
mov rbp, rbx
cmp word [rax], si
je 0x1400ca0d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400ca0c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400ca0bc
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.140004ad4
movsxd r14, eax
test eax, eax
jne 0x1400ca117
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400ca0ad
mov rcx, r14
call fcn.140001064
mov rdi, rax
test rax, rax
jne 0x1400ca130
xor ecx, ecx
call fcn.140001258
jmp 0x1400ca10c
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.140004ad4
test eax, eax
jne 0x1400ca161
mov rcx, rdi
call fcn.140001258
jmp 0x1400ca16b
xor ecx, ecx
call fcn.140001258
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 0x1400ca1d8
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ca1d8
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 0x1400ca25f
mov rsi, rbx
cmp word [rax], bp
je 0x1400ca21e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400ca208
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400ca204
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140001064
mov rdi, rax
test rax, rax
je 0x1400ca24c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003585
mov rbp, rdi
xor ecx, ecx
call fcn.140001258
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 0x1400cf188
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.1400020db
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 0x1400cf229
cmp ebx, dword [rsp + 0x30]
je 0x1400cf222
test esi, esi
je 0x1400cf222
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400cf1fd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400cf20a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400cf1e7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400cf20e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400cf22b
mov eax, 1
jmp 0x1400cf22b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400da7a0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400da7b6
mov al, 1
jmp 0x1400da816
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400da7c7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400da814
mov ecx, dword [rcx + 0x18]
nop
call fcn.140006145
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400da814
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400da814
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400da814
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400da816
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400dbd6c
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400dbd6c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140002cde
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400dbdf6
cmp byte [rbp - 0x21], r15b
je 0x1400dbdf1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400dbe2c
call fcn.1400061d1
test eax, eax
jne 0x1400dbe18
cmp byte [rbp - 0x21], r15b
je 0x1400dbe10
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400dbe2c
cmp byte [rbp - 0x21], r15b
je 0x1400dbe29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000654b
test eax, eax
jne 0x1400dbecc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002cde
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400dbe6b
cmp byte [rbp - 0x21], r15b
je 0x1400dbea0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400dbea0
call fcn.1400061d1
test eax, eax
jne 0x1400dbe8c
cmp byte [rbp - 0x21], r15b
je 0x1400dbe85
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400dbea0
cmp byte [rbp - 0x21], r15b
je 0x1400dbe9d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000654b
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400dbecc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400dbecf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400dbedd
mov rcx, rdi
call fcn.140001258
cmp byte [rbp + 0x3f], r15b
je 0x1400dbeec
mov rcx, qword [rbp + 0x27]
call fcn.140001258
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400e4ea8
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, [0x14011fff0]
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 0x1400e4eff
cmp word [rdx], r13w
jne 0x1400e4eff
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400e4f04
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400e5029
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400e504a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400e4f3d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400e4f64
cmp r9, r8
jae 0x1400e4f74
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 0x1400e4f1e
jmp 0x1400e5029
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 0x1400e501e
cmp dword [rsp + 0x80], esi
je 0x1400e501e
lea r8, [0x14011fff0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400e4ff6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400e4fc6
mov word [rbx], r13w
jmp 0x1400e5026
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 0x1400e4fd3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400e5026
cmp word [rsp + 0x70], r13w
jne 0x1400e5003
cmp rbx, r14
je 0x1400e4fc0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140001cc6
cmp word [rsp + 0x70], r13w
je 0x1400e5029
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, [0x14011fff0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400e5023
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400e5029
Function at 0x140b84058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b841df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b84089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b8406f
add dl, dl
jne 0x140b84096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b840f6
xor eax, eax
add dl, dl
jne 0x140b840a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b841ad
add dl, dl
jne 0x140b840b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b840c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b840d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b840dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b840ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b8407e
mov eax, 1
add dl, dl
jne 0x140b84106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b84113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b840fb
sub eax, ebx
mov ebx, 1
jne 0x140b8414c
mov ecx, 1
add dl, dl
jne 0x140b8412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b8413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b84123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b84168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b84175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b8415d
cmp eax, 0x7d00
jae 0x140b8419b
cmp eax, 0x500
jb 0x140b84196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8407e
cmp eax, 0x7f
ja 0x140b8419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b841d2
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 0x140b8407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002040
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140089180]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.140059100
test rax, rax
je 0x140002071
mov qword [rax], rdi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140003680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400020be
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140059490
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140007a00
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140089180]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140009630
xor edx, edx
lea rcx, [0x140007af0]
call qword [sym.imp.USER32.dll_EnumWindows]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 8
call fcn.140059100
test rax, rax
je 0x140007a4f
lea rcx, [0x140009650]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140003680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140007ac1
cmp dword [rsp + 0x38], 0
je 0x140007ab6
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140007ab6
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140059490
add rsp, 0x68
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x1400098c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140089180]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 8
call fcn.140059100
test rax, rax
je 0x1400098ec
lea rcx, [0x1400095c0]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140003680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000995e
cmp dword [rsp + 0x38], 0
je 0x140009953
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140009953
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140059490
add rsp, 0x68
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3