joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180009f70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x5a4d
test rcx, rcx
je 0x180009feb
mov edx, 0x40
call fcn.18000a830
test al, al
jne 0x180009feb
cmp word [rbx], bp
jne 0x180009feb
movsxd rax, dword [rbx + 0x3c]
lea rdi, [rbx + 0x3c]
cmp eax, 0x400
jg 0x180009feb
lea rsi, [rbx + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.18000a830
test al, al
jne 0x180009feb
cmp dword [rsi], 0x4550
jne 0x180009feb
mov edx, 0xf8
mov rcx, rsi
call fcn.18000a830
test al, al
je 0x180009fe5
xor esi, esi
jmp 0x180009ff6
movzx esi, word [rsi + 0x18]
jmp 0x180009ff6
xor esi, esi
lea rdi, [rbx + 0x3c]
test rbx, rbx
je 0x18000a048
mov edx, 0x40
mov rcx, rbx
call fcn.18000a830
test al, al
jne 0x18000a048
cmp word [rbx], bp
jne 0x18000a048
movsxd rax, dword [rdi]
cmp eax, 0x400
jg 0x18000a048
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a048
cmp dword [rdi], 0x4550
jne 0x18000a048
mov eax, 0x20b
cmp si, ax
jne 0x18000a043
mov rax, qword [rdi + 0x30]
jmp 0x18000a04a
mov eax, dword [rdi + 0x34]
jmp 0x18000a04a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18000a060
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18000a0e7
mov edx, 0x40
call fcn.18000a830
test al, al
jne 0x18000a0e7
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18000a0e7
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x18000a0e7
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a0e7
cmp dword [rdi], 0x4550
jne 0x18000a0e7
mov rcx, rbx
call fcn.18000a3d0
mov rcx, rbx
test al, al
je 0x18000a0d4
call fcn.18000a180
mov eax, dword [rax + 0x50]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.18000a100
mov eax, dword [rax + 0x50]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x18000a100
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18000a170
mov edx, 0x40
call fcn.18000a830
test al, al
jne 0x18000a170
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18000a170
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x18000a170
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a170
cmp dword [rdi], 0x4550
jne 0x18000a170
mov rcx, rbx
call fcn.18000a3d0
xor ecx, ecx
test al, al
cmove rcx, rdi
mov rax, rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x18000a180
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18000a1f0
mov edx, 0x40
call fcn.18000a830
test al, al
jne 0x18000a1f0
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18000a1f0
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x18000a1f0
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a1f0
cmp dword [rdi], 0x4550
jne 0x18000a1f0
mov rcx, rbx
call fcn.18000a3d0
xor ecx, ecx
test al, al
cmovne rcx, rdi
mov rax, rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x18000a200
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x18000a231
test rdx, rdx
je 0x18000a243
mov r9d, 0x40
mov r8, rcx
call fcn.18000a800
test al, al
jne 0x18000a251
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 0x40
call fcn.18000a830
test al, al
jne 0x18000a231
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x18000a231
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x18000a231
lea rbx, [rdi + rax]
test rsi, rsi
je 0x18000a289
mov r9d, 0xf8
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.18000a800
test al, al
je 0x18000a231
jmp 0x18000a29a
mov edx, 0xf8
mov rcx, rbx
call fcn.18000a830
test al, al
jne 0x18000a231
mov rsi, qword [rsp + 0x38]
xor eax, eax
cmp dword [rbx], 0x4550
cmovne rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18000a340
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18000a3be
mov edx, 0x40
call fcn.18000a830
test al, al
jne 0x18000a3be
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18000a3be
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x18000a3be
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a3be
cmp dword [rdi], 0x4550
jne 0x18000a3be
mov rcx, rbx
call fcn.18000a3d0
movzx eax, al
add rax, 0xa
shl rax, 4
add rax, rdi
cmp dword [rax], 0
je 0x18000a3be
test rax, rax
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x18000a3d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18000a44a
mov edx, 0x40
call fcn.18000a830
test al, al
jne 0x18000a44a
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18000a44a
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x18000a44a
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a44a
cmp dword [rdi], 0x4550
jne 0x18000a44a
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a44a
mov eax, 0x20b
cmp word [rdi + 0x18], ax
sete al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x18000a460
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x18000a476
xor al, al
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rdi
call fcn.18000a3d0
mov edx, 0x40
mov rcx, rbx
call fcn.18000a830
test al, al
jne 0x18000a4d8
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18000a4d8
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x18000a4d8
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.18000a830
test al, al
jne 0x18000a4d8
cmp dword [rdi], 0x4550
jne 0x18000a4d8
movzx eax, word [rdi + 0x16]
mov rdi, qword [rsp + 0x30]
shr ax, 0xd
and al, 1
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x30]
xor eax, eax
shr ax, 0xd
and al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x18001fedc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18001fef2
mov al, 1
jmp 0x18001ff52
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18001ff03
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18001ff50
mov ecx, dword [rcx + 0x18]
nop
call fcn.18002acd8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18001ff50
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18001ff50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18001ff50
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18001ff52
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800214e8
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.18000d8a0
sub rsp, rax
mov rax, qword [0x180042078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18001d860
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180021537
mov rax, rbp
jmp 0x18002163f
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x44680]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180021124
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x44680]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18002163b
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 0x18002163b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180021124
test rax, rax
js 0x18002163b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18002163b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18002162d
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18002162d
cmp byte [rcx], 0xd
jne 0x180021613
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180021622
cmp byte [rcx + 1], 0xa
jne 0x180021622
inc rcx
jmp 0x180021622
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x42470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800215f5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18002163f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18000cd80
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 0x180021768
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, [0x180044680]
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 0x1800217bf
cmp word [rdx], r13w
jne 0x1800217bf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800217c4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800218e9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18002190a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800217fd
mov rdx, r9
mov word [rbx], cx
jmp 0x180021824
cmp r9, r8
jae 0x180021834
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 0x1800217de
jmp 0x1800218e9
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 0x1800218de
cmp dword [rsp + 0x80], esi
je 0x1800218de
lea r8, [0x180044680]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800218b6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180021886
mov word [rbx], r13w
jmp 0x1800218e6
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 0x180021893
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800218e6
cmp word [rsp + 0x70], r13w
jne 0x1800218c3
cmp rbx, r14
je 0x180021880
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18002112c
cmp word [rsp + 0x70], r13w
je 0x1800218e9
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, [0x180044680]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800218e3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800218e9
Function at 0x180026370
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 0x1800263a0
xor eax, eax
jmp 0x180026463
mov rbp, rbx
cmp word [rax], si
je 0x1800263c5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800263ac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800263a8
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.180024a58
movsxd r14, eax
test eax, eax
jne 0x180026403
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180026399
mov rcx, r14
call fcn.18001c604
mov rdi, rax
test rax, rax
jne 0x18002641c
xor ecx, ecx
call fcn.18001c5c8
jmp 0x1800263f8
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.180024a58
test eax, eax
jne 0x18002644d
mov rcx, rdi
call fcn.18001c5c8
jmp 0x180026457
xor ecx, ecx
call fcn.18001c5c8
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 0x18002a478
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.18001ddb0
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 0x18002a519
cmp ebx, dword [rsp + 0x30]
je 0x18002a512
test esi, esi
je 0x18002a512
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18002a4ed
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18002a4fa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18002a4d7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18002a4fe
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18002a51b
mov eax, 1
jmp 0x18002a51b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18002dc04
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.18002112c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18002112c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18002dd54
cmp rax, 0xffffffffffffffff
je 0x18002dd54
xor edi, edi
test rbp, rbp
jle 0x18002dcff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18001fc04
mov rbx, rax
test rax, rax
jne 0x18002dc8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18002dcf5
mov edx, 0x8000
mov ecx, r14d
call fcn.18002da88
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.180020b70
cmp eax, 0xffffffff
je 0x18002dcd5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18002dc9c
mov edx, r15d
mov ecx, r14d
call fcn.18002da88
jmp 0x18002dcf5
cmp byte [rsi + 0x38], dil
je 0x18002dcec
cmp dword [rsi + 0x34], 5
jne 0x18002dcec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18002dcf5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18001c5c8
jmp 0x18002dd68
jns 0x18002dd68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18002112c
cmp rax, 0xffffffffffffffff
jne 0x18002dd20
cmp byte [rsi + 0x30], dil
je 0x18002dd68
mov edi, dword [rsi + 0x2c]
jmp 0x18002dd68
mov ecx, r14d
call fcn.18002acd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18002dd68
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 0x18002dd68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18002dd61
mov eax, dword [rsi + 0x2c]
jmp 0x18002dd66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18002112c
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 0x140068ad0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140068add
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140068aed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140068ad5
lea eax, [rcx + 1]
jmp 0x140068afb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140068b0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140068af4
sub eax, 3
jb 0x140068b2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140068b7d
sar eax, 1
movsxd rbp, eax
jb 0x140068b64
jmp 0x140068b3c
add ebx, ebx
jne 0x140068b3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140068b64
inc ecx
add ebx, ebx
jne 0x140068b4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140068b64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140068b5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140068b4c
add ecx, 2
jmp 0x140068b69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140068a92
jmp 0x140068add
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x9400
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140068bc9
cmp rsi, rcx
jae 0x140068bd1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140068bb0
cmp al, 0x8f
ja 0x140068bb0
cmp byte [rsi - 2], 0xf
je 0x140068bb6
sub al, 0xe8
cmp al, 1
ja 0x140068b9a
cmp rsi, rcx
jae 0x140068bd1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140068ba0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140068bd1
lodsb al, byte [rsi]
jmp 0x140068bb0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x66000]
mov eax, dword [rdi]
or eax, eax
je 0x140068c2e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xbc530]
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 0x140068bde
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 0x140068c28
mov qword [rbx], rax
add rbx, 8
jmp 0x140068bfe
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 0x140068c68
cmp al, 0xef
ja 0x140068c5a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140068c3a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140068c49
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 + 0x21f]
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 0x140068cbc
sub rsp, 0xffffffffffffff80
jmp 0x140009d10
Function at 0x140004080
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r8d
mov rsi, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x1400040c1
movsxd rax, ecx
lea r9, str.Press_any_key..
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
test r9, r9
jne 0x140004107
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x14005acc8]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], r9b
jmp 0x140004142
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140004110
lea rcx, [rbp - 0x28]
cmp rbx, 0xf
ja 0x14000413a
mov qword [rbp - 0x18], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x28], 0
jmp 0x140004142
mov rdx, rbx
call fcn.14000e120
cmp edi, 1
jne 0x140004194
mov rax, qword [rbp - 0x10]
cmp rax, 0xd
jb 0x14000417f
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0xd
lea r8d, [rdi + 0xc]
lea rdx, str.Press_the_Key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x140004194
lea r9, str.Press_the_Key
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.14000e120
mov dword [rbp - 0x30], 0x42fa0000
mov dword [rbp - 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.140041340
test al, al
je 0x1400041df
test edi, edi
jne 0x1400041df
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000421d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004218
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004218
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b20
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140057b00
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008d20
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x80
mov rcx, qword [0x1401b2bd8]
xor ebx, ebx
test rcx, rcx
je 0x140008d44
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401b2bd8], rbx
mov rcx, qword [0x1401b2be0]
test rcx, rcx
je 0x140008d5d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401b2be0], rbx
mov rcx, qword [0x1401b2bf0]
test rcx, rcx
je 0x140008d76
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401b2bf0], rbx
mov rcx, qword [0x1401b2be8]
test rcx, rcx
je 0x140008d8f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401b2be8], rbx
movabs rax, 0xb4c741f789bcf917
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
movabs rax, 0x73715c5e4fc41d40
mov qword [rsp + 0x28], rax
movabs rax, 0x46864cd71a624a46
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x5698829269182e21
mov qword [rsp + 0x38], rax
movabs rax, 0x693bd976b92fa39f
movdqa xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x3a1ed5adff6e3156
mov qword [rsp + 0x48], rax
movabs rax, 0xd8ab289ce2cf9863
mov qword [rsp + 0x50], rax
movabs rax, 0x531c35716fa23260
mov qword [rsp + 0x58], rax
movabs rax, 0x23d422b27f102915
xorps xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], rax
movabs rax, 0x33b6f0f70d6a4142
mov qword [rsp + 0x68], rax
movabs rax, 0x4957ac18870fc6e7
xorps xmm1, xmmword [rsp + 0x60]
mov qword [rsp + 0x70], rax
movabs rax, 0x3a1ed5adce480f64
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x78], rax
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x30], xmm1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x80
pop rbx
ret