joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012a4d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14012a512
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14012a559
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14012a5b2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14012a570
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14012a5f3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14015b3c2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14015b3c3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14012a5c0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14012a66c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14012a6a6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14012a6ab
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14012a6f4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14012a6f4
dec r8
sub rdx, 1
jne 0x14012a6da
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14012be5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14012bea6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14012bea6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14012bea6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14012bea6
cmp dword [rcx + 0x84], 0xe
jbe 0x14012bea6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14012bea8
xor al, al
add rsp, 0x28
ret
Function at 0x140003ce0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3e0], 0xfffffffffffffffe
mov qword [rbp + 0x3d8], rcx
xor ebx, ebx
lea rcx, [rbp - 0x58]
mov r8d, 0x400
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x3c0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c8], xmm0
mov esi, 0x200
mov r13d, 2
cmp rsi, 0x201
jae 0x140003d62
jmp 0x140003db0
mov rsi, r8
jae 0x140003e0d
cmp rsi, 0x201
jb 0x140003db0
mov r8, rsi
sub r8, rbx
mov rax, qword [rbp + 0x3c8]
sub rax, rbx
cmp rax, r8
jae 0x140003d8d
lea rcx, [rbp + 0x3c0]
mov rdx, rbx
call fcn.14001c120
mov r13, qword [rbp + 0x3c0]
mov qword [rbp + 0x3d0], rsi
mov rbx, rsi
mov r15, r13
mov r14, rsi
mov r12, r13
jmp 0x140003dbd
lea r12, [rbp - 0x58]
mov r15, r12
mov r14d, 0x200
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x140003de0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003e55
mov r8d, edi
cmp rsi, r8
jne 0x140003d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003eac
add rsi, rsi
cmp rsi, 0x201
jae 0x140003d62
jmp 0x140003db0
cmp r14, r8
jb 0x140003ec6
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140006430
mov rax, qword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rbp + 0x3a8]
movups xmmword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3c8]
test rdx, rdx
jne 0x140003e82
jmp 0x140003e95
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3c8]
test rdx, rdx
je 0x140003e95
add rdx, rdx
je 0x140003e95
mov r8d, 2
mov rcx, r13
call fcn.140001100
mov rax, rsi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.internal_error:_entered_unreachable_code_rustc_a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001cb80
jmp 0x140003edb
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14001cde0
ud2
Function at 0x1400158a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov dword [rsp + 0x2c], r8d
lea eax, [r8 - 2]
cmp eax, 0x22
ja 0x140015a6a
mov r9, rdx
mov edx, 1
test r9, r9
je 0x1400158dc
mov al, byte [rcx]
cmp al, 0x2d
je 0x1400158e4
cmp al, 0x2b
jne 0x1400158f5
add r9, 0xffffffffffffffff
je 0x1400158ea
add rcx, 1
jmp 0x1400158f5
xor r10d, r10d
jmp 0x140015a52
cmp r9, 1
jne 0x1400158f5
mov r10d, 0x100
jmp 0x140015a52
cmp r8d, 0x10
ja 0x14001595d
cmp r9, 9
jae 0x14001595d
xor r10d, r10d
cmp r8d, 0xa
jbe 0x1400159cb
mov r11d, 0xffffffff
xor edx, edx
xor eax, eax
jmp 0x140015933
imul eax, r8d
add eax, edi
add rdx, 1
cmp r9, rdx
je 0x140015a2a
movzx esi, byte [rcx + rdx]
lea edi, [rsi - 0x30]
cmp edi, 9
jbe 0x140015920
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
mov edi, esi
cmp esi, r8d
jb 0x140015920
mov edx, 0x101
jmp 0x140015a46
xor r10d, r10d
cmp r8d, 0xa
jbe 0x1400159f4
mov r11d, 0xffffffff
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movzx esi, byte [rcx + r10]
mul r8d
seto dl
lea edi, [rsi - 0x30]
mov ebx, 1
cmp edi, 0xa
jb 0x1400159af
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
xor ebx, ebx
cmp esi, r8d
setb bl
mov edi, esi
test ebx, ebx
sete bl
or dl, bl
jne 0x140015a2e
add eax, edi
jb 0x140015a41
add r10, 1
cmp r9, r10
jne 0x140015980
jmp 0x140015a27
xor edx, edx
xor eax, eax
nop
movzx ebx, byte [rcx + rdx]
lea edi, [rbx - 0x30]
cmp edi, r8d
jae 0x140015953
imul eax, r8d
add eax, ebx
add eax, 0xffffffd0
add rdx, 1
cmp r9, rdx
jne 0x1400159d0
jmp 0x140015a2a
xor eax, eax
nop word cs:[rax + rax]
movzx edi, byte [rcx + r10]
mul r8d
seto dl
add edi, 0xffffffd0
cmp edi, r8d
setae bl
jae 0x140015a2e
test dl, dl
jne 0x140015a2e
add eax, edi
jb 0x140015a41
add r10, 1
cmp r9, r10
jne 0x140015a00
xor r10d, r10d
xor edx, edx
jmp 0x140015a52
xor bl, 1
movzx edx, bl
shl rdx, 8
add rdx, 0x101
jmp 0x140015a46
mov edx, 0x201
mov r10d, edx
and r10d, 0x300
xor eax, eax
shl rax, 0x20
or rax, r10
movzx ecx, dl
or rcx, rax
mov rax, rcx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [0x14001ab50]
mov qword [rsp + 0x38], rax
lea rax, str.from_str_radix_int:_must_lie_in_the_range___2__36_____found
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.librarycore_src_nummod.rs
lea rcx, [rsp + 0x40]
call fcn.14001ccf0
ud2
jmp 0x1400158a0
Function at 0x140019ea0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x140019f1a
mov r11, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [rdx + r8*2]
xor eax, eax
mov rbx, rdx
movzx edi, byte [rdx + 1]
add rdx, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x140019f10
cmp r10, rax
jb 0x140019fad
cmp r10, r11
ja 0x140019fba
add rax, r9
xor ebx, ebx
nop dword [rax + rax]
cmp rdi, rbx
je 0x140019f12
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x140019ef0
jmp 0x140019f82
ja 0x140019f1a
mov rax, r10
cmp rdx, r8
jne 0x140019ebd
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140019f86
mov rbx, qword [rsp + 0x78]
add rdx, rbx
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
nop
lea rsi, [rbx + 1]
movzx edi, byte [rbx]
test dil, dil
js 0x140019f60
mov rbx, rsi
sub ecx, edi
jns 0x140019f79
jmp 0x140019f88
cmp rsi, rdx
je 0x140019f93
and edi, 0x7f
shl edi, 8
movzx ebp, byte [rbx + 1]
add rbx, 2
or edi, ebp
sub ecx, edi
js 0x140019f88
xor al, 1
cmp rbx, rdx
jne 0x140019f40
jmp 0x140019f88
xor eax, eax
jmp 0x140019f88
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value:
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001cb80
ud2
mov rcx, rax
mov rdx, r10
call fcn.14001cdf0
ud2
mov rcx, r10
mov rdx, r11
call fcn.14001cde0
ud2
Function at 0x14001a1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov dword [rsp + 0x2c], r8d
lea eax, [r8 - 2]
cmp eax, 0x22
ja 0x140015a6a
mov r9, rdx
mov edx, 1
test r9, r9
je 0x1400158dc
mov al, byte [rcx]
cmp al, 0x2d
je 0x1400158e4
cmp al, 0x2b
jne 0x1400158f5
add r9, 0xffffffffffffffff
je 0x1400158ea
add rcx, 1
jmp 0x1400158f5
xor r10d, r10d
jmp 0x140015a52
cmp r9, 1
jne 0x1400158f5
mov r10d, 0x100
jmp 0x140015a52
cmp r8d, 0x10
ja 0x14001595d
cmp r9, 9
jae 0x14001595d
xor r10d, r10d
cmp r8d, 0xa
jbe 0x1400159cb
mov r11d, 0xffffffff
xor edx, edx
xor eax, eax
jmp 0x140015933
imul eax, r8d
add eax, edi
add rdx, 1
cmp r9, rdx
je 0x140015a2a
movzx esi, byte [rcx + rdx]
lea edi, [rsi - 0x30]
cmp edi, 9
jbe 0x140015920
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
mov edi, esi
cmp esi, r8d
jb 0x140015920
mov edx, 0x101
jmp 0x140015a46
xor r10d, r10d
cmp r8d, 0xa
jbe 0x1400159f4
mov r11d, 0xffffffff
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movzx esi, byte [rcx + r10]
mul r8d
seto dl
lea edi, [rsi - 0x30]
mov ebx, 1
cmp edi, 0xa
jb 0x1400159af
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
xor ebx, ebx
cmp esi, r8d
setb bl
mov edi, esi
test ebx, ebx
sete bl
or dl, bl
jne 0x140015a2e
add eax, edi
jb 0x140015a41
add r10, 1
cmp r9, r10
jne 0x140015980
jmp 0x140015a27
xor edx, edx
xor eax, eax
nop
movzx ebx, byte [rcx + rdx]
lea edi, [rbx - 0x30]
cmp edi, r8d
jae 0x140015953
imul eax, r8d
add eax, ebx
add eax, 0xffffffd0
add rdx, 1
cmp r9, rdx
jne 0x1400159d0
jmp 0x140015a2a
xor eax, eax
nop word cs:[rax + rax]
movzx edi, byte [rcx + r10]
mul r8d
seto dl
add edi, 0xffffffd0
cmp edi, r8d
setae bl
jae 0x140015a2e
test dl, dl
jne 0x140015a2e
add eax, edi
jb 0x140015a41
add r10, 1
cmp r9, r10
jne 0x140015a00
xor r10d, r10d
xor edx, edx
jmp 0x140015a52
xor bl, 1
movzx edx, bl
shl rdx, 8
add rdx, 0x101
jmp 0x140015a46
mov edx, 0x201
mov r10d, edx
and r10d, 0x300
xor eax, eax
shl rax, 0x20
or rax, r10
movzx ecx, dl
or rcx, rax
mov rax, rcx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [0x14001ab50]
mov qword [rsp + 0x38], rax
lea rax, str.from_str_radix_int:_must_lie_in_the_range___2__36_____found
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.librarycore_src_nummod.rs
lea rcx, [rsp + 0x40]
call fcn.14001ccf0
ud2
jmp 0x1400158a0

Function at 0x14001bc14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001bc5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001bc5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001bc5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001bc5e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001bc5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001bc60
xor al, al
add rsp, 0x28
ret
Function at 0x1400018c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000192d
cmp qword [rsp + 0x40], 0x40
je 0x140001934
xor eax, eax
jmp 0x140001b61
movzx eax, word [rsp + 0x80]
cmp eax, 0x5a4d
je 0x14000194a
xor eax, eax
jmp 0x140001b61
movsxd rax, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x108
lea r8, [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001998
cmp qword [rsp + 0x40], 0x108
je 0x1400019ab
lea rcx, [0x14001e500]
call fcn.140002cf0
xor eax, eax
jmp 0x140001b61
cmp dword [rsp + 0xc0], 0x4550
je 0x1400019cb
lea rcx, str.No_NT_n
call fcn.140002cf0
xor eax, eax
jmp 0x140001b61
movzx eax, word [rsp + 0xd4]
mov ecx, dword [rsp + 0xbc]
lea eax, [rcx + rax + 0x18]
mov dword [rsp + 0x3c], eax
movzx eax, word [rsp + 0xc6]
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0xd8]
cmp eax, 0x10b
jne 0x140001a07
mov dword [rsp + 0x38], 0x20
jmp 0x140001a0f
mov dword [rsp + 0x38], 0x40
mov eax, dword [rsp + 0x38]
mov dword [0x14002dba4], eax
mov dword [rsp + 0x30], 0
jmp 0x140001a2d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jae 0x140001b52
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
add rax, rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x28
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001a8a
cmp qword [rsp + 0x40], 0x28
je 0x140001a9d
lea rcx, str.No_Read_n
call fcn.140002cf0
xor eax, eax
jmp 0x140001b61
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
lea rdx, [0x14002bba0]
mov qword [rdx + rcx], rax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x58]
call fcn.140001870
mov eax, eax
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
lea rdx, [0x14002bba0]
mov qword [rdx + rcx + 8], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [0x14002bba0]
lea rax, [rcx + rax + 0x10]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001c690
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [0x14002bba0]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 8
mov byte [rax + rcx + 0x10], 0
jmp 0x140001a23
mov eax, dword [rsp + 0x34]
mov dword [0x14002dba0], eax
mov eax, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140007270
add rsp, 0x1e8
ret
Function at 0x140003770
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r8d, 0xf8
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.14001cd30
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400037d3
mov ecx, 0x57
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1400038eb
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14001cd30
nop
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call sub.KERNEL32.dll_VirtualQueryEx
test rax, rax
jne 0x140003812
xor eax, eax
jmp 0x1400038eb
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x140003843
xor eax, eax
jmp 0x1400038eb
movzx eax, word [rsp + 0x70]
cmp eax, 0x5a4d
jne 0x14000386a
mov eax, dword [rsp + 0xac]
cmp rax, qword [rsp + 0x50]
ja 0x14000386a
mov eax, dword [rsp + 0xac]
cmp rax, 0x40
jae 0x140003878
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1400038eb
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
mov r8, qword [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x1400038ba
xor eax, eax
jmp 0x1400038eb
mov rax, qword [rsp + 0xe0]
cmp dword [rax], 0x4550
je 0x1400038d8
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1400038eb
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140007270
add rsp, 0xc8
ret
Function at 0x1400052e0
Capabilities:
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0xe0], 0
jne 0x140005312
lea rax, [0x140006eb2]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xc8], 0
jne 0x14000533d
lea rax, [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001cd30
nop
mov eax, dword [rsp + 0xa8]
or eax, 4
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0xe0]
test eax, eax
jne 0x1400053bc
xor eax, eax
jmp 0x14000549b
mov r8d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.140005740
test eax, eax
jne 0x140005445
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rax + 0x10]
call fcn.1400054a0
test eax, eax
jne 0x140005445
mov edx, 0xffffffff
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call sub.KERNEL32.dll_TerminateProcess
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
jmp 0x14000549b
mov eax, dword [rsp + 0xa8]
and eax, 4
test eax, eax
jne 0x140005465
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0xc8], rax
jne 0x140005496
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_CloseHandle
nop
mov eax, 1
add rsp, 0x78
ret
Function at 0x1400054a0
Capabilities:
Query environment variable
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x328
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x60], 0
mov r8d, 0x104
lea rdx, [rsp + 0xf0]
lea rcx, [0x14001eac8]
call sub.KERNEL32.dll_GetEnvironmentVariableA
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x338], 1
jb 0x140005511
cmp dword [rsp + 0x338], 0x1000
jbe 0x140005526
mov ecx, 0x57
call sub.KERNEL32.dll_SetLastError
nop
jmp 0x140005716
mov r9, qword [rsp + 0x340]
mov r8d, dword [rsp + 0x338]
mov edx, dword [rsp + 0x330]
lea rcx, [rsp + 0x60]
call fcn.140003060
test eax, eax
jne 0x140005555
jmp 0x140005716
cmp dword [rsp + 0x54], 0
je 0x140005568
mov eax, dword [rsp + 0x54]
cmp rax, 0x104
jb 0x140005572
jmp 0x140005716
lea r8, [0x14001ead0]
mov edx, 0x104
lea rcx, [rsp + 0xf0]
call fcn.140002a00
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400055a0
jmp 0x140005716
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0xc]
mov r9, rax
lea r8, [0x14001eae8]
mov edx, 0x104
lea rcx, [rsp + 0x200]
call fcn.140002b00
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400055e4
jmp 0x140005716
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14001cd30
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.14001cd30
mov dword [rsp + 0x80], 0x68
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0xf0]
call qword [rsp + 0x348]
test eax, eax
je 0x140005716
mov rax, qword [rsp + 0x60]
mov r9d, dword [rax]
mov r8, qword [rsp + 0x60]
lea rdx, [0x14001eb70]
mov rcx, qword [rsp + 0x68]
call fcn.140004ea0
test eax, eax
jne 0x1400056be
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call sub.KERNEL32.dll_TerminateProcess
mov rcx, qword [rsp + 0x68]
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x70]
call sub.KERNEL32.dll_CloseHandle
nop
jmp 0x140005716
mov rcx, qword [rsp + 0x70]
call sub.KERNEL32.dll_ResumeThread
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call sub.KERNEL32.dll_WaitForSingleObject
mov dword [rsp + 0x58], 0x1f4
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
call sub.KERNEL32.dll_GetExitCodeProcess
mov rcx, qword [rsp + 0x68]
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x70]
call sub.KERNEL32.dll_CloseHandle
nop
cmp dword [rsp + 0x58], 0
je 0x14000570e
jmp 0x140005716
mov dword [rsp + 0x5c], 1
lea rcx, [rsp + 0x60]
call fcn.140003700
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140007270
add rsp, 0x328
ret
Function at 0x140007a14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007a5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007a5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007a5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007a5e
cmp dword [rcx + 0x84], 0xe
jbe 0x140007a5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007a60
xor al, al
add rsp, 0x28
ret

Function at 0x14000f744
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f7b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f7b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f7b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f7b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f7b3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f7b3
cmp dword [rcx + 0xf8], 0
je 0x14000f7b3
mov ecx, ebx
call fcn.14000f864
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f640
nop
cmp dword [rbp + 0x20], 0
je 0x14000f801
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f80c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000f744

Function at 0x14000f948
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f744