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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x1400c0d95
test byte [rbx + 6], 0xf
jne 0x1400c0d88
xor edi, edi
cmp word [rbx + 4], di
jne 0x1400c0d88
cmp word [rbx + 2], di
jne 0x1400c0d88
cmp word [rbx], di
jne 0x1400c0d88
lea esi, [rdi + 1]
jmp 0x1400c0d8d
mov esi, 2
movzx eax, si
jmp 0x1400c0f92
xor edi, edi
test cx, cx
jne 0x1400c0db0
mov rcx, rbx
call fcn.1400c2638
movzx ecx, ax
cmp di, ax
jl 0x1400c0f8f
movsx edx, cx
test esi, esi
jle 0x1400c0de0
sub ebp, edx
cmp ebp, esi
jg 0x1400c0de0
movsd xmm0, qword [0x140110940]
cmp word [rbx + 6], di
jge 0x1400c0dd2
xorps xmm0, xmmword [0x1400eb4c0]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x1400c0f92
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1400c0e0d
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x1400c0f92
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, 0x10
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x1400c0f84
test ebp, ebp
jns 0x1400c0f84
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x1400c0ea8
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x1400c0e79
mov word [rbx + 4], cx
movzx r11d, di
mov word [rbx + 2], dx
neg bp
je 0x1400c0f27
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x1400c0f3d
jne 0x1400c0f5c
test byte [rbx], sil
je 0x1400c0f5c
add word [rbx], si
jne 0x1400c0f5c
add word [rbx + 2], si
jne 0x1400c0f5c
add word [rbx + 4], si
jne 0x1400c0f5c
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1400c0e05
cmp r11w, r15w
jne 0x1400c0e05
cmp word [rbx + 4], di
jne 0x1400c0e05
cmp word [rbx + 2], di
jne 0x1400c0e05
cmp word [rbx], di
je 0x1400c0f8f
jmp 0x1400c0e05
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c2b40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1401126b8], rbx
je 0x1400c2b8c
cmp rax, rbx
jne 0x1400c2b7f
mov ebx, 1
mov esi, ebx
jmp 0x1400c2b91
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400c2b64
mov ebx, 1
mov eax, dword [0x1401126c0]
cmp eax, ebx
jne 0x1400c2ba7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400c2c16
mov eax, dword [0x1401126c0]
test eax, eax
jne 0x1400c2c10
mov dword [0x1401126c0], ebx
lea r15, [0x1400d57e8]
lea rdi, [0x1400d57d0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400c2c02
test eax, eax
jne 0x1400c2c06
cmp qword [rdi], 0
je 0x1400c2bf7
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x1400d51e0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400c2bce
test eax, eax
je 0x1400c2c16
mov eax, 0xff
jmp 0x1400c2cfc
mov dword [0x140111358], ebx
mov eax, dword [0x1401126c0]
cmp eax, ebx
jne 0x1400c2c3d
lea rdx, [0x1400d57c8]
lea rcx, [0x1400d51f0]
call sub.msvcrt.dll__initterm
mov dword [0x1401126c0], 2
test esi, esi
jne 0x1400c2c4a
xor eax, eax
xchg qword [0x1401126b8], rax
cmp qword [0x1401126d8], 0
je 0x1400c2c88
lea rcx, [0x1401126d8]
call fcn.1400c3370
test eax, eax
je 0x1400c2c88
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1401126d8]
mov r9, qword [0x1400d51e0]
call r9
mov r8, qword [0x140111370]
mov rdx, qword [0x140111368]
mov ecx, dword [0x140111360]
call fcn.140003a10
mov dword [0x140111354], eax
cmp dword [0x140111378], 0
jne 0x1400c2cb8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140111358], 0
jne 0x1400c2ccd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140111354]
jmp 0x1400c2cfc
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401ab000
add rsp, 0x28
jmp 0x1400c2b40

Function at 0x1400c325c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c32a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c32a0
cmp dword [rcx + 0x3c], edx
jl 0x1400c32a0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400c32a0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400c32a8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x18000ebf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x180078058]
lea r8, [0x180067181]
mov r10d, 0xffffffff
lea r11, [0x1800652a0]
mov ecx, r10d
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18000ec33
cmp byte [r8], r9b
jne 0x18000ec33
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000ec20
not ecx
call fcn.180013b50
cmp byte [rbx + 0xfc], 0
je 0x18000ec73
test rax, rax
je 0x18000ec73
cmp byte [rax + 0xcb], 0
je 0x18000ec73
mov dil, 1
jmp 0x18000ec76
xor dil, dil
movss xmm3, dword [0x1800678a0]
lea rdx, [rsp + 0x20]
movss xmm1, dword [rbx + 0x3a58]
xorps xmm2, xmm2
movss xmm4, dword [0x180064bcc]
mov ecx, 4
movaps xmm0, xmm4
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0x3a5c]
movss dword [rsp + 0x20], xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [rbx + 0x3a60]
subss xmm2, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rbx + 0x3a64]
subss xmm4, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
mulss xmm4, xmm3
addss xmm4, xmm0
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm4
call fcn.18001efc0
test dil, dil
je 0x18000ed3c
mov rax, qword [0x180078058]
or dword [rax + 0x4ac0], 1
movsd xmm0, qword [rbx + 0x53a8]
xor edx, edx
mov qword [rax + 0x4ad8], rdx
movsd qword [rax + 0x4ad0], xmm0
mov dword [rax + 0x4ac4], 1
xor edx, edx
lea rcx, str.Tooltip_Error
mov r8d, 0x200016f
call fcn.18000bbf0
mov ecx, 1
movzx edi, al
call fcn.18001e8c0
test dil, dil
je 0x18000edce
mov rcx, qword [rbx + 0x40a0]
cmp word [rcx + 0xd8], 1
jne 0x18000edd3
lea rcx, str.MESSAGE_FROM_DEAR_IMGUI
call fcn.180056d60
mov rcx, qword [rbx + 0x40a0]
call fcn.18000f2a0
mov rcx, qword [rbx + 0x40a0]
call fcn.18000f350
mov rax, qword [0x180078058]
mov rcx, qword [rax + 0x40a0]
movzx eax, dil
movss xmm0, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x2c]
movss dword [rbx + 0x53a8], xmm0
movss dword [rbx + 0x53ac], xmm1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.1800118d0
mov rbx, qword [rsp + 0x40]
movzx eax, dil
add rsp, 0x30
pop rdi
ret
Function at 0x18000f0b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x180077680]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x180078058]
mov edi, edx
mov esi, ecx
mov rbx, rax
cmp byte [rax + 0x4df5], 0
jne 0x18000f11b
cmp byte [rax + 0x4df6], 0
jne 0x18000f11b
movsx r9d, word [rax + 0x51f0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180015580
test sil, 2
je 0x18000f260
jmp 0x18000f1c1
movss xmm0, dword [rax + 0x3a08]
mov ecx, dword [rax + 0x4ac0]
movaps xmm1, xmm0
mulss xmm1, dword [0x180067908]
mulss xmm0, dword [0x180064be0]
addss xmm1, dword [rax + 0xe0]
addss xmm0, dword [rax + 0xe4]
test cl, 1
jne 0x18000f184
or ecx, 1
mov dword [rax + 0x4ac0], ecx
movss dword [rax + 0x4ad0], xmm1
movss dword [rax + 0x4ad4], xmm0
xor eax, eax
mov qword [rbx + 0x4ad8], rax
mov dword [rbx + 0x4ac4], 1
mov rax, qword [0x180078058]
movss xmm0, dword [rbx + 0x3a64]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x1800678c0]
lea rcx, [rsp + 0x20]
or dword [rax + 0x4ac0], 0x40
mov edx, 0x10
movss dword [rax + 0x4b20], xmm0
movsx r9d, word [rbx + 0x51f0]
call fcn.180015580
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18000f211
lea r11, [0x1800652a0]
cmp r9b, 0x23
jne 0x18000f1f4
cmp byte [r8], r9b
jne 0x18000f1f4
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000f1e1
not ecx
call fcn.180013b50
test rax, rax
je 0x18000f260
cmp byte [rax + 0xca], 0
je 0x18000f260
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x51f0]
movsx r9d, word [rbx + 0x51f0]
call fcn.180015580
or edi, 0x2030347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.18000bbf0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180061980
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180013ab0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180078058]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180013b13
mov qword [rsp], rbx
lea rbx, [0x1800652a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180013af3
cmp byte [r8], r9b
jne 0x180013af3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180013ae0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52b8]
not eax
mov r8, qword [r10 + 0x52c0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x180013b3f
cmp dword [r8 + 8], eax
je 0x180013b46
add r8, 0x48
cmp r8, rcx
jne 0x180013b30
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180013bd0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x180013c20
lea r11, [0x1800652a0]
cmp r9b, 0x23
jne 0x180013c03
cmp byte [r8], r9b
jne 0x180013c03
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180013bf0
not ecx
jmp fcn.180013b50

Function at 0x1800143f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1800652a0]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x180014487
movsxd r8, edx
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.180011090
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180014520
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x1800652a0]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x1800152a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x1800152bb
mov qword [r8], 0
call fcn.1800153c0
mov rbx, rax
test rax, rax
jne 0x1800152d1
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18001539b
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001539b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001539b
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 0x18001539b
cmp rdi, 0xffffffffffffffff
je 0x18001539b
lea rcx, [rdi + rbp]
call fcn.180018c50
mov rsi, rax
test rax, rax
je 0x18001539b
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x180015373
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.180018d00
jmp 0x1800153a4
test ebp, ebp
jle 0x180015385
lea rcx, [rdi + rsi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180015396
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800153a6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x180016100
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 0x18001615d
lea rbx, [0x1800652a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180016144
cmp r10, 2
jb 0x180016144
cmp byte [r9], r8b
jne 0x180016144
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 0x180016120
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001619f
lea rbx, [0x1800652a0]
cmp r8b, 0x23
jne 0x180016183
cmp byte [r9], r8b
jne 0x180016183
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 0x180016170
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180018b20
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 + 0x5358], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x180018ba3
xor edx, edx
add rcx, 0x5360
call fcn.180028e50
mov r8, rsi
lea rcx, [rbx + 0x5360]
mov rdx, rbp
call fcn.1800283f0
mov eax, dword [rbx + 0x5360]
xor edx, edx
mov r9, qword [rbx + 0x5358]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x5368]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x180078060]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180018baf
add rcx, 0x5360
call fcn.1800283f0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800225a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180078058]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x52a4], ecx
test rbx, rbx
je 0x18002260f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180022620
lea rdx, [0x1800676b4]
mov rcx, rbx
mov rdi, rax
call fcn.1800153c0
mov rbx, rax
test rax, rax
je 0x18002260a
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18003ba90
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call fcn.180014350
test rax, rax
je 0x18003baae
call fcn.180014710
mov rbx, qword [rax + 0x90]
jmp 0x18003bab0
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18003badb
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x18005ce60
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x18005cea9
cmp edx, 1
jne 0x18005cec6
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x18005c180]
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
mov qword [0x1800782a0], rbx
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
call fcn.18005e210
mov rcx, qword [0x180078300]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x180078300], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18005cf90
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180077680]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18005cfdf
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180078a00]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18005d01d
cmp rsi, r14
jb 0x18005d015
cmp rsi, r15
jae 0x18005d015
cmp qword [rsi + 8], 0
jne 0x18005d1e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18005d000
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18005d0b2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18005d0a9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005d0a9
cmp dword [rsp + 0x40], 0x10000
je 0x18005d12b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18005d0a9
sub rbx, rbp
cmp rbx, r14
jae 0x18005d070
test rsi, rsi
jne 0x18005d190
cmp rdi, r15
ja 0x18005d1cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18005d1cf
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005d1cf
cmp dword [rsp + 0x40], 0x10000
je 0x18005d161
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18005d0e2
jmp 0x18005d1cf
test rbx, rbx
je 0x18005d0a9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18005d190
cmp rbx, r14
jae 0x18005d050
jmp 0x18005d0b2
test rdi, rdi
je 0x18005d1cf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18005d190
cmp rdi, r15
jbe 0x18005d0c0
jmp 0x18005d1cf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18005d1a0
mov rax, qword [0x180078a00]
mov qword [rsi], rax
mov qword [0x180078a00], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180061980
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x18005da30
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1800789fc]
mov ebx, edi
test ecx, ecx
je 0x18005db6d
mov rax, qword [0x1800789f0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18005da88
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18005da60
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18005db6d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18005ddd0
mov r8d, dword [0x1800789fc]
cmp ebx, r8d
jae 0x18005daf8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800789f0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18005daf1
mov edx, esi
mov ecx, ebx
call fcn.18005dca0
mov edi, eax
test eax, eax
jne 0x18005daf8
mov r8d, dword [0x1800789fc]
inc ebx
cmp ebx, r8d
jb 0x18005dac0
cmp qword [rsp + 0x20], 0
je 0x18005db6d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18005db59
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005db4a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18005db20
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180078318]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret