joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003feb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r13, r8d
mov rdi, rcx
mov rcx, r13
xor r15d, r15d
mov r14, rdx
call fcn.1400be280
movzx ebx, byte [rsp + 0x80]
mov r12, rax
mov qword [rsp + 0x78], rsi
nop dword [rax + rax]
xor r9d, r9d
mov r8d, r13d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbp, eax
test eax, eax
jle 0x14003ff6c
mov r8, qword [r14 + 0x18]
mov rdx, qword [r14 + 0x10]
mov rcx, r8
sub rcx, rdx
cmp rbp, rcx
ja 0x14003ff50
lea rax, [rdx + rbp]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp r8, 0x10
jb 0x14003ff30
mov rax, qword [r14]
lea rdi, [rax + rdx]
mov r8, rbp
mov rcx, rdi
mov rdx, r12
call fcn.1400c08c0
mov byte [rdi + rbp], 0
add r15d, ebp
mov rdi, qword [rsp + 0x70]
jmp 0x14003fef0
mov r9, r12
mov qword [rsp + 0x20], rbp
movzx r8d, bl
mov rdx, rbp
mov rcx, r14
call fcn.140028f70
add r15d, ebp
jmp 0x14003fef0
mov rsi, qword [rsp + 0x78]
mov eax, 0xffffffff
cmp ebp, eax
cmovne eax, r15d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x14004d500
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14004d522
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14004d59c
mov rdi, r14
mov rcx, rbx
call fcn.140041590
test rax, rax
jle 0x14004d574
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400c08c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14004d58c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14004d594
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14004d536
sub r14, rdi
jmp 0x14004d67f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14004d5b3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004d5b5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004d5e7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400c08c0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14004d67c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004d622
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 rbp, 0xfff
jbe 0x14004d65d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d6cfc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004d67c
cmp rbp, rax
ja 0x14004d630
test rbp, rbp
je 0x14004d67c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d6cfc
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14004ff60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14004ffc1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14004ff80
mov ecx, dword [r10]
jmp 0x1400500aa
cmp ecx, 0x4e0
jb 0x1400500aa
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14004ffe0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140050030
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140057650
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 0x1400576ad
lea rbx, [0x14012fb90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140057694
cmp r10, 2
jb 0x140057694
cmp byte [r9], r8b
jne 0x140057694
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 0x140057670
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400576ef
lea rbx, [0x14012fb90]
cmp r8b, 0x23
jne 0x1400576d3
cmp byte [r9], r8b
jne 0x1400576d3
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 0x1400576c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140057830
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14005784a
mov qword [r8], 0
lea rdx, [0x1401357b0]
call fcn.140057700
mov rbx, rax
test rax, rax
jne 0x14005786a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400d7be8
mov esi, eax
cmp eax, 0xffffffff
je 0x140057938
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400d70ac
test eax, eax
jne 0x140057938
mov rcx, rbx
call fcn.1400d7be8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140057938
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400d70ac
test eax, eax
jne 0x140057938
cmp rdi, 0xffffffffffffffff
je 0x140057938
mov rax, qword [0x140174a48]
test rax, rax
je 0x1400578da
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.1400daa04
mov rsi, rax
test rax, rax
je 0x140057938
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400d6cfc
mov rcx, rbx
cmp rax, rdi
je 0x140057926
call fcn.1400d570c
mov rax, qword [0x140174a48]
test rax, rax
je 0x14005791c
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.1400d4ec0
jmp 0x140057940
call fcn.1400d570c
test r14, r14
je 0x140057933
mov qword [r14], rdi
mov rax, rsi
jmp 0x140057942
mov rcx, rbx
call fcn.1400d570c
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14005abc0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14012fb90]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140174a48]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3f08], ebx
jne 0x14005ac56
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14006d5f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140067600
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401560e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140174a48]
mov edi, ecx
cmp byte [rbx + 0x4a4d], 0
jne 0x140067661
cmp byte [rbx + 0x4a4e], 0
jne 0x140067661
movsx r9d, word [rbx + 0x5b4a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140057510
test dil, 1
je 0x14006777f
jmp 0x1400676e7
vmovss xmm1, dword [rbx + 0x3898]
vmulss xmm0, xmm1, dword [0x140138e14]
vaddss xmm2, xmm0, dword [rbx + 0xdfc]
vmulss xmm1, xmm1, dword [0x140138dec]
vaddss xmm0, xmm1, dword [rbx + 0xe00]
movsx r9d, word [rbx + 0x5b4a]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x479c], 1
vmovss dword [rbx + 0x47ac], xmm0
vmovss dword [rbx + 0x47a8], xmm2
mov qword [rbx + 0x47b0], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3914]
vmulss xmm1, xmm0, dword [0x140138d6c]
or dword [rbx + 0x4798], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x47f8], xmm1
call fcn.140057510
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140067737
lea r11, [0x14012fb90]
cmp r9b, 0x23
jne 0x14006771a
cmp byte [r8], r9b
jne 0x14006771a
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 0x140067707
not ecx
call fcn.14005e660
test rax, rax
je 0x14006777f
cmp byte [rax + 0xae], 0
je 0x14006777f
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b4a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b4a]
call fcn.140057510
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140060d90
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400bdcf0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14006c660
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140174a48]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14006c6c3
mov qword [rsp], rbx
lea rbx, [0x14012fb90]
nop dword [rax]
cmp r9b, 0x23
jne 0x14006c6a3
cmp byte [r8], r9b
jne 0x14006c6a3
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 0x14006c690
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ba8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14006c6f7
mov r10, qword [r10 + 0x5bb0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14006c6fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14006c6e4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140082210
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
ja 0x1400823c2
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140175ef8]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x140175f08]
lea rdx, [rdi + rdi]
call fcn.140081de0
mov rax, qword [0x140175ef8]
lea r9, [rdi - 1]
mov qword [0x140175f20], r9
mov qword [0x140175f28], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400823b3
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop dword [rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140175f08]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400822ff
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140082374
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14008233c
mov r10, qword [rdx]
cmp r10, rax
je 0x140082336
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140082374
cmp r9, rdx
je 0x140082350
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140082388
cmp r9, rdx
jne 0x140082341
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400823ae
mov r9, qword [0x140175f20]
jmp 0x1400822b0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140082374
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400bbae0
int3
Function at 0x14008bf30
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
cmp qword [rcx], 0
mov rbp, rdx
mov rsi, rcx
jne 0x14008c07d
movabs rax, 0xb6d49bc9a3934fab
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xb935374cb0f10082
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0xdab0b5a5cff73bc5
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
movabs rax, 0xb935374cb0f100ee
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
vmovdqu xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x58], rax
vpxor xmm1, xmm0, xmmword [rsp + 0x50]
vmovdqu xmmword [rsp + 0x30], xmm1
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14008c057
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008c057
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008c052
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008c030
cmp r8d, 0xe463da3c
je 0x14008c05c
test r9d, r9d
jne 0x14008c010
mov rax, qword [rax]
jmp 0x14008bfe0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
mov qword [rsi], rax
mov rax, qword gs:[0x60]
mov rsi, qword [rsi]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14008c117
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008c117
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008c112
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008c0f0
cmp r8d, 0xf8f45725
je 0x14008c11c
test r9d, r9d
jne 0x14008c0d0
mov rax, qword [rax]
jmp 0x14008c0a0
mov r8d, dword [rbx + 0x24]
mov rdx, rbp
add r8, r10
mov rcx, rsi
movzx r9d, word [r8 + r9*2]
mov r8d, dword [rbx + 0x1c]
add r8, r10
mov eax, dword [r8 + r9*4]
add rax, r10
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
jmp rax
Function at 0x14008c1d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
sub rsp, 0x20
rdtsc
shl rdx, 0x20
or rax, rdx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DebugBreak]
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rbx
cmp rax, 0x19
jbe 0x14008c1fe
mov al, 1
jmp 0x14008c204
xor al, al
jmp 0x14008c204
add rsp, 0x20
pop rbx
ret
Function at 0x1400ad890
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1401560e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov rbx, rdx
call fcn.1400adae0
mov r8, rbx
mov edx, edi
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1400ad8ed
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400bdcf0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
lea rdx, [0x140138758]
lea rcx, [rsp + 0x20]
call fcn.140026070
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400ad700
lea rdx, [0x140153d48]
lea rcx, [rsp + 0x40]
call fcn.1400c07d4
int3

Function at 0x1400ad920
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1401560e8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
lea rax, vtable.CryptoPP::NonblockingRng.0
mov qword [rsp + 0x20], rax
call fcn.1400adae0
mov r8, rbx
mov edx, 0x20
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1400ad97d
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400bdcf0
add rsp, 0xa0
pop rbx
ret
lea rdx, [0x140138758]
lea rcx, [rsp + 0x28]
call fcn.140026070
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400ad700
lea rdx, [0x140153d48]
lea rcx, [rsp + 0x50]
call fcn.1400c07d4
int3

Function at 0x1400adae0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1401560e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401763a0], eax
jle 0x1400adb53
lea rcx, [0x1401763a0]
call fcn.1400be160
cmp dword [0x1401763a0], 0xffffffff
jne 0x1400adb53
mov qword [0x1401763a8], 0
lea rcx, [0x1400fd3d0]
call fcn.1400bdf84
lea rcx, [0x1401763a0]
call fcn.1400be100
mov rax, qword [0x1401763a8]
test rax, rax
jne 0x1400adbc2
lea ecx, [rax + 8]
call fcn.1400bdd10
mov rbx, rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400adbe3
mov rdi, qword [0x1401763a8]
test rdi, rdi
je 0x1400adbb8
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, 8
mov rcx, rbx
call fcn.1400bdfa4
mov rax, rdi
jmp 0x1400adbc2
mov qword [0x1401763a8], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400bdcf0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
lea rdx, str.CryptAcquireContext
lea rcx, [rsp + 0x38]
call fcn.140026070
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400ad700
lea rdx, [0x140153d48]
lea rcx, [rsp + 0x60]
call fcn.1400c07d4
int3
Function at 0x1400b9e80
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [rsp + 0x28]
add rsp, 8
syscall
sub rsp, 8
ret
Function at 0x1400bc658
Capabilities:
Get geographical location

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

Function at 0x1400bd0f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400bcbcc
mov ebx, eax
test eax, eax
jne 0x1400bd124
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400bd180
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400bd177
test al, 0x10
je 0x1400bd177
bt eax, 0xa
jae 0x1400bd170
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400bd198
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400bd16c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400bd190
test edi, edi
jne 0x1400bd177
and dword [rsp + 0x3c], 0
jmp 0x1400bd17c
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1400d6024
int3

Function at 0x1400beda4
Capabilities:
Parse pe header

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

Function at 0x1400d55c4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400d55e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d13e4
or eax, 0xffffffff
jmp 0x1400d55e6
xor eax, eax
add rsp, 0x28
ret