joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008b4d0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x47]
sub rsp, 0xc0
mov esi, edx
mov r14, r9
mov rdi, rcx
cmp edx, 3
jb 0x14008b60f
movzx eax, word [rcx]
cmp ax, word [0x1400f7274]
jne 0x14008b60f
mov al, byte [rcx + 2]
cmp al, byte [0x1400f7276]
jne 0x14008b60f
test r8, r8
je 0x14008b601
test r9, r9
je 0x14008b601
lea rcx, str.__using_BCrypt_with_AES_256_GCM_n
call fcn.14000bdb4
xor edx, edx
lea rcx, [rbp - 0x21]
lea r8d, [rdx + 0x58]
call fcn.1400c4250
lea rax, [rdi + 3]
mov dword [rbp - 0x21], reloc.WLDAP32.dll_Ordinal_88
mov qword [rbp - 0x19], rax
lea rcx, [rdi - 0x10]
add rcx, rsi
mov dword [rbp - 0x1d], 1
lea eax, [rsi - 0x1f]
mov qword [rbp + 7], rcx
mov edx, eax
mov ecx, 0x40
mov dword [rbp - 0x11], reloc.WLDAP32.dll_Ordinal_12
mov dword [rbp + 0xf], 0x10
mov dword [rbp + 0x57], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14008b66f
and dword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r8d, dword [rbp + 0x57]
lea r9, [rbp - 0x21]
mov edx, dword [rbp - 0x11]
mov rcx, r14
add rdx, qword [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], rdi
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
js 0x14008b5ee
mov r8d, dword [rbp + 0x57]
lea rcx, str._s:__.S_n
mov rdx, qword [rbp + 0x7f]
mov r9, rdi
call fcn.14000bdb4
jmp 0x14008b5fc
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___BCryptDecrypt:_0x_08x_n
call fcn.14000bdb4
mov rcx, rdi
jmp 0x14008b669
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___No_Alg_and_or_Key_handle_despite_AES_encryption_n
call fcn.14000bdb4
jmp 0x14008b66f
and qword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r9d, dword [rbp + 0x6f]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov edx, esi
lea rax, [rbp - 0x31]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x77]
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.140089718
test eax, eax
je 0x14008b66f
mov r9, qword [rbp - 0x31]
lea rcx, str._s:__.S_n
mov r8d, dword [rbp + 0x57]
mov rdx, qword [rbp + 0x7f]
call fcn.14000bdb4
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0xc0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14009a248
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
lea rdx, [rax + 0x10]
mov ebp, r12d
mov rsi, rcx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
mov edi, r12d
test rax, rax
je 0x14009a31a
cmp dword [rsp + 0x58], r12d
jle 0x14009a31a
movzx ebx, r12w
lea r13, [0x1400f7dc0]
cmp bx, 0x13
jae 0x14009a2f3
mov rcx, qword [r15]
movzx r14d, bx
shl r14, 5
mov rdx, qword [r14 + r13 + 0x10]
call fcn.1400c8974
test eax, eax
mov edi, r12d
sete dil
test eax, eax
jne 0x14009a2ec
mov rax, qword [r14 + r13]
test rax, rax
je 0x14009a2dd
mov ecx, dword [rsp + 0x58]
lea rdx, [r15 + 8]
dec ecx
call rax
mov ebp, eax
jmp 0x14009a2ec
mov ecx, dword [r14 + r13 + 8]
xor r8d, r8d
xor edx, edx
call fcn.14000a3e4
inc bx
test edi, edi
je 0x14009a29c
test edi, edi
jne 0x14009a31a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r12w
jne 0x14009a2fb
lea r8d, [rax*2 + 2]
mov rdx, rsi
mov ecx, 0x22c003
call fcn.14000a3e4
mov rbx, qword [rsp + 0x50]
mov eax, ebp
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009bdc8
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor ebx, ebx
lea rax, [r11 + 0x20]
mov qword [r11 - 0x38], rax
mov r14, r8
mov qword [r11 - 0x40], rbx
lea r8, str.SupplementalCredentials
mov qword [r11 - 0x48], rbx
mov rdi, rdx
mov rbp, rcx
mov dword [r11 + 0x20], ebx
call fcn.14000e9d8
test eax, eax
je 0x14009bf5a
cmp dword [rsp + 0x88], 0x90
jbe 0x14009bf5a
mov edx, dword [rsp + 0x88]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14009bf5a
lea rax, [rsp + 0x88]
mov rdx, rdi
mov qword [rsp + 0x30], rax
lea r8, str.SupplementalCredentials
mov qword [rsp + 0x28], rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call fcn.14000e9d8
test eax, eax
je 0x14009bf45
lea rcx, str._nSupplemental_Credentials:_n
call fcn.14000bdb4
mov edx, dword [rsi + 0xc]
lea ecx, [rbx + 0x40]
add edx, 0xc
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14009bf51
mov ebp, dword [rsp + 0x88]
lea r9d, [rbx + 0x18]
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rsp + 0x48]
add ebp, 0xffffffe0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14009beef
lea rcx, [rsp + 0x48]
mov r9d, ebp
mov qword [rsp + 0x30], rcx
lea rax, [rdi + 4]
mov qword [rsp + 0x28], rax
lea r8, [rsi + 0x20]
lea rax, [rsp + 0x40]
mov rcx, r14
lea rdx, [rsi + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140004b88
jmp 0x14009bf05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kull_m_crypto_genericAES128Decrypt___CryptAcquireContext__0x_08x__n
call fcn.14000bdb4
mov eax, ebx
test eax, eax
je 0x14009bf3a
mov eax, dword [rdi + 4]
cmp eax, dword [rsi + 0xc]
jne 0x14009bf2f
mov rdx, qword [rsp + 0x40]
lea rcx, [rdi + 0xc]
mov r8d, eax
mov ebx, 1
call fcn.1400c49c0
mov rcx, rdi
call fcn.1400b2528
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009bf51
lea rcx, str.ERROR_kuhl_m_lsadump_getSupplementalCreds___kull_m_registry_RegQueryValueEx_data__n
call fcn.14000bdb4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b0550
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
lea rdx, str.Microsoft_WinInet_
mov rcx, qword [rcx + 8]
call fcn.1400c3d20
test rax, rax
je 0x1400b05ff
mov edx, dword [rbx + 0x20]
cmp edx, 0x14
jb 0x1400b0772
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 4]
cmp rax, qword [0x1400edc20]
jne 0x1400b0772
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400edc28]
jne 0x1400b0772
lea rax, [0x1400eccf0]
mov dword [rbp - 0x20], edx
mov qword [rbp - 8], rax
lea r8, [rbp - 0x10]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rbp - 0x10], SQLSetEnvAttr
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b075e
lea rcx, str.___CredentialBlob:
jmp 0x1400b0735
mov rcx, qword [rbx + 8]
lea rdx, str.AppSense_DataNow_
call fcn.1400c3d20
test rax, rax
je 0x1400b0772
lea rcx, str._Ivanti_FileDirector_credential_blob__n
call fcn.14000bdb4
cmp dword [rbx + 0x20], 0x14
jb 0x1400b0772
mov rbx, qword [rbx + 0x28]
lea rcx, str.AppN_DN_Win
mov rdx, rbx
call fcn.1400e2160
test eax, eax
jne 0x1400b0772
cmp dword [rbx + 0xc], eax
je 0x1400b06da
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000bdb4
mov eax, dword [rbx + 0xc]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], eax
xor r9d, r9d
lea rax, [rbx + 0x14]
xor r8d, r8d
mov qword [rbp - 0x18], rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b06c6
lea rcx, str.___CredentialBlob:
call fcn.14000bdb4
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.14001275c
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bdb4
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b06da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000bdb4
cmp dword [rbx + 0x10], 0
je 0x1400b0772
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000bdb4
mov eax, dword [rbx + 0x10]
lea rcx, [rbx + 0x14]
mov dword [rbp - 0x20], eax
xor r9d, r9d
mov eax, dword [rbx + 0xc]
xor r8d, r8d
add rcx, rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b075e
lea rcx, str.___UnkBlob_______:
call fcn.14000bdb4
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.14001275c
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bdb4
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b0772
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000bdb4
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x1400b8a58
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, rdx
mov rbp, rcx
lea rdx, [r11 + 0x10]
mov rcx, qword [rax + 8]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
test rax, rax
je 0x1400b8b07
mov eax, dword [rsp + 0x38]
test eax, eax
jle 0x1400b8af0
xor ebx, ebx
test eax, eax
jle 0x1400b8ae7
mov rsi, rdi
mov rcx, qword [rsi]
lea rdx, str._HTC:
mov r8d, 5
call fcn.1400d3870
test eax, eax
je 0x1400b8ac0
inc ebx
add rsi, 8
cmp ebx, dword [rsp + 0x38]
jl 0x1400b8a99
jmp 0x1400b8ae7
movsxd rax, ebx
xor edx, edx
mov rcx, qword [rdi + rax*8]
lea r8d, [rdx + 0xa]
add rcx, 0xa
call fcn.1400cab38
mov edx, eax
mov rcx, rbp
mov ebx, eax
call fcn.1400b8b30
test rbx, rbx
jne 0x1400b8afc
lea rcx, str.__No_shared_memory__no_SSO_enabled___n
jmp 0x1400b8af7
lea rcx, str.ERROR_Citrix_SSO_Program_args___No_command_module_
call fcn.14000bdb4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b8b1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_args___CommandLineToArgvW__0x_08x__n
call fcn.14000bdb4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b8b30
Capabilities:
Encode data using xor
Encrypt data using dpapi
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea r9, [rsp + 0x60]
mov dword [rsp + 0x30], esi
mov r8, rax
mov dword [rsp + 0x28], esi
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400b8c85
mov rcx, qword [rsp + 0x60]
lea edx, [rsi + 4]
xor r9d, r9d
mov qword [rsp + 0x20], 0x61c
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x1400b8c64
mov edx, 0x610
lea ecx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400b8c59
mov rcx, rax
lea rdx, [rdi + 0xc]
mov r8d, 0x610
call fcn.1400c49c0
mov edx, 0x610
lea r8d, [rsi + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SystemFunction041]
test eax, eax
jne 0x1400b8c42
mov r9d, dword [rbx + 0x400]
lea r10, [rbx + 0x404]
test r9d, r9d
je 0x1400b8c1b
mov rdx, r10
mov r8d, r9d
mov cl, byte [rdx]
mov al, cl
xor al, sil
mov sil, cl
xor al, 0x43
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x1400b8bfd
mov r9d, dword [rbx + 0x400]
mov eax, dword [rbx + 0x604]
lea r8, [rbx + 0x200]
mov dword [rsp + 0x28], eax
lea rcx, str._Username__:__s_n_Domain____:__s_n_Password__:__.s_n_flags_type:_0x_08x_n
mov rdx, rbx
mov qword [rsp + 0x20], r10
call fcn.14000bdb4
jmp 0x1400b8c50
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___RtlDecryptMemory:_0x_08x_n
call fcn.14000bdb4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1400b8c78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___MapViewOfFile__0x_08x__n
call fcn.14000bdb4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b8c99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___DuplicateHandle__0x_08x__n
call fcn.14000bdb4
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400bf518
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
and qword [rax - 0x38], rbp
mov edx, 0x80000000
and dword [rax - 0x40], ebp
lea r8d, [rbp + 3]
mov dword [rax - 0x48], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400bf65c
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400bf63d
mov r12d, 0x10000000
lea ecx, [rbp + 0x40]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400bf651
mov rax, qword [rsp + 0x80]
xor ecx, ecx
test rax, rax
jle 0x1400bf632
lea r14, [rcx + 0x10000000]
mov rbx, rax
sub rbx, rcx
mov rdx, rcx
cmp r14, rax
mov rcx, rsi
cmovl rbx, r12
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400bf60a
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400bf5fb
mov edx, dword [rsp + 0x78]
mov rcx, rdi
call fcn.1400bf410
add ebp, eax
jmp 0x1400bf61e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___ReadFile__0x_08x__n
jmp 0x1400bf617
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___SetFilePointerEx__0x_08x__n
mov edx, eax
call fcn.14000bdb4
mov rax, qword [rsp + 0x80]
mov rcx, r14
cmp r14, rax
jl 0x1400bf5a3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400bf651
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___GetFileSizeEx__0x_08x__n
call fcn.14000bdb4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bf670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___CreateFile__0x_08x__n
call fcn.14000bdb4
mov rbx, qword [rsp + 0x70]
mov eax, ebp
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d4c58
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400d49bc
Function at 0x1400da1b4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400da01a
call fcn.1400d59f8
mov dword [rax], SQLAllocHandle
call fcn.1400d5634
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400d9ffc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400d9ffc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1400da04c
lock or dword [rax + 0x14], 0x10
jmp 0x1400d9ffc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400da069
mov rcx, qword [rbp + 0x20]
call fcn.1400def8c
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400da07e
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400da084
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400c92ac
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400df5a8
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1400da0d7
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1400d9ffc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400da143
mov rcx, qword [rbp + 0x20]
call fcn.1400c92ac
cmp eax, 0xffffffff
je 0x1400da12a
mov rcx, qword [rbp + 0x20]
call fcn.1400c92ac
cmp eax, 0xfffffffe
je 0x1400da12a
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400c92ac
movsxd rdi, eax
lea r15, [0x14015cc60]
mov rcx, rbx
sar rdi, 6
call fcn.1400c92ac
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1400da131
lea rax, [0x1401562d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400da143
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400da179
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400da175
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400da175
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400da197
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400da1a2
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1400da001
jmp 0x1400d9fc8
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

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
xor r9d, r9d
lea r8, [0x140002270]
lea rdx, [0x140002270]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edi, edi
mov rbx, rax
mov esi, edi
movsxd rcx, dword [rax + 0x3c]
mov ebp, dword [rcx + rax + 0x88]
cmp dword [rax + rbp + 0x18], edi
jbe 0x14000109b
mov r15d, dword [rax + rbp + 0x20]
mov r14d, esi
lea rcx, [0x140002278]
lea rax, [r15 + r14*4]
mov edx, dword [rax + rbx]
add rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001082
inc esi
cmp esi, dword [rbx + rbp + 0x18]
jb 0x14000105b
jmp 0x14000109b
mov ecx, dword [rbx + rbp + 0x24]
add rcx, rbx
movzx edx, word [rcx + r14*2]
mov ecx, dword [rbx + rbp + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
add rdi, rbx
xor r9d, r9d
lea r8, [0x140002270]
lea rdx, [0x140002270]
xor ecx, ecx
call rdi
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400019d0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
jmp 0x1400051e4
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
jmp 0x14000624e
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x1a0]
jmp 0x14000744f
jmp 0x140008983
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1a0]
jmp 0x140003b5e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jb 0x140003254
jmp 0x1400048a6
Function at 0x140006253
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x40000000
test eax, eax
je 0x140004623
jmp 0x140003048
cmp dword [rsp + 0x30], 0
je 0x140006b17
jmp 0x1400036f7
mov eax, 1
jmp 0x14000579c
mov eax, 1
jmp 0x14000579c
cmp qword [rsp + 0x38], 0
je 0x1400061e8
jmp 0x140005cae
mov dword [rsp + 0x28], 1
jmp 0x140008aa5
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x2000000
test eax, eax
je 0x1400042be
jmp 0x1400077c4
mov eax, 1
jmp 0x14000579c
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x38], ecx
jne 0x140003d87
jmp 0x140004c62
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x70], rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x70]
div rcx
mov rax, rdx
test rax, rax
jne 0x140005e71
jmp 0x140004c62
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x20000000
add byte [rax], ah
test eax, eax
jne 0x140006901
jmp 0x140007ebf
mov dword [rsp + 0x64], 0x80
mov dword [rsp + 0x68], 0x20
mov dword [rsp + 0x6c], 0x40
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x10
lea rax, [rsp + rax + 0x50]
movsxd rcx, dword [rsp + 0x44]
lea rax, [rax + rcx*8]
movsxd rcx, dword [rsp + 0x48]
jmp 0x140006073
mov dword [rsp + 0x28], 0
jmp 0x140008aa5
cmp qword [rsp + 0x38], 0
jne 0x140007d3f
jmp 0x1400081d4
add rsp, 0x88
ret
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x10]
mov dword [rsp + 0x30], eax
jmp 0x140002010
mov dword [rsp + 0x2c], 1
jmp 0x1400087e1
mov eax, 1
jmp 0x14000579c
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x4000000
test eax, eax
jne 0x140006c57
jmp 0x140002d37
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call qword [0x1400823d9]
mov dword [rsp + 0x30], eax
jmp 0x140002010
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x10], 0
je 0x1400020b2
jmp 0x14000306c
mov dword [rsp + 0x24], 1
jmp 0x140001fbb
lea rcx, [0x1400a85b6]
call fcn.1400075e2
jmp 0x14000841c
mov eax, dword [rsp + 0x20]
bts eax, 9
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x38], 0
jne 0x140005cae
jmp 0x1400061e8
invalid
invalid
invalid