joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4450be
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x445078
mov ecx, dword [rax + 0x18]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 0
movzx ebx, byte [rsp + 0x88]
mov byte [rsp + 0x28], bl
call fcn.004447c0
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx + 0x1c]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
mov dword [rsp + 0x10], edx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0
movzx edx, byte [rsp + 0x88]
mov byte [rsp + 0x28], dl
call fcn.004447c0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
jne 0x444fec
lea rax, [0x004de9ee]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
cmp eax, 0xffffffff
je 0x444fbc
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rdx + 0x38]
mov rsi, qword [rdx + 0x30]
cmp rcx, rbx
jge 0x444fbc
mov rdi, qword [rdx + 8]
mov rdx, qword [rdx]
jae 0x4450b2
mov ebx, dword [rsi + rcx*4]
cmp rbx, rdi
jae 0x4450a8
mov dword [rsp + 0x3c], eax
lea rax, [rdx + rbx]
mov qword [rsp + 0x48], rax
mov qword [rsp], rax
call fcn.00442ae0
mov rax, qword [rsp + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xa0], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x004de9ee]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, ebx
mov rcx, rdi
call fcn.004561a0
mov rax, rcx
mov rcx, rbx
call fcn.004561a0
nop
call fcn.004537f0
jmp fcn.00444ef0
Function at 0x445150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4452b2
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call fcn.004447c0
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x4451d2
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call fcn.00444d80
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x48], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x40], rdx
call fcn.0042d900
lea rax, [0x004e0a01]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call fcn.0042e2b0
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.0042e2b0
call fcn.0042db50
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.0042e140
call fcn.0042db50
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.0042e140
call fcn.0042db50
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.0042e140
call fcn.0042db50
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call fcn.0042e0d0
call fcn.0042dba0
call fcn.0042d990
mov eax, dword [rsp + 0x3c]
jmp 0x4451c1
call fcn.004537f0
jmp fcn.00445150
Function at 0x44be80
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x44bf60
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x004530a0]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004536a0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.004537f0
jmp fcn.0044be80
Function at 0x465b70
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
neg rsi
imul rsi, rsi, 0x1c
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rsi, 0x3f
sar rdx, 5
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x465c4b
lea rsi, [rdx + rdx*2]
lea rdi, [0x00584d40]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x465bf4
inc rdx
jmp 0x465bcb
cmp r9, 0xffffffffffffffe0
jle 0x465bff
dec rdx
jmp 0x465bcb
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.004561a0
nop
int3
Function at 0x484b00
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 0x484bd0
jb 0x484c2f
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.00484d90
aeskeygenassist xmm1, xmm0, 1
call fcn.00484da0
aeskeygenassist xmm1, xmm2, 2
call fcn.00484d90
aeskeygenassist xmm1, xmm0, 2
call fcn.00484da0
aeskeygenassist xmm1, xmm2, 4
call fcn.00484d90
aeskeygenassist xmm1, xmm0, 4
call fcn.00484da0
aeskeygenassist xmm1, xmm2, 8
call fcn.00484d90
aeskeygenassist xmm1, xmm0, 8
call fcn.00484da0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00484d90
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00484da0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00484d90
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00484da0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00484d90
jmp 0x484c9d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.00484d00
aeskeygenassist xmm1, xmm2, 2
call fcn.00484d50
aeskeygenassist xmm1, xmm2, 4
call fcn.00484d00
aeskeygenassist xmm1, xmm2, 8
call fcn.00484d50
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00484d00
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00484d50
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00484d00
aeskeygenassist xmm1, xmm2, 0x80
call fcn.00484d50
jmp 0x484c9d
aeskeygenassist xmm1, xmm0, 1
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 2
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 4
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 8
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.00484cd0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.00484cd0
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 0x484caa
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x18000239c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180084000
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1800a9428]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1800af618]
xor r11d, r11d
lea rdi, [0x180090887]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x180084070
mov rax, 0xfffffffffffffffe
jmp 0x1800841bd
cmp word [r10 + 6], r11w
jne 0x1800840df
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x18008409a
test r14, r14
je 0x18008408b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1800841bd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1800840a8
mov r8b, 2
jmp 0x1800840c6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1800840b6
mov r8b, 3
jmp 0x1800840c6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1800841b2
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x180084108
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1800841b2
cmp bl, bpl
jb 0x1800841b2
cmp bl, r8b
jae 0x1800841b2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x180084135
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1800841b2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x180084117
cmp r9, rbp
jae 0x180084161
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x180084064
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1800841b2
cmp edx, 0x110000
jae 0x1800841b2
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1800841b2
test r14, r14
je 0x1800841a0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.180003e95
jmp 0x1800841bd
mov rdx, rsi
mov rcx, r10
call fcn.180004584
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18000287e
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800023f1
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1800139c0
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180013a4d
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180013a4d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180013a4d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180013a34
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180013a2e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180013a36
add rdx, 0x28
jmp 0x180013a13
xor edx, edx
test rdx, rdx
jne 0x180013a3f
xor al, al
jmp 0x180013a53
cmp dword [rdx + 0x24], 0
jge 0x180013a49
xor al, al
jmp 0x180013a53
mov al, 1
jmp 0x180013a53
xor al, al
jmp 0x180013a53
add rsp, 0x18
ret
Function at 0x1800029eb
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180022b80
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1800925d0]
mov ecx, 2
lea r8, [0x1800925c8]
lea rdx, str.FlsGetValue
call fcn.180022650
mov ecx, ebx
test rax, rax
je 0x180022bba
add rsp, 0x20
pop rbx
jmp qword [0x1800b8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x180002b49
Capabilities:
Query environment variable

Disassembly:
jmp 0x18006ecb0
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18006ece0
xor eax, eax
jmp 0x18006eda3
mov rbp, rbx
cmp word [rax], si
je 0x18006ed05
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18006ecec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18006ece8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000358f
movsxd r14, eax
test eax, eax
jne 0x18006ed43
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18006ecd9
mov rcx, r14
call fcn.180001032
mov rdi, rax
test rax, rax
jne 0x18006ed5c
xor ecx, ecx
call fcn.18000117c
jmp 0x18006ed38
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000358f
test eax, eax
jne 0x18006ed8d
mov rcx, rdi
call fcn.18000117c
jmp 0x18006ed97
xor ecx, ecx
call fcn.18000117c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180002b53
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180022ad0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180092590]
xor ecx, ecx
lea r8, [0x180092588]
lea rdx, str.FlsAlloc
call fcn.180022650
test rax, rax
je 0x180022b09
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800b8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x180002bdf
Capabilities:
Get geographical location

Disassembly:
jmp 0x18005d3a0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x180093738]
mov rbp, rcx
lea r8, [0x180093730]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.18005c8bc
test rax, rax
je 0x18005d400
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800b8030]
jmp 0x18005d41a
xor edx, edx
mov rcx, rbp
call fcn.18000244b
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180003f9e
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180022bd8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1800925f0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1800925e8]
call fcn.180022650
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180022c18
call qword [0x1800b8020]
jmp 0x180022c1e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180004142
Capabilities:
Parse pe header

Disassembly:
jmp 0x180055c14
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800559df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800559df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800559df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800559df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800559df
cmp dword [rcx + 0x84], 0xe
jbe 0x1800559df
cmp dword [rcx + 0xf8], 0
je 0x1800559df
mov ecx, ebx
call fcn.180055b58
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800556bc
nop
cmp dword [rbp + 0x20], 0
je 0x180055a2d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180055a68
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180055970

Function at 0x18001129c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rdi
sub rsp, 0x38
mov rbx, rcx
lea rdi, [rax + 0x10]
call fcn.1800011d6
mov qword [rsp + 0x28], rdi
lea rdx, [0x1800aa610]
and qword [rsp + 0x20], 0
mov r9, rbx
or r8, 0xffffffffffffffff
mov rcx, qword [rax]
or rcx, 1
call fcn.1800026b2
lea rcx, [0x1800aa610]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x38
pop rdi
pop rbx
ret

Function at 0x180012070
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180012070
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r11d, dword [rcx]
mov rsi, r8
mov ebx, dword [rcx + 4]
mov rdi, rdx
movsxd rbp, r9d
mov r10, rcx
test r9d, r9d
jle 0x1800120d7
sub rdi, r8
inc r11b
movzx r11d, r11b
mov r8b, byte [r11 + r10 + 8]
add bl, r8b
movzx ebx, bl
mov cl, byte [rbx + r10 + 8]
mov byte [r11 + r10 + 8], cl
add cl, r8b
mov byte [rbx + r10 + 8], r8b
movzx eax, cl
mov cl, byte [rax + r10 + 8]
xor cl, byte [rdi + rsi]
mov byte [rsi], cl
inc rsi
sub rbp, 1
jne 0x18001209d
mov rbp, qword [rsp + 0x10]
mov eax, r9d
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r10 + 4], ebx
mov rbx, qword [rsp + 8]
mov dword [r10], r11d
ret
Function at 0x180012634
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180012634
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, r8
mov rcx, r8
call fcn.1800026df
test rdi, rdi
je 0x180012679
cmp byte [rbx], 0x4c
mov rcx, rdi
jne 0x180012671
lea rdx, [rbx + 1]
call fcn.180012474
mov rcx, rdi
call fcn.1800026df
mov byte [rax + rdi - 1], 0
jmp 0x180012679
mov rdx, rbx
call fcn.180012474
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800026df

Function at 0x1800291d0
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.18000191f
sub rsp, rax
mov rax, qword [0x1800a9428]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18000427d
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18002921f
mov rax, rbp
jmp 0x180029327
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xae5b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18000220c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xae5b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180029323
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 0x180029323
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18000220c
test rax, rax
js 0x180029323
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180029323
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180029315
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180029315
cmp byte [rcx], 0xd
jne 0x1800292fb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18002930a
cmp byte [rcx + 1], 0xa
jne 0x18002930a
inc rcx
jmp 0x18002930a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xa9810]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800292dd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180029327
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18000287e
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800641b4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1800ae5b0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x180064212
cmp word [rdx], r12w
jne 0x180064212
or byte [rax + r8*8 + 0x38], cl
jmp 0x180064218
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x180064373
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x18006434e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x180064251
mov rcx, r9
jmp 0x180064274
cmp r9, rdx
jae 0x18006428b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x180064235
jmp 0x180064373
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180064348
cmp dword [rsp + 0x80], edi
je 0x180064348
mov rdx, r14
lea r11, [0x1800ae5b0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x180064321
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1800642f4
mov word [rbx], r12w
jmp 0x18006436f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1800642fd
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x18006436f
cmp word [rsp + 0x70], r12w
jne 0x18006432e
cmp rbx, rsi
je 0x1800642ee
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.180001848
cmp word [rsp + 0x70], r12w
je 0x180064373
mov word [rbx], r13w
jmp 0x18006436f
lea r11, [0x1800ae5b0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18006436b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x180064373
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800dc568
Capabilities:
Execute anti-debugging instructions

Disassembly:
add al, ch
imul edx, dword [rdx - 1], 0xffffffff
call 0x1886c56ff
push rsp
mov esi, dword [rdx + 0x15cae46]
xor al, 0xd6
or esp, dword [rdi]
adc ebx, dword [rbp - 0x1cee562d]
invalid

Function at 0x180116248
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r11d, dword [rcx]
mov rsi, r8
mov ebx, dword [rcx + 4]
mov rdi, rdx
movsxd rbp, r9d
mov r10, rcx
test r9d, r9d
jle 0x1801162af
sub rdi, r8
inc r11b
movzx r11d, r11b
mov r8b, byte [r11 + r10 + 8]
add bl, r8b
movzx ebx, bl
mov cl, byte [rbx + r10 + 8]
mov byte [r11 + r10 + 8], cl
add cl, r8b
mov byte [rbx + r10 + 8], r8b
movzx eax, cl
mov cl, byte [rax + r10 + 8]
xor cl, byte [rdi + rsi]
mov byte [rsi], cl
inc rsi
sub rbp, 1
jne 0x180116275
mov rbp, qword [rsp + 0x10]
mov eax, r9d
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r10 + 4], ebx
mov rbx, qword [rsp + 8]
mov dword [r10], r11d
ret