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

Disassembly:
push rdi
sub rsp, 0x30
movzx eax, dl
mov rdi, rcx
xor eax, 1
mov byte [rcx + 0xf2], dl
mov dword [rsp + 0x48], eax
mov rax, qword [0x18039d3f8]
test rax, rax
jne 0x18000b4d4
mov byte [rsp + 0x2c], al
mov dword [rsp + 0x20], 0xbfb4b34b
mov dword [rsp + 0x24], 0x8facb2a9
mov dword [rsp + 0x28], 0x90868982
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
nop dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
sub cl, 0x26
xor cl, byte [rsp + rax + 0x21]
mov rax, qword [rsp + 0x40]
mov byte [rsp + rax + 0x21], cl
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp rax, 0xb
jb 0x18000b3e0
mov byte [rsp + 0x2c], 0
call fcn.180001750
mov ecx, dword [0x18039b468]
mov rsi, rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x18039d510], eax
jle 0x18000b473
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x18000b473
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rax
call fcn.180360f2c
mov eax, dword [rbx]
cmp dword [0x1803a1558], eax
mov rbx, qword [rsp + 0x50]
jle 0x18000b4b1
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x18000b4b1
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rsi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rsp + 0x21]
call qword [0x1803a1560]
mov rsi, qword [rsp + 0x58]
mov qword [0x18039d3f8], rax
mov rcx, qword [rdi]
lea r8, [rsp + 0x48]
mov edx, 0x8004667e
call rax
add rsp, 0x30
pop rdi
ret
Function at 0x18000b4f0
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x30
mov rax, qword [0x18039c778]
mov rdi, rcx
test rax, rax
jne 0x18000b634
mov byte [rsp + 0x2c], al
mov dword [rsp + 0x20], 0x11111fef
mov dword [rsp + 0x24], 0xedf2e50c
mov dword [rsp + 0x28], 0xf2e0efe0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
nop dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
add cl, 0x7c
xor cl, byte [rsp + rax + 0x21]
mov rax, qword [rsp + 0x40]
mov byte [rsp + rax + 0x21], cl
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp rax, 0xb
jb 0x18000b540
mov byte [rsp + 0x2c], 0
call fcn.180001750
mov ecx, dword [0x18039b468]
mov rsi, rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x18039d510], eax
jle 0x18000b5d3
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x18000b5d3
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rax
call fcn.180360f2c
mov eax, dword [rbx]
cmp dword [0x1803a1558], eax
mov rbx, qword [rsp + 0x48]
jle 0x18000b611
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x18000b611
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rsi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rsp + 0x21]
call qword [0x1803a1560]
mov rsi, qword [rsp + 0x50]
mov qword [0x18039c778], rax
mov rcx, qword [rdi]
call rax
add rsp, 0x30
pop rdi
ret
Function at 0x18000b640
Capabilities:
Encode data using xor

Disassembly:
mov byte [rsp + 0x10], dl
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
lea rax, [r11 + 0x10]
mov rsi, rcx
mov qword [r11 + 0x20], rax
xor ecx, ecx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x70], 1
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x80]
add rdx, rax
mov qword [rsp + 0x70], rdx
mov rbp, qword [rsp + 0x70]
mov rax, qword [0x18039d4f8]
test rax, rax
jne 0x18000b7b4
mov dword [rsp + 0x30], 0x6a786fc9
mov dword [rsp + 0x34], 0x49424f6c
mov dword [rsp + 0x38], 0x51544c
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x70]
mov qword [r11 - 0x18], rbx
mov qword [r11 - 0x20], rdi
nop
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x70]
add cl, 0x1c
xor cl, byte [rsp + rax + 0x31]
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0x31], cl
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp rax, 0xa
jb 0x18000b6c0
mov byte [rsp + 0x3b], 0
call fcn.180001750
mov rcx, qword gs:[0x58]
mov rdi, rax
mov edx, dword [0x18039b468]
mov eax, 4
mov rbx, qword [rcx + rdx*8]
add rbx, rax
mov ecx, dword [rbx]
cmp dword [0x18039d510], ecx
jle 0x18000b753
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x18000b753
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rax
call fcn.180360f2c
mov eax, dword [rbx]
cmp dword [0x1803a1558], eax
mov rbx, qword [rsp + 0x50]
jle 0x18000b791
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x18000b791
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rdi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rsp + 0x31]
call qword [0x1803a1560]
mov rdi, qword [rsp + 0x48]
mov qword [0x18039d4f8], rax
mov rcx, qword [rsi]
lea r9, [rsp + 0x78]
mov edx, 6
mov dword [rsp + 0x20], ebp
lea r8d, [rdx - 5]
call rax
test eax, eax
setne al
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x18000b7e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r14
mov rbp, rsp
sub rsp, 0x58
mov r14, rcx
lea rax, [rbp - 0x20]
mov qword [rbp + 0x40], rax
mov rbx, rdx
mov qword [rbp + 0x38], 3
mov qword [rbp + 0x30], 0xd
mov rdi, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
add rdi, rax
xor eax, eax
mov qword [rbp + 0x30], rdi
lea rdi, [rbp - 0x20]
mov rcx, qword [rbp + 0x30]
rep stosb byte [rdi], al
lea rax, [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0xc
mov qword [rbp + 0x30], 4
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
add rcx, rax
mov qword [rbp + 0x30], rcx
mov rax, qword [rbp + 0x30]
mov dword [rbp + 0x28], eax
mov rax, qword [0x18039d410]
test rax, rax
jne 0x18000b977
mov byte [rbp - 0x24], al
mov dword [rbp - 0x30], 0x49595cdd
mov dword [rbp - 0x2c], 0x33255a4e
mov dword [rbp - 0x28], 0x2029222c
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x50], rsi
nop dword [rax]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
add cl, 0x3b
xor cl, byte [rbp + rax - 0x2f]
mov rax, qword [rbp + 0x30]
mov byte [rbp + rax - 0x2f], cl
mov rax, qword [rbp + 0x30]
inc rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
cmp rax, 0xb
jb 0x18000b890
mov byte [rbp - 0x24], 0
call fcn.180001750
mov ecx, dword [0x18039b468]
mov rsi, rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x18039d510], eax
jle 0x18000b91c
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x18000b91c
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rax
call fcn.180360f2c
mov eax, dword [rdi]
cmp dword [0x1803a1558], eax
jle 0x18000b955
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x18000b955
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rsi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rbp - 0x2f]
call qword [0x1803a1560]
mov rsi, qword [rsp + 0x50]
mov qword [0x18039d410], rax
mov rcx, qword [r14]
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x20]
call rax
mov eax, dword [rbp - 0x1c]
mov dword [rbx], eax
mov rax, rbx
add rsp, 0x58
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x18000bec0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
sub rsp, 0x18
mov dword [rsp + 0x40], 0x472ca1
lea r15, [0x18039c8f0]
mov dword [rsp + 0x38], 0xe4aa09
mov ebp, 0x270
mov r8d, dword [rsp + 0x38]
mov eax, dword [rsp + 0x40]
add r8d, eax
mov dword [rsp + 0x38], r8d
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp], r14
mov r14, rcx
mov dword [0x18039c8f0], eax
mov dword [0x18039ab58], 1
movsxd r9, edx
nop dword [rax + rax]
mov dword [rsp + 0x40], 0x30323770
mov dword [rsp + 0x38], 0x3bd551f5
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x40]
add ecx, eax
mov eax, dword [0x18039ab58]
mov dword [rsp + 0x38], ecx
dec eax
movsxd rcx, eax
mov eax, dword [r15 + rcx*4]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
mov eax, dword [rsp + 0x38]
movsxd rdx, dword [0x18039ab58]
imul ecx, eax
add ecx, edx
mov dword [r15 + rdx*4], ecx
inc edx
mov dword [0x18039ab58], edx
cmp edx, ebp
jl 0x18000bf20
xor ebx, ebx
mov r10d, r9d
cmp r9d, ebp
mov eax, 1
cmovl r10d, ebp
test r10d, r10d
je 0x18000c03e
mov qword [rsp + 0x10], rsi
mov r11d, eax
mov qword [rsp + 8], rdi
mov rsi, r9
xor edi, edi
mov dword [rsp + 0x40], 0xe65d6
lea r9, [rdi + 1]
mov dword [rsp + 0x38], 0xb0037
lea r8d, [rbx + 1]
mov edx, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
add edx, ecx
mov dword [rsp + 0x38], edx
mov ecx, dword [rsp + 0x38]
mov edx, dword [r15 + r11*4 - 4]
shr edx, 0x1e
xor edx, dword [r15 + r11*4 - 4]
imul edx, ecx
mov ecx, dword [r14 + rdi*4]
xor edx, dword [r15 + r11*4]
add ecx, edx
lea edx, [rax + 1]
add ecx, ebx
mov dword [r15 + r11*4], ecx
cmp edx, ebp
mov eax, dword [0x18039c8f0]
lea rcx, [r11 + 1]
cmovge eax, dword [0x18039d2ac]
mov r11d, 1
cmovl r11, rcx
mov dword [0x18039c8f0], eax
mov eax, 1
cmovl eax, edx
xor ebx, ebx
cmp r9, rsi
cmovl ebx, r8d
xor edi, edi
cmp r9, rsi
cmovl rdi, r9
sub r10d, 1
jne 0x18000bfa0
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov r14, qword [rsp]
mov r9d, 0x26f
mov rbx, qword [rsp + 0x30]
movsxd r8, eax
mov dword [rsp + 0x40], 0x425a3683
mov dword [rsp + 0x38], 0x1afe54e2
mov edx, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
add edx, ecx
mov dword [rsp + 0x38], edx
mov ecx, dword [rsp + 0x38]
mov edx, dword [r15 + r8*4 - 4]
shr edx, 0x1e
xor edx, dword [r15 + r8*4 - 4]
imul edx, ecx
mov ecx, dword [r15 + r8*4]
xor ecx, edx
lea edx, [rax + 1]
sub ecx, eax
mov dword [r15 + r8*4], ecx
cmp edx, ebp
mov eax, dword [0x18039c8f0]
lea rcx, [r8 + 1]
cmovge eax, dword [0x18039d2ac]
mov r8d, 1
mov dword [0x18039c8f0], eax
cmovl r8, rcx
mov eax, 1
cmovl eax, edx
sub r9d, 1
jne 0x18000c050
mov dword [0x18039c8f0], 0x80000000
add rsp, 0x18
pop r15
pop rbp
ret
Function at 0x18000c0e0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x18], 0
lea r10, [0x18039c8f0]
mov dword [rsp + 0x10], 0x6a8dc3cc
mov dword [rsp + 8], 0x2e7aed13
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 0x10]
add ecx, eax
mov dword [rsp + 8], ecx
mov eax, dword [rsp + 8]
mov ecx, dword [0x18039ab58]
mov dword [rsp + 0x1c], eax
cmp ecx, 0x270
jl 0x18000c1df
mov r9, r10
lea r8, [0x18039cc7c]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r9 + 4]
xor edx, dword [r9]
btr edx, 0x1f
xor edx, dword [r9]
mov eax, edx
shr edx, 1
and eax, 1
mov ecx, dword [rsp + rax*4 + 0x18]
xor ecx, edx
xor ecx, dword [r9 + 0x634]
mov dword [r9], ecx
add r9, 4
cmp r9, r8
jl 0x18000c140
lea r9, [0x18039d2ac]
nop word [rax + rax]
mov edx, dword [r8 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8]
mov eax, edx
shr edx, 1
and eax, 1
mov ecx, dword [rsp + rax*4 + 0x18]
xor ecx, edx
xor ecx, dword [r8 - 0x38c]
mov dword [r8], ecx
add r8, 4
cmp r8, r9
jl 0x18000c180
mov edx, dword [0x18039c8f0]
xor edx, dword [0x18039d2ac]
btr edx, 0x1f
xor edx, dword [0x18039d2ac]
mov eax, edx
shr edx, 1
and eax, 1
mov ecx, dword [rsp + rax*4 + 0x18]
xor ecx, edx
xor ecx, dword [0x18039cf20]
mov dword [0x18039d2ac], ecx
xor ecx, ecx
movsxd rax, ecx
inc ecx
mov dword [0x18039ab58], ecx
mov edx, dword [r10 + rax*4]
mov eax, edx
mov dword [rsp + 0x10], 0x88de9084
mov dword [rsp + 8], 0x144dc5fc
mov ecx, dword [rsp + 8]
shr eax, 0xb
xor edx, eax
mov eax, dword [rsp + 0x10]
add ecx, eax
mov dword [rsp + 8], ecx
mov ecx, edx
mov eax, dword [rsp + 8]
shl ecx, 7
and ecx, eax
mov dword [rsp + 0x10], 0xec901160
xor edx, ecx
mov dword [rsp + 8], 0x335eea0
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 0x10]
add ecx, eax
mov dword [rsp + 8], ecx
mov ecx, edx
mov eax, dword [rsp + 8]
shl ecx, 0xf
and ecx, eax
xor edx, ecx
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x18000c5c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [0x18039d41b], 0
jne 0x18000c5d9
call fcn.18000c260
mov byte [0x18039d41b], 1
mov dword [rsp + 0x40], 0
lea r10, [0x18039c8f0]
mov dword [rsp + 0x38], 0x6a8dc3cc
mov dword [rsp + 0x30], 0x2e7aed13
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x18039ab58]
mov dword [rsp + 0x44], eax
cmp ecx, 0x270
jl 0x18000c6cf
mov r9, r10
lea r8, [0x18039cc7c]
nop word [rax + rax]
mov edx, dword [r9 + 4]
xor edx, dword [r9]
btr edx, 0x1f
xor edx, dword [r9]
mov eax, edx
shr edx, 1
and eax, 1
mov ecx, dword [rsp + rax*4 + 0x40]
xor ecx, edx
xor ecx, dword [r9 + 0x634]
mov dword [r9], ecx
add r9, 4
cmp r9, r8
jl 0x18000c630
lea r9, [0x18039d2ac]
nop word [rax + rax]
mov edx, dword [r8 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8]
mov eax, edx
shr edx, 1
and eax, 1
mov ecx, dword [rsp + rax*4 + 0x40]
xor ecx, edx
xor ecx, dword [r8 - 0x38c]
mov dword [r8], ecx
add r8, 4
cmp r8, r9
jl 0x18000c670
mov edx, dword [0x18039c8f0]
xor edx, dword [0x18039d2ac]
btr edx, 0x1f
xor edx, dword [0x18039d2ac]
mov eax, edx
shr edx, 1
and eax, 1
mov ecx, dword [rsp + rax*4 + 0x40]
xor ecx, edx
xor ecx, dword [0x18039cf20]
mov dword [0x18039d2ac], ecx
xor ecx, ecx
movsxd rax, ecx
inc ecx
mov dword [0x18039ab58], ecx
mov edx, dword [r10 + rax*4]
mov eax, edx
mov dword [rsp + 0x38], 0x88de9084
mov dword [rsp + 0x30], 0x144dc5fc
mov ecx, dword [rsp + 0x30]
shr eax, 0xb
xor edx, eax
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov ecx, edx
mov eax, dword [rsp + 0x30]
shl ecx, 7
and ecx, eax
mov dword [rsp + 0x38], 0xec901160
xor edx, ecx
mov dword [rsp + 0x30], 0x335eea0
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov ecx, edx
mov eax, dword [rsp + 0x30]
shl ecx, 0xf
and ecx, eax
xor edx, ecx
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x28
ret
Function at 0x18000c7e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbp, rcx
mov rdx, rcx
mov rcx, rsi
call fcn.1803520c0
xor eax, eax
mov word [rsp + 0x60], 0xa61
mov byte [rsp + 0x62], al
xor edi, edi
mov qword [rsp + 0x68], rdi
mov rax, qword [rsp + 0x68]
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x68]
add cl, 0x30
xor cl, byte [rsp + rax + 0x61]
mov rax, qword [rsp + 0x68]
mov byte [rsp + rax + 0x61], cl
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp rax, 1
jb 0x18000c820
mov rbx, 0xffffffffffffffff
mov byte [rsp + 0x62], dil
mov r8, rbx
lea rax, [rsp + 0x61]
inc r8
cmp byte [rax + r8], dil
jne 0x18000c866
lea rdx, [rsp + 0x61]
mov rcx, rsi
call fcn.1803539e0
movzx ecx, word [rbp + 0x20]
lea r9, [rsp + 0x20]
mov r8d, 0x57
nop dword [rax + rax]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
mov eax, 0x30
cmp ecx, 0xa
cmovge eax, r8d
add al, cl
mov ecx, edx
mov byte [r9], al
inc r9
test edx, edx
jg 0x18000c890
lea rax, [rsp + 0x20]
mov byte [r9], dil
sub r9d, eax
mov r10d, r9d
shr r10d, 1
je 0x18000c907
lea r8, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8]
lea rcx, [rsp + 0x20]
mov eax, r9d
lea r8, [r8 + 1]
sub eax, edi
inc edi
dec eax
add rcx, rax
movzx eax, byte [rcx]
mov byte [r8 - 1], al
mov byte [rcx], dl
cmp edi, r10d
jb 0x18000c8e0
lea rax, [rsp + 0x20]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18000c910
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1803539e0
mov rbx, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x180031480
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x18039c698], 0
mov rbx, rcx
jne 0x1800315b4
xor eax, eax
mov dword [rsp + 0x30], 0x48407817
mov byte [rsp + 0x36], al
mov word [rsp + 0x34], 0x5f4b
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
add cl, 0x2b
xor cl, byte [rsp + rax + 0x31]
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x31], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, 5
jb 0x1800314c0
mov byte [rsp + 0x36], 0
call fcn.1800015d0
mov rcx, qword gs:[0x58]
mov rsi, rax
mov edx, dword [0x18039b468]
mov eax, 4
mov rdi, qword [rcx + rdx*8]
add rdi, rax
mov ecx, dword [rdi]
cmp dword [0x18039d510], ecx
jle 0x180031553
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x180031553
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rax
call fcn.180360f2c
mov eax, dword [rdi]
cmp dword [0x1803a1558], eax
mov rdi, qword [rsp + 0x48]
jle 0x180031591
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x180031591
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rsi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rsp + 0x31]
call qword [0x1803a1560]
mov rsi, qword [rsp + 0x40]
mov qword [0x18039c698], rax
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800315ec
mov eax, 1
xchg dword [rcx + 4], eax
cmp eax, 1
je 0x1800315ec
nop word [rax + rax]
mov ecx, 0xa
call qword [0x18039c698]
mov rcx, qword [rbx + 8]
mov eax, 1
xchg dword [rcx + 4], eax
cmp eax, 1
jne 0x1800315d0
add rsp, 0x20
pop rbx
ret
Function at 0x180035540
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r13d, r13d
lea rdx, [rbp - 0x40]
mov r14d, r13d
mov dword [rbp + 0x38], r13d
mov r15, rcx
call fcn.180034c90
mov rdi, qword [rbp - 0x40]
cmp rdi, qword [rbp - 0x38]
je 0x180035767
mov edx, dword [0x18039b468]
mov rax, qword gs:[0x58]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], r12
lea r12, [rax + rdx*8]
mov r9d, 4
nop word [rax + rax]
mov rax, qword [r15 + 0x10]
mov rbx, qword [rax]
cmp rbx, rax
je 0x180035637
nop dword [rax]
cmp byte [rbx + 0x68], r13b
je 0x180035609
lea rcx, [rbx + 0x10]
or r14d, 1
lea rdx, [rbp - 0x28]
call fcn.180034860
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x1800355e4
mov rdx, qword [rdi]
cmp qword [rax + 0x18], 0x10
mov rcx, rax
jb 0x1800355f1
mov rcx, qword [rax]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdi + 0x10]
jne 0x180035609
call fcn.180363120
test eax, eax
jne 0x180035609
mov sil, 1
jmp 0x18003560c
xor sil, sil
test r14b, 1
je 0x18003561f
and r14d, 0xfffffffe
lea rcx, [rbp - 0x28]
call fcn.180353810
test sil, sil
jne 0x18003573b
mov rbx, qword [rbx]
cmp rbx, qword [r15 + 0x10]
jne 0x1800355c0
mov r9d, 4
xor eax, eax
mov dword [rbp - 0x50], 0x3b3311ec
mov byte [rbp - 0x44], al
mov dword [rbp - 0x4c], 0x1d3f2d3d
mov dword [rbp - 0x48], 0x1e3b3135
mov qword [rbp + 0x38], r13
mov rax, qword [rbp + 0x38]
nop dword [rax]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x38]
add cl, 0x55
xor cl, byte [rbp + rax - 0x4f]
mov rax, qword [rbp + 0x38]
mov byte [rbp + rax - 0x4f], cl
mov rax, qword [rbp + 0x38]
inc rax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
cmp rax, 0xb
jb 0x180035660
mov byte [rbp - 0x44], r13b
call fcn.1800015d0
mov ebx, r9d
mov rsi, rax
add rbx, qword [r12]
mov ecx, dword [rbx]
cmp dword [0x18039d510], ecx
jle 0x1800356d8
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x1800356d8
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1803a15b8], rcx
lea rcx, [0x18039d510]
call fcn.180360f2c
mov eax, dword [rbx]
cmp dword [0x1803a1558], eax
jle 0x180035711
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x180035711
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rsi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rbp - 0x4f]
call qword [0x1803a1560]
test rax, rax
je 0x18003573b
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x180035739
mov rcx, qword [rdi]
call rax
add rdi, 0x20
mov r9d, 4
cmp rdi, qword [rbp - 0x38]
jne 0x1800355b0
mov r12, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa0]
lea rcx, [rbp - 0x40]
call fcn.1803535d0
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x180037fc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov byte [rsp + 0x20], r9b
push rdi
sub rsp, 0x30
mov byte [rcx + 0x10], 1
lea rax, [0x18038ea80]
xor ebp, ebp
mov rbx, rcx
mov qword [rcx + 8], rbp
mov r8, 0xffffffffffffffff
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], rbp
mov qword [rcx + 0x28], rbp
mov qword [rcx], rax
add rcx, 0x38
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov qword [rbx + 0x68], rbp
mov qword [rbx + 0x70], 0xf
mov byte [rbx + 0x58], bpl
mov qword [rbx + 0x88], rbp
mov qword [rbx + 0x90], 0xf
mov byte [rbx + 0x78], bpl
nop dword [rax]
inc r8
cmp byte [rdx + r8], bpl
jne 0x180038040
call fcn.180353890
xor r8d, r8d
lea rdx, [0x18038e6da]
lea rcx, [rbx + 0x58]
call fcn.180353890
xor r8d, r8d
lea rdx, [0x18038e6da]
lea rcx, [rbx + 0x78]
call fcn.180353890
lea rax, [rsp + 0x58]
mov byte [rbx + 0x30], 1
mov qword [rsp + 0x28], rax
lea r8, [0x180001e10]
mov r9, rbx
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call fcn.1803666c0
mov qword [rbx + 8], rax
test rax, rax
jne 0x1800380be
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
cmp byte [rbx + 0x10], bpl
je 0x1800380be
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18003aa00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rsp + 0x38], 0xc8
mov dword [rsp + 0x30], 0x38
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov edx, dword [rsp + 0x30]
call fcn.180356080
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], 0x78
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x30]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x18003aab3
nop
mov rax, qword [rbx]
add cl, dil
mov byte [rdi + rax], cl
mov rdx, qword [rbx]
mov dword [rsp + 0x38], 0x75
mov dword [rsp + 0x30], 0x35
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x30]
movzx eax, byte [rdx + rdi]
inc rdi
xor ecx, eax
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
cmp rdi, rax
jb 0x18003aa70
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret