joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001050
Capabilities:
Encode data using xor

Disassembly:
shl rcx, 4
mov r10, rdx
xor eax, eax
and ecx, 0xff0
add rcx, r8
lea r9, [r10 + rax]
lea r8, [rax + rcx]
xor edx, edx
mov r11b, byte [r8 + rdx]
inc rdx
xor byte [r9], r11b
inc r9
cmp rdx, 4
jne 0x14000106c
add rax, 4
cmp rax, 0x10
jne 0x140001062
ret

Function at 0x1400010d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
lea rax, [rdx + r8]
mov rbp, rsp
push r15
push r14
push r13
push r12
lea r12, str.cw
push rdi
mov dil, 0x1b
push rsi
mov rsi, rdx
push rbx
mov rbx, rcx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
mov qword [rsp + 0x28], rax
mov eax, 0x10
cmp qword [rsp + 0x28], rsi
je 0x1400012dc
cmp eax, 0x10
jne 0x1400012c9
lea rdx, [rsp + 0x30]
mov r8, rbx
xor ecx, ecx
mov r14d, 1
movups xmm0, xmmword [rbx + 0xf0]
lea r13, [rsp + 0x34]
movups xmmword [rsp + 0x30], xmm0
call fcn.140001050
lea rdx, [rsp + 0x30]
mov rcx, rdx
mov rax, rcx
xor r8d, r8d
movzx r9d, byte [rax]
inc r8d
add rax, 4
mov r9b, byte [r12 + r9]
mov byte [rax - 4], r9b
cmp r8b, 4
jne 0x14000114d
inc rcx
cmp r13, rcx
jne 0x140001147
mov cl, byte [rsp + 0x35]
mov al, byte [rsp + 0x31]
mov byte [rsp + 0x31], cl
mov cl, byte [rsp + 0x39]
mov byte [rsp + 0x35], cl
mov cl, byte [rsp + 0x3d]
mov byte [rsp + 0x3d], al
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x39], cl
mov cl, byte [rsp + 0x3a]
mov byte [rsp + 0x3a], al
mov al, byte [rsp + 0x36]
mov byte [rsp + 0x32], cl
mov cl, byte [rsp + 0x3e]
mov byte [rsp + 0x3e], al
mov al, byte [rsp + 0x33]
mov byte [rsp + 0x36], cl
mov cl, byte [rsp + 0x3f]
mov byte [rsp + 0x33], cl
mov cl, byte [rsp + 0x3b]
mov byte [rsp + 0x3f], cl
mov cl, byte [rsp + 0x37]
mov byte [rsp + 0x37], al
mov byte [rsp + 0x3b], cl
cmp r14d, 0xe
je 0x14000128e
lea r15, [rdx + 0x10]
mov cl, byte [rdx]
mov r9b, byte [rdx + 1]
add rdx, 4
mov r10b, byte [rdx - 1]
mov r8b, byte [rdx - 2]
xor r9d, ecx
mov eax, r9d
xor r8d, r10d
shr al, 7
mov r11d, r8d
imul eax, edi
xor r11d, r9d
add r9d, r9d
xor r9d, eax
mov eax, ecx
xor ecx, r10d
xor r10d, r11d
xor eax, r11d
xor r9d, eax
mov byte [rdx - 4], r9b
mov r9b, byte [rdx - 3]
xor r9b, byte [rdx - 2]
mov eax, r9d
add r9d, r9d
shr al, 7
imul eax, edi
xor r9d, eax
mov al, byte [rdx - 3]
xor eax, r11d
xor r9d, eax
mov eax, r8d
add r8d, r8d
shr al, 7
mov byte [rdx - 3], r9b
imul eax, edi
xor r8d, eax
mov al, byte [rdx - 2]
xor eax, r11d
xor r8d, eax
mov eax, ecx
add ecx, ecx
shr al, 7
mov byte [rdx - 2], r8b
imul eax, edi
xor ecx, eax
xor ecx, r10d
mov byte [rdx - 1], cl
cmp r15, rdx
jne 0x1400011dc
mov ecx, r14d
lea rdx, [rsp + 0x30]
mov r8, rbx
inc r14d
call fcn.140001050
jmp 0x14000113f
mov r8, rbx
mov ecx, 0xe
call fcn.140001050
mov eax, 0xf
mov dl, byte [rbx + rax + 0xf0]
cmp dl, 0xff
jne 0x1400012bc
mov byte [rbx + rax + 0xf0], 0
sub rax, 1
jae 0x1400012a0
jmp 0x1400012c7
cdqe
inc edx
mov byte [rbx + rax + 0xf0], dl
xor eax, eax
movsxd rdx, eax
inc eax
mov dl, byte [rsp + rdx + 0x30]
xor byte [rsi], dl
inc rsi
jmp 0x140001105
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400021b0
Capabilities:
Resolve function by djb2 hash

Disassembly:
push r13
xor eax, eax
xor r8d, r8d
xor edx, edx
push r12
mov r12, rcx
mov ecx, 0xfc
push rbp
lea rbp, [r12 + 6]
push rdi
push rsi
mov rsi, r12
push rbx
sub rsp, 0x448
mov qword [rsp + 0x40], 0
lea rdi, [rsp + 0x50]
rep stosd dword [rdi], eax
mov rcx, rbp
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], 0
call fcn.140009bc0
mov edx, 0xc
xor r8d, r8d
mov rcx, r12
mov rbx, rax
call fcn.140009bc0
mov rcx, r12
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov r13, rax
call fcn.14000bee0
lea rdx, [rsp + 0x40]
lea rcx, [rax + 1]
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
cmp r13d, 0xd0a409b0
je 0x14000226f
cmp ebx, 0x59fcf3cf
je 0x14000226f
cmp ebx, 0xcf31bb1f
je 0x14000226f
cmp ebx, 0x5fbff0fb
je 0x14000226f
cmp ebx, 0x504e3837
je 0x14000226f
cmp ebx, 0x30eece3c
jne 0x1400022ab
mov r13, qword [0x1400102a0]
xor ebx, ebx
cmp dword [r13], ebx
jbe 0x140002339
mov rcx, rbp
call fcn.140009c10
mov edx, eax
mov eax, ebx
shl rax, 4
add rax, qword [0x140010290]
cmp rdx, qword [rax]
jne 0x1400022a7
mov rax, qword [rax + 8]
jmp 0x14000237b
inc ebx
jmp 0x140002278
xor r8d, r8d
mov edx, 6
mov rcx, r12
call fcn.140009bc0
mov r8, rax
mov eax, 0xec6ba2a8
cmp r8, rax
jne 0x140002339
lea rdx, [0x140010280]
lea rcx, [rsp + 0x46]
call fcn.14000bf20
mov rbx, rax
mov rcx, rax
call fcn.14000bee0
mov rcx, rbx
mov rbp, rax
call fcn.14000a0d0
mov r13, rax
test rax, rax
je 0x140002339
lea rbx, [rbx + rbp + 1]
mov rcx, rbx
call fcn.14000bee0
xor r8d, r8d
mov qword [rsp + 0x38], rbx
mov rcx, r13
mov word [rsp + 0x30], ax
inc eax
lea rdx, [rsp + 0x30]
lea r9, [rsp + 0x28]
mov word [rsp + 0x32], ax
mov rax, qword [0x1400102b0]
mov rax, qword [rax]
call qword [rax + 0x234]
test eax, eax
jns 0x140002376
mov ecx, 0x14
call fcn.14000a680
mov edx, 0x99
mov rcx, rax
mov r13, rax
call fcn.14000a560
mov rcx, r12
call fcn.14000bee0
mov rdx, r12
mov rcx, r13
mov r8, rax
call fcn.14000a4e0
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.14000a830
mov rax, qword [rsp + 0x28]
add rsp, 0x448
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140009ae0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x14000b810
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x14000b810
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x14000b810
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x140009ba1
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x14000b810
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.140009c10
cmp eax, 0xa6caa1c5
jne 0x140009b8d
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x14000b810
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x14000b810
mov rcx, r13
inc rsi
call fcn.140009c10
cmp eax, 0xffe885ef
jne 0x140009b31
jmp 0x140009b5e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x14000b85c
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x14000b85a
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x14000b852
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x14000b852
mov edx, dword [rdx + 0x14]
sub edx, r8d
add eax, edx
ret
inc ecx
add rdx, 0x28
jmp 0x14000b82e
xor eax, eax
ret

Function at 0x140009bc0
Capabilities:
Hash data using djb2

Disassembly:
mov r10, rdx
mov r9, rcx
mov edx, 0x1505
mov al, byte [rcx]
test r10, r10
jne 0x140009bd8
test al, al
jne 0x140009be9
jmp 0x140009c09
mov r11d, ecx
sub r11d, r9d
cmp r11, r10
jae 0x140009c09
cmp al, 1
adc rcx, 0
cmp al, 0x60
jbe 0x140009bf5
test r8d, r8d
je 0x140009bf5
sub eax, 0x20
mov r11d, edx
movzx eax, al
inc rcx
shl r11d, 5
add eax, r11d
add edx, eax
jmp 0x140009bcb
mov eax, edx
ret

Function at 0x140009c10
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140009c2d
mov r8d, eax
shl r8d, 5
add edx, r8d
add eax, edx
jmp 0x140009c15
ret

Function at 0x140009c30
Capabilities:
Hash data using djb2

Disassembly:
mov r9, rdx
mov r8, rcx
mov edx, 0x1505
mov al, byte [rcx]
test r9, r9
jne 0x140009c48
test al, al
jne 0x140009c5c
jmp 0x140009c77
mov r10d, ecx
sub r10d, r8d
cmp r10, r9
jae 0x140009c77
test al, al
jne 0x140009c5c
inc rcx
jmp 0x140009c63
cmp al, 0x60
jbe 0x140009c63
sub eax, 0x20
mov r10d, edx
movzx eax, al
inc rcx
shl r10d, 5
add eax, r10d
add edx, eax
jmp 0x140009c3b
mov eax, edx
ret
Function at 0x140009ee0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x140009ee4
mov r11d, 8
lea r10, str.cw
lea rbx, [0x140010160]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x140009f62
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x140009f77
cmp esi, 4
jne 0x140009f77
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x140009f28
pop rbx
pop rsi
ret

Function at 0x140009fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
xor r15d, r15d
push r14
push r13
push r12
mov r12, rcx
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rax, dword [rcx + 0x3c]
mov dword [rsp + 0xa8], edx
mov qword [rsp + 0x38], 0
add rax, rcx
mov qword [rsp + 0x40], 0
mov ebx, dword [rax + 0x88]
mov qword [rsp + 0x48], 0
mov eax, dword [rax + 0x8c]
add rbx, rcx
mov esi, dword [rbx + 0x20]
mov r13d, dword [rbx + 0x1c]
mov dword [rsp + 0x2c], eax
mov r14d, dword [rbx + 0x24]
cmp dword [rbx + 0x18], r15d
jbe 0x14000a0a8
mov edi, r15d
lea rax, [r12 + rdi*4]
mov ebp, dword [rax + rsi]
add rbp, r12
mov rcx, rbp
call fcn.140009c10
cmp eax, dword [rsp + 0xa8]
jne 0x14000a0ac
add rdi, rdi
add rdi, r12
movzx eax, word [rdi + r14]
lea rax, [r12 + rax*4]
mov eax, dword [rax + r13]
add rax, r12
mov qword [rsp + 0x38], rax
cmp rax, rbx
jae 0x14000a05c
mov rax, qword [rsp + 0x38]
jmp 0x14000a0b4
mov esi, dword [rsp + 0x2c]
add rsi, r12
add rbx, rsi
cmp rax, rbx
jae 0x14000a055
mov rcx, rbp
call fcn.14000bee0
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rcx, r12
mov word [rsp + 0x40], ax
inc eax
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov word [rsp + 0x42], ax
mov rax, qword [0x1400102b0]
mov rax, qword [rax]
call qword [rax + 0x234]
test eax, eax
jns 0x14000a055
xor eax, eax
jmp 0x14000a0b4
inc r15d
jmp 0x14000a00d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000a190
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rbx
mov ebx, ecx
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rsi, qword [rax + 0x20]
mov r11, rsi
movzx edx, word [r11 + 0x48]
mov rcx, qword [r11 + 0x50]
call fcn.140009c30
cmp ebx, eax
jne 0x14000a1c4
mov rax, qword [r11 + 0x20]
jmp 0x14000a1d5
mov r11, qword [r11]
test r11, r11
je 0x14000a1d1
cmp rsi, r11
jne 0x14000a1ac
or rax, 0xffffffffffffffff
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x14000b750
Capabilities:
Enumerate pe sections

Disassembly:
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
movzx eax, word [r8 + 0x14]
mov r10w, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
xor r8d, r8d
cmp r10w, r8w
je 0x14000b799
mov r9d, dword [rax + 0xc]
cmp r9d, edx
ja 0x14000b790
mov r11d, dword [rax + 8]
add r11d, r9d
cmp r11d, edx
jbe 0x14000b790
mov eax, dword [rax + 0x14]
sub eax, r9d
add eax, edx
add rax, rcx
ret
inc r8d
add rax, 0x28
jmp 0x14000b769
xor eax, eax
ret

Function at 0x14000b810
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x14000b810
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x14000b810
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x14000b810
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x140009ba1
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x14000b810
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.140009c10
cmp eax, 0xa6caa1c5
jne 0x140009b8d
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x14000b810
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x14000b810
mov rcx, r13
inc rsi
call fcn.140009c10
cmp eax, 0xffe885ef
jne 0x140009b31
jmp 0x140009b5e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x14000b85c
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x14000b85a
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x14000b852
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x14000b852
mov edx, dword [rdx + 0x14]
sub edx, r8d
add eax, edx
ret
inc ecx
add rdx, 0x28
jmp 0x14000b82e
xor eax, eax
ret
Function at 0x14000c170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
mov r14, rdx
mov edx, 0x180024b6
push r13
push r12
xor r12d, r12d
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
sub rsp, 0x178
mov rbp, qword [0x1400102b0]
lea rdi, [rsp + 0x7c]
mov rax, qword [rbp]
mov rcx, qword [rax + 0x644]
call fcn.140009fb0
mov ecx, 0x3d
mov byte [rsp + 0x6b], 0xbb
mov r8, rax
xor eax, eax
mov word [rsp + 0x69], 0x4900
rep stosd dword [rdi], eax
lea rax, [r8 + 0x12]
mov rcx, rbx
mov qword [rsp + 0x6c], 0
mov qword [rsp + 0x50], rax
movsxd rax, dword [rbx + 0x3c]
mov qword [rsp + 0x74], 0
mov edx, dword [rbx + rax + 0x88]
call fcn.14000b750
mov rsi, rax
mov eax, dword [rax + 0x18]
mov edx, dword [rsi + 0x1c]
mov dword [rsp + 0x34], eax
call fcn.14000b750
mov edx, dword [rsi + 0x20]
mov qword [rsp + 0x38], rax
call fcn.14000b750
mov edx, dword [rsi + 0x24]
mov qword [rsp + 0x40], rax
call fcn.14000b750
mov r9d, 0x3000
xor edx, edx
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x48], rax
mov rax, qword [rbp]
mov r8d, 0x10000
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xec]
test rax, rax
je 0x14000c37a
mov dword [rsp + 0x30], 0
mov rbp, rax
lea r15, [rsp + 0x6c]
mov esi, dword [rsp + 0x34]
cmp dword [rsp + 0x30], esi
jae 0x14000c37a
cmp r12d, 0x3ff
ja 0x14000c37a
mov rax, qword [rsp + 0x40]
mov edi, dword [rsp + 0x30]
mov rcx, rbx
mov edx, dword [rax + rdi*4]
call fcn.14000b750
cmp word [rax], 0x775a
mov rsi, rax
jne 0x14000c371
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + rdi*2]
mov rdi, qword [rsp + 0x38]
mov edx, dword [rdi + rax*4]
call fcn.14000b750
mov r9d, 3
mov edx, 0x40
lea r8, [0x14001012a]
mov rcx, rax
mov r13, rax
call fcn.140008ca0
add rax, 3
mov qword [rsp + 0x58], rax
je 0x14000c371
mov rcx, rsi
mov rdi, r15
call fcn.14000bee0
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, r15
mov word [rsp + 0x6c], 0x744e
mov rsi, r13
call fcn.140009c10
mov r9d, r12d
mov edx, r12d
inc r12d
shl r9, 4
mov eax, eax
shl edx, 6
mov qword [r14 + r9 + 8], rax
mov rax, qword [rsp + 0x58]
mov r8d, edx
add r8, rbp
sub rax, r13
mov rdi, r8
lea rcx, [rax - 0xd]
lea eax, [rdx + 7]
rep movsb byte [rdi], byte [rsi]
mov cx, word [rsp + 0x69]
mov rdi, qword [rsp + 0x50]
mov word [rbp + rax], cx
mov cl, byte [rsp + 0x6b]
mov byte [rbp + rax + 2], cl
lea eax, [rdx + 0xa]
add edx, 0x12
mov rcx, r15
mov qword [rbp + rax], rdi
mov dword [rbp + rdx], 0xc3e3ff41
xor edx, edx
mov qword [r14 + r9], r8
mov r8d, 0x104
call fcn.14000a220
inc dword [rsp + 0x30]
jmp 0x14000c261
add rsp, 0x178
mov eax, r12d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp qword fs:[rsp + riz*2 + 0x64]
xchg byte [rsi + 0x3535ff86], al
xor eax, 0x575757ff
jmp [rax + 0x68]
fcomp st(0)
fdivr st(7)
mov cl, 0xb1
mov cl, 0xff
jmp qword [r10 + 0x63]
inc dword gs:[rsi - 0x2700797a]
fcomp st(0)
call rdx
rcl dl, cl
jmp [rsp + rbp*2 + 0x6c]
jmp [edx + 0x6a]
imul ebp, dword [rbx + 0x6b], 0xffffffff
imul ebp, dword [rbx + 0x6b], 0xffffffff
imul ebp, dword [rbx + 0x6b], 0xffffffff
imul ebp, dword [rbx + 0x6b], 0xffffffff
imul ebp, dword [rbx + 0x6b], 0xffffffff
push 0x6a
push 0xffffffffffffffff
push 0x6a
push 0xffffffffffffffff
imul ebp, dword [rcx + 0x69], 0x686868ff
imul edi, edi, 0xff686868
invalid
invalid
imul edi, edi, 0xff686868
push 0x67ff6868
jmp qword [esi + 0x66]
jmp qword [esi + 0x66]
Function at 0x14001cae4
Capabilities:
Parse pe header

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

Function at 0x140029924
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140029714

Function at 0x14002cff4
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14002cd16
call fcn.140027e58
mov dword [rax], 0x16
call fcn.140022d60
jmp 0x14002ce66
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002ce66
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002ce66
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002cd45
lock or dword [rcx + 0x14], 0x10
jmp 0x14002ce66
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002cd59
call fcn.14002d8d0
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x14002cd69
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x14002cd6c
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.14002ccb8
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.140038e2c
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14002ce54
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14002cdff
mov rcx, rbx
call fcn.14002ccb8
cmp eax, 0xffffffff
je 0x14002cdea
mov rcx, rbx
call fcn.14002ccb8
cmp eax, 0xfffffffe
je 0x14002cdea
mov rcx, rbx
call fcn.14002ccb8
movsxd rdi, eax
lea rsi, [0x14005c0a0]
mov rcx, rbx
sar rdi, 6
call fcn.14002ccb8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14002cdf1
lea rdx, [0x140059d40]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002cdff
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14002ce23
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14002ce23
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14002ce23
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x14002ce41
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x14002ce4c
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x14002ce6b
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14002cce0
Function at 0x14002f99c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14001c090
sub rsp, rax
mov rax, qword [0x140059980]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002ccb8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002f9eb
mov rax, rbp
jmp 0x14002faf3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x5c0a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002fe8c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x5c0a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002faef
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002faef
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002fe8c
test rax, rax
js 0x14002faef
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002faef
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002fae1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002fae1
cmp byte [rcx], 0xd
jne 0x14002fac7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002fad6
cmp byte [rcx + 1], 0xa
jne 0x14002fad6
inc rcx
jmp 0x14002fad6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5a470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002faa9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002faf3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001c650
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret