joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140513f40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140513f4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140513f5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140513f45
lea eax, [rcx + 1]
jmp 0x140513f6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140513f7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140513f64
sub eax, 3
jb 0x140513f9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140513fed
sar eax, 1
movsxd rbp, eax
jb 0x140513fd4
jmp 0x140513fac
add ebx, ebx
jne 0x140513faa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140513fd4
inc ecx
add ebx, ebx
jne 0x140513fba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140513fd4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140513fcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140513fbc
add ecx, 2
jmp 0x140513fd9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140513f02
jmp 0x140513f4d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x511000]
mov eax, dword [rdi]
or eax, eax
je 0x14051404d
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5141e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140513ffd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140514047
mov qword [rbx], rax
add rbx, 8
jmp 0x14051401d
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140514091
cmp al, 0xef
ja 0x140514079
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140514059
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140514068
mov eax, dword [rdi]
add rdi, 4
jmp 0x140514068
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1405140e5
sub rsp, 0xffffffffffffff80
jmp 0x1400153c8
Function at 0x18003b790
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 8], rax
test rcx, rcx
je 0x18003b7f6
cmp dword [0x1802e3330], 0x9fb
jne 0x18003b7f6
mov rax, qword [rcx + 0x18]
lea rdx, [rsp]
mov qword [rsp], rax
mov r8d, 2
mov eax, dword [rdx]
mov ecx, eax
xor ecx, 0x2002b1
lea rdx, [rdx + 4]
shl ecx, 9
xor eax, 0x59000000
shr eax, 0x17
or ecx, eax
sub ecx, 0x2c9f7970
mov dword [rdx - 4], ecx
sub r8d, 1
jne 0x18003b7c6
mov rax, qword [rsp]
jmp 0x18003b7f8
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1801992f0
add rsp, 0x18
ret
Function at 0x18003d740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0x90], rax
movss xmm6, dword [0x18028f95c]
movss dword [rsp + 0x24], xmm6
mov rdx, qword [rcx]
cmp rdx, 2
jb 0x18003d930
mov ecx, 0x68
mov dword [rsp + 0x20], ecx
mov eax, dword [0x1802e3330]
cmp eax, 0x9fb
jl 0x18003d7aa
mov ecx, 0x28
jmp 0x18003d7ca
cmp eax, 0x9f3
jl 0x18003d7b8
mov ecx, 0x70
jmp 0x18003d7ca
add eax, 0xfffff766
mov r8d, 0x40
cmp eax, 0x45
cmovbe ecx, r8d
mov dword [rsp + 0x20], ecx
movsxd rax, ecx
mov rcx, qword [rax + rdx]
test rcx, rcx
jne 0x18003d7e2
movaps xmm0, xmm6
jmp 0x18003d933
mov r14d, dword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x18003d7f7
movaps xmm0, xmm6
jmp 0x18003d933
xor ebx, ebx
movabs r15, 0xc8d32a01ffacae9e
mov dword [rsp + 0x28], ebx
cmp ebx, r14d
jge 0x18003d928
lea eax, [rbx*8]
movsxd rcx, eax
mov rdi, qword [rcx + rsi + 0x20]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x30], rdi
test rdi, rdi
jne 0x18003d834
jmp 0x18003d921
lea rcx, [rsp + 0x30]
call fcn.18003d4fc
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rdi]
cmp byte [rsp + 0x38], 0
je 0x18003d921
movabs rcx, 0x7f5f98a7591d647f
mov qword [rsp + 0x50], rcx
movabs rcx, 0x56c0d7a26c40de30
mov qword [rsp + 0x58], rcx
movabs rcx, 0xd8669a704deee064
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r15
movabs rcx, 0x162bfbc23372162f
mov qword [rsp + 0x70], rcx
movabs rcx, 0x38afa7c30917bb5c
mov qword [rsp + 0x78], rcx
movabs rcx, 0xd8669a704d8a8f29
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.18019b790
test rax, rax
je 0x18003d921
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [0x18028f918]
jb 0x18003d928
comiss xmm6, xmm0
jb 0x18003d928
mulss xmm6, xmm0
movss dword [rsp + 0x24], xmm6
jmp 0x18003d928
inc ebx
jmp 0x18003d803
jmp 0x18003d930
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1801992f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
ret
Function at 0x18003f21c
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 8], rax
mov eax, dword [0x1802e3330]
mov r10, rcx
mov qword [rsp], rcx
cmp eax, 0x9fb
jne 0x18003f286
mov qword [rsp], rcx
lea rdx, [rsp]
mov r8d, 2
mov eax, dword [rdx]
mov ecx, eax
shl ecx, 0x1f
lea rdx, [rdx + 4]
add ecx, 0x80000000
add eax, 0x3ea11ff
shr eax, 1
or ecx, eax
sub ecx, 0x49842854
xor ecx, 0xe6981334
mov dword [rdx - 4], ecx
sub r8d, 1
jne 0x18003f251
mov rax, qword [rsp]
jmp 0x18003f2f9
cmp eax, 0x9f9
jne 0x18003f2aa
xor r9d, r9d
mov al, byte [rsp + r9]
add al, 0x6d
ror al, 1
ror al, 2
mov byte [rsp + r9], al
inc r9
cmp r9, 8
jl 0x18003f290
jmp 0x18003f280
cmp eax, 0x9f8
jne 0x18003f2f7
xor r9d, r9d
mov r11d, r9d
lea ecx, [r11*8]
mov rdx, r10
shr rdx, cl
inc r11d
mov al, dl
xor al, 0x3d
shl al, 4
movzx r8d, al
movzx eax, dl
xor eax, 0x30
shr eax, 4
or r8d, eax
xor r8d, 0xd0
shl r8d, cl
or r9d, r8d
cmp r11d, 4
jl 0x18003f2b7
mov eax, r9d
jmp 0x18003f2f9
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1801992f0
add rsp, 0x18
ret

Function at 0x180042184
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebx, ebx
cmp byte [0x1802e3200], bl
je 0x1800422d3
mov eax, dword [0x1802e3330]
cmp eax, 0x9fb
je 0x1800422d3
cmp eax, 0x9f9
jne 0x1800421f7
call fcn.180041f90
movss xmm0, dword [rax]
movss dword [rsp + 0x28], xmm0
mov al, byte [rsp + rbx + 0x28]
lea ecx, [rax - 0x50]
shl al, 7
xor cl, 0x78
shr cl, 1
or cl, al
mov byte [rsp + rbx + 0x28], cl
inc rbx
cmp rbx, 4
jl 0x1800421ce
movss xmm0, dword [rsp + 0x28]
jmp 0x1800422dc
call fcn.180041d9c
mov edx, dword [rax]
mov eax, dword [0x1802e3330]
mov dword [rsp + 0x20], edx
cmp eax, 0x9fb
je 0x1800422c7
cmp eax, 0x9f9
jne 0x180042248
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
movss dword [rsp + 0x28], xmm0
mov al, byte [rsp + rbx + 0x28]
lea ecx, [rax - 0x50]
shl al, 7
xor cl, 0x78
shr cl, 1
or cl, al
mov byte [rsp + rbx + 0x28], cl
inc rbx
cmp rbx, 4
jl 0x180042228
jmp 0x1800422c0
cmp eax, 0x9f8
jne 0x1800422c7
mov al, byte [rsp + 0x23]
mov r10b, 0x3d
mov cl, al
mov r9b, 0x30
xor cl, r10b
xor al, r9b
shl cl, 4
mov r8b, 0xd0
shr al, 4
or cl, al
mov al, byte [rsp + 0x22]
xor cl, r8b
mov byte [rsp + 0x2b], cl
mov cl, al
xor cl, r10b
xor al, r9b
shr al, 4
shl cl, 4
or cl, al
mov al, byte [rsp + 0x21]
xor cl, r8b
mov byte [rsp + 0x2a], cl
mov cl, al
xor al, r9b
xor cl, r10b
shr al, 4
shl cl, 4
or cl, al
mov al, dl
xor al, r10b
xor dl, r9b
shl al, 4
xor cl, r8b
shr dl, 4
or al, dl
mov byte [rsp + 0x29], cl
xor al, r8b
mov byte [rsp + 0x28], al
cvttss2si rbx, dword [rsp + 0x28]
mov eax, ebx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x1800422dc
call fcn.180041f90
movss xmm0, dword [rax]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801992f0
add rsp, 0x40
pop rbx
ret
Function at 0x180064ea0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 8], rax
test rcx, rcx
je 0x180064f10
cmp dword [0x1802e3330], 0x9fb
jne 0x180064f10
mov rax, qword [rcx + 0x18]
lea r8, [rsp]
mov qword [rsp], rax
mov r9d, 2
mov eax, dword [r8]
mov edx, r9d
mov ecx, eax
lea r8, [r8 + 4]
shl ecx, 7
add eax, 0x8027cfcf
add ecx, 0x13e7e780
shr eax, 0x19
or ecx, eax
dec r9d
xor ecx, 0xb13b7cb5
rol ecx, 9
mov dword [r8 - 4], ecx
cmp edx, 1
jne 0x180064ed6
mov rax, qword [rsp]
jmp 0x180064f12
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1801992f0
add rsp, 0x18
ret

Function at 0x180066cbc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0x5a4d
mov r14, r9
mov rbp, r8
cmp word [rdx], ax
jne 0x180066d61
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180066d61
movzx esi, word [rcx + 0x14]
xor r11d, r11d
movzx ebx, word [rcx + 6]
add rsi, rcx
test rbx, rbx
je 0x180066d61
xor r8d, r8d
lea rcx, [rsi + 0x18]
test dword [rcx + 0x24], 0x20000
jne 0x180066d52
mov rax, qword [rcx]
mov rdi, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
sub rdi, rax
mov byte [rsp + 0x38], 0
movzx r9d, byte [rax]
movzx r10d, byte [rax + rdi]
sub r9d, r10d
jne 0x180066d4d
inc rax
test r10d, r10d
jne 0x180066d37
test r9d, r9d
je 0x180066d85
inc r11d
inc r8
add rcx, 0x28
cmp r8, rbx
jl 0x180066d16
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801992f0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
movsxd rax, r11d
mov r9, r14
lea rcx, [rax + rax*4]
mov ebx, dword [rsi + rcx*8 + 0x24]
mov r8d, dword [rsi + rcx*8 + 0x20]
add rbx, rdx
mov rdx, rbx
call fcn.180066bc4
cmp rax, 0xffffffffffffffff
je 0x180066d61
add rax, rbx
jmp 0x180066d63
Function at 0x18007f5e8
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rax, rax
je 0x18007f626
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
add eax, 0xffffff80
test eax, 0xffffff7f
je 0x18007f626
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18007f69c
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18007f69c
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x188a5b68
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x18007f698
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x18007f678
cmp r11d, 0x37ebde52
je 0x18007f6a1
test edx, edx
jne 0x18007f65b
mov rax, qword [rax]
jmp 0x18007f637
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbx
add rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
Function at 0x18007fb54
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18007fba7
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov rcx, rbx
call fcn.18007db50
call fcn.18007f5e8
call fcn.18007f6d0
and qword [rsp + 0x28], 0
lea r8, [0x18007ed7c]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18007fba7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x18007ff54
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18007ff79
xor eax, eax
jmp 0x180080076
cmp qword [rcx + 0x68], 0
je 0x18007ff8a
call fcn.1800822f4
jmp 0x180080076
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x18007ffa1
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18007ffa3
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18007ffd8
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18019bc80
mov rax, qword [rsi + 0x50]
sub rbp, rbx
add r14, rbx
mov r8, rbp
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180080070
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x180080013
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x18008004b
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.1801a57dc
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x180080087
cmp rbp, r15
ja 0x180080021
mov r8, rbx
test rbx, rbx
je 0x180080070
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.1801a57dc
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x180080073
Function at 0x180080454
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x18008048d
xor eax, eax
jmp 0x1800805af
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1800804c7
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x1800804c7
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x1800805af
cmp qword [rbx + 0x80], 0
je 0x1800805ad
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180080502
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180080525
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.1801a5b70
cmp eax, edi
cmovne edi, esi
jmp 0x1800805ad
lea r8, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x2f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x30]
call qword [rax + 0x38]
test eax, eax
je 0x180080573
sub eax, 1
je 0x180080573
cmp eax, 2
jne 0x1800805ad
movsx ecx, byte [rbp - 0x30]
jmp 0x18008050f
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x18008059d
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.1801a54f8
cmp r14, rax
jne 0x1800805ad
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x1800805af
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801992f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180080d04
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180080d73
cmp byte [rcx + 0x71], 0
je 0x180080d73
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180080dc7
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x180080d8d
sub eax, 1
je 0x180080d91
cmp eax, 2
jne 0x180080dc7
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801992f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180080dbe
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1801a54f8
cmp rdi, rax
jne 0x180080dc7
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180080d75
xor al, al
jmp 0x180080d75

Function at 0x180082560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x30], 0x64616f4c
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], 0x7262694c
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x41797261
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x41424c45
mov dword [rbp - 0x18], 0x642e4553
mov word [rbp - 0x14], 0x6c6c
mov byte [rbp - 0x12], 0
call fcn.1800825e0
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1801992f0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x1800825e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0x100], rax
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x64
mov rdi, rdx
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov r8, rcx
xor ecx, ecx
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
jmp 0x180082666
mov rcx, qword [rax + 0x60]
lea r8, [rsp + 0x30]
sub r8, rcx
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x18008265f
add rcx, 2
test r9d, r9d
jne 0x180082649
test edx, edx
je 0x18008266f
mov rax, qword [rax]
cmp qword [rax + 0x30], 0
jne 0x18008263d
jmp 0x180082678
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x180082685
mov rcx, rbx
call fcn.180082560
test rax, rax
je 0x180082695
mov rdx, rdi
mov rcx, rax
call fcn.1800826b8
test rax, rax
jne 0x180082697
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1801992f0
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
ret
Function at 0x1800826b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x180082830
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov r11d, dword [rax + rcx + 0x8c]
lea r8, [rcx + r9]
test r11d, r11d
je 0x180082830
lea r13d, [r12 + 1]
cmp rdx, 0xffff
ja 0x1800827df
mov ecx, dword [r8 + 0x1c]
movzx eax, bp
sub ax, word [r8 + 0x10]
add rcx, rbx
add ax, r13w
movzx edx, ax
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x1800827df
lea eax, [r9 + r11]
cmp edi, eax
jae 0x1800827df
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18019c330
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18008276e
test r8, r8
je 0x180082830
lea rcx, [rsp + 0x20]
call fcn.18019bc80
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.18019bbcc
lea rdi, [rax + r13]
mov byte [rax], r12b
cmp byte [rdi], 0x23
jne 0x1800827b1
lea rcx, [rdi + 1]
call fcn.1801a60b8
movzx edi, ax
lea rcx, [rsp + 0x20]
call fcn.180082560
mov rsi, rax
cmp rax, rbx
jne 0x1800827d2
mov rdx, rbp
mov rcx, rdi
call fcn.1801a5fbc
test eax, eax
je 0x180082830
mov rdx, rdi
mov rcx, rsi
call fcn.1800826b8
jmp 0x180082832
mov ecx, dword [r8 + 0x18]
mov edi, r12d
mov r15d, dword [r8 + 0x20]
sub ecx, r13d
lea r10d, [rdi + rcx]
mov rsi, rbp
shr r10d, 1
lea rax, [r15 + r10*4]
mov edx, dword [rax + rbx]
add rdx, rbx
sub rsi, rdx
mov al, byte [rdx]
cmp al, byte [rdx + rsi]
jne 0x180082817
add rdx, r13
test al, al
jne 0x180082804
mov eax, r12d
jmp 0x18008281c
sbb eax, eax
or eax, r13d
test eax, eax
jns 0x180082826
lea edi, [r10 + 1]
jmp 0x18008282c
jle 0x18008285d
lea ecx, [r10 - 1]
cmp edi, ecx
jbe 0x1800827ed
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1801992f0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [r8 + 0x24]
add rcx, rbx
cmp word [rcx + r10*2], r12w
je 0x180082830
movzx edx, word [rcx + r10*2]
mov ecx, dword [r8 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x1800828af
lea eax, [r9 + r11]
cmp edi, eax
jae 0x1800828af
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18019c330
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x1800828a1
jmp 0x180082777
lea rax, [rbx + rdi]
jmp 0x180082832