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

Disassembly:
call fcn.14106971b
mov ecx, 0x74801e81
lea rcx, [rcx + rcx*8 - 0x3f0edeb]
movsx edx, cl
mov edx, dword [rdi]
mov cl, byte [rdi + 4]
call fcn.14106f3be
mov ebp, 0x6ebadd8d
call fcn.14109ed81
mov rdx, qword [rdi]
push 0x6b3c3d9b
add rdi, 8
mov qword [rsp], rdx
jmp 0x141082048
popfq
jmp fcn.14106292d
mov rax, qword [r9]
mov rdx, qword [r9 + 8]
add r9, 0xc
xor r8d, r8d
test rdx, rdx
lea rsp, [rsp + 8]
je 0x141085db3
mov r11d, 0x1c144a07
push rdi
lea rdi, [0x14106c048]
mov r11d, 0x832e88ad
movzx r11d, byte [rax]
push 0x47162298
xor r11d, r8d
and r11d, 0xff
mov r11d, dword [rdi + r11*4]
rol word [rsp + 3], 0xa8
shr r8d, 8
xor r8d, r11d
dec byte [rsp + 4]
inc rax
xor r8d, 0xdf881b03
or word [rsp + 4], 0x959a
dec rdx
lea rsp, [rsp + 8]
jne 0x141085d60
mov edi, 0x6a12f397
pop rdi
jmp 0x141078e9f

Function at 0x1410865c4
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xd5b05511
mov rdx, qword [r11 + 8]
add r11, 8
call fcn.141075768
movzx edx, word [rdx + r8 - 0x55ad6723]
add r8, 2
mov ecx, 0xe829a62d
xor rcx, 0xffffffffccb37313
jne 0x1410865bb
xor dx, r10w
call fcn.141093c8d
mov edi, 0x4e314db8
push rdi
mov rdi, qword [rbp + rdi - 0x4e314db8]
mov r9, qword [rbp + 8]
shl byte [rsp + 7], 0xe5
adc rbp, 0xc
xor r10d, r10d
test r9, r9
not word [rsp + 5]
push 0x70b0e188
lea rsp, [rsp + 0x10]
je 0x141086660
mov ecx, 0xb7a2d488
and cx, 0xe80a
push r11
jo 0x14105e3b8
lea rcx, [0x141061ee8]
movzx r11d, byte [rdi]
xor r11d, r10d
and r11d, 0xff
push 0xffffffffd39b6281
rol byte [rsp + 4], 3
not dword [rsp]
mov r11d, dword [rcx + r11*4]
shr r10d, 8
xor r10d, r11d
sar word [rsp + 3], 0xc1
inc rdi
xor r10d, 0x2f0adb3c
sub byte [rsp], 0x13
dec r9
lea rsp, [rsp + 8]
jne 0x141086616
pop r11
not r10d
push 0xffffffffe3922a98
mov dword [rbp + riz], r10d
lea rsp, [rsp + 8]
jmp 0x141099dac
call fcn.14109d023
mov edx, 0x55ad6723
jmp 0x141074863

Function at 0x141091fc7
Capabilities:
Encode data using xor

Disassembly:
mov r8d, 0x5ba226be
push rbx
movsx ebx, r8b
lea r8, [0x14107f728]
mov ebx, 0xd00f1f1a
sal ebx, 0x77
shr rbx, 8
movzx ebx, byte [rdx + rbx - 0x8d0000]
push 0xffffffff9da3b308
xor ebx, esi
and ebx, 0xff
mov ebx, dword [r8 + rbx*4]
rol byte [rsp + 6], 0xa6
shr esi, 8
xor esi, ebx
inc rdx
xor esi, 0xb5959c84
dec rbp
mov word [rsp + 2], 0xf32c
lea rsp, [rsp + 8]
jne 0x14109005c
pop rbx
not esi
mov dword [rdi], esi
call fcn.141082eb4
adc rdi, 0xc
push 0xffffffffc6249d13
xor esi, esi
test rbp, rbp
lea rsp, [rsp + 0x18]
je 0x1410900aa
jmp 0x14109004a
Function at 0x2fc4d24a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d2ea2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f7108]
test eax, eax
je 0x2fc4d2f3a
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f7110]
mov qword [rbp - 8], rax
jmp 0x2fc4d2f1e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d2f12
cmp qword [rbp - 0x10], 0
je 0x2fc4d2f12
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2ed8
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d2f3b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3040
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3068
mov eax, 0
jmp 0x2fc4d30b6
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 0x2fc4d3091
mov eax, 0
jmp 0x2fc4d30b6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d30b1
mov eax, 0
jmp 0x2fc4d30b6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d30bc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d313a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d3131
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d3131
mov rax, qword [rbp - 8]
jmp 0x2fc4d314f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d3104
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001a94
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rcx
mov esi, 0x800
mov r8d, esi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
cmp dword [0x1400238b8], 0
jne 0x140001b69
lea rcx, str.DEPLOY_TRACE_NATIVE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001b69
call fcn.140001a2c
mov rbx, rax
test rax, rax
je 0x140001b69
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
lea r9, str._s_s_s__ld.trace
mov qword [rsp + 0x30], rdi
mov r8d, esi
lea rax, [0x14001368c]
mov edx, esi
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
call fcn.140003804
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [0x1400136a4]
lea rcx, [rsp + 0x40]
call fcn.1400019f4
mov ecx, dword [0x1400238b8]
test rax, rax
mov edx, 1
invalid
invalid
Function at 0x14000a3c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000a41d
lea rbx, [0x140042e90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000a404
cmp r10, 2
jb 0x14000a404
cmp byte [r9], r8b
jne 0x14000a404
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000a3e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000a45f
lea rbx, [0x140042e90]
cmp r8b, 0x23
jne 0x14000a443
cmp byte [r9], r8b
jne 0x14000a443
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000a430
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000a5a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000a5ba
mov qword [r8], 0
lea rdx, [0x140042a94]
call fcn.14000a470
mov rbx, rax
test rax, rax
jne 0x14000a5da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000a6b1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a6b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000a6b1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a6b1
cmp rdi, 0xffffffffffffffff
je 0x14000a6b1
mov rax, qword [0x1401bd3b0]
test rax, rax
je 0x14000a64e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000a6b1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000a69e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401bd3b0]
test rax, rax
je 0x14000a693
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000a6ba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000a6ac
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000a6bc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000cb70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140042e90]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1401bd3b0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x14000cc06
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001eeb0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400190d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004f040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401bd3b0]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x140019131
cmp byte [rbx + 0x423e], 0
jne 0x140019131
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000a280
test dil, 1
je 0x140019258
jmp 0x1400191ba
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140047d9c]
mulss xmm1, dword [0x140047d7c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fa8], rax
mov dword [rbx + 0x3f94], 1
movss dword [rbx + 0x3fa0], xmm0
movss dword [rbx + 0x3fa4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x140047c88]
or dword [rbx + 0x3f90], 0x41
movss dword [rbx + 0x3ff0], xmm0
call fcn.14000a280
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019210
lea r11, [0x140042e90]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400191f3
cmp byte [r8], r9b
jne 0x1400191f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400191e0
not ecx
call fcn.140012160
test rax, rax
je 0x140019258
cmp byte [rax + 0x96], 0
je 0x140019258
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.14000a280
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400148c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003e3a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001da80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001db27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001dada
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001fb20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000aa00
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401bd3a8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001db2f
mov rcx, rbx
call fcn.14000aa00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e0a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401bd3b0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001e103
mov qword [rsp], rbx
lea rbx, [0x140042e90]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001e0e3
cmp byte [r8], r9b
jne 0x14001e0e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001e0d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001e137
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001e13e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001e124
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14003de10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x14004f040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x14003a7d0]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x140039770]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, [0x14004759c]
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rsi - 0x14]
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
lea r9d, [rsi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140047e80]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.14003a180
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.14003da20
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14003e3a0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14003f0a0
Capabilities:
Parse pe header

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

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140003f5a
xor eax, eax
jmp 0x140004040
cmp qword [rcx + 0x68], 0
je 0x140003f6b
call fcn.14000405c
jmp 0x140004040
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003f82
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003f84
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003fb6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140007070
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000403a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140003fed
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140004016
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000c878
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000403a
cmp rsi, rbx
ja 0x140003ff4
test rsi, rsi
je 0x14000403a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000c878
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140005f40
Capabilities:
Parse pe header

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

Function at 0x140011b24
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140011914
Function at 0x1400168f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140016922
call fcn.14000e258
mov dword [rax], 0x16
call fcn.14000ba44
jmp 0x140016a41
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140016a41
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140016a41
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140016951
lock or dword [rcx + 0x14], 0x10
jmp 0x140016a41
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140016965
call fcn.1400180a0
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14001592c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400176d0
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140016a2f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400169fa
mov rcx, rsi
call fcn.14001592c
cmp eax, edi
je 0x1400169e5
mov rcx, rsi
call fcn.14001592c
cmp eax, 0xfffffffe
je 0x1400169e5
mov rcx, rsi
call fcn.14001592c
movsxd rbx, eax
lea r14, [0x1400373b0]
mov rcx, rsi
sar rbx, 6
call fcn.14001592c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400169ec
lea rdx, [0x1400353d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400169fa
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140016a1e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140016a1e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140016a1e
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140016a44
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140016d6c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140005820
sub rsp, rax
mov rax, qword [0x140035020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001592c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140016dbb
mov rax, rbp
jmp 0x140016ec3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x373b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140017ea8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x373b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140016ebf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140016ebf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140017ea8
test rax, rax
js 0x140016ebf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140016ebf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140016eb1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140016eb1
cmp byte [rcx], 0xd
jne 0x140016e97
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140016ea6
cmp byte [rcx + 1], 0xa
jne 0x140016ea6
inc rcx
jmp 0x140016ea6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x35420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140016e79
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140016ec3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400051c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret