joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800691d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [0x180177698]
mov rbx, rcx
mov rcx, qword [0x1801776a0]
cmp rax, rcx
je 0x180069213
cmp qword [rax], rbx
je 0x180069412
add rax, 0x10
cmp rax, rcx
jne 0x180069201
mov dl, 3
mov qword [rsp + 0xc8], rdi
call fcn.180071aa0
mov rdi, rax
lea r8, [rsp + 0x40]
movabs rax, 0x3b1121906424e063
mov edx, r8d
mov qword [rsp + 0x30], rax
movabs rax, 0xfa059e089edbad
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x165070935b0748a1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x64a8a82fd9a0487e
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x653c1521f753bcbe
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0x7fb1dc8c814ae86e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x4f3145f5084d8105
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x6fda61f061f8fbc2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x793650e73e742ec7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
movabs rax, 0x44ccc44ab0c6680c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
movabs rax, 0x165d7d019f27d5c9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
movabs rax, 0x7fb1dc8c816ad206
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rsp + 0x40]
pxor xmm2, xmmword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rsp + 0x80]
mov qword [rsp + 0x98], rax
movq rax, xmm2
pxor xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm1
test al, al
je 0x1800693bb
nop
inc rcx
mov rdx, rcx
cmp byte [rcx], 0
jne 0x1800693b0
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
or word [rdi + 8], 6
mov rdx, rbx
mov rcx, rdi
call fcn.180069640
mov rdi, qword [rsp + 0xc8]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800d6d50
add rsp, 0xb0
pop rbx
ret
cmp rax, rcx
je 0x180069213
mov eax, dword [rax + 8]
jmp 0x1800693f9
Function at 0x180069640
Capabilities:
Encrypt data using rc4 ksa
Write file on windows

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r9, rdx
xor r11d, r11d
movzx edx, word [rcx + 8]
mov rbx, rcx
mov eax, 0xa
test dl, 4
je 0x18006967f
lea r8d, [rax + 6]
lea r11, [0x18015e088]
jmp 0x1800696a1
test dl, 0x10
je 0x18006968c
mov r8d, 8
jmp 0x1800696a1
mov r8, rax
test dl, 0x20
je 0x1800696a4
mov r8d, 2
lea r11, [0x18015e08c]
mov eax, r8d
mov byte [rsp + 0x72], 0
lea rcx, [rsp + 0x72]
test r9, r9
jne 0x1800696c2
lea rcx, [rsp + 0x71]
mov byte [rsp + 0x71], 0x30
jmp 0x18006980f
lea r10, [0x180000000]
cmp eax, 0xa
jne 0x180069773
cmp r9, 0x64
jb 0x180069739
mov qword [rsp + 0xa0], rdi
movabs rdi, 0x47ae147ae147ae15
nop word [rax + rax]
mov r8, r9
mov rax, rdi
mul r9
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 6
imul rax, r8, 0x64
sub r9, rax
movzx eax, byte [r10 + r9*2 + 0x128b01]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r10 + r9*2 + 0x128b00]
mov r9, r8
mov byte [rcx], al
cmp r8, 0x64
jae 0x1800696f0
mov rdi, qword [rsp + 0xa0]
dec rcx
mov rdx, rcx
cmp r9, 0xa
jae 0x180069755
movzx eax, byte [r9 + r10 + 0x15dc78]
mov byte [rcx], al
jmp 0x18006980f
movzx eax, byte [r10 + r9*2 + 0x128b00]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x128b01]
mov byte [rdx], al
jmp 0x18006980f
cmp eax, 0x10
jne 0x1800697f1
cmp r9, 0x100
jb 0x1800697bd
nop dword [rax]
nop word [rax + rax]
movzx eax, r9b
shr r9, 8
lea rdx, [rax*2 + 0x1288f0]
movzx eax, byte [rdx + r10 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [rdx + r10]
mov byte [rcx], al
cmp r9, 0x100
jae 0x180069790
dec rcx
mov rdx, rcx
cmp r9, 0x10
jae 0x1800697d6
movzx eax, byte [r9 + r10 + 0x15dc78]
mov byte [rcx], al
jmp 0x18006980f
movzx eax, byte [r10 + r9*2 + 0x1288f0]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x1288f1]
mov byte [rdx], al
jmp 0x18006980f
xor edx, edx
mov rax, r9
div r8
dec rcx
mov r9, rax
movzx eax, byte [rdx + r10 + 0x15dc78]
mov byte [rcx], al
test r9, r9
jne 0x1800697f1
test r11, r11
je 0x18006982c
test byte [rbx + 8], 2
je 0x18006982c
movzx eax, byte [r11 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r11]
mov byte [rcx], al
lea r8, [rsp + 0x72]
mov qword [rsp + 0x20], 0
sub r8d, ecx
mov rdx, rcx
mov rcx, qword [0x180175e68]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800d6d50
add rsp, 0x90
pop rbx
ret
Function at 0x180069870
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub rsp, 8
mov r10d, ecx
test r9d, r9d
je 0x18006988d
lea eax, [r9 - 2]
cmp eax, 0x22
jbe 0x18006988d
mov rax, rdx
add rsp, 8
ret
mov qword [rsp], rbx
lea rcx, [rdx + 0x40]
mov ebx, r10d
mov byte [rcx], 0
mov eax, r10d
shr ebx, 0x1f
neg eax
test bl, bl
cmovne r10d, eax
test r10d, r10d
jne 0x1800698c0
mov rbx, qword [rsp]
dec rcx
mov rax, rcx
mov byte [rcx], 0x30
add rsp, 8
ret
cmp r9d, 0xa
jne 0x18006995c
lea r9, [0x180128b00]
cmp r10d, 0x64
jb 0x180069910
nop word [rax + rax]
mov eax, 0x51eb851f
mul r10d
shr edx, 5
imul eax, edx, 0x64
sub r10d, eax
add r10d, r10d
movzx eax, byte [r10 + r9 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r10 + r9]
mov r10d, edx
mov byte [rcx], al
cmp edx, 0x64
jae 0x1800698e0
dec rcx
cmp r10d, 0xa
jae 0x18006992a
mov eax, r10d
lea r11, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx eax, byte [rax + r11]
jmp 0x180069940
lea eax, [r10 + r10]
mov edx, eax
movzx eax, byte [rax + r9 + 1]
mov byte [rcx], al
dec rcx
movzx eax, byte [rdx + r9]
mov byte [rcx], al
test bl, bl
je 0x180069a19
mov rbx, qword [rsp]
dec rcx
mov rax, rcx
mov byte [rcx], 0x2d
add rsp, 8
ret
cmp r9d, 0x10
jne 0x1800699f0
lea r8, [0x1801288f0]
cmp r10d, 0x100
jb 0x1800699a9
nop word [rax + rax]
movzx eax, r10b
add eax, eax
shr r10d, 8
mov edx, eax
movzx eax, byte [rax + r8 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [rdx + r8]
mov byte [rcx], al
cmp r10d, 0x100
jae 0x180069980
dec rcx
cmp r10d, 0x10
jae 0x1800699cc
mov rbx, qword [rsp]
lea r11, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx eax, byte [r10 + r11]
mov byte [rcx], al
mov rax, rcx
add rsp, 8
ret
mov rbx, qword [rsp]
lea eax, [r10 + r10]
mov edx, eax
movzx eax, byte [rax + r8 + 1]
mov byte [rcx], al
dec rcx
movzx eax, byte [rdx + r8]
mov byte [rcx], al
mov rax, rcx
add rsp, 8
ret
lea r11, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
nop word [rax + rax]
xor edx, edx
mov eax, r10d
div r9d
dec rcx
mov r10d, eax
movzx edx, byte [rdx + r11]
mov byte [rcx], dl
test eax, eax
jne 0x180069a00
mov rbx, qword [rsp]
mov rax, rcx
add rsp, 8
ret
Function at 0x18006f6b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
mov qword [rsp + 0x20], rsi
lea rbx, [r8 - 1]
sar rbx, 1
mov rsi, r8
mov qword [rsp + 0x30], r15
mov r11, rdx
mov r10, rcx
mov rdi, rdx
cmp rdx, rbx
jge 0x18006f751
mov qword [rsp + 0x18], rbp
movsxd rbp, dword [rsp + 0x40]
mov qword [rsp + 0x28], r12
mov r12d, 0x30
nop word [rax + rax]
add rdx, rdx
lea rax, [rdx + rdx*2]
lea r8, [r10 + rax*8]
movss xmm0, dword [r8 + rbp + 0x30]
comiss xmm0, dword [r8 + rbp + 0x18]
seta cl
movzx eax, cl
xor rax, 1
inc rax
add rdx, rax
mov eax, 0x18
test cl, cl
cmove rax, r12
movsd xmm0, qword [rax + r8 + 0x10]
movups xmm1, xmmword [rax + r8]
lea rax, [r11 + r11*2]
mov r11, rdx
movups xmmword [r10 + rax*8], xmm1
movsd qword [r10 + rax*8 + 0x10], xmm0
cmp rdx, rbx
jl 0x18006f6f0
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x18]
jne 0x18006f77e
test sil, 1
jne 0x18006f77e
lea rax, [rsi + rsi*2]
movups xmm1, xmmword [r10 + rax*8 - 0x18]
movsd xmm0, qword [r10 + rax*8 - 8]
lea rax, [r11 + r11*2]
movups xmmword [r10 + rax*8], xmm1
lea r11, [rsi - 1]
movsd qword [r10 + rax*8 + 0x10], xmm0
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
cmp rdi, r11
jge 0x18006f7e0
movsxd r8, dword [rsp + 0x48]
movsxd rbx, dword [rsp + 0x40]
nop word [rax + rax]
lea rcx, [r11 - 1]
sar rcx, 1
lea rdx, [rcx + rcx*2]
lea rax, [rbx + rdx*8]
movss xmm0, dword [rax + r10]
comiss xmm0, dword [r8 + r9]
jbe 0x18006f7e0
lea rax, [r11 + r11*2]
mov r11, rcx
movups xmm0, xmmword [r10 + rdx*8]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r10 + rdx*8 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
cmp rdi, rcx
jl 0x18006f7a0
movups xmm0, xmmword [r9]
lea rax, [r11 + r11*2]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r9 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
pop rdi
pop rbx
ret
Function at 0x180071aa0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor esi, esi
movzx ecx, dl
mov word [0x180175fc8], si
mov edi, esi
sub ecx, 1
je 0x180071af3
sub ecx, 1
je 0x180071aea
cmp ecx, 1
jne 0x180071afa
lea rdi, str._error_
jmp 0x180071afa
lea rdi, str._warning_
jmp 0x180071afa
lea rdi, str._info_
xor ecx, ecx
call fcn.1800e3918
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.1800e3910
movzx ebx, byte [0x180175fc0]
lea r9, [rsp + 0x38]
lea r8, str._n__d__m__Y__T_
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.180058910
mov rcx, qword [0x180175e68]
lea rdx, [rsp + 0x60]
sub rax, rbx
mov qword [rsp + 0x20], rsi
add rdx, rbx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.1800d8800
lea rax, [rsp + 0x80]
test rdi, rdi
je 0x180071ba0
movzx ecx, byte [rdi]
lea rax, [rsp + 0x80]
test cl, cl
je 0x180071b9d
sub rdi, rax
nop
mov byte [rax], cl
inc rax
movzx ecx, byte [rdi + rax]
test cl, cl
jne 0x180071b90
mov byte [rax], sil
cmp byte [rsp + 0x80], sil
je 0x180071bd4
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
sub eax, ecx
lea rdx, [rsp + 0x80]
mov rcx, qword [0x180175e68]
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [0x180175fc0], sil
lea rax, [0x180175fc0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800d6d50
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180071c10
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], r14
mov rax, qword [0x180175010]
xor rax, rbp
mov qword [rbp], rax
movzx eax, word [rdx]
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
test ax, ax
je 0x180071c77
mov ecx, 0x80
mov r8d, 0x800
lea rdx, [rdx + 2]
cmp ax, cx
jae 0x180071c64
mov eax, 1
jmp 0x180071c6d
cmp ax, r8w
sbb eax, eax
add eax, 3
add ebx, eax
movzx eax, word [rdx]
test ax, ax
jne 0x180071c54
xor edx, edx
movsxd rsi, ebx
lea rcx, [rsi + 0x11]
lea rax, [rsi + 1]
cmp rcx, rax
cmova rdx, rcx
test rdx, rdx
je 0x180071ceb
cmp rdx, 0x400
ja 0x180071ccf
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x180071cac
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1800d7820
sub rsp, rax
lea r10, [rsp + 0x30]
test r10, r10
je 0x180071cee
mov dword [r10], 0xcccc
add r10, 0x10
jmp 0x180071cee
mov rcx, rdx
call fcn.1800e360c
mov r10, rax
test rax, rax
je 0x180071cee
mov dword [rax], 0xdddd
add r10, 0x10
jmp 0x180071cee
xor r10d, r10d
lea r9, [r10 + rsi]
mov rcx, r10
cmp r10, r9
jae 0x180071d26
nop word [rax + rax]
movzx eax, word [rdi]
test ax, ax
je 0x180071d26
lea rdx, [r9 + 1]
mov r8d, eax
sub rdx, rcx
add rdi, 2
dec rdx
call fcn.1800621a0
add rcx, rax
cmp rcx, r9
jb 0x180071d00
mov byte [rcx], 0
xor r9d, r9d
mov rcx, qword [0x180175e68]
mov r8d, ebx
mov rdx, r10
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1800d6d50
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
mov r14, qword [rbp + 0x38]
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x180086b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.180075770
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x180086bc6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x180086c1d
mov ebp, 0x4b0000
jmp 0x180086c2b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.180077cb0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x180086c41
mov eax, r12d
jmp 0x180086c4a
mov edx, edi
mov ecx, ebp
call fcn.180077cb0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x180086c66
shl esi, 0x10
mov ecx, esi
jmp 0x180086d55
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x180086cc4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.180075770
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x180086cb4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.180077b80
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.180075770
add ebx, eax
jmp 0x180086d5e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x180086cd1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x180086d10
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.180075770
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x180086d15
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.180077b80
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.180075770
add ebx, eax
jmp 0x180086d5e
cmp eax, r12d
jge 0x180086d4e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.180075770
sub ebp, eax
sub r15d, esi
je 0x180086d4e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.180077b80
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.180075770
add ebx, eax
jmp 0x180086d5e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.180075770
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.180075770
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800bf570
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x1800bf6bb
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.1800bfa30
test al, al
jne 0x1800bf756
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1800bf64b
cmp edx, dword [rbx + 0x60]
jl 0x1800bf64b
cmp edx, dword [rbx + 0x64]
jg 0x1800bf64b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800bf64b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1800bf64b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800bf66e
test byte [r9 + 0x18], 8
je 0x1800bf66e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800bf67f
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1800c03f0
test al, al
jne 0x1800bf756
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800bf6a2
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x1800bf5d4
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1800bf75a
test rdx, rdx
je 0x1800bf75a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1800bf6f8
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1800bf6fb
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1800bf716
dec r11d
add r11d, eax
jmp 0x1800bf72d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1800c06c0
test al, al
jne 0x1800bf756
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1800c06c0
test al, al
jne 0x1800bf756
mov rdx, qword [rsi]
add di, bp
jne 0x1800bf6e0
jmp 0x1800bf75e
mov al, 1
jmp 0x1800bf769
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
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 0x1800db59c
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.1800d7820
sub rsp, rax
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800e7ef4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800db5eb
mov rax, rbp
jmp 0x1800db6f3
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x176aa0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800e818c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x176aa0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800db6ef
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 0x1800db6ef
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800e818c
test rax, rax
js 0x1800db6ef
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800db6ef
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800db6e1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800db6e1
cmp byte [rcx], 0xd
jne 0x1800db6c7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800db6d6
cmp byte [rcx + 1], 0xa
jne 0x1800db6d6
inc rcx
jmp 0x1800db6d6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1752e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800db6a9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800db6f3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800d6d50
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 0x1800e8a00
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, [0x180176aa0]
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 0x1800e8a5e
cmp word [rdx], r12w
jne 0x1800e8a5e
or byte [rax + r8*8 + 0x38], cl
jmp 0x1800e8a64
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1800e8bbf
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1800e8b9a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1800e8a9d
mov rcx, r9
jmp 0x1800e8ac0
cmp r9, rdx
jae 0x1800e8ad7
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 0x1800e8a81
jmp 0x1800e8bbf
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 0x1800e8b94
cmp dword [rsp + 0x80], edi
je 0x1800e8b94
mov rdx, r14
lea r11, [0x180176aa0]
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 0x1800e8b6d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1800e8b40
mov word [rbx], r12w
jmp 0x1800e8bbb
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 0x1800e8b49
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1800e8bbb
cmp word [rsp + 0x70], r12w
jne 0x1800e8b7a
cmp rbx, rsi
je 0x1800e8b3a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1800e8194
cmp word [rsp + 0x70], r12w
je 0x1800e8bbf
mov word [rbx], r13w
jmp 0x1800e8bbb
lea r11, [0x180176aa0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1800e8bb7
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1800e8bbf
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