joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400065c0
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140447abc]
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400065fc
mov rdx, qword [rcx + 0x238]
mov rcx, qword [rcx + 0x230]
call qword [0x140447440]
test eax, eax
je 0x1400065f3
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140005c40
lea rdx, str.WGL:_Failed_to_make_context_current
jmp 0x140006611
xor edx, edx
xor ecx, ecx
call qword [0x140447440]
test eax, eax
jne 0x14000661b
lea rdx, str.WGL:_Failed_to_clear_current_context
mov ecx, 0x10008
call fcn.140002720
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp 0x140005c40
Function at 0x140012e20
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1400c9438]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rcx]
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x60]
mov r9d, edx
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rbp, [rsp + 0x60]
movabs rax, 0x20c49ba5e353f7cf
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3e8
mov dword [rsp + 0x58], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x5c], eax
xor eax, eax
test r8, r8
cmovs rdi, rax
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, rax
test r9d, r9d
mov r8, rsi
cmovne rbp, rax
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140012efa
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140012f00
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140012ed0
test ebx, ebx
je 0x140012f2a
jmp 0x140012f07
cmp ebx, 0xffffffff
je 0x140012f4d
jmp 0x140012efa
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400790d0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Request_timed_out
lea rcx, [rsp + 0x30]
call fcn.140012760
lea rdx, [0x1400c6218]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_select_socket
lea rcx, [rsp + 0x30]
call fcn.140012b10
lea rdx, [0x1400c6078]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140015410
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
xor r8d, r8d
mov ebx, 0x18017917
mov qword [rsp + 0x48], r15
mov rcx, qword [rax + 0x18]
mov rbp, qword [rcx + 0x10]
mov rdi, rbp
nop dword [rax + rax]
mov eax, dword [rdi + 0x58]
sub ax, 8
test r8d, r8d
je 0x14001549d
mov rcx, qword [rdi + 0x60]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x140015494
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x140015480
cmp edx, r8d
jne 0x1400155c6
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x1400155c6
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x1400155c6
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r14 + r9*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140015517
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140015500
cmp edx, ebx
je 0x140015525
test r9d, r9d
jne 0x1400154e0
jmp 0x1400155c6
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x1400155de
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x1400155de
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x40], r8d
mov edx, r8d
mov dword [rsp + 0x44], edx
cmp cl, 0x2e
je 0x14001558d
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140015570
mov dword [rsp + 0x40], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x1400155ba
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x1400155a0
mov dword [rsp + 0x44], edx
mov rbx, qword [rsp + 0x40]
mov rdi, rbp
shr rbx, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x1400155dc
cmp qword [rax + 0x30], 0
jne 0x140015450
xor eax, eax
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp rax
Function at 0x140015630
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
mov rax, qword gs:[0x60]
xor r8d, r8d
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov r9, qword [rcx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
mov ebx, dword [r11 + r9 + 0x20]
nop
lea rax, [rbx + r8*4]
mov edx, 0x811c9dc5
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14001569f
nop word [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140015680
cmp edx, 0x1f2f8e87
je 0x1400156a4
inc r8d
jmp 0x140015660
mov ecx, dword [r11 + r9 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + r9 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov edx, 0x12058e3
add rax, r9
mov rcx, 0xffffffffffffffff
pop rbx
jmp rax
Function at 0x1400156d0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140446980]
test rax, rax
jne 0x1400158d3
mov rax, qword gs:[0x60]
xor r8d, r8d
mov qword [rsp + 0x48], rbx
mov ebx, 0x9bc5a608
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rbp, qword [rcx + 0x10]
mov rdi, rbp
nop
mov eax, dword [rdi + 0x58]
sub ax, 8
test r8d, r8d
je 0x14001576d
mov rcx, qword [rdi + 0x60]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x140015764
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x140015750
cmp edx, r8d
jne 0x140015896
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x140015896
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140015896
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r14 + r9*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400157e7
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400157d0
cmp edx, ebx
je 0x1400157f5
test r9d, r9d
jne 0x1400157b0
jmp 0x140015896
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x1400158ae
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x1400158ae
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x40], r8d
mov edx, r8d
mov dword [rsp + 0x44], edx
cmp cl, 0x2e
je 0x14001585d
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140015840
mov dword [rsp + 0x40], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14001588a
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140015870
mov dword [rsp + 0x44], edx
mov rbx, qword [rsp + 0x40]
mov rdi, rbp
shr rbx, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x1400158ac
cmp qword [rax + 0x30], 0
jne 0x140015720
xor eax, eax
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [0x140446980], rax
add rsp, 0x38
jmp rax
Function at 0x1400158e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r12
push r13
sub rsp, 0x38
mov rax, qword [0x140446978]
mov r12, rdx
mov r13, rcx
test rax, rax
jne 0x140015af3
mov rax, qword gs:[0x60]
xor r9d, r9d
mov qword [rsp + 0x50], rbx
mov ebx, 0x85cca27e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rsi
mov r8, qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rbp, qword [r8 + 0x10]
mov rsi, rbp
nop dword [rax + rax]
mov eax, dword [rsi + 0x58]
sub ax, 8
test r9d, r9d
je 0x14001598d
mov rcx, qword [rsi + 0x60]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140015984
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140015970
cmp edx, r9d
jne 0x140015ab6
mov r10, qword [rsi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x140015ab6
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140015ab6
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140015a07
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400159f0
cmp edx, ebx
je 0x140015a15
test r8d, r8d
jne 0x1400159d0
jmp 0x140015ab6
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x140015ace
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x140015ace
movzx ecx, byte [rax]
mov r9d, 0x811c9dc5
mov dword [rsp + 0x60], r9d
mov edx, r9d
mov dword [rsp + 0x64], edx
cmp cl, 0x2e
je 0x140015a7d
nop
movsx ecx, cl
inc rax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140015a60
mov dword [rsp + 0x60], r9d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x140015aaa
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140015a90
mov dword [rsp + 0x64], edx
mov rbx, qword [rsp + 0x60]
mov rsi, rbp
shr rbx, 0x20
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x140015acc
cmp qword [rax + 0x30], 0
jne 0x140015940
xor eax, eax
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [0x140446978], rax
mov rdx, r12
mov rcx, r13
call rax
test eax, eax
setne al
add rsp, 0x38
pop r13
pop r12
ret
Function at 0x140015b10
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
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
push rdi
push r14
push r15
sub rsp, 0x40
movabs rax, 0xa46e3b3f4b9c241
mov rbp, rcx
mov qword [rsp + 0x30], rax
xor r9d, r9d
movabs rax, 0xec8663526ab07156
mov edi, 0x23a979e4
mov qword [rsp + 0x38], rax
movabs rax, 0x632aa09395dda709
mov qword [rsp + 0x20], rax
movabs rax, 0xec8663526ac41f33
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 0x58]
sub cx, 8
test r9d, r9d
je 0x140015bd4
mov rdx, qword [rax + 0x60]
mov r8d, 0x811c9dc5
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
cmp rdx, r10
je 0x140015bcb
movsx ecx, byte [rdx]
add rdx, 2
xor ecx, r8d
imul r8d, ecx, 0x1000193
cmp rdx, r10
jne 0x140015bb5
cmp r8d, r9d
jne 0x140015d14
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov rdx, qword [rcx + r11 + 0x88]
mov r15, rdx
mov ebx, edx
shr r15, 0x20
add rbx, r11
cmp rbx, r11
je 0x140015d14
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x140015d14
mov r14d, dword [rbx + 0x20]
nop word [rax + rax]
dec r10d
mov r8d, 0x811c9dc5
lea rcx, [r14 + r10*4]
mov edx, dword [rcx + r11]
add rdx, r11
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140015c49
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140015c30
cmp r8d, edi
je 0x140015c5b
test r10d, r10d
jne 0x140015c10
mov rax, qword [rax]
jmp 0x140015b90
mov ecx, dword [rbx + 0x24]
add rcx, r11
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r11
mov eax, dword [rcx + rdx*4]
add rax, r11
cmp rax, rbx
jbe 0x140015d1c
lea rcx, [r15 + rbx]
cmp rax, rcx
jae 0x140015d1c
movzx ecx, byte [rax]
mov r9d, 0x811c9dc5
mov dword [rsp + 0x20], r9d
mov edx, r9d
mov dword [rsp + 0x24], edx
cmp cl, 0x2e
je 0x140015ccd
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
inc rax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140015cb0
mov dword [rsp + 0x20], r9d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x140015cfa
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140015ce0
mov dword [rsp + 0x24], edx
mov rax, qword gs:[0x60]
mov rdi, qword [rsp + 0x20]
shr rdi, 0x20
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140015b90
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbp
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140015f50
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x30
mov rax, qword [0x140446920]
mov rbp, rcx
test rax, rax
jne 0x14001614c
mov rax, qword gs:[0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov edi, 0xe463da3c
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov ecx, dword [rax + 0x58]
sub cx, 8
test r9d, r9d
je 0x140015fe4
mov rdx, qword [rax + 0x60]
mov r8d, 0x811c9dc5
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
cmp rdx, r10
je 0x140015fdb
movsx ecx, byte [rdx]
add rdx, 2
xor ecx, r8d
imul r8d, ecx, 0x1000193
cmp rdx, r10
jne 0x140015fc5
cmp r8d, r9d
jne 0x140016124
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov rdx, qword [rcx + r11 + 0x88]
mov r15, rdx
mov ebx, edx
shr r15, 0x20
add rbx, r11
cmp rbx, r11
je 0x140016124
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x140016124
mov r14d, dword [rbx + 0x20]
nop word [rax + rax]
dec r10d
mov r8d, 0x811c9dc5
lea rcx, [r14 + r10*4]
mov edx, dword [rcx + r11]
add rdx, r11
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140016059
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140016040
cmp r8d, edi
je 0x14001606b
test r10d, r10d
jne 0x140016020
mov rax, qword [rax]
jmp 0x140015fa0
mov ecx, dword [rbx + 0x24]
add rcx, r11
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r11
mov eax, dword [rcx + rdx*4]
add rax, r11
cmp rax, rbx
jbe 0x14001612c
lea rcx, [r15 + rbx]
cmp rax, rcx
jae 0x14001612c
movzx ecx, byte [rax]
mov r9d, 0x811c9dc5
mov dword [rsp + 0x48], r9d
mov edx, r9d
mov dword [rsp + 0x4c], edx
cmp cl, 0x2e
je 0x1400160dd
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
inc rax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x1400160c0
mov dword [rsp + 0x48], r9d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14001610a
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x1400160f0
mov dword [rsp + 0x4c], edx
mov rax, qword gs:[0x60]
mov rdi, qword [rsp + 0x48]
shr rdi, 0x20
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140015fa0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov qword [0x140446920], rax
mov rcx, rbp
add rsp, 0x30
pop rbp
jmp rax
Function at 0x140016160
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Get process filename
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
sub rsp, 0x38
mov rax, qword [0x140446970]
mov rbp, rdx
mov r12, rcx
test rax, rax
jne 0x14001635c
mov rax, qword gs:[0x60]
xor r9d, r9d
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x30], rdi
mov edi, 0xf8f45725
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 0x58]
sub cx, 8
test r9d, r9d
je 0x1400161f4
mov rdx, qword [rax + 0x60]
mov r8d, 0x811c9dc5
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
cmp rdx, r10
je 0x1400161eb
movsx ecx, byte [rdx]
add rdx, 2
xor ecx, r8d
imul r8d, ecx, 0x1000193
cmp rdx, r10
jne 0x1400161d5
cmp r8d, r9d
jne 0x140016334
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov rdx, qword [rcx + r11 + 0x88]
mov r15, rdx
mov ebx, edx
shr r15, 0x20
add rbx, r11
cmp rbx, r11
je 0x140016334
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x140016334
mov r14d, dword [rbx + 0x20]
nop word [rax + rax]
dec r10d
mov r8d, 0x811c9dc5
lea rcx, [r14 + r10*4]
mov edx, dword [rcx + r11]
add rdx, r11
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140016269
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140016250
cmp r8d, edi
je 0x14001627b
test r10d, r10d
jne 0x140016230
mov rax, qword [rax]
jmp 0x1400161b0
mov ecx, dword [rbx + 0x24]
add rcx, r11
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r11
mov eax, dword [rcx + rdx*4]
add rax, r11
cmp rax, rbx
jbe 0x14001633c
lea rcx, [r15 + rbx]
cmp rax, rcx
jae 0x14001633c
movzx ecx, byte [rax]
mov r9d, 0x811c9dc5
mov dword [rsp + 0x60], r9d
mov edx, r9d
mov dword [rsp + 0x64], edx
cmp cl, 0x2e
je 0x1400162ed
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
inc rax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x1400162d0
mov dword [rsp + 0x60], r9d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14001631a
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140016300
mov dword [rsp + 0x64], edx
mov rax, qword gs:[0x60]
mov rdi, qword [rsp + 0x60]
shr rdi, 0x20
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400161b0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [0x140446970], rax
mov rdx, r12
mov rcx, rbp
add rsp, 0x38
pop r12
pop rbp
jmp rax
Function at 0x1400187f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400c9438]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rcx + 8]
mov rdi, rcx
mov r9d, dword [rdx]
lea rcx, [rbp - 0x20]
mov r10d, dword [rdx + 4]
mov rsi, r8
mov r11d, dword [rdx + 8]
mov edx, dword [rdx + 0xc]
xor r9d, dword [rax - 0x10]
xor r10d, dword [rax - 0xc]
xor r11d, dword [rax - 8]
xor edx, dword [rax - 4]
mov dword [rbp - 0x20], r9d
mov dword [rbp - 0x1c], r10d
mov dword [rbp - 0x18], r11d
mov dword [rbp - 0x14], edx
call fcn.140017770
lea rcx, [rbp - 0x20]
call fcn.140017500
mov rbx, qword [rdi + 8]
sub rbx, qword [rdi]
mov r8d, dword [rbp - 0x14]
mov r9d, dword [rbp - 0x18]
mov r10d, dword [rbp - 0x1c]
mov r11d, dword [rbp - 0x20]
sar rbx, 4
sub rbx, 2
je 0x140018a08
mov qword [rsp + 0x60], r14
mov r14, rbx
mov qword [rsp + 0x68], r15
lea r15, [0x1400b3310]
shl r14, 4
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi]
lea rcx, [rbp - 0x20]
xor r11d, dword [r14 + rax]
xor r10d, dword [r14 + rax + 4]
xor r9d, dword [r14 + rax + 8]
xor r8d, dword [r14 + rax + 0xc]
mov dword [rbp - 0x20], r11d
mov dword [rbp - 0x1c], r10d
mov dword [rbp - 0x18], r9d
mov dword [rbp - 0x14], r8d
call fcn.140017be0
lea rcx, [rbp - 0x20]
call fcn.140017770
mov edx, dword [rbp - 0x20]
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r11d, byte [rcx + r15]
movzx eax, byte [rax + r15]
shl eax, 8
or r11d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r11d, 8
movzx eax, byte [rcx + r15]
or r11d, eax
movzx eax, dl
mov edx, dword [rbp - 0x1c]
shl r11d, 8
movzx ecx, byte [rax + r15]
mov eax, edx
shr rax, 0x10
or r11d, ecx
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r10d, byte [rcx + r15]
movzx eax, byte [rax + r15]
shl eax, 8
or r10d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + r15]
or r10d, eax
movzx eax, dl
mov edx, dword [rbp - 0x18]
shl r10d, 8
movzx ecx, byte [rax + r15]
mov eax, edx
shr rax, 0x10
or r10d, ecx
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + r15]
movzx eax, byte [rax + r15]
shl eax, 8
or r9d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + r15]
or r9d, eax
movzx eax, dl
mov edx, dword [rbp - 0x14]
shl r9d, 8
movzx ecx, byte [rax + r15]
mov eax, edx
shr rax, 0x10
or r9d, ecx
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r8d, byte [rcx + r15]
movzx eax, byte [rax + r15]
shl eax, 8
lea r14, [r14 - 0x10]
or r8d, eax
mov eax, edx
shr rax, 8
shl r8d, 8
movzx ecx, al
movzx eax, byte [rcx + r15]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + r15]
or r8d, ecx
sub rbx, 1
jne 0x1400188a0
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rax, qword [rdi]
xor r11d, dword [rax]
xor r10d, dword [rax + 4]
xor r9d, dword [rax + 8]
xor r8d, dword [rax + 0xc]
mov dword [rsi + 0xc], r8d
mov dword [rsi], r11d
mov dword [rsi + 4], r10d
mov dword [rsi + 8], r9d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400790d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b7e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov rax, qword [0x140446958]
test rax, rax
jne 0x14001b8ab
xor edx, edx
test r9, r9
je 0x14001b8a1
mov qword [rsp + 0x30], r9
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov qword [rsp + 0x60], rcx
mov r11d, ecx
add r11, r9
mov qword [rsp + 0x38], r11
shr rcx, 0x20
mov dword [rsp + 0x40], ecx
cmp r11, r9
je 0x14001b8a1
mov r8d, edx
mov dword [rsp + 0x20], edx
nop
cmp r8d, dword [r11 + 0x18]
je 0x14001b8a1
mov ebx, r8d
mov ecx, dword [r11 + 0x20]
add rcx, r9
mov eax, dword [rcx + rbx*4]
add rax, r9
mov qword [rsp + 0x28], rax
mov r10d, 0x811c9dc5
movsx ecx, byte [rax]
inc rax
mov qword [rsp + 0x28], rax
test cl, cl
jne 0x14001b8c5
cmp r10d, 0x6b372c05
jne 0x14001b8bb
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + rbx*2]
mov edx, dword [rcx + rax*4]
add rdx, r9
mov qword [0x140446958], rdx
mov rax, rdx
mov ecx, 0x8000
call rax
nop
xor al, al
add rsp, 0x50
pop rbx
ret
inc r8d
mov dword [rsp + 0x20], r8d
jmp 0x14001b850
xor ecx, r10d
imul r10d, ecx, 0x1000193
jmp 0x14001b871