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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rsi, rdx
mov r15, rcx
mov ecx, 0x10
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1400721fc], eax
jg 0x14002f1b2
mov ecx, 4
call fcn.14005b028
mov qword [rbp + 0x50], rax
mov rcx, rax
call fcn.14005b014
movabs rbx, 0xcbf29ce484222325
mov rax, rbx
lea rdx, [rbp + 0x50]
mov r14d, 8
mov r8d, r14d
movabs r12, 0x100000001b3
movzx ecx, byte [rdx]
xor rax, rcx
imul rax, r12
inc rdx
sub r8, 1
jne 0x14002efcd
movabs r9, 0xbc2ad017d719504d
imul rax, r9
mov r13, rax
shr r13, 0x20
xor r13d, eax
lea rax, [rbp + 0x50]
mov qword [rbp + 0x48], rax
mov rax, rbx
lea rdx, [rbp + 0x48]
mov r8, r14
movzx ecx, byte [rdx]
xor rax, rcx
imul rax, r12
inc rdx
sub r8, 1
jne 0x14002f00a
imul rax, r9
mov rcx, rax
shr rcx, 0x20
xor ecx, eax
mov qword [rbp + 0x60], rcx
add dword [0x1400721f8], 0xedf19156
call fcn.140057884
mov rdi, rax
call fcn.140057868
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x48], r15
mov rcx, rbx
lea r8, [rbp + 0x48]
mov rax, r14
movzx edx, byte [r8]
xor rcx, rdx
imul rcx, r12
inc r8
sub rax, 1
jne 0x14002f075
movabs r10, 0xbc2ad017d719504d
imul rcx, r10
mov r12, rcx
shr r12, 0x20
xor r12d, ecx
lea rax, [fcn.14005b3f8]
mov qword [rbp + 0x48], rax
mov rax, rbx
lea rdx, [rbp + 0x48]
mov r8, r14
movabs r9, 0x100000001b3
movzx ecx, byte [rdx]
xor rax, rcx
imul rax, r9
inc rdx
sub r8, 1
jne 0x14002f0c0
imul rax, r10
mov r15, rax
shr r15, 0x20
xor r15d, eax
lea rax, [0x14002f4f8]
mov qword [rbp + 0x48], rax
mov rax, rbx
lea rdx, [rbp + 0x48]
movzx ecx, byte [rdx]
xor rax, rcx
imul rax, r9
inc rdx
sub r14, 1
jne 0x14002f0f3
imul rax, r10
mov rdi, rax
shr rdi, 0x20
xor edi, eax
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0x48], eax
lea rcx, [rbp + 0x48]
lea edx, [r14 + 4]
movabs r8, 0x100000001b3
movzx eax, byte [rcx]
xor rbx, rax
imul rbx, r8
inc rcx
sub rdx, 1
jne 0x14002f12d
movabs r14, 0xbc2ad017d719504d
imul rbx, r14
call sub.KERNEL32.dll_GetCurrentProcessId
mov edx, eax
mov ecx, dword [0x1400721f8]
mov dword [rsi], ecx
mov rax, qword [rbp + 0x58]
imul rax, r14
mov rcx, rax
shr rcx, 0x20
xor ecx, eax
mov dword [rsi + 4], ecx
mov rax, qword [rbp + 0x60]
mov dword [rsi + 8], eax
mov dword [rsi + 0xc], r13d
mov dword [rsi + 0x10], r12d
mov dword [rsi + 0x14], edi
mov dword [rsi + 0x18], r15d
mov rax, rbx
shr rax, 0x20
xor eax, ebx
mov dword [rsi + 0x1c], eax
and dword [rsi + 0x20], 0
mov dword [rsi + 0x24], edx
and dword [rsi + 0x28], 0
mov rax, rsi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x1400721fc]
call fcn.140055b0c
cmp dword [0x1400721fc], 0xffffffff
jne 0x14002ef93
call fcn.1400578a0
mov dword [0x1400721f8], eax
lea rcx, [0x1400721fc]
call fcn.140055aac
jmp 0x14002ef93
Function at 0x140033d84
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r14, r8
mov r15, rdx
mov r12, rcx
lea rsi, [r9*2 - 2]
lea eax, [rsi + 0xc]
movsxd rbp, eax
mov rax, qword gs:[0x60]
mov r8, rbp
mov edx, 8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
mov rbx, rax
mov qword [rsp + 0x88], rax
xor r13d, r13d
test rax, rax
jne 0x140033dfe
mov rax, qword [rsp + 0x90]
mov dword [rax], 0xc000009a
jmp 0x140033e5d
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x20], rdi
mov r9, rbp
mov r8, rbx
mov rdx, r15
mov rcx, r12
call fcn.140004c34
nop
cmp dword [rdi], r13d
jl 0x140033e5d
cmp dword [rbx + 4], 1
je 0x140033e30
mov dword [rdi], 0xd0001808
jmp 0x140033e5d
mov eax, dword [rbx + 8]
cmp rsi, rax
cmovae rsi, rax
lea rdx, [rbx + 0xc]
mov r8, rsi
mov rcx, r14
call fcn.140058d50
nop
mov word [rsi + r14], r13w
mov r8, rbp
xor edx, edx
mov rcx, rbx
call fcn.140058aa0
nop
test rbx, rbx
je 0x140033e80
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140034fa4
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
xor r9d, r9d
test rcx, rcx
je 0x140035046
cmp rdx, 0x40
jb 0x14003500a
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003500a
cmp dword [rcx + 0x3c], edx
jge 0x1400350be
movsxd r8, dword [rcx + 0x3c]
cmp r8, 0x7fffffe7
jae 0x1400350be
lea rax, [r8 + 0x18]
cmp rax, rdx
jae 0x1400350be
lea rax, [r8 + rcx]
cmp dword [rax], 0x4550
jne 0x140035082
add rsp, 0x50
pop rbp
ret
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000012f
mov dword [rbp - 0xc], r9d
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc00000ef
mov dword [rbp - 0xc], r9d
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
mov dword [rbp - 0xc], r9d
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
mov dword [rbp - 0xc], r9d
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
Function at 0x14003ab48
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
lea r9, [r8 + 8]
mov rbx, rcx
cmp r9, r8
movabs rax, 0xcbf29ce484222325
mov r11, r8
sbb r10, r10
not r10
and r10d, 8
cmp r8, r9
ja 0x14003ab96
movzx ecx, byte [r11]
movabs r9, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r8
imul rax, r9
cmp rcx, r10
jne 0x14003ab73
mov r9, qword [rbx + 0x30]
mov r11, qword [rbx + 0x18]
and r9, rax
add r9, r9
mov r10, qword [r11 + r9*8]
mov rcx, r10
cmp r10, qword [rbx + 8]
jne 0x14003abb7
mov rax, qword [rbx + 8]
jmp 0x14003abbf
mov rax, qword [r11 + r9*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14003abd2
mov rax, qword [r8]
cmp qword [rcx + 0x10], rax
je 0x14003abd6
mov rcx, qword [rcx]
jmp 0x14003abab
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret

Function at 0x14003b62c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, r8
mov r14, rdx
mov r9, rcx
lea rsi, [r8 + 0x10]
movabs rax, 0xcbf29ce484222325
mov r11, rsi
lea r8, [rsi + 8]
cmp r8, rsi
sbb r10, r10
not r10
and r10d, 8
cmp rsi, r8
ja 0x14003b69c
movzx ecx, byte [r11]
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
inc r11
mov rcx, r11
sub rcx, rsi
cmp rcx, r10
jne 0x14003b679
mov rdx, qword [r9 + 0x30]
and rdx, rax
add rdx, rdx
mov rcx, qword [r9 + 0x18]
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x14003b6d4
cmp qword [rcx + rdx*8], rbx
jne 0x14003b6c9
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r9 + 8]
mov rcx, qword [r9 + 0x18]
jmp 0x14003b6cd
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14003b6e1
cmp qword [rcx + rdx*8], rbx
jne 0x14003b6e1
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003b70e
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi + 8], 0
mov edx, 0x20
mov rcx, rbx
call fcn.1400558ec
mov qword [r14], rdi
mov rax, r14
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400489fc
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r8
mov rdi, rcx
mov rax, rcx
mov rdx, qword [rcx + 0x18]
cmp rdx, 8
jb 0x140048a3c
mov rax, qword [rcx]
mov rcx, qword [rcx + 0x10]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x60], rax
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x68], rax
mov r9d, 0x5c
cmp word [rax], r9w
je 0x140048a85
cmp rcx, rdx
jae 0x140048a7d
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 8
jb 0x140048a77
mov rax, qword [rdi]
mov dword [rax + rcx*2], r9d
jmp 0x140048a85
mov rcx, rdi
call fcn.1400178d8
mov rcx, qword [rdi + 0x10]
cmp rcx, qword [rdi + 0x18]
jae 0x140048aad
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140048aa4
mov rax, qword [rdi]
mov dword [rax + rcx*2], 0x2a
jmp 0x140048abb
mov r9d, 0x2a
mov rcx, rdi
call fcn.1400178d8
mov dword [rsp + 0x20], 0x64002e
mov dword [rsp + 0x24], 0x6c006c
xor eax, eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400175c0
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140048aef
mov rcx, qword [rdi]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140048b98
test dword [rsp + 0x70], 0x4c14
jne 0x140048b57
cmp word [rbp - 0x64], 0x2e
je 0x140048b57
lea rax, [rbp - 0x64]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x140048b45
lea rdx, [rbp - 0x64]
mov rcx, rax
call fcn.1400041f4
add qword [rbx + 8], 0x20
jmp 0x140048b57
lea r8, [rbp + 0x1f8]
mov rdx, rax
mov rcx, rbx
call fcn.140016b58
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140048b0c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
or qword [rsp + 0x30], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400043c8
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword gs:[0x68]
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x38], rcx
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
lea rcx, [0x140080360]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x50], 0xd0001d10
mov dword [rsp + 0x54], eax
lea rdx, [0x1400a01c0]
lea rcx, [rsp + 0x38]
call fcn.140058c30
int3
Function at 0x140048c14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov r14, qword [rbp + 0x40]
xor r10b, r10b
mov rsi, qword [rbp + 0x48]
xor edi, edi
add rsi, r14
mov rbx, r8
xor eax, eax
mov r11, rdx
mov r9, rcx
mov byte [rsp + rax], al
inc rax
cmp rax, 0x100
jb 0x140048c4e
mov word [rbp], di
xor r8d, r8d
mov dl, byte [rsp + r8]
mov rax, r8
and eax, 0xf
mov cl, byte [rax + rbx]
add cl, dl
add r10b, cl
movzx ecx, r10b
mov al, byte [rsp + rcx]
mov byte [rsp + r8], al
inc r8
mov byte [rsp + rcx], dl
cmp r8, 0x100
jb 0x140048c63
xor r8d, r8d
test r11, r11
je 0x140048d01
mov r10b, byte [rbp + 1]
mov dl, byte [rbp]
inc dl
mov byte [rbp], dl
movzx edx, dl
add r10b, byte [rsp + rdx]
mov byte [rbp + 1], r10b
mov cl, byte [rsp + rdx]
movzx eax, r10b
mov al, byte [rsp + rax]
mov byte [rsp + rdx], al
movzx eax, byte [rbp + 1]
mov byte [rsp + rax], cl
mov r10b, byte [rbp + 1]
mov dl, byte [rbp]
cmp r9, r14
jb 0x140048cf6
cmp r9, rsi
jae 0x140048d01
movzx eax, dl
movzx ecx, r10b
mov cl, byte [rsp + rcx]
add cl, byte [rsp + rax]
movzx eax, cl
mov cl, byte [rsp + rax]
mov rax, r9
xor byte [r9], cl
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
inc r8
inc r9
cmp r8, r11
jb 0x140048c9e
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004df90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r11, [r8 + 0x10]
mov rsi, rdx
lea r9, [r11 + 4]
mov r10, rcx
cmp r9, r11
movabs rax, 0xcbf29ce484222325
mov rdi, r11
sbb rbx, rbx
not rbx
and ebx, 4
cmp r11, r9
ja 0x14004dfed
movzx ecx, byte [rdi]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rdi
mov rcx, rdi
sub rcx, r11
imul rax, rdx
cmp rcx, rbx
jne 0x14004dfcb
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14004e025
cmp qword [rcx + rdx*8], r8
jne 0x14004e01a
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x14004e01e
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004e032
cmp qword [rcx + rdx*8], r8
jne 0x14004e032
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.1400558ec
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140050930
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r12, rcx
mov r13, rdx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
xor ebx, ebx
mov qword [rax - 0x58], rbx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
test rbx, rbx
je 0x140050995
test r14d, r14d
je 0x140050995
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call fcn.140058aa0
nop
and dword [rsp + 0xb8], 0
mov eax, dword [0x1400718c0]
mov dword gs:[0x68], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbx
xor r8d, r8d
mov edx, r15d
mov rcx, qword [r12]
call fcn.1400558a0
nop
mov dword [rsi], eax
cmp eax, 0xc0000023
je 0x1400509e4
cmp eax, 0x80000005
jne 0x140050a8d
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x140050b1d
add eax, 2
mov dword [rsp + 0xb8], eax
mov r8d, eax
mov rax, qword gs:[0x60]
mov edx, 8
mov rcx, qword [rax + 0x30]
test rbx, rbx
je 0x140050a28
mov r9d, r8d
mov r8, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop
jmp 0x140050a2f
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
mov qword [rsp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x140050a47
mov dword [rsi], 0xc000009a
jmp 0x140050b28
mov r14d, dword [rsp + 0xb8]
mov dword [rsp + 0x30], r14d
mov eax, dword [0x1400718c0]
mov dword gs:[0x68], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbx
xor r8d, r8d
mov edx, r15d
mov rcx, qword [r12]
call fcn.1400558a0
nop
mov dword [rsi], eax
mov eax, dword [r13]
test eax, eax
js 0x140050b0c
cmp dword [rbx + 0xc], 0
jbe 0x140050b0c
lea rcx, [rbx + 0x10]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.msvcrt.dll_wcstoul]
nop
mov dword [rsp + 0x3c], eax
lea ecx, [rax - 1]
cmp ecx, 0xfffffffd
ja 0x140050ade
mov dword [rsp + 0x38], eax
mov rdx, qword [rdi + 8]
cmp qword [rdi + 0x10], rdx
je 0x140050ad0
mov qword [rsp + 0x58], rdx
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x140050ade
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140016954
nop
jmp 0x140050b0c
inc r15d
mov dword [rsp + 0x34], r15d
cmp dword [rsi], 0
jge 0x14005097d
cmp dword [rsi], 0x8000001a
jne 0x140050b28
and dword [rsi], 0
test rbx, rbx
je 0x140050b48
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140051c3c
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rdi
mov rdi, rcx
and dword [rbp + 0x20], 0
lea rax, [rbp + 0x20]
mov qword [r11 - 0x40], rax
and dword [rsp + 0x20], 0
mov r9, rcx
lea r8, [0x1400525a4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140051ca0
mov qword [rdi + 0x40], rax
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x48], eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ebx, dword gs:[0x68]
lea rcx, [rbp + 0x18]
call fcn.140051d00
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x18]
mov rcx, rdi
call fcn.14005290c
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xd0001602
mov dword [rbp - 0xc], ebx
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
Function at 0x140053238
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x808]
sub rsp, 0x8e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r14, rcx
lea rbx, [rcx + 0x120]
mov qword [rbp + 0x818], rbx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
nop
mov rsi, qword [r14 + 0x148]
mov r15, qword [r14 + 0x150]
xor r12d, r12d
cmp rsi, r15
je 0x1400533b1
mov rdi, qword [rsi]
xor edx, edx
mov r8d, 0x670
lea rcx, [rbp + 0x170]
call fcn.140058aa0
mov dword [rbp + 0x1a0], 0x100002
mov eax, dword [0x140071810]
mov dword gs:[0x68], eax
lea rdx, [rbp + 0x170]
mov rcx, qword [rdi]
call fcn.1400558a0
mov dword [rbp + 0x810], eax
test eax, eax
js 0x140053369
mov rdx, qword [rbp + 0x260]
test rdx, rdx
je 0x140053369
lea r9, [rbp + 0x810]
lea r8, [rsp + 0x50]
mov rcx, r14
call fcn.140008760
cmp dword [rbp + 0x810], r12d
jl 0x140053369
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlDowncaseUnicodeString]
mov rcx, qword [rsp + 0x58]
call fcn.1400100a4
mov r8, rax
test rax, rax
jne 0x140053336
mov ecx, r12d
jmp 0x14005335b
mov ecx, 0x811c9dc5
movzx eax, word [rax]
test ax, ax
je 0x140053331
movzx eax, ax
lea r8, [r8 + 2]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, word [r8]
test ax, ax
jne 0x140053343
xor ecx, 0x4cec1bbc
cmp ecx, 0xad8a427e
je 0x140053372
add rsi, 0x10
jmp 0x14005328e
mov rax, qword [rbp + 0x260]
mov qword [r14 + 0x1b8], rax
test rbx, rbx
je 0x140053395
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov qword [rbp + 0x818], r12
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rax, vtable.std::exception.0
mov qword [rsp + 0x20], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea rax, [0x140080360]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0xd0001501
mov dword [rsp + 0x3c], r12d
lea rdx, [0x1400a01c0]
lea rcx, [rsp + 0x20]
call fcn.140058c30
int3
Function at 0x140001564
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov rsi, rcx
mov rdi, rdx
xor ebx, ebx
lea rcx, [rbp - 0x20]
lea r8d, [rbx + 0x68]
xor edx, edx
call fcn.1400213f0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x20], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001620
lea r8d, [rbx + 0x70]
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1400213f0
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x40
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rdi
mov dword [rbp - 0x60], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x140001625
mov rbx, qword [rbp - 0x28]
jmp 0x140001625
mov rbx, qword [rsp + 0x50]
lea r11, [rsp + 0x150]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x14000192c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140059d90]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, r8
mov esi, edx
mov rdi, rcx
call fcn.1400011b4
xor ebx, ebx
cmp qword [0x14005b6d8], rbx
je 0x1400019b9
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, SysAllocStringByteLen
call fcn.1400213f0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], SysAllocStringByteLen
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 1
jne 0x140001998
cmp dword [rsp + 0x28], 0xa
jae 0x1400019a6
cmp dword [rsp + 0x30], 2
jne 0x1400019b9
cmp dword [rsp + 0x24], 5
jb 0x1400019b9
xor r9d, r9d
mov r8, rbp
mov edx, esi
mov rcx, rdi
call qword [0x14005b6d8]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140021570
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret