joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400244a0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002467b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140002740
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140024644
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400245bc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140024633
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400245f9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400245f3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140024633
cmp r9, rdx
je 0x14002460f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140024655
cmp r9, rdx
jne 0x140024600
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140024540
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140024633
lea rcx, str.invalid_hash_bucket_count
call fcn.14002569c
int3

Function at 0x1400248b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400264c0
add rsp, 0x68
ret
Function at 0x14002739c
Capabilities:
Parse pe header

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

Function at 0x140034a88
Capabilities:
Parse pe header

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

Function at 0x140039ba8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14006d050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x140039c0d
test rax, rax
jne 0x140039bfb
lea r9, str.GetLocaleInfoEx
lea r8, [0x14004e218]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1400397b8
test rax, rax
je 0x140039c0d
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140046430
jmp 0x140039c27
xor edx, edx
mov rcx, rbp
call fcn.140039e90
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14003d36c
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 0x14003d39c
xor eax, eax
jmp 0x14003d45f
mov rbp, rbx
cmp word [rax], si
je 0x14003d3c1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003d3a8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003d3a4
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.14003bba8
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14003d402
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003d395
call fcn.140037aa0
mov rdi, rax
test rax, rax
jne 0x14003d418
xor ecx, ecx
call fcn.140037300
jmp 0x14003d3f7
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.14003bba8
test eax, eax
jne 0x14003d449
mov rcx, rdi
call fcn.140037300
jmp 0x14003d453
xor ecx, ecx
call fcn.140037300
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 0x140040654
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1400406c7
cmp word [rcx], si
je 0x1400406c7
lea rdx, [0x14004f378]
call fcn.140044434
test eax, eax
je 0x1400406c7
lea rdx, [0x14004f390]
mov rcx, rbx
call fcn.140044434
test eax, eax
jne 0x1400406bd
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400406e4
mov eax, dword [rsp + 0x30]
jmp 0x1400406f6
mov rcx, rbx
call fcn.14002e2c0
jmp 0x1400406f6
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400406e8
xor eax, eax
jmp 0x1400406f6
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400406f6
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140040708
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.140037788
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400407ab
cmp edi, dword [rsp + 0x30]
je 0x1400407a4
test ebp, ebp
je 0x1400407a4
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140040780
sub dx, 0x61
cmp dx, 0x19
ja 0x14004078c
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x14004076d
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140040790
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1400407ad
mov eax, 1
jmp 0x1400407ad
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400431b0
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.14002d4cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004323a
cmp byte [rbp - 0x21], r15b
je 0x140043235
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140043270
call fcn.1400399c8
test eax, eax
jne 0x14004325c
cmp byte [rbp - 0x21], r15b
je 0x140043254
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140043270
cmp byte [rbp - 0x21], r15b
je 0x14004326d
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.1400341d4
test eax, eax
jne 0x140043310
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002d4cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400432af
cmp byte [rbp - 0x21], r15b
je 0x1400432e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400432e4
call fcn.1400399c8
test eax, eax
jne 0x1400432d0
cmp byte [rbp - 0x21], r15b
je 0x1400432c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400432e4
cmp byte [rbp - 0x21], r15b
je 0x1400432e1
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.1400341d4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140043310
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140043313
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140043321
mov rcx, rdi
call fcn.140037300
cmp byte [rbp + 0x3f], r15b
je 0x140043330
mov rcx, qword [rbp + 0x27]
call fcn.140037300
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 0x140045f90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045fb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045fb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140029b94
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.14001d134
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d134
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029ce4
cmp rax, 0xffffffffffffffff
je 0x140029ce4
xor edi, edi
test rbp, rbp
jle 0x140029c8f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fdb4
mov rbx, rax
test rax, rax
jne 0x140029c1c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c85
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aad0
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.14001de10
cmp eax, 0xffffffff
je 0x140029c65
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c2c
mov edx, r15d
mov ecx, r14d
call fcn.14001aad0
jmp 0x140029c85
cmp byte [rsi + 0x38], dil
je 0x140029c7c
cmp dword [rsi + 0x34], 5
jne 0x140029c7c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c85
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b414
jmp 0x140029cf8
jns 0x140029cf8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d134
cmp rax, 0xffffffffffffffff
jne 0x140029cb0
cmp byte [rsi + 0x30], dil
je 0x140029cf8
mov edi, dword [rsi + 0x2c]
jmp 0x140029cf8
mov ecx, r14d
call fcn.140019608
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029cf8
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 0x140029cf8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029cf1
mov eax, dword [rsi + 0x2c]
jmp 0x140029cf6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d134
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 0x14002adf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400011c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x140001900
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140013d10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015060
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015080
xor al, al
jmp 0x140015101
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015093
xor al, al
jmp 0x140015101
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400150bd
xor al, al
jmp 0x140015101
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400150d1
xor al, al
jmp 0x140015101
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400150e3
xor al, al
jmp 0x140015101
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400150ff
xor al, al
jmp 0x140015101
mov al, 1
add rsp, 0x38
ret
Function at 0x14001139d
Capabilities:
Create process on windows
Create process suspended
Query environment variable

Disassembly:
jmp 0x140011870
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d8]
mov rax, qword [0x140020380]
xor rax, rbp
mov qword [rbp + 0x658], rax
lea rcx, [0x1400260a2]
call fcn.1400113c0
nop
mov edx, 0x68
lea rcx, [rbp + 0x370]
call fcn.1400112c6
nop
mov edx, 0x18
lea rcx, [rbp + 0x3f8]
call fcn.1400112c6
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, str.WINDIR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140011918
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetEnvironmentVariableA_error:_d
call fcn.1400111b8
nop
mov r9, qword [rbp + 0x680]
lea r8, [rbp + 0x10]
lea rdx, str._sSystem32_s
lea rcx, [rbp + 0x140]
call fcn.140011389
nop
lea rdx, [rbp + 0x140]
lea rcx, str.the_path_is_:__s__n
call fcn.1400111b8
nop
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x370]
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, [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400119ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_error:_d
call fcn.1400111b8
nop
mov eax, 1
jmp 0x1400119f8
mov rax, qword [rbp + 0x688]
mov rcx, qword [rbp + 0x3f8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x690]
mov rcx, qword [rbp + 0x400]
mov qword [rax], rcx
mov r8d, dword [rbp + 0x40c]
mov edx, dword [rbp + 0x408]
lea rcx, str.PID:_d_nID:_d_n
call fcn.1400111b8
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ce70]
call fcn.140011352
mov rax, rdi
mov rcx, qword [rbp + 0x658]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x668]
pop rdi
pop rbp
ret
Function at 0x140012f50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113e8
movzx eax, al
test eax, eax
jne 0x140012f70
mov ecx, 7
call fcn.14001135c
nop
mov byte [rsp + 0x20], 0
call fcn.140011370
mov byte [rsp + 0x21], al
cmp dword [0x140020bf8], 1
jne 0x140012f94
mov ecx, 7
call fcn.14001135c
nop
jmp 0x140012fec
cmp dword [0x140020bf8], 0
jne 0x140012fe7
mov dword [0x140020bf8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111bd
test eax, eax
je 0x140012fc8
mov eax, 0xff
jmp 0x1400130f1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011366
mov dword [0x140020bf8], 2
jmp 0x140012fec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011348
call fcn.1400112da
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013049
mov rcx, qword [rsp + 0x30]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x140013049
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140027020]
nop
call fcn.14001130c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001307d
mov rcx, qword [rsp + 0x38]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x14001307d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113a7
nop
call fcn.1400131a0
mov dword [rsp + 0x28], eax
call fcn.1400112ad
movzx eax, al
test eax, eax
jne 0x14001309c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400130ab
call fcn.1400113b1
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x1400130f1
add rsp, 0x68
ret
Function at 0x140f2d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140f2d1df
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 0x140f2d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f2d06f
add dl, dl
jne 0x140f2d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f2d0f6
xor eax, eax
add dl, dl
jne 0x140f2d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f2d1ad
add dl, dl
jne 0x140f2d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f2d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f2d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f2d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f2d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f2d07e
mov eax, 1
add dl, dl
jne 0x140f2d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f2d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f2d0fb
sub eax, ebx
mov ebx, 1
jne 0x140f2d14c
mov ecx, 1
add dl, dl
jne 0x140f2d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f2d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f2d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f2d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f2d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f2d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f2d15d
cmp eax, 0x7d00
jae 0x140f2d19b
cmp eax, 0x500
jb 0x140f2d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f2d07e
cmp eax, 0x7f
ja 0x140f2d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f2d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f2d1d2
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 0x140f2d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x4177c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41794b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00435f40
xorps xmm15, xmm15
mov r14, qword [0x006dffa0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x417825
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x417834
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x417853
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x417863
cmp rbx, 0x1000
jae 0x41782b
jmp 0x4178cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x417875
xor edx, edx
jmp 0x4178c4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00435f40
xorps xmm15, xmm15
mov r14, qword [0x006dffa0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x417859
jmp 0x417848
call fcn.0046a2c0
xorps xmm15, xmm15
mov r14, qword [0x006dffa0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.0043a2e0
lea rax, [0x0053b2c5]
mov ebx, 0x18
nop dword [rax]
call fcn.0043ab60
mov rax, qword [rsp + 0x38]
call fcn.0043a8a0
lea rax, [0x0053b918]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.0043ab60
mov rax, qword [rsp + 0x30]
call fcn.0043a8a0
call fcn.0043a520
call fcn.0043a340
lea rax, [0x0053e7e0]
mov ebx, 0x21
call fcn.00438840
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004177c0