joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c070
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.140043520
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 0xfb0], rcx
mov qword [rbp + 0xfb8], rdx
lea rdi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.140043da0
mov dword [rbp + 0xfe8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
lea rax, [0x140032000]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xfc0]
mov qword [rbp + 0xfe0], rbx
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14003c27c
mov r14, qword [sym.imp.KERNEL32.dll_SleepEx]
mov r15d, 0xffffffff
lea r12, [rbp + 0xfc0]
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 1
jne 0x14003c140
cmp dword [rbp + 0xfec], 0
jne 0x14003c282
mov eax, dword [rbp + 0xff0]
test eax, eax
je 0x14003c282
mov ebx, eax
cmp eax, 0x1000
ja 0x14003c2cd
xor edi, edi
cmp rdi, rbx
ja 0x14003c2b2
lea rdx, [rdi + rbp]
add rdx, 0xffffffffffffffb0
mov r13, rbx
sub rbx, rdi
cmp rbx, r15
cmovae rbx, r15
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
lea rax, [0x140032000]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov r8d, ebx
mov r9, r12
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x14003c27c
nop dword [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 1
jne 0x14003c1f0
cmp dword [rbp + 0xfec], 0
jne 0x14003c282
mov eax, dword [rbp + 0xff0]
add rdi, rax
mov rbx, r13
cmp rdi, r13
jne 0x14003c180
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
lea rax, [0x140032000]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp + 0xfe0]
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, r12
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14003c140
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xfe0]
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x141005360]
mov rcx, rdi
mov qword [rbp + 0xfe0], rbx
mov rdx, rbx
call fcn.140051d90
jmp 0x14003c2e8
lea r8, [0x141005360]
mov edx, 0x1000
mov qword [rbp + 0xfe0], rbx
mov rcx, rbx
call fcn.140051b80
ud2
Function at 0x14003c380
Capabilities:
Generate random numbers via winapi

Disassembly:
push rsi
sub rsp, 0x80
mov dword [rsp + 0x28], ecx
mov rsi, qword [0x141016bf0]
mov qword [rsp + 0x30], rsi
test rsi, rsi
jne 0x14003c3e2
lea rdx, [0x1410054b4]
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14003c413
mov rcx, qword [rsp + 0x30]
xor eax, eax
lock cmpxchg qword [0x141016bf0], rcx
jne 0x14003c3d2
mov rsi, qword [rsp + 0x30]
jmp 0x14003c3e2
mov rsi, rax
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x10
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14003c413
mov rax, qword [rsp + 0x30]
add rsp, 0x80
pop rsi
ret
mov dword [rsp + 0x2c], eax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [0x14001a9b0]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x2c]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, [0x141005508]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
lea rax, [0x141005528]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
lea rdx, [0x141005598]
lea rcx, [rsp + 0x30]
call fcn.140051ab0
ud2

Function at 0x14003e160
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14003e26d
mov rsi, rcx
mov rbx, qword [rdi + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x14003e197
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14003e232
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14003e250
sub rax, rdx
add rdx, qword [rbx + 8]
mov rbx, qword [rdi + 0x20]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003e1ee
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14003e20b
jmp 0x14003e200
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14003e206
cmp eax, 0x6d
jne 0x14003e222
mov byte [rsi + 1], 0
jmp 0x14003e216
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14003e218
mov r8d, 0x10
mov rcx, rbx
call fcn.140051920
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14003e1a4
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140051920
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14003e1a4
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140052c10
ud2
Function at 0x140043a64
Capabilities:
Parse pe header

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

Function at 0x140047d4c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140047b3c
Function at 0x14004adb0
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14004ade0
xor eax, eax
jmp 0x14004aea3
mov rbp, rbx
cmp word [rax], si
je 0x14004ae05
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004adec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14004ade8
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.14004ad00
movsxd r14, eax
test eax, eax
jne 0x14004ae43
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14004add9
mov rcx, r14
call fcn.14004bc64
mov rdi, rax
test rax, rax
jne 0x14004ae5c
xor ecx, ecx
call fcn.140049390
jmp 0x14004ae38
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.14004ad00
test eax, eax
jne 0x14004ae8d
mov rcx, rdi
call fcn.140049390
jmp 0x14004ae97
xor ecx, ecx
call fcn.140049390
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 0x14004e37c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140049e04
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004e406
cmp byte [rbp - 0x21], r15b
je 0x14004e401
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14004e43c
call fcn.14004c484
test eax, eax
jne 0x14004e428
cmp byte [rbp - 0x21], r15b
je 0x14004e420
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14004e43c
cmp byte [rbp - 0x21], r15b
je 0x14004e439
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400493e0
test eax, eax
jne 0x14004e4dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140049e04
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14004e47b
cmp byte [rbp - 0x21], r15b
je 0x14004e4b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14004e4b0
call fcn.14004c484
test eax, eax
jne 0x14004e49c
cmp byte [rbp - 0x21], r15b
je 0x14004e495
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14004e4b0
cmp byte [rbp - 0x21], r15b
je 0x14004e4ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400493e0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14004e4dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14004e4df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14004e4ed
mov rcx, rdi
call fcn.140049390
cmp byte [rbp + 0x3f], r15b
je 0x14004e4fc
mov rcx, qword [rbp + 0x27]
call fcn.140049390
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140744748
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140744752
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14074477b
pop rbp
sub rbp, 0x33
sub rbp, 0x744748
sub rsp, 0x20
jmp 0x14074479a
mov rax, 0x744748
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x75a14513
xor byte [rax], dl
inc rax
dec rcx
jne 0x1407447b9
jmp 0x1407447d0
pop rbx
invalid
Function at 0x140003978
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400039c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400039c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400039c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400039c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400039c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400039c4
xor al, al
add rsp, 0x28
ret
Function at 0x140002320
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140127240]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.1400f85f0
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400023e0
lea rcx, [rbp - 0x50]
mov r8, 0xffffffffffffffff
mov rax, r8
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x140002391
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x1400023bc
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1400024e6
mov word [rbp + rax - 0x50], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea rax, [rbp - 0x50]
nop
inc r8
cmp word [rax + r8*2], si
jne 0x1400023d0
lea rdx, [rbp - 0x50]
jmp 0x1400023f9
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
xor r8d, r8d
lea rdx, [0x1401066a0]
lea rcx, [rbp - 0x70]
call fcn.14000e580
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x14000242e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1401066a0]
mov rcx, rbx
call fcn.14000e580
jmp 0x1400024ac
lea rcx, [rsp + 0x70]
call fcn.140002140
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rdi
cmp rcx, 1
jb 0x1400024e0
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x1401066a4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
call fcn.14000ee70
nop
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.14000ec50
nop
lea rcx, [rsp + 0x50]
call fcn.14000aa70
nop
lea rcx, [rsp + 0x70]
call fcn.14000aa70
nop
lea rcx, [rbp - 0x70]
call fcn.14000aa70
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400cdad0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400013a0
nop
call fcn.1400cdd90
int3
Function at 0x140008630
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1030
call fcn.1400ce750
sub rsp, rax
mov rax, qword [0x140127240]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r13, r9
mov r15, r8
mov rbp, rdx
test r8, r8
je 0x1400086f6
mov r9d, 0x1000
lea rdx, [rsp + 0x20]
call fcn.140004bb0
test al, al
je 0x1400086f6
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140008690
movsxd rax, dword [rsp + 0x5c]
lea rcx, [rsp + 0x20]
add rcx, rax
xor esi, esi
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r12, rax
test r14d, r14d
je 0x1400086f6
nop dword [rax]
lea rcx, [rsi + rsi*4]
mov r8, rbx
lea rdi, [r12 + rcx*8]
mov rdx, rbp
mov rcx, rdi
call fcn.1400f8a30
test eax, eax
jne 0x1400086ef
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x1400086e1
cmp rbx, rax
je 0x140008723
inc esi
cmp esi, r14d
jb 0x1400086c0
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400cdad0
mov rbx, qword [rsp + 0x1078]
add rsp, 0x1030
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x1400086f6
mov ecx, dword [rdi + 8]
lea rax, [rsp + rax + 0x20]
test rax, rax
je 0x1400086f6
test ecx, ecx
je 0x1400086f6
test r13, r13
je 0x140008744
mov dword [r13], ecx
lea rcx, [rsp + 0x20]
sub rax, rcx
add rax, r15
jmp 0x1400086f8
Function at 0x140009b00
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140009b22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140009b9c
mov rdi, r14
mov rcx, rbx
call fcn.14000b3c0
test rax, rax
jle 0x140009b74
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400f7f50
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140009b8c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140009b94
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140009b36
sub r14, rdi
jmp 0x140009c7f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140009bb3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009bb5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009be7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400f7f50
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140009c7c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009c22
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140009c5d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d62b8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140009c7c
cmp rbp, rax
ja 0x140009c30
test rbp, rbp
je 0x140009c7c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d62b8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400111d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
xor r15d, r15d
mov r14d, 0x9af51ca3
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x14001140c
cmp word [rax + 0x48], 0
je 0x14001140c
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140011293
psrldq xmm0, 8
mov r10d, 0xbceafb12
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14001128a
nop dword [rax + rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140011260
cmp r10d, r15d
jne 0x14001140c
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x14001140c
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x14001140c
mov r13d, dword [rsi + 0x24]
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop dword [rax + rax]
dec edi
lea rcx, [rdi*2]
add rcx, r13
movzx edx, word [rcx + rbx]
lea rcx, [r9 + rdx*4]
mov edx, dword [rcx + rbx]
lea rcx, [r10 + rdi*4]
mov r10d, dword [rcx + rbx]
add rdx, rbx
add r10, rbx
cmp rdx, rsi
jbe 0x140011309
lea rcx, [r12 + rsi]
cmp rdx, rcx
jae 0x140011309
mov bpl, 1
jmp 0x14001130c
xor bpl, bpl
movzx r9d, byte [r10]
mov r11d, 0xbceafb12
inc r10
test r9b, r9b
je 0x14001134f
nop
movsx ecx, r9b
lea r10, [r10 + 1]
sub r9b, 0x41
mov r8d, ecx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [r10 - 1]
cmova r8d, ecx
xor r8d, r11d
imul r11d, r8d, 0x1000193
test r9b, r9b
jne 0x140011320
cmp r11d, r14d
je 0x14001136c
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x1400112d0
mov rax, qword [rax]
jmp 0x140011210
test bpl, bpl
je 0x140011414
movzx r8d, byte [rdx]
mov r15d, 0xbceafb12
mov r14d, r15d
cmp r8b, 0x2e
je 0x1400113bc
nop dword [rax + rax]
movsx eax, r8b
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx + 1]
cmova ecx, eax
inc rdx
xor ecx, r15d
imul r15d, ecx, 0x1000193
cmp r8b, 0x2e
jne 0x140011390
movzx r8d, byte [rdx + 1]
inc rdx
test r8b, r8b
je 0x1400113fb
nop dword [rax]
movsx eax, r8b
lea rdx, [rdx + 1]
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx]
cmova ecx, eax
xor ecx, r14d
imul r14d, ecx, 0x1000193
test r8b, r8b
jne 0x1400113d0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140011210
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
call rdx
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [rbx], 0
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140011450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140127240]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
lea r9, [rsp + 0x20]
mov rsi, rcx
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov edi, ebx
lea ecx, [rbx + 0xb]
call fcn.14005cc40
cmp eax, 0xc0000004
jne 0x1400114df
test rdi, rdi
je 0x1400114a8
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call fcn.14005cc40
cmp eax, 0xc0000004
je 0x140011492
test eax, eax
jns 0x140011500
test rdi, rdi
je 0x140011505
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140011593
test rdi, rdi
jne 0x14001150c
xor eax, eax
jmp 0x140011593
mov r10d, dword [rdi]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r14
test r10d, r10d
je 0x140011576
lea r9, [rdi + 0x2e]
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
movzx r8d, word [r9]
mov eax, ebx
add r8, 0x30
imul r11, rax, 0x128
mov rax, r14
add r8, r11
add r8, rdi
movsx rdx, byte [r8]
lea r8, [r8 + 1]
xor rax, rdx
imul rax, rbp
test dl, dl
jne 0x140011550
cmp rax, rsi
je 0x1400115b0
inc ebx
add r9, 0x128
cmp ebx, r10d
jb 0x140011536
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cdad0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [r11 + rdi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x140011589
Function at 0x1400115d0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
xor ebp, ebp
mov rsi, rdx
mov edi, ebp
movsxd rax, dword [rbx + 0x3c]
mov r10d, dword [rax + rbx + 0x88]
add r10, rbx
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140011686
mov qword [rsp + 0x40], r12
movabs r12, 0xcbf29ce484222325
mov qword [rsp + 0x48], r14
mov r14d, dword [r10 + 0x20]
mov qword [rsp + 0x50], r15
movabs r15, 0x100000001b3
nop dword [rax]
dec r9d
lea rax, [r14 + r9*4]
mov r8d, dword [rax + rbx]
mov rax, r12
add r8, rbx
movsx rdx, byte [r8]
lea r8, [r8 + 1]
xor rax, rdx
imul rax, r15
test dl, dl
jne 0x140011641
cmp rax, rsi
jne 0x140011672
mov ecx, dword [r10 + 0x24]
add rcx, rbx
movzx edx, word [rcx + r9*2]
mov ecx, dword [r10 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
add rdi, rbx
test r9d, r9d
jne 0x140011630
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
movabs rcx, 0xdf04a75e8a5eb8d0
call fcn.140011450
sub rax, rbx
mov rbx, qword [rsp + 0x58]
add rax, rdi
test rdi, rdi
cmovne rbp, rax
mov rax, rbp
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret