joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov esi, r9d
mov r10, rdx
mov r14, rcx
test r9b, 1
jne 0x14005117a
cmp r10, r8
je 0x14005117a
mov rdi, qword [r14]
xor r9d, r9d
movzx eax, word [r10]
xor r11d, r11d
lea rcx, [rax + rax*2]
mov ebx, dword [rdi + rcx*8]
lea r10, [rdi + rcx*8]
mov edx, ebx
mov ecx, ebx
shr edx, 0x1c
cmp edx, 8
jne 0x1400510b6
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x1400510bb
or r9d, dword [r10 + 4]
movzx eax, cx
jmp 0x14005108d
cmp edx, 5
jne 0x1400510c0
movzx eax, cx
jmp 0x14005108d
and ecx, 0x3000000
or r9d, ecx
mov ecx, dword [r8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
je 0x14005110f
movzx eax, cx
lea rcx, [rax + rax*2]
lea r8, [rdi + rcx*8]
mov ecx, dword [rdi + rcx*8]
mov eax, ecx
shr eax, 0x1c
cmp eax, 8
jne 0x140051101
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x1400510da
or r11d, dword [r8 + 4]
jmp 0x1400510da
cmp eax, 5
je 0x1400510da
and ecx, 0x3000000
or r11d, ecx
test sil, 4
je 0x140051120
cmp r9d, r11d
jne 0x1400511a8
jmp 0x140051145
test sil, 8
jne 0x140051145
mov eax, r11d
and eax, r9d
cmp eax, r11d
jne 0x1400511a8
cmp edx, 4
je 0x14005117a
mov eax, dword [r8]
and eax, 0xf0000000
cmp eax, 0x40000000
je 0x14005117a
mov ecx, dword [r8]
mov eax, ecx
shr eax, 0x1c
cmp edx, eax
jne 0x1400511a8
mov eax, dword [r8 + 4]
cmp dword [r10 + 4], eax
jne 0x1400511a8
test edx, edx
je 0x14005119e
and ebx, 0xe0000000
cmp ebx, 0x20000000
jne 0x140051194
or esi, 4
test sil, 1
je 0x140051077
mov eax, 1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
cmp edx, 1
jne 0x14005117a
cmp r10, r8
jmp 0x1400511a6
xor ecx, ebx
test ecx, 0xc000000
je 0x14005117a
xor eax, eax
jmp 0x14005117f
Function at 0x140054740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x4500
shr r8, 2
or dx, ax
mov word [rcx + 0xba], r8w
mov eax, 0x7fff
mov word [rcx + 0xbc], dx
mov word [rcx + 0xb8], ax
jmp fcn.14005f2c0
Function at 0x140059490
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
inc dword [rcx + 0x6c]
mov esi, r8d
cmp dword [rcx + 0x6c], 0x14
mov rdi, rdx
mov rbx, rcx
jg 0x1400594e1
call fcn.140059060
mov rdx, rdi
mov rcx, rbx
call fcn.140058e40
dec dword [rbx + 0x6c]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140058020
mov edx, 0x8d0
call fcn.140057e40
int3
Function at 0x14005f2c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
lea r14, [0x140000000]
mov ecx, dword [rcx + 0xa8]
mov eax, ecx
and eax, 0xfff0000
cmp eax, 0x3ff0000
je 0x14005f378
bt ecx, 0x10
jb 0x14005f318
movzx eax, byte [rdi + 0xbd]
test byte [rax + r14 + 0xbb4c0], 0x60
jne 0x14005f318
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14005bc80
mov eax, ecx
and eax, 0xb0000
cmp eax, 0xb0000
je 0x14005f354
movzx edx, byte [rdi + 0xbd]
movzx eax, byte [rdx + r14 + 0xbb4c0]
and al, 0x60
cmp al, 0x40
jne 0x14005f354
cmp dl, 0x47
je 0x14005f354
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400546b0
and ecx, 0x110000
cmp ecx, 0x110000
je 0x14005f378
movzx eax, byte [rdi + 0xbd]
movzx eax, byte [rax + r14 + 0xbb4c0]
and al, 0x60
cmp al, 0x60
je 0x14005f341
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov ebp, 0x7ffd
mov qword [rsp + 0x40], rsi
nop dword [rax]
movzx r8d, byte [rdi + 0xbd]
movzx ecx, word [rdi + 0xb8]
mov r9d, dword [rdi + 0x28]
shl r8d, 0x11
cmp ecx, r9d
jb 0x14005f3e0
mov r10, qword [rdi + 0x20]
lea rdx, [rcx*8]
movzx eax, byte [rdx + r10 + 5]
shl eax, 0xa
add r8d, eax
mov rax, qword [rdx + r10]
mov qword [rdi + 0xc0], rax
cmp cx, bp
jae 0x14005f3e0
mov rax, qword [rdx + r10 + 8]
mov qword [rdi + 0xc8], rax
movzx edx, word [rdi + 0xba]
cmp edx, r9d
jb 0x14005f414
mov r9, qword [rdi + 0x20]
mov rax, qword [r9 + rdx*8]
movzx ecx, byte [r9 + rdx*8 + 5]
mov qword [rdi + 0xd0], rax
cmp dx, bp
jae 0x14005f41c
mov rax, qword [r9 + rdx*8 + 8]
mov qword [rdi + 0xd8], rax
jmp 0x14005f41c
mov ecx, edx
and ecx, 0x3ff
lea esi, [rcx + r8]
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8d, ebx
mov eax, 0x5e1d27b
and r8d, 0x1ffff
or r8d, esi
mov ecx, r8d
ror ecx, 0xb
sub ecx, r8d
rol ecx, 0xe
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3e9
sub ecx, eax
mov edx, dword [r14 + rcx*4 + 0xbc300]
mov eax, edx
and eax, 0xffffff
cmp eax, r8d
je 0x14005f48e
lea eax, [rcx + 1]
mov edx, dword [r14 + rax*4 + 0xbc300]
mov eax, edx
and eax, 0xffffff
cmp eax, r8d
jne 0x14005f4a6
mov eax, edx
mov rcx, rdi
shr rax, 0x18
call qword [r14 + rax*8 + 0xbbe10]
movzx edx, ax
test edx, edx
jne 0x14005f4c0
cmp ebx, 0xfffff
je 0x14005f4e3
mov eax, ebx
shr eax, 0xa
or ebx, eax
xor ebx, 0xffc00
jmp 0x14005f430
cmp edx, 5
jae 0x14005f4f9
cmp edx, 1
je 0x14005f390
cmp edx, 2
jne 0x14005f4ed
mov edx, dword [rdi + 0xb8]
mov rcx, rdi
call fcn.140054ac0
jmp 0x14005f507
mov rcx, rdi
call fcn.14005bc80
jmp 0x14005f507
cmp edx, 3
je 0x14005f522
mov eax, 0xffff
jmp 0x14005f507
mov rax, qword [rdi + 0x20]
movzx eax, byte [rax + rdx*8 + 4]
shl eax, 0x18
add eax, edx
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov edx, 0x18
mov rcx, rdi
call fcn.140016e60
int3
Function at 0x14005f530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
movzx r11d, word [rdx + 2]
mov r14, rcx
movzx r9d, word [r8 + 2]
cmp rdx, r8
je 0x14005f683
mov r10, qword [rcx + 0x20]
cmp byte [r10 + r11*8 + 5], 0x1e
lea rbx, [r10 + r11*8]
jne 0x14005f567
movzx r11d, word [rbx]
lea rbx, [r10 + r11*8]
cmp byte [r10 + r9*8 + 5], 0x1e
lea rcx, [r10 + r9*8]
jne 0x14005f57b
movzx r9d, word [rcx]
lea rcx, [r10 + r9*8]
movzx edi, byte [rdx + 5]
lea eax, [rdi - 0x38]
cmp al, 1
jbe 0x14005f58b
movzx eax, word [rdx]
jmp 0x14005f593
movzx eax, word [rdx]
movzx eax, word [r10 + rax*8]
movzx edx, ax
movzx eax, byte [r8 + 5]
sub al, 0x38
cmp al, 1
jbe 0x14005f5a7
movzx eax, word [r8]
jmp 0x14005f5b0
movzx eax, word [r8]
movzx eax, word [r10 + rax*8]
movzx r8d, ax
cmp r11d, r9d
jne 0x14005f5d2
cmp edx, r8d
je 0x14005f683
mov rcx, r14
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp fcn.14005f730
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r15
mov r15d, 0x8000
cmp r11d, r15d
jae 0x14005f5f1
cmp r9d, r15d
jb 0x14005f653
cmp dil, 0x38
jne 0x14005f648
xor esi, esi
mov ebp, r11d
cmp byte [rbx + 5], 0x29
mov edi, esi
jne 0x14005f61e
movzx eax, word [rbx + 2]
cmp ax, r15w
jae 0x14005f61e
movzx ebp, word [rbx]
mov esi, dword [r10 + rax*8]
cmp ebp, r9d
jne 0x14005f61e
test esi, esi
jne 0x14005f653
cmp byte [rcx + 5], 0x29
jne 0x14005f63f
movzx eax, word [rcx + 2]
cmp ax, r15w
jae 0x14005f63f
movzx r9d, word [rcx]
mov edi, dword [r10 + rax*8]
cmp r11d, r9d
jne 0x14005f63f
test edi, edi
jne 0x14005f653
cmp ebp, r9d
jne 0x14005f66d
cmp esi, edi
jmp 0x14005f651
movzx eax, byte [rcx + 4]
xor al, byte [rbx + 4]
test al, 0x1f
je 0x14005f66d
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
cmp edx, r8d
jne 0x14005f679
mov eax, 1
jmp 0x14005f655
mov rcx, r14
call fcn.14005f730
jmp 0x14005f655
mov eax, 2
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x140060630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx eax, byte [rcx + 0xd4]
lea rsi, [rcx + 0xb8]
movzx r12d, word [rsi]
and al, 0x1f
mov r15, rcx
cmp al, 0xe
jne 0x140060698
movzx edx, word [rcx + 0x208]
cmp edx, r12d
jbe 0x140060698
movzx eax, word [rcx + 0x226]
cmp eax, r12d
jbe 0x140060698
nop
cmp eax, edx
jb 0x1400607eb
mov ecx, eax
mov rax, qword [r15 + 0x20]
movzx eax, word [rax + rcx*8 + 6]
cmp eax, r12d
ja 0x140060680
movzx eax, word [r15 + 0x228]
cmp eax, r12d
jbe 0x1400607ef
mov rbx, qword [r15 + 0x20]
mov ebp, 0x8000
mov dword [rsp + 0x50], ebp
nop word [rax + rax]
lea r13, [rbx + rax*8]
movzx eax, word [rbx + rax*8]
movzx ecx, word [rbx + rax*8 + 2]
lea rdx, [rbx + rax*8]
cmp rsi, rdx
je 0x1400607eb
movzx r9d, word [rsi + 2]
cmp byte [rbx + r9*8 + 5], 0x1e
lea r8, [rbx + r9*8]
jne 0x1400606f3
movzx r9d, word [r8]
lea r8, [rbx + r9*8]
cmp byte [rbx + rcx*8 + 5], 0x1e
lea r10, [rbx + rcx*8]
jne 0x140060706
movzx ecx, word [r10]
lea r10, [rbx + rcx*8]
movzx r11d, byte [rsi + 5]
lea eax, [r11 - 0x38]
cmp al, 1
jbe 0x140060718
movzx eax, word [rsi]
jmp 0x14006071f
movzx eax, word [rsi]
movzx eax, word [rbx + rax*8]
movzx r14d, ax
movzx eax, byte [rdx + 5]
sub al, 0x38
cmp al, 1
jbe 0x140060732
movzx eax, word [rdx]
jmp 0x140060739
movzx eax, word [rdx]
movzx eax, word [rbx + rax*8]
movzx edi, ax
cmp r9d, ecx
je 0x1400607c0
cmp r9d, ebp
jae 0x14006074e
cmp ecx, ebp
jb 0x1400607d7
cmp r11b, 0x38
jne 0x1400607b3
xor r11d, r11d
xor edx, edx
cmp byte [r8 + 5], 0x29
mov ebp, r9d
jne 0x140060780
movzx eax, word [r8 + 2]
cmp ax, word [rsp + 0x50]
jae 0x140060780
movzx ebp, word [r8]
mov r11d, dword [rbx + rax*8]
cmp ebp, ecx
jne 0x140060780
test r11d, r11d
jne 0x1400607d7
cmp byte [r10 + 5], 0x29
jne 0x1400607a8
movzx eax, word [r10 + 2]
mov r8d, 0x8000
cmp ax, r8w
jae 0x1400607a8
movzx ecx, word [r10]
mov edx, dword [rbx + rax*8]
cmp r9d, ecx
jne 0x1400607a8
test edx, edx
jne 0x1400607d7
cmp ebp, ecx
jne 0x1400607c0
cmp r11d, edx
je 0x1400607c0
jmp 0x1400607d7
movzx eax, byte [r10 + 4]
xor al, byte [r8 + 4]
test al, 0x1f
jne 0x1400607d7
cmp r14d, edi
je 0x1400607eb
mov r8d, edi
mov edx, r14d
mov rcx, r15
call fcn.14005f730
test eax, eax
jne 0x1400607eb
movzx eax, word [r13 + 6]
cmp eax, r12d
jbe 0x1400607ef
mov ebp, 0x8000
jmp 0x1400606c0
xor eax, eax
jmp 0x1400607f4
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140060ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
movzx esi, dx
mov rdi, rcx
movzx r9d, word [rcx + rsi*2 + 0x1a2]
cmp r9d, r8d
jbe 0x140060b7d
mov r11, qword [rcx + 0x20]
mov eax, r8d
lea rbp, [r11 + rax*8]
nop word [rax + rax]
movzx eax, byte [r11 + r9*8 + 4]
lea rbx, [r11 + r9*8]
movzx ecx, word [rbx]
and al, 0x1f
cmp ecx, r8d
je 0x140060bbf
test al, al
jne 0x140060b73
movzx r9d, word [r11 + rcx*8 + 2]
movzx r10d, word [rbp + 2]
cmp esi, 0x42
je 0x140060b5c
movzx edx, byte [r11 + r10*8 + 4]
xor dl, byte [r11 + r9*8 + 4]
test dl, 0x1f
jne 0x140060b73
cmp r9d, r10d
je 0x140060ba6
cmp r9d, 0x8000
jae 0x140060ba6
cmp r10d, 0x8000
jae 0x140060ba6
movzx r9d, word [rbx + 6]
cmp r9d, r8d
ja 0x140060b20
movzx eax, word [rdi + rsi*2 + 0x192]
cmp eax, r8d
jbe 0x140060ba6
mov rdx, qword [rdi + 0x20]
nop
lea rcx, [rdx + rax*8]
movzx eax, word [rdx + rax*8]
cmp eax, r8d
je 0x140060bca
movzx eax, word [rcx + 6]
cmp eax, r8d
ja 0x140060b90
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
jmp 0x140060ba8
test byte [rcx + 4], 0x1f
mov ecx, 0
setne cl
mov eax, ecx
jmp 0x140060ba8
Function at 0x140061c50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x20
mov r10, qword [rcx + 0x20]
mov esi, r9d
movzx r14d, dx
mov r12d, r8d
mov r9d, edx
mov rbp, rcx
movzx r15d, byte [r10 + r14*8 + 5]
cmp r15d, 0x35
jb 0x140061d8f
cmp r15d, r8d
jg 0x140061d8f
xor edx, edx
add rcx, 0xb24
nop word [rax + rax]
cmp word [rcx], r14w
jne 0x140061cba
mov eax, dword [rcx + 4]
cmp eax, esi
jb 0x140061cba
xor eax, esi
test eax, 0xfff
je 0x140061d7e
inc rdx
add rcx, 8
cmp rdx, 0x10
jl 0x140061ca0
movzx edx, word [r10 + r14*8]
mov r9d, esi
mov qword [rsp + 0x40], rbx
mov rcx, rbp
movzx ebx, word [r10 + r14*8 + 2]
mov qword [rsp + 0x48], rdi
call fcn.140061c50
mov r9d, esi
mov r8d, r12d
mov edx, ebx
mov rcx, rbp
mov edi, eax
call fcn.140061c50
mov ecx, 0xf4
mov word [rbp + 0xb8], di
add r15w, cx
mov word [rbp + 0xba], ax
movzx edx, r15w
mov ecx, 0x100
imul edx, ecx
mov r8d, esi
shr r8d, 5
mov rcx, rbp
and r8w, 0x1f
or r8w, dx
mov word [rbp + 0xbc], r8w
call fcn.14005f2c0
mov ecx, dword [rbp + 0xba4]
mov r9d, eax
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rdx, [rcx*8]
lea eax, [rcx + 1]
and eax, 0xf
mov dword [rbp + 0xba4], eax
mov word [rdx + rbp + 0xb24], r14w
mov word [rdx + rbp + 0xb26], r9w
mov dword [rdx + rbp + 0xb28], esi
jmp 0x140061dd0
movzx ecx, word [rcx + 2]
movzx eax, byte [r10 + rcx*8 + 4]
shl eax, 0x18
add eax, ecx
jmp 0x140061dd3
bt esi, 0xb
jae 0x140061dd0
movzx ecx, byte [r10 + r14*8 + 4]
mov edx, 0x605fd9
and ecx, 0x1f
shr edx, cl
test dl, 1
jne 0x140061dd0
mov eax, 0x5b15
mov word [rbp + 0xb8], r14w
mov rcx, rbp
mov word [rbp + 0xbc], ax
mov word [rbp + 0xba], si
call fcn.14005f2c0
mov r9d, eax
mov eax, r9d
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14006b8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
mov edx, 0x14
call fcn.140054ac0
mov ecx, 0x548a
mov word [rdi + 0xb8], ax
mov word [rdi + 0xbc], cx
mov rcx, rdi
mov word [rdi + 0xba], bx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005f2c0

Function at 0x14006e7c4
Capabilities:
Parse pe header

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

Function at 0x14008fbb0
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 0x14008fa0f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008fa0f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008fa0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008fa0f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008fa0f
cmp dword [rcx + 0x84], 0xe
jbe 0x14008fa0f
cmp dword [rcx + 0xf8], 0
je 0x14008fa0f
mov ecx, ebx
call fcn.14008facc
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.14008f89c
nop
cmp dword [rbp + 0x20], 0
je 0x14008fa5d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008fa68
int3
xor r8d, r8d
xor edx, edx
jmp 0x14008f9a0
Function at 0x140097994
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400b5a70
sub rsp, rax
mov rax, qword [0x1400d71e0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400a0578
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400979e3
mov rax, rbp
jmp 0x140097aeb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xd8a40]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400a5e00
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xd8a40]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140097ae7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140097ae7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400a5e00
test rax, rax
js 0x140097ae7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140097ae7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140097ad9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140097ad9
cmp byte [rcx], 0xd
jne 0x140097abf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140097ace
cmp byte [rcx + 1], 0xa
jne 0x140097ace
inc rcx
jmp 0x140097ace
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xd7510]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140097aa1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140097aeb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14006dbb0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140099fe8
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140088f20
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x14009a033
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x14009a067
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14009a067
call fcn.14009e19c
xor ebx, ebx
test eax, eax
jne 0x14009a055
cmp byte [rbp - 0x48], bl
je 0x14009a04e
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x14009a067
cmp byte [rbp - 0x48], bl
je 0x14009a065
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.140099a74
mov esi, eax
test eax, eax
je 0x14009a0a3
call fcn.140080838
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x14009a0fc
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.140099a74
mov edi, eax
test eax, eax
je 0x14009a0df
call fcn.140080838
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x14009a0ee
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1400aa0e4
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x14009a0fc
mov rcx, qword [rbp - 0x50]
call fcn.14009de98
cmp byte [rbp - 8], bl
je 0x14009a10a
mov rcx, qword [rbp - 0x20]
call fcn.14009de98
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400a3588
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, [0x1400d8a40]
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 0x1400a35e6
cmp word [rdx], r12w
jne 0x1400a35e6
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400a35ec
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400a3747
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400a3722
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400a3625
mov rcx, r9
jmp 0x1400a3648
cmp r9, rdx
jae 0x1400a365f
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 0x1400a3609
jmp 0x1400a3747
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 0x1400a371c
cmp dword [rsp + 0x80], edi
je 0x1400a371c
mov rdx, r14
lea r11, [0x1400d8a40]
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 0x1400a36f5
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400a36c8
mov word [rbx], r12w
jmp 0x1400a3743
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 0x1400a36d1
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400a3743
cmp word [rsp + 0x70], r12w
jne 0x1400a3702
cmp rbx, rsi
je 0x1400a36c2
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400a5e08
cmp word [rsp + 0x70], r12w
je 0x1400a3747
mov word [rbx], r13w
jmp 0x1400a3743
lea r11, [0x1400d8a40]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400a373f
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400a3747
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 0x1400a4144
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 0x1400a4176
call fcn.140080838
mov dword [rax], 0x16
call fcn.14009ddb8
jmp 0x1400a4295
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400a4295
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400a4295
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400a41a5
lock or dword [rcx + 0x14], 0x10
jmp 0x1400a4295
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400a41b9
call fcn.1400a7a94
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400a0578
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400a3a34
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400a4283
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400a424e
mov rcx, rsi
call fcn.1400a0578
cmp eax, edi
je 0x1400a4239
mov rcx, rsi
call fcn.1400a0578
cmp eax, 0xfffffffe
je 0x1400a4239
mov rcx, rsi
call fcn.1400a0578
movsxd rbx, eax
lea r14, [0x1400d8a40]
mov rcx, rsi
sar rbx, 6
call fcn.1400a0578
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400a4240
lea rdx, [0x1400d7340]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400a424e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400a4272
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400a4272
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400a4272
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 0x1400a4298
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