joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421040
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x42127b
test rdi, rdi
je 0x42107a
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x4210f0
test ebx, ebx
je 0x4210e8
mov ecx, 0x14
call r14
cmp ebx, 4
je 0x4210f0
add ebx, 1
jmp 0x4210b5
xor ecx, ecx
call r13
jmp 0x4210df
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.replace_spin_keys.constprop.0
cmp qword [r12 + 0x30], 0
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x42125c
xor edx, edx
test rsi, rsi
je 0x421156
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x421290
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x421228
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x421200
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x4211e0
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4211c6
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x42119c
mov edx, 0xf
cmp eax, 0xe
jg 0x42119c
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x42119c
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x421238
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.replace_spin_keys.constprop.0
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x421268
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
jne 0x42127b
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x421156

Function at 0x4218c0
Capabilities:
Check mutex on windows

Disassembly:
xor r8d, r8d
mov edx, 4
lea rcx, str.dummy_concurrency_level_shmem
jmp sym.__shmem_winpthreads_grab
Function at 0x421fb0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov rsi, r8
mov r12, rcx
movsxd rbx, edx
call sym.strlen
mov r8, rax
lea eax, [rax + 0xf]
mov dword [rbp - 0x54], eax
lea eax, [r8 + 0x51]
lea edi, [r8 + 0x10]
cdqe
lea r15d, [r8 + 0x50]
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.00410850
movabs rcx, 0x656d68732d636367
sub rsp, rax
movsxd r13, r8d
mov rdx, r12
mov eax, 0x326d
mov r8, r13
mov qword [rsp + 0x20], rcx
lea r14, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x2e], 0x2d
call sym.memcpy
lea rax, [r14 + r13 + 0x10]
movsxd r12, dword [rbp - 0x54]
mov r8, r14
movabs rdx, 0x6161616161616161
movabs rcx, 0x6161616161616161
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rdx
xor edx, edx
mov qword [rax + 0x38], rcx
movsxd rax, r15d
xor ecx, ecx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + r12 + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + r12 + 0x20], 0x2d
mov edx, 0xffffffff
mov r13, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4220ae
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
je 0x422100
mov rdx, r14
movzx ecx, ax
mov r9d, edi
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov r14, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
lea rsp, [rbp - 0x48]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rbx
call sym.malloc
mov r12, rax
mov eax, 0x40
bt r12, rax
jae 0x422123
mov edx, r15d
sub edx, eax
movsxd rdx, edx
mov byte [r14 + rdx], 0x41
sub eax, 1
jne 0x422110
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
jne 0x422137
int3
mov rdx, r14
movzx ecx, ax
mov r9d, edi
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov r14, rax
cmp r12, rax
je 0x42215d
mov rcx, r12
call sym.free
jmp 0x4220d0
xor edx, edx
mov r8, rbx
mov rcx, rax
call sym.memset
test rsi, rsi
je 0x4220d0
mov rcx, r14
call rsi
jmp 0x4220d0

Function at 0x422580
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_rwl_global_shmem]
mov edx, 8
lea rcx, str.rwl_global_shmem
jmp sym.__shmem_winpthreads_grab

Function at 0x422650
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_rwlock]
mov edx, 8
lea rcx, str.cond_locked_shmem_rwlock
jmp sym.__shmem_winpthreads_grab

Function at 0x423530
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init_init]
mov edx, 8
lea rcx, str.init
jmp dbg.__shmem_grab

Function at 0x423550
Capabilities:
Check mutex on windows

Disassembly:
xor r8d, r8d
mov edx, 0x10
lea rcx, str.eh_globals
jmp dbg.__shmem_grab
Function at 0x423cd0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___terminate_handler_sh]
mov edx, 8
lea rcx, str.__terminate_handler_sh
jmp dbg.__shmem_grab

Function at 0x423cf0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___unexpected_handler_sh]
mov edx, 8
lea rcx, str.__unexpected_handler_sh
jmp dbg.__shmem_grab

Function at 0x425770
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x42579c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x426400
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x30
cmp byte [0x004bde50], 0
jne 0x42650a
mov byte [0x004bde50], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x4264e0
mov r12, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [r12], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add r12, rax
mov rcx, r12
call sym.__cxa_demangle
mov ecx, 2
mov rbx, qword [dbg.__acrt_iob_func]
mov r13, rax
call rbx
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x4264d1
call rbx
mov rcx, r12
mov rdx, rax
call sym.fputs
mov ecx, 2
call rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x004bfc11]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x4264cc
mov rcx, r13
call sym.free
call sym.__cxa_rethrow
call rbx
mov rcx, r13
mov rdx, rax
call sym.fputs
jmp 0x42649b
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x42659f
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sym.fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x426505
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x426505

Function at 0x47ff20
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x47ff47
call rbp
cmp dword [rax], 4
jne 0x47ff64
mov rcx, rdi
call method.std::__basic_file_char_.fd__
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sym.read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x47ff40
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001620
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.140001870
test eax, eax
js 0x14000185e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x1400016ad
lea r8, [rbx + 8]
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop word [rax + rax]
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x140001660
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x14000185c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
mov r8d, dword [r10 + 0xe]
lea r10, [r10 + 0x10]
mov eax, r8d
inc r11d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x299320]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x298b20]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x298720]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10 + 3]
xor r9d, dword [rdi + rcx*4 + 0x298f20]
movzx edx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10 + 4]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov r8d, dword [rdi + rdx*4 + 0x298b20]
movzx ecx, byte [rdi + rax*4 + 0x299720]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x298f20]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x299320]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10 + 7]
xor r8d, dword [rdi + rcx*4 + 0x298720]
movzx edx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10 + 8]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x298b20]
movzx ecx, byte [rdi + rax*4 + 0x299720]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x298f20]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x299320]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x298720]
movzx edx, byte [rdi + rax*4 + 0x299720]
movzx eax, byte [r10 + 0xc]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x298b20]
movzx ecx, byte [rdi + rax*4 + 0x299720]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x298f20]
movzx ecx, byte [rdi + rax*4 + 0x299720]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x299320]
movzx ecx, byte [rdi + rax*4 + 0x299720]
xor r8d, dword [rdi + rcx*4 + 0x298720]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x1400016d0
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400075a0
Capabilities:
Hash data with md5

Disassembly:
lea rax, vtable.CMD5Checksum.0
mov qword [rcx], rax
xor eax, eax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov rax, rcx
mov dword [rcx + 0x50], 0x67452301
mov dword [rcx + 0x54], 0xefcdab89
mov dword [rcx + 0x58], 0x98badcfe
mov dword [rcx + 0x5c], 0x10325476
ret
Function at 0x14000d7e0
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, r8
xor ebx, ebx
call fcn.14000b0e0
mov rdi, rax
test rax, rax
je 0x14000d85a
lea rcx, [rsp + 0x30]
call fcn.140047b10
mov rdx, rax
mov rcx, rdi
call fcn.14000b250
test rax, rax
je 0x14000d837
mov r8, rsi
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
mov ebx, eax
mov rcx, rdi
call fcn.14000b1d0
nop
lea rdi, [rsp + 0x30]
xor eax, eax
mov ecx, 0x16
rep stosb byte [rdi], al
lea rdi, [rsp + 0x46]
mov ecx, 0x2c
rep stosb byte [rdi], al
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400131b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400131e3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14001322a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140013225
nop
cmp rbx, rcx
jae 0x14001322a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140013210
cmp rbx, rcx
jb 0x14001322e
xor eax, eax
jmp 0x14001323a
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004f396
Capabilities:
Authenticate hmac

Disassembly:
call 0x12e44d9df
out 0x42, eax
loop 0x14004f3e4
out 0x45, al
invalid
fnstsw word [rdi]
fisttp word [rax - 0x27]
fiadd dword [rbp - 0x1a]
jrcxz 0x14004f439
jrcxz 0x14004f428
jns 0x14004f447
jp 0x14004f459
xor byte [r8 + r14*2 + 0x38], dl
sub byte [rax + 0x70], ah
insd dword [rdi], dx
push bp
jns 0x14004f454
and dword [rdi], esi
jne 0x14004f45a
push rbp
cdq
movsb byte [rdi], byte [rsi]
movabs eax, dword [0x3b4c6d31695555a8]
push rbp
push rbp
imul esi, dword [rcx], 0x793b4c6d
invalid
and byte [rdi], dil
pop rsi
and bh, byte [rax - 0x4ed547d7]
invalid
mov al, 0x1f
mov dh, 0x25
mov bl, 0x2b
mov ebp, 0xb826bc2b
xor byte [rdi + rcx*2 + 0x72], bl
imul esp, dword [rsp + rdx*2], 0x69
pop rsp
pop rsp
and esi, dword [rbp + 0x62]

Function at 0x14004f3ae
Capabilities:
Authenticate hmac

Disassembly:
pop rdx
jo 0x14004f417
imul cx, word es:[rdi + 0x29], 0x5371
push r14
xor qword [r14], r15
invalid
movsd dword [rdi], dword [rsi]
popfq
lodsd eax, dword [rsi]
cwde
mov cl, 0x97
movsb byte [rdi], byte [rsi]
wait
Function at 0x14004f3f1
Capabilities:
Authenticate hmac

Disassembly:
call 0x12e44d9df
out 0x42, eax
loop 0x14004f3e4
out 0x45, al
invalid
fnstsw word [rdi]
fisttp word [rax - 0x27]
fiadd dword [rbp - 0x1a]
jrcxz 0x14004f439
jrcxz 0x14004f428
jns 0x14004f447
jp 0x14004f459
xor byte [r8 + r14*2 + 0x38], dl
sub byte [rax + 0x70], ah
insd dword [rdi], dx
push bp
jns 0x14004f454
and dword [rdi], esi
jne 0x14004f45a
push rbp
cdq
movsb byte [rdi], byte [rsi]
movabs eax, dword [0x3b4c6d31695555a8]
push rbp
push rbp
imul esi, dword [rcx], 0x793b4c6d
invalid
and byte [rdi], dil
pop rsi
and bh, byte [rax - 0x4ed547d7]
invalid
mov al, 0x1f
mov dh, 0x25
mov bl, 0x2b
mov ebp, 0xb826bc2b
xor byte [rdi + rcx*2 + 0x72], bl
imul esp, dword [rsp + rdx*2], 0x69
pop rsp
pop rsp
and esi, dword [rbp + 0x62]

Function at 0x14004f408
Capabilities:
Authenticate hmac

Disassembly:
wait
stosd dword [rdi], eax
movabs dword [0xa4a3a3ae9db19dac], eax
cmpsb byte [rsi], byte [rdi]
wait
cmpsd dword [rsi], dword [rdi]
movabs al, byte [0x9ba497b198ad9da5]
movsd dword [rdi], dword [rsi]
cwde
cmpsb byte [rsi], byte [rdi]
cdq
movabs dword [0xa8a1a499a9a5a7a1], eax

Function at 0x14004f42c
Capabilities:
Authenticate hmac

Disassembly:
call 0x12e44d9df
out 0x42, eax
loop 0x14004f3e4
out 0x45, al
invalid
fnstsw word [rdi]
fisttp word [rax - 0x27]
fiadd dword [rbp - 0x1a]
jrcxz 0x14004f439
jrcxz 0x14004f428
jns 0x14004f447
jp 0x14004f459
xor byte [r8 + r14*2 + 0x38], dl
sub byte [rax + 0x70], ah
insd dword [rdi], dx
push bp
jns 0x14004f454
and dword [rdi], esi
jne 0x14004f45a
push rbp
cdq
movsb byte [rdi], byte [rsi]
movabs eax, dword [0x3b4c6d31695555a8]
push rbp
push rbp
imul esi, dword [rcx], 0x793b4c6d
invalid
and byte [rdi], dil
pop rsi
and bh, byte [rax - 0x4ed547d7]
invalid
mov al, 0x1f
mov dh, 0x25
mov bl, 0x2b
mov ebp, 0xb826bc2b
xor byte [rdi + rcx*2 + 0x72], bl
imul esp, dword [rsp + rdx*2], 0x69
pop rsp
pop rsp
and esi, dword [rbp + 0x62]

Function at 0x14004f445
Capabilities:
Authenticate hmac

Disassembly:
sub dh, byte [rbx - 0x47d647de]
sub dh, byte [rcx - 0x46de43d9]
and al, 0xb8
and esi, dword [rax - 0x4cda49e1]
sub edi, dword [rbp - 0x47d943d5]

Function at 0x14004f45f
Capabilities:
Authenticate hmac

Disassembly:
push rsp
xor byte ss:[rbp + rsi + 0x22], al
jb 0x14004f4c7
sub dword [rcx + 0x7c], edi
sub rbp, qword gs:[rbx + 0x4e]
jp 0x14004f4c8
cmp eax, 0x745f573d
imul esi, dword [0x1742e6cdb], 0x36423540
xor dword [rsi], r15d
invalid
insb byte [edi], dx
insb byte [edi], dx

Function at 0x1400506d3
Capabilities:
Authenticate hmac

Disassembly:
push rbp
imul ecx, dword [rbx + 0x4a], 0x38
push rax
and byte [rdi + 0x68], cl
cmp dword [rcx + 0x73], ebx
pop rcx
xor eax, 0x2e436058
Function at 0x1400506e5
Capabilities:
Authenticate hmac

Disassembly:
jne 0x140050752
jp 0x140050758
jo 0x140050756
imul ebp, dword [rcx + 0x6c], 0x6f
jp 0x140050756
jp 0x14005075b
imul ebp, dword [rax + 0x74], 0x6b
imul ebp, dword [rdi + 0x6b], 0x67
outsb dx, byte [rsi]
jo 0x140050775
insb byte [rdi], dx
insb byte [rdi], dx
outsb dx, byte [rsi]
insd dword [rdi], dx
insd dword [rdi], dx
jo 0x140050775
jns 0x14005076c
jo 0x140050779
je 0x14005077c
insb byte [rdi], dx
insb byte [rdi], dx
stosd dword [rdi], eax
invalid
sub dword [rdx], ebp
jbe 0x140050789
pop rbp
pop rdi
xor al, 0x20
cmp byte [r14 + 0x45], r14b
jo 0x14005079a
push rdi
invalid
sub al, 0xcf
sal dword cs:[rdi], cl
int3
int3
int 0x37
sal dword [0x16adb3451], 1
xor eax, 0x2ad62cd0
invalid
fdiv dword [rsi]
sal byte [rdx], 1
iretd
jno 0x140050800
push rbx
jns 0x14005081b
invalid
invalid
push rax
pop rsi
push rbx
jl 0x1400507f4

Function at 0x14005070f
Capabilities:
Authenticate hmac

Disassembly:
insd dword [rdi], dx
and rax, 0x5c517a77
imul esi, dword [rsi], 0x4d
jl 0x14005079a
pop rsi
invalid

Function at 0x140050797
Capabilities:
Authenticate hmac

Disassembly:
jle 0x1400507db
xor byte [rcx + rsi*2 + 0x63], cl
xor al, 0x5c
jp 0x140050814
imul edx, dword [rbx + 0x4d], 0xeac7e7d0
iretd
and eax, 0x70747c25
push rdx

Function at 0x14005088e
Capabilities:
Authenticate hmac

Disassembly:
jne 0x1400508c1
push rax
cmp esi, dword gs:[rbx]
jb 0x1400508ff
pop rbx
ja 0x1400508da
push rsi
cmp eax, 0x3d236543
jb 0x1400508d4
jo 0x14005091c
xor eax, 0x716d2543
jo 0x14005090e
invalid
sub dword [rdi + 0x6e], ecx
sub ebx, 0xe882e87e

Function at 0x1400508df
Capabilities:
Authenticate hmac

Disassembly:
jp 0x140050938
and byte [rax], dh
sub byte [rbx + 0x35], ah
xor byte [rax], ch
invalid
push 0x6e4f296b
imul ebp, dword [rcx], 0x4f
outsb dx, byte [rsi]
outsb dx, byte [rsi]
outsb dx, byte [rsi]
pop rbp
xor dword [rsp + rsi + 0x22], ebx
out dx, eax
out dx, eax
and al, byte [rdi - 0x11]
out dx, eax
jle 0x1400508d5
jns 0x1400508cb
out 0x7b, eax
call 0x1287af462
jnp 0x1400508ce
js 0x1400508d3
jne 0x1400508d2
jns 0x1400508dd
js 0x1400508d8
invalid
jl 0x1400508d8
xor ah, 0x7a
out 0x75, eax
out dx, eax
jp 0x1400508ea
jnp 0x1400508e3
jp 0x1400508ea
jle 0x1400508ed
jbe 0x1400508f3
sub ebx, 0xe882e87e
call 0x13385f18a
jnp 0x1400508f6
xor bl, 0x7b
in al, dx
jl 0x1400508f3
sub bh, 0x84
hlt
test ah, dh
jbe 0x1400508f8
invalid
jg 0x140050906
invalid
jns 0x140050900
call 0x1277ff9a0
test al, dh
jp 0x140050903
jns 0x140050909
jp 0x14005090e
jnp 0x140050915
xor cl, 0x80
cmc
jbe 0x14005090e
int1
xor ch, 0x76
out 0x79, al
jns 0x140050917
in eax, dx
jne 0x140050914
jl 0x140050920
test bh, ah
js 0x140050923
out 0x78, eax
int1
ja 0x140050929
cmc
invalid
out 0x7a, eax
call 0x1317ffcbc
jp 0x140050922
jle 0x14005092f
jp 0x14005092f
xor bl, 0x7c
js 0x140050937
jns 0x140050933
xor dword [rdi + 0x6b], 0x55782b5d
Function at 0x140063af0
Capabilities:
Extract resource via kernel32 functions

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
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x140063b58
call fcn.140058acc
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140063b58
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140063b7a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.1400799a8
mov esi, eax
test rdi, rdi
je 0x140063b78
test rbx, rbx
je 0x140063b78
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
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 0x140064afc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140064bd4
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140064bd4
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140064bd4
test rsi, rsi
je 0x140064bd4
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.140058acc
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x140064ba1
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140064bd4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.14007a870
mov esi, eax
test rbp, rbp
je 0x140064bc4
test rdi, rdi
je 0x140064bc4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x140064bd0
mov rcx, rbx
call fcn.140064758
mov eax, esi
jmp 0x140064bd6
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret