joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ec00
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
sub rsp, 0x28
cmp dword [rcx + 0xf8], 0
mov rbp, rcx
mov ebx, edx
je 0x14005ee07
mov qword [rsp + 0x20], rdi
lea rdi, [rcx + 0xb0]
mov r8, qword [rdi]
test r8, r8
je 0x14005ec52
xor edx, edx
mov eax, ebx
div dword [rdi + 0x10]
mov rax, qword [r8 + rdx*8]
test rax, rax
je 0x14005ec52
nop dword [rax]
cmp dword [rax + 0x18], ebx
jne 0x14005ec49
cmp dword [rax], ebx
je 0x14005ec5e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005ec40
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
pop rbx
ret
test rax, rax
je 0x14005ec52
mov qword [rsp + 0x50], rsi
mov rsi, qword [rax + 8]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CancelWaitableTimer]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14005ec8d
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsi + 0x10], 0
movsxd rax, dword [rsi + 0x18]
mov edx, 0x20
mov rcx, rsi
mov qword [rbp + rax*8 + 0x108], 0
call fcn.14006624c
mov r11, qword [rdi]
test r11, r11
je 0x14005ed04
mov esi, dword [rdi + 0x10]
xor edx, edx
mov eax, ebx
xor r9d, r9d
div esi
mov r8, qword [r11 + rdx*8]
test r8, r8
je 0x14005ed04
mov eax, dword [r8 + 0x18]
cmp eax, ebx
jne 0x14005ecd4
cmp dword [r8], ebx
je 0x14005ece2
mov r9, r8
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x14005ecc7
jmp 0x14005ed04
mov r10, qword [r8 + 0x10]
test r9, r9
jne 0x14005ecf5
xor edx, edx
div esi
mov qword [r11 + rdx*8], r10
jmp 0x14005ecf9
mov qword [r9 + 0x10], r10
mov rdx, r8
mov rcx, rdi
call fcn.1400097b0
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rsi, qword [rsp + 0x50]
mov dword [rbp + 0x100], 1
cmp qword [rdi + 8], 0
je 0x14005edc2
mov r8d, dword [rdi + 0x10]
xor edx, edx
test r8d, r8d
je 0x14005ed50
mov r9, qword [rdi]
nop dword [rax]
mov rcx, qword [r9 + rdx*8]
test rcx, rcx
jne 0x14005ed57
inc edx
cmp edx, r8d
jb 0x14005ed40
xor ecx, ecx
test rcx, rcx
je 0x14005edc2
mov r11, rcx
test rcx, rcx
je 0x14005ed93
mov r9, qword [rcx + 0x10]
test r9, r9
jne 0x14005ed90
mov eax, dword [rcx + 0x18]
xor edx, edx
mov r10d, dword [rdi + 0x10]
div r10d
inc edx
cmp edx, r10d
jae 0x14005ed90
mov rax, qword [rdi]
mov r8, qword [rax + rdx*8]
test r8, r8
cmovne r9, r8
inc edx
test r9, r9
je 0x14005ed76
mov rcx, r9
mov r9, qword [r11 + 8]
test r9, r9
je 0x14005edbd
movsxd r8, dword [rbp + 0x100]
lea eax, [r8 + 1]
mov dword [rbp + 0x100], eax
mov rax, qword [r9 + 0x10]
mov qword [rbp + r8*8 + 0x108], rax
mov dword [r9 + 0x18], r8d
test rcx, rcx
jne 0x14005ed57
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov r9d, dword [rbp + 0x100]
lea rdx, str.CTimerEventNotify::KillTimer
mov r8d, 0x9c
lea rcx, str._s__d_m_nhWaitHandlesCount_d
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
pop rbx
jmp fcn.140026f80
mov rcx, qword [0x1400beb58]
mov rdx, rbx
add rsp, 0x28
pop rbp
pop rbx
jmp qword [sym.imp.USER32.dll_KillTimer]
mov ah, byte [rsp + rdx + 0x4b]
in al, 0x2e
xchg ebx, eax
invalid
Function at 0x14005ef50
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf4], 0
mov rdi, rcx
jne 0x14005f062
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
nop word [rax + rax]
mov ecx, dword [rdi + 0xf8]
lea rdx, [rdi + 0x100]
or r9d, 0xffffffff
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_WaitForMultipleObjects]
mov esi, eax
test eax, eax
je 0x14005f046
cmp qword [rdi + 0xb0], 0
je 0x14005f046
mov edx, dword [rdi + 0xb8]
xor ecx, ecx
test edx, edx
je 0x14005efd4
mov r8, qword [rdi + 0xa8]
mov rbx, qword [r8 + rcx*8]
test rbx, rbx
jne 0x14005efe0
inc ecx
cmp ecx, edx
jb 0x14005efc5
xor ebx, ebx
test rbx, rbx
je 0x14005f046
nop dword [rax + rax]
mov r11, rbx
test rbx, rbx
je 0x14005f023
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x14005f020
mov eax, dword [rbx + 0x18]
xor edx, edx
mov r10d, dword [rdi + 0xb8]
div r10d
inc edx
cmp edx, r10d
jae 0x14005f020
mov rax, qword [rdi + 0xa8]
mov r9, qword [rax + rdx*8]
test r9, r9
cmovne rcx, r9
inc edx
test rcx, rcx
je 0x14005f002
mov rbx, rcx
mov rax, qword [r11 + 8]
test rax, rax
je 0x14005f041
cmp dword [rax + 0x18], esi
jne 0x14005f041
mov rcx, qword [rax]
test rcx, rcx
je 0x14005f041
mov edx, dword [rax + 8]
call fcn.14005ee20
test rbx, rbx
jne 0x14005efe0
cmp dword [rdi + 0xf4], 0
je 0x14005ef80
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r8d, 0xd4
lea rdx, str.CTimerEventNotify::WorkThreadLoop
lea rcx, [0x140081b98]
add rsp, 0x20
pop rdi
jmp fcn.140026f80
Function at 0x14005f7a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
test rdx, rdx
jne 0x14005f7ca
xor eax, eax
jmp 0x14005f9d4
mov qword [rsp + 0xd8], rbx
lea r9, [rcx + 0x18]
mov qword [rsp + 0xe0], rbp
lea rbx, [rcx + 0x24]
mov qword [rsp + 0xb8], rsi
xor ebp, ebp
lea rsi, [rcx + 0x20]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0xb0], r14
mov qword [rcx + 8], rdx
mov dword [rcx + 0xf8], ebp
call fcn.14005f9f0
mov eax, dword [rsp + 0xf0]
mov r8, qword [rdi + 0x18]
mov dword [rdi + 0x114], eax
test eax, eax
je 0x14005f83a
mov eax, dword [r8 + 8]
xor edx, edx
lea eax, [rax + rax*4]
mov dword [rsi], eax
movzx ecx, word [r8 + 0xc]
div ecx
mov dword [rbx], eax
mov word [r8 + 0x10], bp
mov rcx, qword [rdi + 0x28]
mov qword [rdi + 0xc8], 1
test rcx, rcx
je 0x14005f85c
call fcn.14006624c
mov qword [rdi + 0x28], rbp
lea r8, [0x140091458]
mov qword [rdi + 0x30], rbp
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x14005f89a
lea r8, [0x140099a08]
xor ecx, ecx
lea edx, [rax + 0x65]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14005f998
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x14005f998
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x14005f998
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14005f998
mov ecx, esi
call fcn.140066244
mov qword [rdi + 0xe8], rax
test rax, rax
je 0x14005f998
mov r8d, esi
mov rdx, rbp
mov rcx, rax
call fcn.14006c0e0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x64]
call fcn.14006d020
mov rax, qword [rdi + 0xe8]
lea rdx, [rsp + 0x30]
mov r8d, 0x10000
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov dword [rsp + 0x34], 0x204d454d
mov dword [rsp + 0x4c], esi
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioOpenW]
lea rcx, [rdi + 0x28]
mov qword [rdi + 0x30], rax
call fcn.140061370
test eax, eax
jns 0x14005f96c
mov rcx, qword [rdi + 0x30]
xor edx, edx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
jmp 0x14005f998
lea rcx, [rdi + 0x28]
call fcn.140061510
test eax, eax
js 0x14005f998
mov ecx, dword [rdi + 0x3c]
lea rdx, str.CWaveFile::Open
mov dword [rdi + 0x60], ecx
mov r8d, 0x66
lea rcx, str._s__d_End
call fcn.140026f80
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov r14, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov qword [rdi + 0xf0], rax
mov eax, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0xc0
pop rdi
ret
Function at 0x14005f9f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r15, qword [rsp + 0x1b0]
xor edx, edx
mov rbp, qword [rsp + 0x1b8]
mov rsi, rcx
lea rcx, [rsp + 0xe0]
mov r14, r9
lea r8d, [rdx + 0x64]
call fcn.14006d020
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x64]
call fcn.14006d020
lea r8, [0x140091458]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14005fbf4
mov rdx, rax
mov qword [rsp + 0x198], rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rdx, rdi
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
xor r8d, r8d
mov dword [rsp + 0x24], 0x204d454d
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x3c], edi
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioOpenW]
mov r9d, 0x20
mov dword [rsp + 0xb0], 0x45564157
mov rcx, rax
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
mov rcx, rbx
test eax, eax
jne 0x14005fb54
lea r9d, [rax + 0x10]
mov dword [rsp + 0x90], 0x20746d66
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
mov rcx, rbx
test eax, eax
jne 0x14005fb54
xor r8d, r8d
lea rdx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioAscend]
mov r9d, 0x10
mov dword [rsp + 0xc0], 0x61746164
lea r8, [rsp + 0xa8]
mov rcx, rbx
lea rdx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
mov rcx, rbx
test eax, eax
je 0x14005fb85
xor edx, edx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
mov rbx, qword [rsp + 0x198]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
lea rdx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioAscend]
mov edx, dword [rsp + 0x9c]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioSeek]
mov r8d, dword [rsp + 0x94]
lea rdi, [rsi + 0xfc]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioRead]
cmp dword [rsp + 0x94], eax
je 0x14005fbd4
xor edx, edx
mov rcx, rbx
jmp 0x14005fb56
mov eax, dword [rsp + 0xc4]
xor edx, edx
mov qword [r14], rdi
mov dword [r15], eax
movzx ecx, word [rsi + 0x108]
div ecx
mov dword [rbp], eax
jmp 0x14005fb5c
mov eax, 0x80004005
jmp 0x14005fb66
Function at 0x140063f80
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x28
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140063f90
test rax, rax
jne 0x140063fa9
mov eax, 1
add rsp, 0x28
ret
mov r8, rcx
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x140063fe3
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
mov eax, 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1400651c0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [rcx + 8], 0
mov rbx, rcx
je 0x14006521b
lea rax, [rsp + 0x30]
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140065160]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x18], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x40
pop rbx
ret
xor r8d, r8d
lea rcx, [0x140065100]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWork]
mov rcx, rax
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SubmitThreadpoolWork]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x40
pop rbx
ret
Function at 0x1400654a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0xff80]
mov eax, 0x10080
call fcn.14006ee90
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x10090], rbx
mov qword [rsp + 0x10098], rsi
mov qword [rsp + 0x100a0], rdi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp + 0xff70], rax
xor eax, eax
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x1400656e4
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rsi, [0x140081d58]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140004a90
or rdi, 0xffffffffffffffff
test al, al
jne 0x14006555b
mov rax, rdi
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x140065540
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140002f50
nop
mov r9d, 0x20019
lea r8, str.SOFTWARERealtekWOV
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400222c0
mov rsi, qword [rsp + 0x48]
test eax, eax
jne 0x1400655dc
mov dword [rsp + 0x38], 0xfffe
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.VoiceAssistantApplication
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400655dc
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
ja 0x1400655dc
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14006564b
test al, 1
jne 0x1400655dc
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], 0
je 0x140065650
test rsi, rsi
je 0x1400655ef
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140065611
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140065621
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0xff70]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x10080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov word [rsp + 0x70], bx
lea rcx, [rsp + 0x70]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140065660
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140002f50
mov rdx, qword [rsp + 0x40]
lea r8, str.LenovoVoiceAssistant
mov rcx, rdi
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1400656b2
add rcx, 2
cmp rcx, 0x15
je 0x1400656e0
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x140065690
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400655dc
test rsi, rsi
je 0x1400656d2
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov ebx, 1
jmp 0x1400655f3
mov eax, ebx
jmp 0x1400656b7
mov ecx, 0x80004005
call fcn.140003270
int3
Function at 0x140066740
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.140065f88
test al, al
je 0x140066890
xor dil, dil
mov byte [rsp + 0x20], dil
call fcn.140065f4c
mov bl, al
mov ecx, dword [0x1400bd848]
cmp ecx, 1
je 0x14006689b
test ecx, ecx
jne 0x1400667c8
mov dword [0x1400bd848], 1
lea rdx, [0x140075fd8]
lea rcx, [0x140075fb0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400667a9
mov eax, 0xff
jmp 0x140066885
lea rdx, [0x140075fa8]
lea rcx, [0x140075e18]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1400bd848], 2
jmp 0x1400667d0
mov dil, 1
mov byte [rsp + 0x20], dil
mov cl, bl
call fcn.140066150
call fcn.140066ea8
mov rbx, rax
cmp qword [rax], 0
je 0x140066807
mov rcx, rax
call fcn.1400660b4
test al, al
je 0x140066807
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.140066af8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
call fcn.140066eb0
mov rbx, rax
cmp qword [rax], 0
je 0x140066829
mov rcx, rax
call fcn.1400660b4
test al, al
je 0x140066829
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call fcn.140066a20
movzx ebx, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
mov r8, rax
mov r9d, ebx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14004bac0
mov ebx, eax
call fcn.140066a5c
test al, al
je 0x1400668a5
test dil, dil
jne 0x14006685f
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140066174
mov eax, ebx
jmp 0x140066885
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400668d4
nop
mov ecx, 7
call fcn.1400668d4
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140066db0
add rsp, 0x28
jmp 0x140066740
Function at 0x140068110
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x140068284
cmp byte [rcx + 0x71], r15b
je 0x140068284
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.140066af8
or edx, 0xffffffff
mov rcx, r12
call rbx
cmp eax, 0xffffffff
jne 0x140068182
xor al, al
jmp 0x140068289
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140038d30
nop
mov r13d, 1
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
lea r14, [rbp - 0x30]
cmovae r14, r8
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, rcx
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.140066af8
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x1400681fb
sub ecx, r13d
je 0x140068200
cmp ecx, 2
jne 0x140068276
jmp 0x140068273
mov byte [r12 + 0x71], r15b
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r8
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x140068249
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov rdx, r13
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp rbx, rax
jne 0x140068270
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
cmp byte [r12 + 0x71], r15b
je 0x14006826d
test rbx, rbx
jne 0x1400681a1
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.14003b070
jmp 0x140068199
mov r15b, r13b
mov r13b, r15b
mov r15b, r13b
lea rcx, [rbp - 0x30]
call fcn.14003aff0
mov al, r15b
jmp 0x140068289
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140069758
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x1400698d1
cmp byte [rcx + 0x72], r15b
je 0x1400698d1
mov rax, qword [rcx]
mov edi, 0xffff
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.140066af8
movzx edx, di
mov rcx, r12
call rbx
cmp di, ax
jne 0x1400697cf
xor al, al
jmp 0x1400698d6
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140038d30
nop
mov r13d, 1
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
lea r14, [rbp - 0x30]
cmovae r14, r8
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, rcx
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.140066af8
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x140069848
sub ecx, r13d
je 0x14006984d
cmp ecx, 2
jne 0x1400698c3
jmp 0x1400698c0
mov byte [r12 + 0x72], r15b
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r8
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x140069896
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov rdx, r13
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp rbx, rax
jne 0x1400698bd
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
cmp byte [r12 + 0x72], r15b
je 0x1400698ba
test rbx, rbx
jne 0x1400697ee
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.14003b070
jmp 0x1400697e6
mov r15b, r13b
mov r13b, r15b
mov r15b, r13b
lea rcx, [rbp - 0x30]
call fcn.14003aff0
mov al, r15b
jmp 0x1400698d6
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x14006cd5c
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14007b438]
xor ecx, ecx
lea r8, [0x14007b430]
lea rdx, str.FlsAlloc
call fcn.14006cb84
mov rbx, rax
test rax, rax
je 0x14006cd9c
mov rcx, rax
call fcn.140066af8
mov rcx, rdi
call rbx
jmp 0x14006cda2
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14006ce04
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14007b448]
mov ecx, 2
lea r8, [0x14007b440]
lea rdx, str.FlsGetValue
call fcn.14006cb84
mov rdi, rax
test rax, rax
je 0x14006ce45
mov rcx, rax
call fcn.140066af8
mov ecx, ebx
call rdi
jmp 0x14006ce4d
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006ce58
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14007b450]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14007b448]
call fcn.14006cb84
mov rsi, rax
test rax, rax
je 0x14006cea4
mov rcx, rax
call fcn.140066af8
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14006ceaf
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret