joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400575a0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140084180]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x14008b110]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x14008b020], ecx
jg 0x140057682
mov eax, ebx
cmp rbx, rax
jne 0x140057644
xor ecx, ecx
test rbx, rbx
setne cl
xor eax, eax
test ebx, ebx
setne al
cmp ecx, eax
jne 0x140057644
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x14008b018]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400576c5
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005f800
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.14000d170
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400572b0
lea rdx, [0x140081160]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x14008b020]
call fcn.14005ff00
cmp dword [0x14008b020], 0xffffffff
jne 0x1400575ec
lea rcx, [0x14008b018]
call fcn.1400571c0
lea rcx, [0x140063f80]
call fcn.14005fa90
nop
lea rcx, [0x14008b020]
call fcn.14005fe90
jmp 0x1400575ec
mov ecx, eax
call fcn.140057710
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x14006e1e8]
lea rcx, [rsp + 0x20]
call fcn.14000d170
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400572b0
lea rdx, [0x140081160]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140058bb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x140058c23
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x140058be2
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x140058c65
sub rsi, rbx
movzx ecx, byte [rsi + rbx]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x140058c51
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140058c80
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x140058d46
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x140058d11
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x140058cc6
test rbx, rbx
je 0x140058d2e
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x140058d1c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140058d50
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140058dfd
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x140058dd5
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x140058d8d
test rbx, rbx
je 0x140058deb
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x140058ddd
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14005efb0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x14005efff
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x14005efd6
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x14006072c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140060776
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140060776
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140060776
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140060776
cmp dword [rcx + 0x84], 0xe
jbe 0x140060776
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140060778
xor al, al
add rsp, 0x28
ret
Function at 0x140001069
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x140001550
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x14000161f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
ja 0x14000168c
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000100f
test eax, eax
jne 0x14000168a
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x14000168e
jmp 0x140001615
xor eax, eax
add rsp, 0x78
ret
Function at 0x14000106e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400010f0
push rdi
sub rsp, 0x80
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x24]
lea rcx, [rsp + 0x40]
call fcn.140001370
mov rcx, rax
call fcn.14000104b
mov rcx, rax
call fcn.14000103c
mov qword [section..data], rax
cmp qword [section..data], 0
jne 0x140001163
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x25]
lea rcx, [rsp + 0x60]
call fcn.1400014b0
mov rcx, rax
call fcn.14000104b
mov rcx, rax
call fcn.14000103c
mov qword [0x140006010], rax
cmp qword [0x140006010], 0
jne 0x1400011db
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.14000105f
call fcn.140001028
nop
mov rax, qword [0x140006020]
mov qword [rsp + 0x30], rax
mov ecx, 0x23
call qword [rsp + 0x30]
cwde
test eax, eax
jne 0x14000124d
mov rax, qword [0x140006020]
mov qword [rsp + 0x38], rax
mov ecx, 0x2d
call qword [rsp + 0x38]
cwde
and eax, 1
test eax, eax
je 0x140001245
movzx eax, byte [0x140006039]
test eax, eax
jne 0x140001232
mov dword [rsp + 0x28], 1
jmp 0x14000123a
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [0x140006039], al
call fcn.14000105a
nop
jmp 0x1400011e6
call fcn.14000101e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400010f0
Capabilities:
Terminate process

Disassembly:
jmp 0x1400010f0
push rdi
sub rsp, 0x80
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x24]
lea rcx, [rsp + 0x40]
call fcn.140001370
mov rcx, rax
call fcn.14000104b
mov rcx, rax
call fcn.14000103c
mov qword [section..data], rax
cmp qword [section..data], 0
jne 0x140001163
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x25]
lea rcx, [rsp + 0x60]
call fcn.1400014b0
mov rcx, rax
call fcn.14000104b
mov rcx, rax
call fcn.14000103c
mov qword [0x140006010], rax
cmp qword [0x140006010], 0
jne 0x1400011db
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.14000105f
call fcn.140001028
nop
mov rax, qword [0x140006020]
mov qword [rsp + 0x30], rax
mov ecx, 0x23
call qword [rsp + 0x30]
cwde
test eax, eax
jne 0x14000124d
mov rax, qword [0x140006020]
mov qword [rsp + 0x38], rax
mov ecx, 0x2d
call qword [rsp + 0x38]
cwde
and eax, 1
test eax, eax
je 0x140001245
movzx eax, byte [0x140006039]
test eax, eax
jne 0x140001232
mov dword [rsp + 0x28], 1
jmp 0x14000123a
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [0x140006039], al
call fcn.14000105a
nop
jmp 0x1400011e6
call fcn.14000101e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140001550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x140001550
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x14000161f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
ja 0x14000168c
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000100f
test eax, eax
jne 0x14000168a
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x14000168e
jmp 0x140001615
xor eax, eax
add rsp, 0x78
ret

Function at 0x1400016f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x1400016f0
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
je 0x14000177d
mov rax, qword [rsp + 0x20]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x60], 0
je 0x14000176e
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x60]
call fcn.140001019
test eax, eax
jne 0x14000176e
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
jmp 0x14000177f
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
jmp 0x140001726
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400024c0
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1400024c0
push rsi
push rdi
sub rsp, 0x118
mov dword [rsp + 0xa0], 0x50
mov dword [rsp + 0xa4], 2
lea rax, [0x140001032]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0xb4], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x61]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x60]
movzx r8d, byte [rsp + 0x61]
movzx edx, byte [rsp + 0x64]
lea rcx, [rsp + 0xf0]
call fcn.140002c20
mov rcx, rax
call fcn.140001005
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], 0
lea rax, [0x140006060]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x50
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x140006060]
call qword [sym.imp.USER32.dll_RegisterClassExA]
nop
mov rax, qword [0x140006078]
mov qword [rsp + 0x70], rax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x68], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x63]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x62]
movzx r8d, byte [rsp + 0x63]
movzx edx, byte [rsp + 0x65]
lea rcx, [rsp + 0x100]
call fcn.140002c90
mov rcx, rax
call fcn.140001005
mov qword [rsp + 0x78], rax
mov rax, qword [0x1400060a0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov ecx, 8
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140006050], rax
mov edx, 0xa
mov rcx, qword [0x140006050]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140006050]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r8d, 0x80028
mov edx, 0xffffffec
mov rcx, qword [0x140006050]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [rsp + 0x90], 0xffffffff
lea rax, [rsp + 0x94]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [0x140006030]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [0x140006050]
call qword [rsp + 0x88]
nop
call fcn.140001037
movzx eax, al
test eax, eax
jne 0x140002758
mov rdx, qword [0x140006078]
mov rcx, qword [0x1400060a0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor al, al
jmp 0x14000275a
mov al, 1
add rsp, 0x118
pop rdi
pop rsi
ret
Function at 0x14000adb8
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 0x14000ade6
xor eax, eax
jmp 0x14000aecc
cmp qword [rcx + 0x68], 0
je 0x14000adf7
call fcn.14000aee8
jmp 0x14000aecc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ae0e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000ae10
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000ae42
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140026db0
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 0x14000aec6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000ae79
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 0x14000aea2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140013a94
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000aec6
cmp rsi, rbx
ja 0x14000ae80
test rsi, rsi
je 0x14000aec6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140013a94
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 0x14000c564
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400291c0]
test rax, rax
je 0x14000c5ae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c5ae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c5ae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c5ae
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c5ae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c5b0
xor al, al
add rsp, 0x28
ret
Function at 0x140014fcc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001503b
xor ecx, ecx
call qword [0x1400291c0]
test rax, rax
je 0x14001503b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001503b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001503b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001503b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001503b
cmp dword [rcx + 0xf8], 0
je 0x14001503b
mov ecx, ebx
call fcn.1400150f8
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.140014ec8
nop
cmp dword [rbp + 0x20], 0
je 0x140015089
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140015094
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140014fcc

Function at 0x1400151dc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140014fcc
Function at 0x14001df20
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 0x14001df52
call fcn.140014728
mov dword [rax], 0x16
call fcn.140011598
jmp 0x14001e071
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001e071
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14001e071
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14001df81
lock or dword [rcx + 0x14], 0x10
jmp 0x14001e071
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14001df95
call fcn.14001f584
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14001199c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14001ed00
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14001e05f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14001e02a
mov rcx, rsi
call fcn.14001199c
cmp eax, edi
je 0x14001e015
mov rcx, rsi
call fcn.14001199c
cmp eax, 0xfffffffe
je 0x14001e015
mov rcx, rsi
call fcn.14001199c
movsxd rbx, eax
lea r14, [0x14003da80]
mov rcx, rsi
sar rbx, 6
call fcn.14001199c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14001e01c
lea rdx, [0x14003b450]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001e02a
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14001e04e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14001e04e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14001e04e
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 0x14001e074
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 0x140026b20
Capabilities:
Parse pe header

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