joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400077c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ecx, dword [0x140021780]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140021688], eax
jg 0x14000783a
mov eax, dword [0x140021684]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov dword [0x140021684], edi
lea rcx, [0x140021688]
call fcn.1400156e8
jmp 0x140007801
lea rcx, [0x140021688]
call fcn.140015748
cmp dword [0x140021688], 0xffffffff
jne 0x140007801
mov edi, 1
mov edx, edi
lea rcx, str.bFillnSignInChromeEx
call fcn.140007630
xor esi, esi
test eax, eax
je 0x14000798c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
call fcn.140007320
test eax, eax
je 0x140007895
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
lea r8d, [rdi + 0x42]
jmp 0x1400078a2
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov r8d, 0x42
lea rcx, [rsp + 0x48]
call fcn.140009490
mov ebx, edi
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000793e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000793e
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.bToggleFillSign
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007932
cmp dword [rsp + 0x30], ebx
cmove ebx, esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140007984
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000797e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000797e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
test ebx, ebx
jne 0x140007826
mov edi, esi
jmp 0x140007826
Function at 0x1400079a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rbp - 8], rax
mov ecx, dword [0x140021780]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov esi, 1
mov eax, dword [rdi]
cmp dword [0x140021690], eax
jg 0x140007a65
cmp dword [0x14002168c], 1
jne 0x1400079fc
xor eax, eax
jmp 0x140007a0c
mov eax, dword [rdi]
cmp dword [0x140021698], eax
jg 0x140007a2e
mov eax, dword [0x140021694]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [0x140021698]
call fcn.140015748
cmp dword [0x140021698], 0xffffffff
jne 0x140007a06
mov edx, esi
lea rcx, str.bEnableFrictionlessInChromeExtn
call fcn.140007630
mov dword [0x140021694], eax
lea rcx, [0x140021698]
call fcn.1400156e8
jmp 0x140007a06
lea rcx, [0x140021690]
call fcn.140015748
cmp dword [0x140021690], 0xffffffff
jne 0x1400079ef
xor ebx, ebx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
call fcn.140007320
test eax, eax
je 0x140007aa6
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
lea r8d, [rbx + 0x43]
jmp 0x140007ab3
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov r8d, 0x42
lea rcx, [rbp - 0x28]
call fcn.140009490
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007b7f
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140007b7f
mov dword [rbp - 0x3c], 4
mov dword [rbp - 0x38], 4
mov dword [rbp - 0x40], ebx
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.bToggleAdobeDocumentServices
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007b40
cmp dword [rbp - 0x40], 1
jne 0x140007b40
mov ebx, esi
jmp 0x140007b74
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.bUpdater
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007b74
cmp dword [rbp - 0x40], eax
cmove ebx, esi
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140007bc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007bbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov dword [0x14002168c], ebx
lea rcx, [0x140021690]
call fcn.1400156e8
jmp 0x1400079ef
Function at 0x140007c60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ecx, dword [0x140021780]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1400216a0], eax
jg 0x140007cda
mov eax, dword [0x14002169c]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov dword [0x14002169c], ebx
lea rcx, [0x1400216a0]
call fcn.1400156e8
jmp 0x140007ca1
lea rcx, [0x1400216a0]
call fcn.140015748
cmp dword [0x1400216a0], 0xffffffff
jne 0x140007ca1
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x38], 4
mov ebx, 1
mov dword [rsp + 0x30], ebx
xor esi, esi
mov edi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
call fcn.140007320
test eax, eax
je 0x140007d35
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
lea r8d, [rbx + 0x26]
jmp 0x140007d42
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov r8d, 0x26
lea rcx, [rsp + 0x48]
call fcn.140009490
mov r8d, 2
lea rdx, [0x140019564]
lea rcx, [rsp + 0x48]
call fcn.140009310
mov r8d, 0x1c
lea rdx, str.FeatureLockDowncSharePoint
lea rcx, [rsp + 0x48]
call fcn.140009310
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007df4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.bDisableSharePointFeatures
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007de8
mov edi, esi
cmp dword [rsp + 0x30], esi
setne dil
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140007e3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
test edi, edi
jne 0x140007e54
xor edx, edx
lea rcx, str.bEnableSharePointInChromeExtn
call fcn.140007630
test eax, eax
jne 0x140007cc6
mov ebx, esi
jmp 0x140007cc6
Function at 0x14000a220
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x20], ebx
mov rdi, qword [0x140021620]
mov qword [rsp + 0x48], rbx
cmp dword [0x140021524], ebx
jne 0x14000a2f1
mov eax, dword [0x140021520]
test eax, eax
jne 0x14000a2f1
mov edx, dword [0x14002152c]
test edx, edx
je 0x14000a289
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140021520]
mov edx, dword [0x14002152c]
test eax, eax
jne 0x14000a2f1
test edx, edx
jne 0x14000a29a
call fcn.140002f00
test eax, eax
je 0x14000a2b0
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14000a2f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x14000a2e7
cmp ecx, 0x78
je 0x14000a2e7
cmp ecx, 1
je 0x14000a2e7
cmp ecx, 0x32
je 0x14000a2e7
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov dword [0x140021520], 1
test rdi, rdi
jne 0x14000a311
lea rcx, str.GetOpenFileNameW
call fcn.14000a150
mov rdi, rax
test rax, rax
je 0x14000a323
mov qword [0x140021620], rax
mov rcx, r14
mov rax, rdi
call qword [0x1400187e0]
mov esi, eax
mov dword [rsp + 0x20], eax
cmp dword [0x140021524], 0
je 0x14000a335
cmp dword [0x140021520], 0
jne 0x14000a362
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x14000a349
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14000a362
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x14000a2d1
Function at 0x14000a370
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x20], ebx
mov rdi, qword [0x140021628]
mov qword [rsp + 0x48], rbx
cmp dword [0x140021524], ebx
jne 0x14000a441
mov eax, dword [0x140021520]
test eax, eax
jne 0x14000a441
mov edx, dword [0x14002152c]
test edx, edx
je 0x14000a3d9
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140021520]
mov edx, dword [0x14002152c]
test eax, eax
jne 0x14000a441
test edx, edx
jne 0x14000a3ea
call fcn.140002f00
test eax, eax
je 0x14000a400
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14000a441
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x14000a437
cmp ecx, 0x78
je 0x14000a437
cmp ecx, 1
je 0x14000a437
cmp ecx, 0x32
je 0x14000a437
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov dword [0x140021520], 1
test rdi, rdi
jne 0x14000a461
lea rcx, str.GetSaveFileNameW
call fcn.14000a150
mov rdi, rax
test rax, rax
je 0x14000a473
mov qword [0x140021628], rax
mov rcx, r14
mov rax, rdi
call qword [0x1400187e0]
mov esi, eax
mov dword [rsp + 0x20], eax
cmp dword [0x140021524], 0
je 0x14000a485
cmp dword [0x140021520], 0
jne 0x14000a4b2
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x14000a499
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14000a4b2
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x14000a421
Function at 0x14000a4c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rbx
cmp dword [0x140021524], ebx
jne 0x14000a57b
mov eax, dword [0x140021520]
test eax, eax
jne 0x14000a57b
mov edx, dword [0x14002152c]
test edx, edx
je 0x14000a51b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140021520]
mov edx, dword [0x14002152c]
test eax, eax
jne 0x14000a57b
test edx, edx
jne 0x14000a52c
call fcn.140002f00
test eax, eax
je 0x14000a542
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14000a57b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14000a571
cmp eax, 0x78
je 0x14000a571
cmp eax, 1
je 0x14000a571
cmp eax, 0x32
je 0x14000a571
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [0x140021520], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x140021524], 0
je 0x14000a59e
cmp dword [0x140021520], 0
jne 0x14000a5cc
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x14000a5b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14000a5cc
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000a5f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x14002152c]
mov rbx, rcx
test eax, eax
je 0x14000a616
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14002152c]
cmp dword [0x140021520], 0
jne 0x14000a66f
test eax, eax
jne 0x14000a62c
call fcn.140002f00
test eax, eax
je 0x14000a640
mov rcx, qword [section..data]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14000a66f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14000a665
cmp eax, 0x78
je 0x14000a665
cmp eax, 1
je 0x14000a665
cmp eax, 0x32
je 0x14000a665
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [0x140021520], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14000f600
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000f6da
cmp byte [rcx + 0x71], 0
je 0x14000f6da
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x1400187e0]
cmp eax, 0xffffffff
je 0x14000f6d6
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000f69b
sub eax, 1
je 0x14000f69f
cmp eax, 2
jne 0x14000f6d6
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015310
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000f6cd
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000f6d6
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000f683
xor al, al
jmp 0x14000f683
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015310
add rsp, 0x60
pop rbx
ret
Function at 0x14000fc80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000fcad
xor eax, eax
jmp 0x14000fe02
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14000fcd8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14000fcd8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000fe02
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000fdf5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000fd1b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000fd46
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000fdfa
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000fdb5
sub eax, 1
je 0x14000fdb5
cmp eax, 2
jne 0x14000fdf5
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000fdfa
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000fde3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000fdf5
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x14000fdfa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140015310
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140010810
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140010841
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140010858
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140010880
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140010882
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400108b4
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x140010951
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400108f2
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x140010931
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140010972
cmp rdi, rax
ja 0x140010900
test rbx, rbx
je 0x140010951
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140010954
jmp rax
Function at 0x140010980
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1400109b0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400109d8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400109da
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140010a33
test ecx, ecx
jle 0x140010a13
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140010a33
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010a33
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
push rbx
in al, 0xfe
invalid