joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c180
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403c23
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409700
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403c00
cmp byte [0x005c548d], 0
je 0x46c195
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x4693c0
jmp 0x403c00

Function at 0x46c1a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x005c5768]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c5760]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c548d], 0
je 0x46c1d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c5aa0]
aesenc xmm0, xmmword [0x005c5ab0]
aesenc xmm0, xmmword [0x005c5ac0]
movq rax, xmm0
ret
jmp 0x4098e0

Function at 0x46c1e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x005c5768]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c5760]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c548d], 0
je 0x46c216
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c5aa0]
aesenc xmm0, xmmword [0x005c5ab0]
aesenc xmm0, xmmword [0x005c5ac0]
movq rax, xmm0
ret
jmp 0x409920

Function at 0x46dfa0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46dfd4
mov rcx, 0x28
jmp 0x46dfdf
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c56b0], rcx
pop rbp
ret
Function at 0x485260
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48599f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48528d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x485511
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48553d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e5e40]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004a5900]
lea rbx, [0x004e4b20]
call fcn.00464c60
inc rax
cmp rax, r8
jge 0x485562
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x485597
lea rdi, [0x004a5980]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x485283
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48557b
jmp 0x485550
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046a380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00485260

Function at 0x485b40
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x485b57
inc rax
cmp rax, 4
jge 0x485b6f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x485b54
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x485b80
inc rax
cmp rax, 4
jge 0x485b8e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x485bb7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x485b9b
jmp 0x485b7d

Function at 0x489660
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48972a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403180
xorps xmm15, xmm15
mov r14, qword [0x005c56b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48970f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004a5a00]
xor ebx, ebx
mov rcx, rdx
call fcn.00466000
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0048a080
inc rbx
cmp rcx, rbx
jae 0x4896fe
mov edi, 1
lea rsi, [0x004a5a00]
call fcn.004660e0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004e4c08]
lea rsi, [0x004e4470]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00489660
Function at 0x48d160
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48d20c
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call fcn.00403180
xorps xmm15, xmm15
mov r14, qword [0x005c56b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x48d1d3
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.0044d180
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x48d1e6
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x48d1f9
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x48d1e3
mov byte [rax + rcx], dl
jmp 0x48d1e3
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.004668a0
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call fcn.0046a380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp fcn.0048d160
Function at 0x140012130
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov word [rsp + 0x30], 0
movzx eax, byte [rcx]
test al, al
je 0x1400121f6
mov rdi, rcx
mov r15d, 0x28
lea r12, [rsp + 0x30]
lea rbx, [rsp + 0x2a]
lea r14, [rsp + 0x2e]
nop
mov byte [rsp + 0x2e], al
mov byte [rsp + 0x2f], 0
mov r8d, 2
mov rcx, rbx
mov rdx, r14
call fcn.14001aaac
cmp rax, 1
jne 0x140012226
cmp word [r12], 0
mov rcx, r15
mov rax, r12
je 0x1400121d1
mov rdx, r12
mov rcx, r15
nop dword [rax + rax]
lea rax, [rdx + 2]
dec rcx
cmp word [rdx + 2], 0
mov rdx, rax
jne 0x1400121c0
test rcx, rcx
je 0x140012226
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
mov word [rax + 2], 0
add r12, 2
dec r15
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140012180
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140014440
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14001aa30
int3
Function at 0x140012ae0
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [0x140040b08]
test rcx, rcx
je 0x140012b4a
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140012b3d
mov rcx, qword [0x140040b08]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140040b08]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140043350], 1
jne 0x140012bf7
mov rbx, qword [0x14002f060]
mov qword [rsp + 0x50], rbx
movups xmm6, xmmword [0x14002f050]
movaps xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [0x14002f040]
movaps xmmword [rsp + 0x30], xmm7
movups xmm8, xmmword [0x14002f030]
movaps xmmword [rsp + 0x20], xmm8
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebp, 0x14
lea rdi, [0x140040b20]
mov r14, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
mov r12, qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop dword [rax + rax]
mov rcx, rdi
call r14
cmp eax, 0xffffffff
je 0x140012bf7
and eax, 0x10
je 0x140012bf7
mov ecx, 0x64
call r15
mov qword [rsp + 0x50], rbx
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
mov rcx, rsi
call r12
dec ebp
jne 0x140012bc0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140014440
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140014280
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x2030
call fcn.1400143e0
sub rsp, rax
mov rsi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2028], rax
mov eax, dword [0x140040b10]
test eax, eax
je 0x1400142b5
test eax, eax
jg 0x1400142fd
jmp 0x140014332
lea rdx, [0x140035436]
lea rcx, [rsp + 0x20]
mov r8d, 0x1000
call fcn.1400123e0
test al, al
je 0x1400143ba
lea rcx, [rsp + 0x20]
call fcn.14001a754
movsxd rcx, dword [0x140040b10]
lea rdx, [0x140045b90]
mov qword [rdx + rcx*8], rax
lea eax, [rcx + 1]
mov dword [0x140040b10], eax
test eax, eax
jle 0x140014332
lea rdi, [0x140045b90]
xor ebx, ebx
nop word cs:[rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.14001b3b0
test eax, eax
je 0x14001439b
inc rbx
movsxd rax, dword [0x140040b10]
add rdi, 8
cmp rbx, rax
jl 0x140014310
mov rcx, rsi
call fcn.14001b3e8
cmp rax, 2
jne 0x140014349
mov bl, 1
cmp word [rsi + 2], 0x3a
je 0x14001439d
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x140014368
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
test bl, bl
je 0x14001439d
cmp dword [0x140040b10], 0x3ff
jg 0x14001439d
mov rcx, rsi
call fcn.14001a754
movsxd rcx, dword [0x140040b10]
lea rdx, [0x140045b90]
mov qword [rdx + rcx*8], rax
lea eax, [rcx + 1]
mov dword [0x140040b10], eax
mov bl, 1
mov rcx, qword [rsp + 0x2028]
xor rcx, rsp
call fcn.140014440
mov eax, ebx
add rsp, 0x2030
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140035436]
call fcn.1400137d0
int3

Function at 0x140014bb0
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019668
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 0x1400196d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400196d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400196d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400196d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400196d7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400196d7
cmp dword [rcx + 0xf8], 0
je 0x1400196d7
mov ecx, ebx
call fcn.1400195a0
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.1400197fc
nop
cmp dword [rbp + 0x20], 0
je 0x140019725
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140019634
int3

Function at 0x140019668
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019668
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 0x1400196d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400196d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400196d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400196d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400196d7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400196d7
cmp dword [rcx + 0xf8], 0
je 0x1400196d7
mov ecx, ebx
call fcn.1400195a0
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.1400197fc
nop
cmp dword [rbp + 0x20], 0
je 0x140019725
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140019634
int3

Function at 0x14001b870
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001b898
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001b898
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14002111c
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 0x1400211a3
mov rsi, rbx
cmp word [rax], bp
je 0x140021162
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002114c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140021148
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001e644
mov rdi, rax
test rax, rax
je 0x140021190
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14002a310
mov rbp, rdi
xor ecx, ecx
call fcn.14001d6f4
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 0x140026010
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140026026
mov al, 1
jmp 0x140026086
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140026037
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140026084
mov ecx, dword [rcx + 0x18]
nop
call fcn.140021614
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140026084
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140026084
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140026084
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140026086
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400153e0
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 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012f10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012f30
xor al, al
jmp 0x140012fb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012f43
xor al, al
jmp 0x140012fb1
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 0x140012f6d
xor al, al
jmp 0x140012fb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012f81
xor al, al
jmp 0x140012fb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012f93
xor al, al
jmp 0x140012fb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012faf
xor al, al
jmp 0x140012fb1
mov al, 1
add rsp, 0x38
ret

Function at 0x140011d10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a7
movzx eax, al
test eax, eax
jne 0x140011d30
mov ecx, 7
call fcn.14001131b
nop
mov byte [rsp + 0x20], 0
call fcn.14001132f
mov byte [rsp + 0x21], al
cmp dword [0x14001c220], 1
jne 0x140011d54
mov ecx, 7
call fcn.14001131b
nop
jmp 0x140011dac
cmp dword [0x14001c220], 0
jne 0x140011da7
mov dword [0x14001c220], 1
lea rdx, [0x140019660]
lea rcx, [0x140019330]
call fcn.1400111a4
test eax, eax
je 0x140011d88
mov eax, 0xff
jmp 0x140011eb1
lea rdx, [0x140019220]
lea rcx, [section..rdata]
call fcn.140011325
mov dword [0x14001c220], 2
jmp 0x140011dac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001130c
call fcn.1400112a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140011e09
mov rcx, qword [rsp + 0x30]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140011e09
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 [0x140023020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140011e3d
mov rcx, qword [rsp + 0x38]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140011e3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011361
nop
call fcn.140011f60
mov dword [rsp + 0x28], eax
call fcn.140011285
movzx eax, al
test eax, eax
jne 0x140011e5c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011e6b
call fcn.14001136b
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x140011eb1
add rsp, 0x68
ret
Function at 0x1400114f1
Capabilities:
Terminate process

Disassembly:
jmp 0x14001ef00
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 0x14001164f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020250
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020270
xor al, al
jmp 0x1400202f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020283
xor al, al
jmp 0x1400202f1
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 0x1400202ad
xor al, al
jmp 0x1400202f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400202c1
xor al, al
jmp 0x1400202f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400202d3
xor al, al
jmp 0x1400202f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400202ef
xor al, al
jmp 0x1400202f1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001e050
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001194c
movzx eax, al
test eax, eax
jne 0x14001e070
mov ecx, 7
call fcn.140011767
nop
mov byte [rsp + 0x20], 0
call fcn.1400117b2
mov byte [rsp + 0x21], al
cmp dword [0x14002fea8], 1
jne 0x14001e094
mov ecx, 7
call fcn.140011767
nop
jmp 0x14001e0ec
cmp dword [0x14002fea8], 0
jne 0x14001e0e7
mov dword [0x14002fea8], 1
lea rdx, [0x140027660]
lea rcx, [0x140027330]
call fcn.140011433
test eax, eax
je 0x14001e0c8
mov eax, 0xff
jmp 0x14001e1f1
lea rdx, [0x140027220]
lea rcx, [section..rdata]
call fcn.140011799
mov dword [0x14002fea8], 2
jmp 0x14001e0ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011744
call fcn.14001167c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001e149
mov rcx, qword [rsp + 0x30]
call fcn.14001136b
movzx eax, al
test eax, eax
je 0x14001e149
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 [0x140038020]
nop
call fcn.1400116e5
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001e17d
mov rcx, qword [rsp + 0x38]
call fcn.14001136b
movzx eax, al
test eax, eax
je 0x14001e17d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400118d4
nop
call fcn.14001e2a0
mov dword [rsp + 0x28], eax
call fcn.14001164f
movzx eax, al
test eax, eax
jne 0x14001e19c
mov ecx, dword [rsp + 0x28]
call fcn.1400110af
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001e1ab
call fcn.1400118e8
nop
xor edx, edx
mov cl, 1
call fcn.140011339
mov eax, dword [rsp + 0x28]
jmp 0x14001e1f1
add rsp, 0x68
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400097d0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400097e0]
mov dword [rax], 1
mov rax, qword [0x1400097f0]
mov dword [rax], 1
mov rax, qword [0x140009750]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400097c0]
mov dword [0x14000c00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400098a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140009880]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140009730]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a