joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401532d0
Capabilities:
Get disk information
Get file size
Read file via mapping

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x880
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rsi, r9
mov r15, r8
mov r14, rdx
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x140153311
xor al, al
jmp 0x140153501
mov qword [rsp + 0x878], rbp
lea rdx, [rsp + 0x30]
xor ebp, ebp
mov rcx, rdi
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [rsp + 0x30]
mov word [r14], bp
test eax, eax
jne 0x140153341
test edx, edx
je 0x1401534f6
shl rdx, 0x20
xor r9d, r9d
mov eax, eax
mov rcx, rdi
or rdx, rax
mov qword [rsp + 0x28], rbp
mov qword [rsi], rdx
xor edx, edx
lea r8d, [r9 + 2]
mov qword [rsp + 0x870], r12
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r12, rax
test rax, rax
je 0x1401534ee
xor r9d, r9d
mov qword [rsp + 0x20], 1
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
je 0x1401534e5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, r15d
mov r8, r14
mov rcx, rax
mov rdx, rbp
call sub.KERNEL32.dll_K32GetMappedFileNameW
test eax, eax
je 0x1401534da
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x460]
mov ecx, 0x1ff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1401534da
mov eax, dword [0x1402377e8]
lea rbx, [rsp + 0x460]
mov dword [rsp + 0x34], eax
xor sil, sil
movzx eax, word [0x1402377ec]
mov word [rsp + 0x38], ax
nop dword [rax + rax]
movzx eax, word [rbx]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
mov word [rsp + 0x34], ax
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1401534c0
lea rcx, [rsp + 0x40]
call fcn.14004d300
mov rdi, rax
cmp rax, 0x104
jae 0x1401534c0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14004d450
test eax, eax
jne 0x140153478
cmp word [r14 + rdi*2], 0x5c
jne 0x140153478
mov sil, 1
jmp 0x14015347b
xor sil, sil
test sil, sil
je 0x1401534c0
lea rax, [r14 + rdi*2]
mov edx, 0x104
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rsp + 0x250]
call fcn.14004b8e0
mov r8, r15
lea rdx, [rsp + 0x250]
mov rcx, r14
call fcn.14004d210
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x1401534c0
test sil, sil
jne 0x1401534da
cmp word [rbx], ax
jne 0x140153420
mov rcx, rbp
mov bl, 1
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x870]
mov rbp, qword [rsp + 0x878]
movzx eax, bl
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14012fd90
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140153520
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov byte [rdx], 0
mov rdi, r8
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov dword [rsp + 0x38], edi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x14015355b
mov r8, rdi
lea rdx, str._unknown_machine_name_
mov rcx, rbx
call fcn.14004d1b0
mov rcx, rbx
call fcn.14004d280
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140153760
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x120]
mov rax, rdx
mov rbx, rcx
test r9, r9
je 0x1401537a1
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rbx + 0x120]
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
mov rax, rdi
je 0x1401537a8
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140153840
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
je 0x1401538b1
cmp r8, 0xffffffffffffffff
jne 0x140153873
mov rcx, rdx
call fcn.14004d280
mov rdi, rax
mov r9, qword [rsi + 0x120]
mov r8, rdi
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsi + 0x120]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp rbx, rdi
sete al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401538d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
xor eax, eax
mov esi, r8d
mov qword [r11 - 0x38], rax
mov rdi, rdx
mov qword [r11 - 0x30], rax
mov rbx, rcx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
test r9b, r9b
je 0x1401539a3
xor edx, edx
lea rcx, [r11 - 0x38]
call fcn.14013bb10
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
mov r8, qword [rbx + 0x8c0]
mov rcx, rbx
mov r10, qword [rbx]
mov rax, qword [rsp + 0x90]
test r8, r8
je 0x140153979
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 0x740]
mov r9d, 0xb
mov byte [rsp + 0x20], 1
call qword [r10 + 0x170]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov r9b, 1
mov qword [rsp + 0x20], rax
mov r8d, 0xb
lea rdx, [rsp + 0x30]
call qword [r10 + 0x168]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
test rdi, rdi
je 0x1401539b6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140153a17
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14013bb50
test al, al
je 0x140153a09
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
mov rax, qword [rsp + 0x90]
lea rdx, [rsp + 0x30]
mov r10, qword [rbx]
mov r9b, 1
mov r8d, 0xb
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [r10 + 0x168]
test rdi, rdi
je 0x140153a17
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140153a30
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.14004a3f0
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
lea rdx, str.App_path
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, [0x140237eac]
lea rdx, str.Language
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.Microsoft_Visual_C_compiler__version_1916
lea rdx, str.Compiler
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.64_bit
lea rdx, str.Addressing
mov rcx, rdi
call qword [rax + 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x140153ba8
mov edx, esi
mov qword [rsp + 0x188], rbx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140153b7d
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140153b74
lea r9, [rsp + 0x44]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x14019ece4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140153b74
mov r9, qword [rsp + 0x48]
mov rcx, rdi
mov r10, qword [rdi]
movzx edx, word [r9 + 0xe]
movzx r8d, word [r9 + 8]
movzx eax, word [r9 + 0xc]
movzx r9d, word [r9 + 0xa]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edx
lea rdx, str.App_version
mov dword [rsp + 0x20], r8d
lea r8, str._u._u._u._u
call qword [r10 + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x188]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14012fd90
mov rsi, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
ret
mov al, 1
jmp 0x140153b87
Function at 0x140154cb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor dil, dil
mov rbx, rcx
cmp dword [rcx + 0x14], 0
je 0x140154da9
xor edx, edx
mov qword [rsp + 0x288], rsi
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140154d69
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140154d5b
mov dil, 1
nop dword [rax + rax]
mov rax, qword [rbx]
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x28]
lea rdx, str.0x_08x__ls_r_n
mov rcx, rbx
call qword [rax + 0x78]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140154d30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x140154d7c
mov rax, qword [rbx]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x70]
mov rsi, qword [rsp + 0x288]
movzx eax, dil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14012fd90
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
mov rax, qword [rcx]
lea rdx, str.kOptionReportProcessList_is_currently_disabled._Use_ReportWriter::SetOption_to_enable_it._r_n
xor r8d, r8d
call qword [rax + 0x70]
movzx eax, dil
jmp 0x140154d88
Function at 0x140156250
Capabilities:
Enumerate threads

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401563bb
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1401563ae
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r13, str.__exception_thread_
mov qword [rsp + 0xa8], r14
mov r15d, eax
xor r12d, r12d
nop dword [rax + rax]
cmp dword [rsp + 0x3c], ebp
jne 0x14015637a
mov r9d, dword [rsp + 0x38]
lea rcx, [0x14018f9b0]
cmp r9d, dword [rdi + 0x738]
lea r8, str.SysThreadId__DWORD_:__u_s__Windows_thread_base_priority:__ld
mov eax, dword [rsp + 0x40]
lea rdx, str.Thread
mov r10, qword [rdi]
sete bl
cmp r9d, r15d
mov dword [rsp + 0x28], eax
sete r14b
test bl, bl
cmovne rcx, r13
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [r10 + 0x88]
test bl, bl
jne 0x14015637a
mov r8d, dword [rsp + 0x38]
mov edx, 1
lea ecx, [rdx + 9]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x14015637a
mov rax, qword [rdi]
movzx r9d, r14b
mov r8d, dword [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], r12
call qword [rax + 0x158]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1401562e0
mov r15, qword [rsp + 0x60]
mov bl, 1
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1401563ce
mov rax, qword [rdi]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x70]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14012fd90
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140157050
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
cmp dword [rax], 0x80000000
jae 0x140157078
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
add rcx, 0x10
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rdi + 0x1c], 1
jne 0x1401570ee
mov rax, qword [rbx]
cmp dword [rax], 0xc00000fd
jne 0x1401570e1
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rdx, qword [rdi + 0x9a0]
lea r9, [rsp + 0x20]
mov ecx, dword [rsp + 0x34]
lea r8, [fcn.140157150]
dec rcx
mov qword [rsp + 0x28], rdx
not rcx
lea rax, [rdx + 0x40000]
mov rdx, rbx
and rcx, rax
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.14015b120
jmp 0x1401570fe
mov rdx, rbx
mov rcx, rdi
call fcn.140157150
jmp 0x1401570fe
cmp dword [rdi + 0x3c], 2
je 0x1401570fe
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rdi + 0x3c], 1
jne 0x14015712b
mov ebx, dword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [rdi + 0x48]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x70]
xor eax, eax
cmp dword [rdi + 0x3c], 2
mov rbx, qword [rsp + 0x78]
setne al
add rsp, 0x60
pop rdi
ret
Function at 0x1401581f0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
mov rsi, rdx
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbx + 0x1c], 1
jne 0x140158242
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9, qword [rbx + 0x9a0]
lea r8, [0x1401582b0]
add r9, 0x40000
mov rdx, rsi
mov rcx, rbx
call fcn.14015b120
jmp 0x140158252
cmp dword [rbx + 0x3c], 2
je 0x140158252
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbx + 0x3c], 1
jne 0x140158262
mov ecx, dword [rbx + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbx + 0x3c], 2
je 0x140158282
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.14001a010
lea rdx, [0x140285fe0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1401587b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x21c8]
mov rsi, r8
mov rax, rdx
mov rdi, rcx
test r9, r9
je 0x1401587fe
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
cmp rax, rsi
jne 0x1401587fe
mov rcx, qword [rdi + 0x21c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
mov rax, rbx
je 0x140158805
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140159330
Capabilities:
Terminate process

Disassembly:
mov rcx, qword [rcx + 0x1048]
test rcx, rcx
jne 0x140159330
ret
push rbp
push r14
sub rsp, 0x98
mov r14, rcx
mov qword [rsp + 0x80], r15
add rcx, 0x10
mov r15d, edx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [r14 + 0x1c], 1
jne 0x140159539
mov qword [rsp + 0xb8], rbx
lea rcx, [r14 + 0x290]
mov qword [rsp + 0xc0], rsi
xor edx, edx
mov qword [rsp + 0x90], rdi
mov r8d, 0x4d0
mov qword [rsp + 0x88], r12
mov byte [r14 + 9], 1
call sub.VCRUNTIME140.dll_memset
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.14004fc90
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14013bb10
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0x388], rax
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x328], rax
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x330], rax
call fcn.14004fc90
mov rcx, rax
mov qword [r14 + 0x250], rax
call sub.KERNEL32.dll_GetThreadId
lea r8, [r14 + 0x25c]
mov dword [r14 + 0x258], eax
lea r9d, [r12 + 0x18]
lea rdx, [r14 + 0x258]
lea rcx, [r14 + 0x250]
call fcn.1401580c0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
lea rdx, [r14 + 0x290]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x170], xmm1
mov eax, dword [rax + 0x20]
mov dword [r14 + 0x180], eax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
call fcn.14013bae0
lea rcx, [r14 + 0x188]
lea r8, [rsp + 0x50]
lea edx, [r12 + 0x18]
call fcn.14013b8e0
mov qword [r14 + 0x248], rax
lea rcx, [r14 + 0x760]
mov rax, qword [r14 + 0x388]
lea rdx, str.Simulated_exception__d.
mov r8d, r15d
mov qword [r14 + 0x278], rax
call fcn.14015aef0
mov rcx, qword [r14]
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
test rcx, rcx
je 0x14015954a
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x178]
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0x110]
test al, 1
je 0x140159526
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0x168]
mov rcx, qword [r14]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x178]
jmp 0x14015954a
cmp dword [r14 + 0x3c], 2
je 0x14015954a
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [r14 + 0x3c], 1
mov r15, qword [rsp + 0x80]
jne 0x140159564
mov ecx, dword [r14 + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [r14 + 0x10]
add rsp, 0x98
pop r14
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14015fe90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12d, dword [rcx + 0x90]
mov rdi, rcx
xor r14d, r14d
mov r13d, 0x40000000
nop
mov ecx, dword [rdi + 0x80]
test ecx, ecx
jne 0x14015ff3c
mov eax, dword [rdi + 0x6c]
test eax, eax
je 0x14015feda
cmp eax, 0xfffffffb
jne 0x140160014
cmp dword [rdi + 0x50], 0
jne 0x14015ff38
mov ebp, dword [rdi + 0x28]
xor ebx, ebx
mov r15, qword [rdi + 0x30]
nop dword [rax]
mov ecx, dword [rdi + 0x1c]
mov r8d, ebp
sub r8d, ebx
mov edx, ebx
cmp r8d, r13d
cmova r8d, r13d
add rdx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
test eax, eax
jle 0x14015ff17
add ebx, eax
cmp ebx, ebp
jb 0x14015fef0
test eax, eax
js 0x14015ff7d
test eax, eax
jne 0x14015ff24
mov dword [rdi + 0x50], 1
add dword [rdi + 0x80], ebx
mov rax, qword [rdi + 0x30]
mov ecx, dword [rdi + 0x80]
mov qword [rdi + 0x78], rax
test ecx, ecx
je 0x14015ff95
xor edx, edx
lea rcx, [rdi + 0x78]
call fcn.14015e220
mov r14d, eax
lea ecx, [rax + 2]
test ecx, 0xfffffffb
je 0x140160000
cmp eax, 0xfffffffc
je 0x14015fff2
cmp eax, 0xfffffffd
je 0x14015ffd6
mov eax, dword [rdi + 0x90]
test eax, eax
je 0x14015ffaf
cmp r14d, 1
jne 0x14015fec0
jmp 0x14015ffaf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov r8, rax
mov edx, 0xffffffff
jmp 0x14016000c
lea r8, str.unexpected_end_of_file
mov edx, 0xfffffffb
mov rcx, rdi
call fcn.140160cf0
mov eax, dword [rdi + 0x90]
sub r12d, eax
mov ecx, r12d
mov dword [rdi], ecx
mov rax, qword [rdi + 0x88]
sub rax, rcx
mov qword [rdi + 8], rax
cmp r14d, 1
jne 0x14015ffd2
mov dword [rdi + 0x44], 0
xor eax, eax
jmp 0x140160019
mov rax, qword [rdi + 0x98]
lea r8, str.compressed_data_error
test rax, rax
mov edx, 0xfffffffd
cmovne r8, rax
jmp 0x14016000c
lea r8, str.out_of_memory
mov edx, 0xfffffffc
jmp 0x14016000c
lea r8, str.internal_error:_inflate_stream_corrupt
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.140160cf0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401600f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor eax, eax
mov rbx, r9
mov dword [r9], eax
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
mov r14d, 0x40000000
mov ecx, dword [rsi + 0x1c]
mov r8d, edi
sub r8d, eax
mov edx, eax
cmp r8d, r14d
cmova r8d, r14d
add rdx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov edx, eax
test eax, eax
jle 0x14016014c
mov eax, dword [rbx]
add eax, edx
mov dword [rbx], eax
cmp eax, edi
jb 0x140160121
test edx, edx
jns 0x140160175
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rsi
mov r8, rax
call fcn.140160cf0
mov eax, 0xffffffff
jmp 0x140160180
jne 0x14016017e
mov dword [rsi + 0x50], 1
xor eax, eax
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 0x1401661f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea edx, [rsi + 0x18]
mov rcx, r15
call fcn.14006e750
mov edi, 2
mov dword [rsp + 0x20], edi
movzx ebp, byte [r12]
mov r14d, 1
not ebp
nop dword [rax + rax]
movzx ebx, bpl
xor bl, byte [r14 + r12]
lea r14, [r14 + 1]
mov rdx, rsi
mov rcx, r15
call fcn.14006f0e0
or byte [rax], bl
movzx eax, bl
xor eax, ebp
imul ebp, eax, 0x1000193
inc rsi
cmp rsi, 0x18
jb 0x140166240
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
or edi, 1
mov dword [rsp + 0x20], edi
mov rax, r15
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x415280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41540b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c8158]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4152e5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4152f4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415313
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415323
cmp rbx, 0x1000
jae 0x4152eb
jmp 0x41538d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415335
xor edx, edx
jmp 0x415384
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c8158]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415319
jmp 0x415308
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c8158]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004ca245]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004ca6cd]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004cca42]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS