joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d500
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42d7a6
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42d79a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005d92b2], 0
jne 0x42d562
xor edx, edx
xor ebx, ebx
nop
jmp 0x42d5aa
xor edx, edx
jmp 0x42d58d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041ce40
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42d566
add rax, 0x1260
call fcn.0042d3c0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42d734
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42d5a7
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00411ee0
test rax, rax
jne 0x42d602
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42d5a7
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x42d649
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42d5a7
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42d78d
lea r10, [0x005ab6f0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42d6cf
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42d705
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42d5a7
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42d785
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42d5a7
cmp rbx, 0x200
ja 0x42d778
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00422fc0
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.0042d3c0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.0045f380
mov rax, r8
call fcn.0045f300
mov rax, r8
mov ecx, 0x40
call fcn.0045f320
mov edx, 0x200
nop
call fcn.0045f360
nop
mov qword [rsp + 8], rax
call fcn.00461700
mov rax, qword [rsp + 8]
jmp fcn.0042d500
Function at 0x4423c0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44252a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x4423d8
cmp edx, ecx
jne 0x442518
nop dword [rax]
test rsi, rsi
jne 0x442518
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x442434
nop
call fcn.00460ca0
xorps xmm15, xmm15
mov r14, qword [0x005d94b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.004422c0
mov rcx, qword [0x005864b8]
mov rdx, qword [0x005864b0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x442513
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x442508
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00586fb0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00586fb0], rbx
nop
mov edx, 1
lea rsi, [0x00586fb8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x4424f7
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004d3290]
mov ebx, 0x28
call fcn.00433c80
mov rcx, rax
mov rax, rsi
call fcn.0045f300
call fcn.004322a0
lea rax, [0x004d24b8]
mov ebx, 0x23
call fcn.00433c80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004423c0
Function at 0x44d420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44d598
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44d45c
test r8b, r8b
jne 0x44d45c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44d46f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44d558
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44d546
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44d53c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44d4c3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44d506
mov eax, 1
cmp rax, rbx
ja 0x44d4f5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045f3c0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44d534
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44d4fd
mov r8d, eax
mov eax, r10d
jmp 0x44d4c8
mov rcx, rbx
call fcn.0045f300
xor eax, eax
mov rcx, rax
call fcn.0045f300
mov eax, r8d
mov rcx, rbx
call fcn.0045f3c0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44d58e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44d551
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44d475
mov eax, edx
mov rcx, rbx
call fcn.0045f300
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045f300
nop
int3
Function at 0x454d80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x454e39
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00454e80]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045cb60
xorps xmm15, xmm15
mov r14, qword [0x005d94b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045cca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00454d80
Function at 0x45ed40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4028cf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408f60
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4028a0
cmp byte [0x005d92b1], 0
je 0x45ed55
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45bda0
jmp 0x4028a0

Function at 0x45ed60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005d95a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005d92b1], 0
je 0x45ed95
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005d98e0]
aesenc xmm0, xmmword [0x005d98f0]
aesenc xmm0, xmmword [0x005d9900]
movq rax, xmm0
ret
jmp 0x409160

Function at 0x45eda0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005d95a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005d92b1], 0
je 0x45edd6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005d98e0]
aesenc xmm0, xmmword [0x005d98f0]
aesenc xmm0, xmmword [0x005d9900]
movq rax, xmm0
ret
jmp 0x4091c0

Function at 0x4607c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005d9860]
mov qword [rsp + 8], rdx
lea r8d, [0x005d92c8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045ec80
add rsp, 0x30
ret

Function at 0x460d00
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x460d30
mov rcx, 0x28
jmp 0x460d3b
shl rcx, 3
add rcx, 0x1480
mov qword [0x005d94b0], rcx
ret
Function at 0x494bc0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x494c2b
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x494be4
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x494c01
cmp rdx, 0
je 0x494c4d
test rdx, 0xf
je 0x494bdd
test rdx, 7
jne 0x494c01
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x494bdd
ret
Function at 0x496840
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x49687f
jb 0x496894
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x496900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4969d0
jb 0x496a2f
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004967e0
aeskeygenassist xmm1, xmm0, 1
call fcn.00496800
aeskeygenassist xmm1, xmm2, 2
call fcn.004967e0
aeskeygenassist xmm1, xmm0, 2
call fcn.00496800
aeskeygenassist xmm1, xmm2, 4
call fcn.004967e0
aeskeygenassist xmm1, xmm0, 4
call fcn.00496800
aeskeygenassist xmm1, xmm2, 8
call fcn.004967e0
aeskeygenassist xmm1, xmm0, 8
call fcn.00496800
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004967e0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00496800
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004967e0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00496800
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004967e0
jmp 0x496a9d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.00496740
aeskeygenassist xmm1, xmm2, 2
call fcn.004967a0
aeskeygenassist xmm1, xmm2, 4
call fcn.00496740
aeskeygenassist xmm1, xmm2, 8
call fcn.004967a0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00496740
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004967a0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00496740
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004967a0
jmp 0x496a9d
aeskeygenassist xmm1, xmm0, 1
call fcn.00496700
aeskeygenassist xmm1, xmm0, 2
call fcn.00496700
aeskeygenassist xmm1, xmm0, 4
call fcn.00496700
aeskeygenassist xmm1, xmm0, 8
call fcn.00496700
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00496700
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00496700
aeskeygenassist xmm1, xmm0, 0x40
call fcn.00496700
aeskeygenassist xmm1, xmm0, 0x80
call fcn.00496700
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.00496700
aeskeygenassist xmm1, xmm0, 0x36
call fcn.00496700
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x496aaa
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret

Function at 0x496c60
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov rdi, qword [rsp + 8]
mov r9, rdi
mov rsi, qword [rsp + 0x10]
mov r10, rsi
xor rax, rax
mov eax, 0x1505
xor r15, r15
mov r15b, 0xf1
cmp rsi, 0
je 0x496cae
xor byte [rdi], r15b
inc rdi
dec rsi
cmp rsi, 0
jne 0x496c84
mov rdi, r9
mov rsi, r10
mov bl, byte [rdi]
inc rdi
imul rax, rax, 0x21
add rax, rbx
dec rsi
cmp rsi, 0
jne 0x496c99
mov qword [rsp + 0x20], rax
ret

Function at 0x497280
Capabilities:
Access peb ldr_data

Disassembly:
xor rax, rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 8], rax
ret
Function at 0x180003a40
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180110440]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1801fcc94]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x180003af4
mov ecx, dword [0x1801fcc0c]
test ecx, ecx
je 0x180003a98
sub ecx, 1
je 0x180003a91
sub ecx, 1
je 0x180003a8a
cmp ecx, 1
jne 0x180003a98
mov edx, 0x10002000
jmp 0x180003a9d
mov edx, 0x10001000
jmp 0x180003a9d
mov edx, 0x20000001
jmp 0x180003a9d
mov edx, 0x20000000
mov rax, qword [0x1801fd2f0]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov rax, qword [0x1801fd110]
xor ecx, ecx
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.180066720
xorps xmm1, xmm1
comiss xmm0, xmm1
ja 0x180003af4
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18006ba10
add rsp, 0x58
ret
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18006ba10
add rsp, 0x58
ret

Function at 0x180005ff0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x180110440]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm6, xmm6
mov rbp, rdx
cvtss2sd xmm6, xmm2
mov rsi, rcx
mov rdi, r9
lea rcx, [0x1800fa1d0]
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.180005e00
movsxd rbx, eax
lea rcx, [rsp + 0x30]
mov rdx, rbx
xor r8d, r8d
call fcn.18000abf0
cmp qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x30]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
cmova rcx, qword [rsp + 0x30]
lea r8, [0x1800fa1d0]
movq r9, xmm6
call fcn.180005da0
cmp qword [rsp + 0x48], 0xf
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x58]
cmova r8, qword [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800060db
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800060d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000610a
call fcn.18006bddc
lea rcx, [rsp + 0x58]
call fcn.18007c684
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18006ba10
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180072bf8
int3
Function at 0x18000a360
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, [rbp - 0x20]
call fcn.18000a560
mov rbx, qword [rax]
mov rdi, qword [rax + 8]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18000a3cd
mov rdx, qword [rbp - 0x18]
call fcn.18000aef0
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a3c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a546
call fcn.18006bddc
cmp rbx, rdi
je 0x18000a46b
lea rcx, [rbp - 0x20]
call fcn.18000a560
nop
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x18000a54c
lea rcx, [rbp - 0x40]
call fcn.18000ad00
mov rcx, rax
call fcn.180006110
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18000a52d
mov rdx, qword [rbp - 0x18]
call fcn.18000aef0
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a453
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a540
call fcn.18006bddc
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
movabs rax, 0x2c46cc0fa33cc39c
mov qword [rbp - 0x40], rax
movabs rdi, 0xfcc94636c1bf304
mov qword [rbp - 0x38], rdi
movabs rbx, 0x2c35bc7ad360f9df
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x40], xmm0
xor edx, edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movabs rax, 0x7046cc0fa33cc39c
mov qword [rbp - 0x20], rax
movabs rax, 0x4293f30a0a759c67
mov qword [rbp - 0x18], rax
movabs rax, 0xa6c2df04f6a58b6
mov qword [rbp - 0x10], rax
movabs rcx, 0x44c063497373dc26
mov qword [rbp - 8], rcx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
movabs rax, 0xa6c2df04f6a6be1
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [rbp - 0x10]
xorps xmm1, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x10], xmm1
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
call fcn.180072bf8
int3
call fcn.180072bf8
nop
call fcn.18000ae20
nop
int3
Function at 0x18000f270
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x18000f294
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x18000f322
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000f2f0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x18000f2f0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.18009e200
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18000f30d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18000f315
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x18000f2b1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x18000f400
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x18000f339
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000f33b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000f36d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.18009e200
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18000f3fd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000f3a8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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
cmp rsi, 0xfff
jbe 0x18000f3de
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.18007dd4c
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18000f3fd
cmp rsi, rax
ja 0x18000f3b1
test rsi, rsi
je 0x18000f3fd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18007dd4c
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret

Function at 0x180013830
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 0x18001388d
lea rbx, [0x1800af4d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180013874
cmp r10, 2
jb 0x180013874
cmp byte [r9], r8b
jne 0x180013874
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 0x180013850
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800138cf
lea rbx, [0x1800af4d0]
cmp r8b, 0x23
jne 0x1800138b3
cmp byte [r9], r8b
jne 0x1800138b3
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 0x1800138a0
mov rbx, qword [rsp + 8]
not eax
ret