joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14028cc1c
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, [0x14035ccd0]
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 0x14028cc73
cmp word [rdx], r13w
jne 0x14028cc73
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14028cc78
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14028cd9d
mov r11d, reloc.WS2_32.dll_listen
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14028cdbe
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14028ccb1
mov rdx, r9
mov word [rbx], cx
jmp 0x14028ccd8
cmp r9, r8
jae 0x14028cce8
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 0x14028cc92
jmp 0x14028cd9d
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 0x14028cd92
cmp dword [rsp + 0x80], esi
je 0x14028cd92
lea r8, [0x14035ccd0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14028cd6a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14028cd3a
mov word [rbx], r13w
jmp 0x14028cd9a
mov ecx, reloc.WS2_32.dll_listen
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 0x14028cd47
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14028cd9a
cmp word [rsp + 0x70], r13w
jne 0x14028cd77
cmp rbx, r14
je 0x14028cd34
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1402884a8
cmp word [rsp + 0x70], r13w
je 0x14028cd9d
mov ecx, reloc.WS2_32.dll_listen
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, [0x14035ccd0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14028cd97
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14028cd9d
Function at 0x14028f310
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14028f326
mov al, 1
jmp 0x14028f386
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14028f337
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14028f384
mov ecx, dword [rcx + 0x18]
nop
call fcn.140298c00
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14028f384
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14028f384
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14028f384
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14028f386
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140297dd4
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.14028f89c
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 0x140297e75
cmp ebx, dword [rsp + 0x30]
je 0x140297e6e
test esi, esi
je 0x140297e6e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140297e49
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140297e56
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140297e33
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140297e5a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140297e77
mov eax, 1
jmp 0x140297e77
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140298d10
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.1402884a8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1402884a8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140298e60
cmp rax, 0xffffffffffffffff
je 0x140298e60
xor edi, edi
test rbp, rbp
jle 0x140298e0b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14028fe70
mov rbx, rax
test rax, rax
jne 0x140298d98
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140298e01
mov edx, 0x8000
mov ecx, r14d
call fcn.14028c998
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.14028dfd4
cmp eax, 0xffffffff
je 0x140298de1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140298da8
mov edx, r15d
mov ecx, r14d
call fcn.14028c998
jmp 0x140298e01
cmp byte [rsi + 0x38], dil
je 0x140298df8
cmp dword [rsi + 0x34], 5
jne 0x140298df8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x140298e01
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1402904ec
jmp 0x140298e74
jns 0x140298e74
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1402884a8
cmp rax, 0xffffffffffffffff
jne 0x140298e2c
cmp byte [rsi + 0x30], dil
je 0x140298e74
mov edi, dword [rsi + 0x2c]
jmp 0x140298e74
mov ecx, r14d
call fcn.140298c00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140298e74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x140298e74
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140298e6d
mov eax, dword [rsi + 0x2c]
jmp 0x140298e72
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1402884a8
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 0x14029a5d4
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 0x14029a604
xor eax, eax
jmp 0x14029a6c7
mov rbp, rbx
cmp word [rax], si
je 0x14029a629
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14029a610
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14029a60c
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.140293044
movsxd r14, eax
test eax, eax
jne 0x14029a667
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14029a5fd
mov rcx, r14
call fcn.140290c70
mov rdi, rax
test rax, rax
jne 0x14029a680
xor ecx, ecx
call fcn.1402904ec
jmp 0x14029a65c
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.140293044
test eax, eax
jne 0x14029a6b1
mov rcx, rdi
call fcn.1402904ec
jmp 0x14029a6bb
xor ecx, ecx
call fcn.1402904ec
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 0x14029a6e4
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 0x14029a76b
mov rsi, rbx
cmp word [rax], bp
je 0x14029a72a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14029a714
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14029a710
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140290c70
mov rdi, rax
test rax, rax
je 0x14029a758
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14029ebf0
mov rbp, rdi
xor ecx, ecx
call fcn.1402904ec
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 0x14029b11c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14029b13c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14027bec8
or eax, 0xffffffff
jmp 0x14029b13e
xor eax, eax
add rsp, 0x28
ret

Function at 0x14029d8ac
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140342fc0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14029d8f6
call fcn.14027bf34
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14027bf54
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14027aeb0
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14025e750
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14029d901
lea eax, [rbx + 1]
jmp 0x14029d8e3
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14029d8e1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14029d8e3
Function at 0x14029dae4
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.14026f83c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14029db6e
cmp byte [rbp - 0x21], r15b
je 0x14029db69
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14029dba4
call fcn.140292520
test eax, eax
jne 0x14029db90
cmp byte [rbp - 0x21], r15b
je 0x14029db88
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14029dba4
cmp byte [rbp - 0x21], r15b
je 0x14029dba1
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.14027b78c
test eax, eax
jne 0x14029dc44
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14026f83c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14029dbe3
cmp byte [rbp - 0x21], r15b
je 0x14029dc18
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14029dc18
call fcn.140292520
test eax, eax
jne 0x14029dc04
cmp byte [rbp - 0x21], r15b
je 0x14029dbfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14029dc18
cmp byte [rbp - 0x21], r15b
je 0x14029dc15
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.14027b78c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14029dc44
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14029dc47
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14029dc55
mov rcx, rdi
call fcn.1402904ec
cmp byte [rbp + 0x3f], r15b
je 0x14029dc64
mov rcx, qword [rbp + 0x27]
call fcn.1402904ec
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 0x14029e920
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14029e948
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14029e948
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140d930b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140d93237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d930e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d930c7
add dl, dl
jne 0x140d930ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d9314e
xor eax, eax
add dl, dl
jne 0x140d930fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d93205
add dl, dl
jne 0x140d9310e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d9311b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d93128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d93135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d93142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d930d6
mov eax, 1
add dl, dl
jne 0x140d9315e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d9316b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d93153
sub eax, ebx
mov ebx, 1
jne 0x140d931a4
mov ecx, 1
add dl, dl
jne 0x140d93186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d93193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d9317b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d930d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d931c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d931cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d931b5
cmp eax, 0x7d00
jae 0x140d931f3
cmp eax, 0x500
jb 0x140d931ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d930d6
cmp eax, 0x7f
ja 0x140d931f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d930d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d9322a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d930d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14013042e
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
loopne 0x14013043a
add byte [rax], al
shr cl, 0
add byte [rax], al
add byte [rbp - 0x75], al
sar byte [rdx - 0x3c101dd7], 1
Function at 0x1401330a4
Capabilities:
Contain obfuscated stackstrings
Hash data using fnv

Disassembly:
bswap rsi
test r12, rbp
movabs r13, 0x6ce497000000b0e9
mul rcx
call fcn.1401322d1
mov dword [rsp + 0x30], 0xf6f6f6f6
xchg rdx, r8
mov r8, r13
xchg rdx, r8
jmp 0x1401335b4
jb 0x1401335d0
mov dword [rsp + 0x78], 0xf6f6f6f6
xchg r14, rdx
jmp 0x1401333e7
add cl, al
mov byte [rsp + rdx + 0x36], cl
mov byte [rsp + rdx + 0x30], r13b
inc rdx
cmp rdx, 5
jmp 0x14013336d
mov r14, r13
xchg r14, rdx
mov dword [rbp - 0x34], 0x76736b50
mov dword [rsp + 0x7c], 0xf6f6f6f6
mov dword [rbp - 0x30], 0x7e2a6e6f
mov dword [rbp - 0x80], 0xf6f6f6f6
xor dh, 0xf6
div dh
mov dword [rsp + 0x36], 0x797c7c4f
mov byte [rsp + 0x34], 0xf6
mov word [rsp + 0x3a], 0x7c
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x36]
movzx ecx, byte [rsp + rdx + 0x30]
jne 0x1401335e1
je 0x1401335e1
ret
jmp 0x1401333d0
Function at 0x1800019d0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.18000b340
sub rsp, rax
mov rax, qword [0x18003c0b0]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rcx
mov rdi, rdx
xor ecx, ecx
call fcn.180012f30
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.180012e50
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rbx]
lea rdx, str.__d__d__d__d__d__d___d_:_s
mov r9d, dword [rbx + 0x10]
mov r8d, dword [rbx + 0x14]
inc r9d
mov qword [rsp + 0x48], rdi
add r8d, 0x76c
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.180001830
mov rcx, rsi
xor edi, edi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, 1
lea rdx, [0x180027610]
test eax, eax
mov rcx, rsi
cmovne edi, ebp
call fcn.18000fb04
mov rbx, rax
test rax, rax
je 0x180001b23
test edi, edi
jne 0x180001ab4
mov eax, 0xfeff
lea r8d, [rbp + 1]
mov r9, rbx
mov word [rsp + 0x54], ax
mov edx, ebp
lea rcx, [rsp + 0x54]
call fcn.180012ab0
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180001ac0
add eax, eax
lea rcx, [rsp + 0x60]
movsxd r8, eax
mov r9, rbx
mov rdx, rbp
call fcn.180012ab0
mov eax, 0xd
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 0xb]
call fcn.180012ab0
mov eax, 0xa
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 8]
call fcn.180012ab0
mov rcx, rbx
call fcn.180012804
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.18000b3b0
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
Function at 0x180003810
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x490
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18003c0b0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r15, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp byte [rcx + 0x4f4], 0
jne 0x180003a63
call fcn.180005140
xor edx, edx
test eax, eax
je 0x1800039ce
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.18000d130
cmp qword [rbx + 0x18], 8
jb 0x18000388e
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180001cc0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.18000d130
cmp qword [rdi + 0x18], 8
jb 0x1800038bb
mov rdx, qword [rdi]
jmp 0x1800038be
mov rdx, rdi
lea rcx, [rbp + 0x170]
call fcn.180001cc0
cmp qword [rdi + 0x10], 0
jne 0x1800038e3
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.180003a90
jmp 0x180003a63
mov qword [rsp + 0x58], 7
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
lea r8d, [rbx + 1]
lea rdx, [0x180027714]
lea rcx, [rsp + 0x40]
call fcn.180001560
cmp word [rsp + 0x60], bx
jne 0x180003919
mov r8d, ebx
jmp 0x18000392d
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180003922
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1800027a0
mov r8d, 2
lea rdx, [0x180027718]
lea rcx, [rsp + 0x40]
call fcn.1800027a0
cmp word [rbp + 0x170], 0
je 0x18000397a
lea rax, [rbp + 0x170]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180003970
mov r8, rbx
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x40]
call fcn.1800027a0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.180003a90
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x180003a63
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1800016b0
jmp 0x180003a63
mov byte [rsi + 0x4f4], 1
mov r8d, 0x104
lea rcx, [rsi + 0xe0]
call fcn.18000d130
cmp qword [rbx + 0x18], 8
jb 0x1800039f1
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsi + 0xe0]
call fcn.180001cc0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsi + 0x2e8]
call fcn.18000d130
cmp qword [rdi + 0x18], 8
jb 0x180003a1e
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsi + 0x2e8]
call fcn.180001cc0
mov eax, dword [r15]
mov dword [rsi + 0x4f0], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, [0x180003b30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.18000b3b0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180003a90
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
mov rbx, rdx
lea rcx, [rsp + 0x70]
xor edx, edx
lea r8d, [rdx + 0x68]
call fcn.18000d130
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180003b1c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xe0
pop rbx
ret
Function at 0x180003fe0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18003c0b0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, rcx
test rdx, rdx
jne 0x18000402b
xor eax, eax
jmp 0x1800041c0
mov qword [rsp + 0x60], 7
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
cmp word [rdx], bx
jne 0x18000404a
mov r8d, ebx
jmp 0x18000405a
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], bx
jne 0x180004050
lea rcx, [rsp + 0x48]
call fcn.180001560
nop
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.1800051d0
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.18000d130
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800041a1
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180004197
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
cmp word [rbp - 0x64], 0
jne 0x1800040d7
mov r8, rbx
jmp 0x1800040eb
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1800040e0
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.180001560
nop
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.1800051d0
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
cmp rdi, 8
cmovae rcx, r14
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
call fcn.180002a80
test eax, eax
je 0x18000416b
cmp rdi, 8
jb 0x180004159
lea r8, [rdi + 1]
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.1800016b0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x1800040b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1800041a1
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1800016b0
jmp 0x1800041a1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x1800041be
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.1800016b0
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18000b3b0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret