joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ef4a4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xf78]
mov eax, 0x1070
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0xf60], rax
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], 0x60b00
call qword [0x140129400]
mov edi, 0xc
lea r8, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea rdx, str.VerInfo
lea rcx, str.General
call fcn.1400add48
lea esi, [rdi - 0xb]
mov ebx, 0x800
mov r8b, sil
lea rcx, [rsp + 0x60]
mov edx, ebx
call fcn.140086a38
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140085ac8
mov r8d, ebx
lea rdx, str.version.dat
lea rcx, [rsp + 0x60]
call fcn.14009cca0
and dword [rsp + 0x40], 0
lea rdx, [0x14012ece0]
lea rcx, [rsp + 0x60]
call fcn.140077628
mov rbx, rax
test rax, rax
je 0x1400ef57f
mov r9, rax
lea rcx, [rsp + 0x40]
mov r8d, edi
mov edx, esi
call fcn.140115d98
mov rcx, rbx
call fcn.140111fa8
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
je 0x1400ef630
lea rdx, str.VerInfo
mov r9, rdi
lea rcx, str.General
cmp dword [rsp + 0x40], eax
je 0x1400ef608
lea r8, [rsp + 0x50]
call fcn.1400ae958
call fcn.1400ae65c
test al, al
jne 0x1400ef5eb
lea rdx, [0x14012b540]
lea rcx, [rsp + 0x60]
call fcn.140077628
mov rbx, rax
test rax, rax
je 0x1400ef5eb
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rsi
call fcn.140112590
mov rcx, rbx
call fcn.140111fa8
call fcn.1400ae664
neg al
mov edx, 0x168
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [0x1401734d0], ecx
jmp 0x1400ef6c7
movsd xmm0, qword [rsp + 0x40]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x48]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.1400ae958
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
jne 0x1400ef687
cmp dword [rsp + 0x40], eax
je 0x1400ef687
movsd xmm0, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.1400ae65c
test al, al
jne 0x1400ef687
lea rdx, [0x14012b540]
lea rcx, [rsp + 0x60]
call fcn.140077628
mov rbx, rax
test rax, rax
je 0x1400ef687
mov r9, rax
lea rcx, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
call fcn.140112590
mov rcx, rbx
call fcn.140111fa8
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
shl rax, 0x20
shl rcx, 0x20
sub rax, rcx
mov ecx, dword [rsp + 0x34]
sub rax, rcx
mov ecx, dword [rsp + 0x54]
add rax, rcx
movabs rcx, 0xc92a69c000
cqo
idiv rcx
mov edx, 0x168
test eax, eax
cmovs eax, edx
mov dword [0x1401734d0], eax
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400f0888
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov bl, r8b
mov rdi, rdx
mov ecx, dword [0x1402120b0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401e90a0], eax
jg 0x1400f0950
mov r8b, 1
mov rdx, rdi
lea rsi, [0x1401e4f70]
mov rcx, rsi
call fcn.1400f20f8
mov al, bl
xor al, 1
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], al
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call fcn.1400f323c
test al, al
jne 0x1400f091c
call qword [0x140129760]
mov ebx, eax
mov rcx, rsi
call fcn.1400f0d08
cmp ebx, 0x4c7
je 0x1400f093e
xor al, al
jmp 0x1400f0940
test bl, bl
je 0x1400f0936
mov r8, rsi
mov edx, 0x10000
lea rcx, [0x1400f1010]
call fcn.140112998
jmp 0x1400f093e
mov rcx, rsi
call fcn.1400f0d08
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea rcx, [0x1401e90a0]
call fcn.1401062d8
cmp dword [0x1401e90a0], 0xffffffff
jne 0x1400f08c4
lea rcx, [0x1401e8f9e]
call fcn.140099ff4
nop
lea rcx, [0x1401284f0]
call fcn.14010612c
nop
lea rcx, [0x1401e90a0]
call fcn.140106278
jmp 0x1400f08c4
Function at 0x1400f1834
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f50]
mov eax, 0x3050
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x2f40], rax
mov r15b, r8b
mov r12, rdx
xor r13d, r13d
mov ebx, 0x800
test r9, r9
jne 0x1400f18c7
mov dword [rsp + 0x20], ebx
lea r9, [0x14012ae60]
lea r8, [rsp + 0x40]
lea rdx, str.ExternalViewer
lea rcx, str.Viewer
call fcn.1400adec0
mov r8d, ebx
lea rdx, [rbp + 0x1f40]
lea rcx, [rsp + 0x40]
call qword [0x140129608]
dec eax
cmp eax, 0x7fe
ja 0x1400f18d7
lea rdx, [rbp + 0x1f40]
jmp 0x1400f18ca
mov rdx, r9
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14009ccc8
cmp word [rsp + 0x40], r13w
jne 0x1400f18e6
xor al, al
jmp 0x1400f1aa1
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0xf40]
call fcn.14009ccc8
mov rdx, rbx
lea rcx, [rbp + 0xf40]
call fcn.1400b6db8
lea rcx, [rsp + 0x40]
call fcn.140076738
test al, al
jne 0x1400f19fd
mov eax, 0x22
cmp word [rsp + 0x40], ax
jne 0x1400f193c
mov edx, eax
lea rcx, [rsp + 0x42]
call fcn.140106f38
test rax, rax
je 0x1400f19fd
jmp 0x1400f1941
lea rax, [rsp + 0x40]
lea rdx, [0x1401423d8]
mov rcx, rax
call fcn.140116560
mov rdi, rax
test rax, rax
je 0x1400f19fd
mov rsi, rax
movzx ecx, word [rax]
jmp 0x1400f196b
add rsi, 2
movzx ecx, word [rsi]
call fcn.14009c8b0
test al, al
jne 0x1400f1964
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x1f40]
call fcn.14009ccc8
mov r8, rbx
lea rdx, [0x14012ee7c]
lea rcx, [rbp + 0x1f40]
call fcn.14009cca0
mov r8, rbx
lea rdx, [rbp + 0xf40]
lea rcx, [rbp + 0x1f40]
call fcn.14009cca0
movzx r14d, word [rdi]
mov word [rdi], r13w
mov eax, 0x22
cmp word [rsp + 0x40], ax
je 0x1400f19e7
lea rcx, [rsp + 0x40]
call fcn.140076738
test al, al
jne 0x1400f19e7
mov word [rdi], r14w
lea rax, [rsi + 2]
test rax, rax
jne 0x1400f1941
jmp 0x1400f19fd
mov r8, rbx
lea rdx, [rbp + 0x1f40]
lea rcx, [rbp + 0xf40]
call fcn.14009ccc8
mov ecx, dword [0x1402120b0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401e4f60], ecx
jg 0x1400f1acb
mov r8b, 1
mov rdx, r12
lea rbx, [0x1401e0e30]
mov rcx, rbx
call fcn.1400f20f8
mov al, r15b
xor al, 1
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xf40]
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400f323c
test al, al
jne 0x1400f1a73
mov rcx, rbx
call fcn.1400f0d08
jmp 0x1400f18df
test r15b, r15b
je 0x1400f1a97
cmp qword [0x1401e0e30], r13
je 0x1400f1a97
mov r8, rbx
mov edx, 0x10000
lea rcx, [0x1400f1010]
call fcn.140112998
jmp 0x1400f1a9f
mov rcx, rbx
call fcn.1400f0d08
mov al, 1
mov rcx, qword [rbp + 0x2f40]
xor rcx, rsp
call fcn.140105c50
mov rbx, qword [rsp + 0x3090]
add rsp, 0x3050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1401e4f60]
call fcn.1401062d8
cmp dword [0x1401e4f60], 0xffffffff
jne 0x1400f1a24
lea rcx, [0x1401e4e5e]
call fcn.140099ff4
nop
lea rcx, [0x140128500]
call fcn.14010612c
nop
lea rcx, [0x1401e4f60]
call fcn.140106278
jmp 0x1400f1a24
Function at 0x1400fae70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rsi, [0x140211150]
mov rcx, rsi
mov rdi, rdx
call fcn.14006be64
mov r8d, 0x12345678
mov r9d, 0x23456789
mov dword [rbx + 0x1e8], r8d
mov edx, 0x34567890
mov dword [rbx + 0x1ec], r9d
jmp 0x1400faf01
movsx rcx, al
mov eax, r8d
xor rcx, rax
shr r8d, 8
movzx eax, cl
xor r8d, dword [rsi + rax*4]
movzx eax, r8b
add eax, r9d
mov dword [rbx + 0x1e8], r8d
imul r9d, eax, 0x8088405
mov eax, edx
shr edx, 8
inc r9d
mov ecx, r9d
mov dword [rbx + 0x1ec], r9d
shr rcx, 0x18
xor rcx, rax
movzx eax, cl
xor edx, dword [rsi + rax*4]
inc rdi
mov dword [rbx + 0x1f0], edx
mov al, byte [rdi]
test al, al
jne 0x1400faeb5
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400faf20
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

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 r15
sub rsp, 0x30
cmp byte [0x140187040], 0
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1400fb002
cmp byte [rcx + 4], 0
je 0x1400faf6d
mov r8d, edi
add rcx, 8
imul r8d, esi
call fcn.1400c45f4
jmp 0x1400fb002
mov r10, rsi
mov r11, rbp
imul r10, rdi
test r10, r10
je 0x1400fb002
lea r15, [0x140211150]
movsx rax, byte [r11]
mov r8d, dword [rbx + 0x1f0]
mov r9d, r8d
mov edx, dword [rbx + 0x1e8]
and r9d, 0xfffd
xor rax, rdx
or r9d, 2
movzx ecx, al
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx eax, dl
add eax, dword [rbx + 0x1ec]
imul eax, eax, 0x8088405
mov dword [rbx + 0x1e8], edx
inc eax
mov dword [rbx + 0x1ec], eax
shr rax, 0x18
xor rax, r8
shr r8d, 8
movzx eax, al
xor r8d, dword [r15 + rax*4]
mov eax, r9d
xor eax, 1
mov dword [rbx + 0x1f0], r8d
imul eax, r9d
shr eax, 8
xor byte [r11], al
inc r11
sub r10, 1
jne 0x1400faf87
and dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400f9bcc
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret

Function at 0x1401069cc
Capabilities:
Parse pe header

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

Function at 0x1401181e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140117fd8
Function at 0x14011d0a4
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 0x14011d0d6
call fcn.140115aa0
mov dword [rax], 0x16
call fcn.140110dd0
jmp 0x14011d1f5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14011d1f5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14011d1f5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14011d105
lock or dword [rcx + 0x14], 0x10
jmp 0x14011d1f5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14011d119
call fcn.14012213c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14011666c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1401143c8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14011d1e3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14011d1ae
mov rcx, rsi
call fcn.14011666c
cmp eax, edi
je 0x14011d199
mov rcx, rsi
call fcn.14011666c
cmp eax, 0xfffffffe
je 0x14011d199
mov rcx, rsi
call fcn.14011666c
movsxd rbx, eax
lea r14, [0x140212430]
mov rcx, rsi
sar rbx, 6
call fcn.14011666c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14011d1a0
lea rdx, [0x14016ad00]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14011d1ae
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14011d1d2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14011d1d2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14011d1d2
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 0x14011d1f8
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 0x140124770
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140124798
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140124798
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400efac0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400efacd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400efadd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400efac5
lea eax, [rcx + 1]
jmp 0x1400efaeb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400efafe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400efae4
sub eax, 3
jb 0x1400efb1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400efb6d
sar eax, 1
movsxd rbp, eax
jb 0x1400efb54
jmp 0x1400efb2c
add ebx, ebx
jne 0x1400efb2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400efb54
inc ecx
add ebx, ebx
jne 0x1400efb3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400efb54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400efb4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400efb3c
add ecx, 2
jmp 0x1400efb59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400efa82
jmp 0x1400efacd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb5a00
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400efbbd
cmp rsi, rcx
jae 0x1400efbc5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400efba4
cmp al, 0x8f
ja 0x1400efba4
cmp byte [rsi - 2], 0xf
je 0x1400efbaa
sub al, 0xe8
cmp al, 1
ja 0x1400efb8e
cmp rsi, rcx
jae 0x1400efbc5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400efb94
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400efbc5
lodsb al, byte [rsi]
jmp 0x1400efba4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xec000]
mov eax, dword [rdi]
or eax, eax
je 0x1400efc22
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xef000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400efbd2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400efc1c
mov qword [rbx], rax
add rbx, 8
jmp 0x1400efbf2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400efc5c
cmp al, 0xef
ja 0x1400efc4e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400efc2e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400efc3d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1400efcdb], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1400efcdb
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400efccb
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x180001e80
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180001eb3
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x1800017f0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180002360
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180002388
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1800023ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800023b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180002409
test ecx, ecx
jle 0x1800023e9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180002409
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180002409
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x180002430
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180002452
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180002468
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180002484
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180002486
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800024c2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000255e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800024fd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18000253e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18000255e
cmp rbx, rax
ja 0x180002510
test rbx, rbx
je 0x18000255e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x180002990
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180060010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800029bd
xor eax, eax
jmp 0x180002b1a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1800029e8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1800029e8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x180002b1a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180002b0d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x180002a2b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180002a56
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180002b12
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180002ac5
sub eax, 1
je 0x180002ac5
cmp eax, 2
jne 0x180002b0d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180002b12
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180002af3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x180002b0d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180002b12
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18004d5c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180002eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180060010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180002f83
cmp byte [rcx + 0x71], 0
je 0x180002f83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180002f7f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180002f44
sub eax, 1
je 0x180002f48
cmp eax, 2
jne 0x180002f7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004d5c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180002f76
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180002f7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180002f2c
xor al, al
jmp 0x180002f2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004d5c0
add rsp, 0x60
pop rbx
ret

Function at 0x180005220
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000527d
lea rbx, [0x180051010]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180005264
cmp r10, 2
jb 0x180005264
cmp byte [r9], r8b
jne 0x180005264
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180005240
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800052bf
lea rbx, [0x180051010]
cmp r8b, 0x23
jne 0x1800052a3
cmp byte [r9], r8b
jne 0x1800052a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180005290
mov rbx, qword [rsp + 8]
not eax
ret