joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a153c
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [0x140273940]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x1401a15bb
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x1401a159a
lea rdx, [0x14022d100]
call fcn.14000f7b0
mov rax, rbx
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401aaad0
add rsp, 0x310
pop rbx
ret
call fcn.140010674
int3

Function at 0x1401ab6a4
Capabilities:
Parse pe header

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

Function at 0x1401adb44
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1401adb72
xor eax, eax
jmp 0x1401adc58
cmp qword [rcx + 0x68], 0
je 0x1401adb83
call fcn.1401adc74
jmp 0x1401adc58
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1401adb9a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1401adb9c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1401adbce
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1401d8000
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1401adc52
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1401adc05
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1401adc2e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1401c2d6c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1401adc52
cmp rsi, rbx
ja 0x1401adc0c
test rsi, rsi
je 0x1401adc52
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1401c2d6c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1401b8054
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 0x1401b80c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b80c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b80c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b80c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b80c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b80c3
cmp dword [rcx + 0xf8], 0
je 0x1401b80c3
mov ecx, ebx
call fcn.1401b8174
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.1401b7f50
nop
cmp dword [rbp + 0x20], 0
je 0x1401b8111
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401b811c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401b8054

Function at 0x1401b8258
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 0x1401b80c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b80c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b80c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b80c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b80c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b80c3
cmp dword [rcx + 0xf8], 0
je 0x1401b80c3
mov ecx, ebx
call fcn.1401b8174
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.1401b7f50
nop
cmp dword [rbp + 0x20], 0
je 0x1401b8111
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401b811c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401b8054
Function at 0x1401c3454
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.1401aafe0
sub rsp, rax
mov rax, qword [0x140273940]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401c2ae4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401c34a3
mov rax, rbp
jmp 0x1401c35ab
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 + 0x281450]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401ceb84
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x281450]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401c35a7
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 0x1401c35a7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401ceb84
test rax, rax
js 0x1401c35a7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401c35a7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401c3599
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401c3599
cmp byte [rcx], 0xd
jne 0x1401c357f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401c358e
cmp byte [rcx + 1], 0xa
jne 0x1401c358e
inc rcx
jmp 0x1401c358e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x273f70]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401c3561
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401c35ab
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401aaad0
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 0x1401cddbc
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, [0x140281450]
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 0x1401cde13
cmp word [rdx], r13w
jne 0x1401cde13
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401cde18
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401cdf3d
mov r11d, SafeArrayGetDim
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401cdf5e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401cde51
mov rdx, r9
mov word [rbx], cx
jmp 0x1401cde78
cmp r9, r8
jae 0x1401cde88
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 0x1401cde32
jmp 0x1401cdf3d
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 0x1401cdf32
cmp dword [rsp + 0x80], esi
je 0x1401cdf32
lea r8, [0x140281450]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401cdf0a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401cdeda
mov word [rbx], r13w
jmp 0x1401cdf3a
mov ecx, SafeArrayGetDim
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 0x1401cdee7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401cdf3a
cmp word [rsp + 0x70], r13w
jne 0x1401cdf17
cmp rbx, r14
je 0x1401cded4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401ceb8c
cmp word [rsp + 0x70], r13w
je 0x1401cdf3d
mov ecx, SafeArrayGetDim
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, [0x140281450]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401cdf37
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401cdf3d
Function at 0x1401ced28
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401ced3e
mov al, 1
jmp 0x1401ced9e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401ced4f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401ced9c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401c3d94
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401ced9c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401ced9c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401ced9c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401ced9e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1401d00a8
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 0x1401d012f
mov rsi, rbx
cmp word [rax], bp
je 0x1401d00ee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401d00d8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401d00d4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401c8820
mov rdi, rax
test rax, rax
je 0x1401d011c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401d8000
mov rbp, rdi
xor ecx, ecx
call fcn.1401c7ec0
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 0x1401d2b98
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.1401c8274
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 0x1401d2c39
cmp ebx, dword [rsp + 0x30]
je 0x1401d2c32
test esi, esi
je 0x1401d2c32
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401d2c0d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401d2c1a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401d2bf7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401d2c1e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401d2c3b
mov eax, 1
jmp 0x1401d2c3b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401d7970
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401d7998
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401d7998
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003bec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140003c26
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140003c2b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140003c74
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400053d0]
cmp byte [rcx + rax], 0
je 0x140003c74
dec r8
sub rdx, 1
jne 0x140003c5a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000469c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400046e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400046e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400046e6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400046e6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400046e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400046e8
xor al, al
add rsp, 0x28
ret
Function at 0x1400039f0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
cmp qword [rax + 0x68], 0
je 0x140003a26
mov rax, qword [rsp + 0x38]
test byte [rax + 0x71], 1
jne 0x140003a33
mov byte [rsp + 0x97], 1
jmp 0x140003b95
call fcn.140003cc0
mov rcx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rsp + 0x84], eax
call fcn.140003cc0
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x84]
call fcn.140003c90
test al, 1
jne 0x140003a7a
jmp 0x140003a87
mov byte [rsp + 0x97], 0
jmp 0x140003b95
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x78], 0x20
mov rcx, qword [rdx + 0x68]
lea r9, [rsp + 0x70]
add rdx, 0x74
mov rax, rsp
lea r8, [rsp + 0x48]
mov qword [rax + 0x20], r8
lea r8, [rsp + 0x50]
call fcn.140003cd0
mov ecx, eax
mov dword [rsp + 0x34], ecx
test eax, eax
je 0x140003aef
jmp 0x140003acb
mov eax, dword [rsp + 0x34]
sub eax, 1
je 0x140003af8
jmp 0x140003add
mov eax, dword [rsp + 0x34]
sub eax, 3
je 0x140003b77
jmp 0x140003b8d
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x71], 0
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
sub rax, rcx
mov qword [rsp + 0x40], rax
xor eax, eax
cmp rax, qword [rsp + 0x40]
jae 0x140003b5f
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov edx, 1
call fcn.140011ee0
mov rcx, rax
mov rax, qword [rsp + 0x28]
cmp rax, rcx
je 0x140003b5f
mov byte [rsp + 0x97], 0
jmp 0x140003b95
mov rax, qword [rsp + 0x38]
mov al, byte [rax + 0x71]
xor al, 0xff
and al, 1
mov byte [rsp + 0x97], al
jmp 0x140003b95
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x71], 0
mov byte [rsp + 0x97], 1
jmp 0x140003b95
mov byte [rsp + 0x97], 0
mov al, byte [rsp + 0x97]
and al, 1
movzx eax, al
add rsp, 0x98
ret

Function at 0x14000b1fc
Capabilities:
Parse pe header

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

Function at 0x140013608
Capabilities:
Parse pe header

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

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x180002b8c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x180002be6
mov r11b, 0x23
lea rbx, [0x180047ba0]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x180002bd0
cmp rdx, 2
jb 0x180002bd0
cmp byte [r10], r11b
jne 0x180002bd0
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x180002bae
jmp 0x180002c27
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180002c27
mov r11b, 0x23
lea rbx, [0x180047ba0]
cmp dl, r11b
jne 0x180002c0b
cmp byte [r10], r11b
jne 0x180002c0b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x180002bf9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x180002d94
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 r14, r8
test r8, r8
je 0x180002db5
and qword [r8], 0
lea rdx, [0x180047690]
call fcn.180002c38
mov rbx, rax
test rax, rax
je 0x180002e78
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180002e6f
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002e6f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002e6f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002e6f
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x180002e6f
mov rcx, rdi
call fcn.18000606c
mov rdi, rax
test rax, rax
je 0x180002e6f
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x180002e5c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.1800060b4
jmp 0x180002e78
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180002e6a
mov qword [r14], rsi
mov rax, rdi
jmp 0x180002e7a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18000e6dc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1801a5040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0x108]
mov r11d, 4
mov rax, qword [rcx + 0x110]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180047ba0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000e71b
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x40bc], ebx
jne 0x18000e755
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.1800178a0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180043740
add rsp, 0x30
pop rbx
ret

Function at 0x18000e76c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1801a5040]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x128]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x12c]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0x110]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0x108]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x180047ba0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18000e7e9
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.180043740
add rsp, 0x28
ret

Function at 0x1800165c4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6080], 0
lea rdi, [rcx + 0x6088]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x180016641
xor edx, edx
call fcn.1800185c8
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.180003608
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x6080]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1801a5af8]
movsxd r8, eax
mov rax, qword [rbx + 0x6090]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180016646
call fcn.180003608
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180016c7c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1801a5b00]
mov rbx, rcx
and dword [rax + 0x5fd4], 0
test rcx, rcx
je 0x180016ce5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.180016cf0
lea rdx, [0x180047694]
mov rcx, rbx
mov rdi, rax
call fcn.180002c38
mov rbx, rax
test rax, rax
je 0x180016ce5
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret