joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094108
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.140079820
sub rsp, rax
mov rax, qword [0x1400cf068]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140091490
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140094157
mov rax, rbp
jmp 0x14009425f
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1bcb70]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140095054
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1bcb70]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14009425b
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 0x14009425b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140095054
test rax, rax
js 0x14009425b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14009425b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14009424d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14009424d
cmp byte [rcx], 0xd
jne 0x140094233
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140094242
cmp byte [rcx + 1], 0xa
jne 0x140094242
inc rcx
jmp 0x140094242
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xcf470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140094215
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14009425f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400797f0
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 0x1400943f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401bcb70]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14009444b
cmp word [rdx], r13w
jne 0x14009444b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140094450
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140094575
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140094596
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140094489
mov rdx, r9
mov word [rbx], cx
jmp 0x1400944b0
cmp r9, r8
jae 0x1400944c0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14009446a
jmp 0x140094575
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009456a
cmp dword [rsp + 0x80], esi
je 0x14009456a
lea r8, [0x1401bcb70]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140094542
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140094512
mov word [rbx], r13w
jmp 0x140094572
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14009451f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140094572
cmp word [rsp + 0x70], r13w
jne 0x14009454f
cmp rbx, r14
je 0x14009450c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14009505c
cmp word [rsp + 0x70], r13w
je 0x140094575
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401bcb70]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14009456f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140094575
Function at 0x140097ab0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140097b37
mov rsi, rbx
cmp word [rax], bp
je 0x140097af6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140097ae0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140097adc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14009030c
mov rdi, rax
test rax, rax
je 0x140097b24
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14007b250
mov rbp, rdi
xor ecx, ecx
call fcn.14008f81c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14009a8dc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14008ede4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14009a97d
cmp ebx, dword [rsp + 0x30]
je 0x14009a976
test esi, esi
je 0x14009a976
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14009a951
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14009a95e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14009a93b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14009a962
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14009a97f
mov eax, 1
jmp 0x14009a97f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14009efa0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14009505c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14009505c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14009f0f0
cmp rax, 0xffffffffffffffff
je 0x14009f0f0
xor edi, edi
test rbp, rbp
jle 0x14009f09b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14008f458
mov rbx, rax
test rax, rax
jne 0x14009f028
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14009f091
mov edx, 0x8000
mov ecx, r14d
call fcn.14008ce88
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140093484
cmp eax, 0xffffffff
je 0x14009f071
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009f038
mov edx, r15d
mov ecx, r14d
call fcn.14008ce88
jmp 0x14009f091
cmp byte [rsi + 0x38], dil
je 0x14009f088
cmp dword [rsi + 0x34], 5
jne 0x14009f088
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14009f091
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14008f81c
jmp 0x14009f104
jns 0x14009f104
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14009505c
cmp rax, 0xffffffffffffffff
jne 0x14009f0bc
cmp byte [rsi + 0x30], dil
je 0x14009f104
mov edi, dword [rsi + 0x2c]
jmp 0x14009f104
mov ecx, r14d
call fcn.140098388
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14009f104
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14009f104
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009f0fd
mov eax, dword [rsi + 0x2c]
jmp 0x14009f102
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14009505c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400a8db0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xf8
mov esi, dword [rsp + 0x178]
mov ebp, r9d
movaps xmmword [rax - 0x48], xmm6
mov rdi, rcx
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov qword [rax + 0x10], r12
mov r12d, r8d
mov qword [rax - 0x38], r13
lea r8, [rax + 8]
mov r13, rdx
mov edx, esi
call fcn.1400a6d10
movss xmm8, dword [rsp + 0x170]
xor ebx, ebx
mov edx, esi
movss xmm9, dword [rsp + 0x168]
mov rcx, rdi
movss xmm6, dword [rsp + 0x160]
movss xmm7, dword [rsp + 0x158]
mov dword [rsp + 0x140], eax
cmp dword [rdi + 0x44], ebx
je 0x1400a8e86
xorps xmm0, xmm0
mov qword [rsp + 0x78], 1
xorps xmm1, xmm1
mov qword [rsp + 0xa0], rbx
lea r8, [rsp + 0x78]
mov dword [rsp + 0xa8], ebx
movups xmmword [rsp + 0x80], xmm0
movdqu xmmword [rsp + 0x90], xmm1
call fcn.1400a5c70
test eax, eax
mov r10d, ebx
mov edi, ebx
cmovne r10d, dword [rsp + 0x90]
cmovne edi, dword [rsp + 0x9c]
jmp 0x1400a8ece
call fcn.1400a4900
test eax, eax
js 0x1400a8f0a
mov r8, qword [rdi]
mov r11d, 0x100
movsxd r9, eax
movsx eax, r11w
movsx ecx, r11w
movzx edx, byte [r9 + r8 + 2]
imul edx, eax
movzx eax, byte [r9 + r8 + 3]
add dx, ax
movzx eax, byte [r9 + r8 + 9]
movsx r10d, dx
movzx edx, byte [r9 + r8 + 8]
imul edx, ecx
add dx, ax
movsx edi, dx
xorps xmm0, xmm0
cvtsi2ss xmm0, r10d
mulss xmm0, xmm7
addss xmm0, xmm9
call fcn.14000e230
cvttss2si r14d, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
call fcn.14002fc10
mulss xmm0, xmm6
addss xmm0, xmm8
call fcn.14000e230
cvttss2si r15d, xmm0
jmp 0x1400a8f10
mov r14d, ebx
mov r15d, ebx
mov eax, dword [rsp + 0x150]
test r12d, r12d
mov rsi, qword [rsp + 0x130]
mov qword [rsp + 0x70], r13
mov r13, qword [rsp + 0xf0]
mov dword [rsp + 0x60], r12d
mov r12, qword [rsp + 0x138]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x64], ebp
je 0x1400a8ffb
test ebp, ebp
je 0x1400a8ffb
mov ecx, 0x3eb33333
call fcn.14002fc40
mov edx, dword [rsp + 0x140]
lea rax, [rsp + 0x150]
movaps xmm1, xmm6
mov dword [rsp + 0x150], ebx
minss xmm1, xmm7
mov qword [rsp + 0x130], rbx
lea r9, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov rcx, rsi
divss xmm0, xmm1
movaps xmm2, xmm0
call fcn.1400a8a60
mov rdi, rax
test rax, rax
je 0x1400a8ffb
mov r9d, dword [rsp + 0x150]
lea rcx, [rsp + 0x60]
mov r8, qword [rsp + 0x130]
mov rdx, rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r14d
movss dword [rsp + 0x38], xmm8
movss dword [rsp + 0x30], xmm9
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm7
call fcn.1400a7ff0
mov rcx, qword [rsp + 0x130]
call fcn.14000d9c0
mov rcx, rdi
call fcn.14000d9c0
mov rcx, rsi
lea r11, [rsp + 0xf8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.14000d9c0
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x180007830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180007864
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180007850
mov rcx, rax
shr rcx, 0x20
xor eax, ecx
ret
Function at 0x180036250
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov r9b, 0x92
mov r8d, 0xc
lea rdx, [0x1800b1e28]
lea rcx, [rsp + 0x48]
call fcn.18003fcc0
mov rbx, rax
mov r9b, 0x49
mov r8d, 0xc
lea rdx, str._G5__RaS
lea rcx, [rsp + 0x28]
call fcn.1800403f0
nop
cmp qword [rbx + 0x18], 0x10
jb 0x1800362a9
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 8
jb 0x1800362b3
mov rax, qword [rax]
mov rcx, rax
call fcn.18006c8c0
mov rcx, rax
mov rdx, rbx
call fcn.18006ccbc
mov rbx, rax
cmp qword [rsp + 0x40], 8
jb 0x1800362db
mov rcx, qword [rsp + 0x28]
call fcn.180073478
mov qword [rsp + 0x40], 7
xor edi, edi
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
cmp qword [rsp + 0x60], 0x10
jb 0x180036302
mov rcx, qword [rsp + 0x48]
call fcn.180073478
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x48], 0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1800657c0
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1800e0280]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
mov byte [rsp + 0x40], sil
mov qword [r11 - 0x44], rsi
mov dword [r11 - 0x3c], 0x67452301
mov dword [r11 - 0x38], 0xefcdab89
mov dword [r11 - 0x34], 0x98badcfe
mov dword [r11 - 0x30], 0x10325476
cmp qword [rdx + 0x18], 0x10
jb 0x180065837
mov rdx, qword [rdx]
mov r8d, dword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800654a0
lea rcx, [rsp + 0x40]
call fcn.180065570
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1800656b0
mov dword [rsp + 0x20], 1
cmp qword [rbx + 0x18], 0x10
jb 0x180065873
mov rcx, qword [rbx]
call fcn.180073478
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180072850
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800669a0
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x28
mov r13, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
test r8, r8
je 0x180066bb4
test r9, r9
je 0x180066bb4
mov ecx, edx
call fcn.180066910
cmp dword [r13], eax
jl 0x180066bb4
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r15
mov eax, 0x55555556
mov esi, r8d
lea r10d, [r8 + 0x13]
mov r9d, r8d
imul r14d
mov r15d, edx
mov eax, 0x6bca1af3
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
shr r15d, 0x1f
add r15d, edx
lea r12d, [r15*4]
imul r12d
mov r11d, edx
sar r11d, 5
mov eax, r11d
shr eax, 0x1f
add r11d, eax
js 0x180066afa
cmp r8d, r11d
jne 0x180066a54
imul ecx, r11d, 0x4c
mov eax, r12d
sub eax, ecx
cdq
and edx, 3
lea r10d, [rdx + rax]
sar r10d, 2
test r10d, r10d
jle 0x180066ae3
mov ebp, r10d
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx]
shl edx, 8
add rdi, 4
add rbx, 3
or edx, ecx
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 4], al
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 3], al
mov eax, edx
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 2], al
mov eax, edx
shr eax, 0x14
and eax, 0x3f
movzx eax, byte [rax + r12]
mov byte [rdi - 1], al
dec rbp
jne 0x180066a70
lea r12d, [r15*4]
inc r9d
lea esi, [rsi + r10*4]
cmp r9d, r11d
jle 0x180066a3d
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r12, qword [rsp + 0x60]
lea eax, [r15 + r15*2]
mov r15, qword [rsp + 0x20]
sub r14d, eax
je 0x180066b96
lea r9d, [r14 + 1]
test r9d, r9d
je 0x180066b96
test r14d, r14d
jle 0x180066b2a
movzx r8d, byte [rbx]
inc rbx
shl r8d, 8
cmp r14d, 1
jle 0x180066b3d
movzx eax, byte [rbx]
or r8d, eax
inc rbx
shl r8d, 8
cmp r14d, 2
jle 0x180066b4d
movzx eax, byte [rbx]
or r8d, eax
shl r8d, 8
test r9d, r9d
jle 0x180066b7c
mov edx, r9d
nop dword [rax]
mov eax, r8d
inc rdi
shl r8d, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + rbp]
mov byte [rdi - 1], al
dec rdx
jne 0x180066b60
mov edx, 4
add esi, r9d
sub edx, r9d
test edx, edx
jle 0x180066b94
mov ecx, edx
mov eax, 0x3d
rep stosb byte [rdi], al
add esi, edx
mov rbp, qword [rsp + 0x50]
mov dword [r13], esi
mov rsi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x28
pop r14
pop r13
pop rdi
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r14
pop r13
pop rdi
pop rbx
ret

Function at 0x180069ce0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
movups xmm0, xmmword [rcx + 0x20]
movq rax, xmm0
psrldq xmm0, 8
movq rcx, xmm0
jmp 0x180069d09
cmp word [rax + 0x48], 0x18
je 0x180069d11
mov rax, qword [rax]
cmp rax, rcx
jne 0x180069d02
mov rax, qword [rax + 0x20]
ret
Function at 0x180069d18
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800e0280]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov dword [rbp - 0x25], edx
mov rbx, rcx
test rcx, rcx
je 0x180069ef7
movsxd rax, dword [rcx + 0x3c]
mov esi, dword [rax + rcx + 0x88]
mov eax, dword [rax + rcx + 0x8c]
mov dword [rbp - 0x1d], eax
lea rax, [rcx + rsi]
mov ecx, dword [rax + 0x1c]
add rcx, rbx
mov qword [rbp - 9], rcx
mov edx, dword [rax + 0x20]
add rdx, rbx
mov qword [rbp - 0x19], rdx
mov ecx, dword [rax + 0x24]
add rcx, rbx
mov qword [rbp - 0x11], rcx
xor edi, edi
mov eax, dword [rax + 0x18]
mov dword [rbp - 0x21], eax
test eax, eax
je 0x180069ef7
mov ecx, dword [rdx + rdi*4]
add rcx, rbx
call fcn.18007156c
cmp eax, dword [rbp - 0x25]
je 0x180069dbf
inc edi
cmp edi, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
jb 0x180069d9f
jmp 0x180069ef7
mov rcx, qword [rbp - 0x11]
movzx ecx, word [rcx + rdi*2]
mov rax, qword [rbp - 9]
mov edx, dword [rax + rcx*4]
lea rdi, [rbx + rdx]
cmp esi, edx
ja 0x180069ef2
mov eax, dword [rbp - 0x1d]
add eax, esi
cmp edx, eax
jae 0x180069ef2
xor esi, esi
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x3f], 0xf
mov qword [rbp + 0x37], rsi
mov byte [rbp + 0x27], sil
cmp byte [rdi], sil
jne 0x180069e0a
mov eax, esi
jmp 0x180069e12
mov rcx, rdi
call fcn.1800745f0
mov r8, rax
mov rdx, rdi
lea rcx, [rbp + 0x27]
call fcn.180003e80
nop
lea rcx, [0x1800b0848]
call fcn.1800745f0
mov r9, rax
xor r8d, r8d
lea rdx, [0x1800b0848]
lea rcx, [rbp + 0x27]
call fcn.180003ac0
mov rbx, rax
cmp qword [rbp + 0x3f], 0x10
jb 0x180069e57
mov rcx, qword [rbp + 0x27]
call fcn.180073478
mov eax, 0xf
mov qword [rbp + 0x3f], rax
mov qword [rbp + 0x37], rsi
mov byte [rbp + 0x27], sil
cmp rbx, 0xffffffffffffffff
je 0x180069ef7
lea r8, [rbx + rdi]
lea rbx, [r8 + 1]
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x17], rsi
mov byte [rbp + 7], sil
mov r9b, byte [rbp - 0x29]
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.18001c840
nop
lea rdi, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdi, qword [rbp + 7]
mov rcx, rbx
call fcn.18007156c
mov ebx, eax
mov rcx, rdi
call qword [0x1800e5a40]
mov rcx, rax
mov edx, ebx
call fcn.180069d18
mov rbx, rax
cmp qword [rbp + 0x1f], 0x10
jb 0x180069edd
mov rcx, qword [rbp + 7]
call fcn.180073478
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], rsi
mov byte [rbp + 7], sil
mov rax, rbx
jmp 0x180069ef9
mov rax, rdi
jmp 0x180069ef9
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180072850
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18007156c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or edx, 0xffffffff
cmp byte [rcx], 0
mov r8, rcx
je 0x1800715a5
movzx eax, byte [r8]
mov r9d, 8
xor edx, eax
inc r8
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov edx, ecx
xor edx, eax
dec r9
jne 0x180071586
cmp byte [r8], r9b
jne 0x180071577
not edx
xor edx, dword [section..data]
mov eax, edx
ret
Function at 0x1400112d5
Capabilities:
Terminate process

Disassembly:
jmp 0x140016c60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001138e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017790
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400177b0
xor al, al
jmp 0x140017831
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400177c3
xor al, al
jmp 0x140017831
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400177ed
xor al, al
jmp 0x140017831
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017801
xor al, al
jmp 0x140017831
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017813
xor al, al
jmp 0x140017831
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001782f
xor al, al
jmp 0x140017831
mov al, 1
add rsp, 0x38
ret