joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400087a0
Capabilities:
Get file size
Print debug messages
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x60
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x40], ebp
lea r8d, [rbp + 1]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140008918
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
lea r8d, [rbp + 0xe]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140008824
lea rcx, str.Error_reading_welcome_bitmap_file__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400088a0
mov eax, dword [rsp + 0x4a]
test eax, eax
jne 0x14000883b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x4a], eax
cmp dword [rsp + 0x40], 0xe
jne 0x140008907
mov ecx, 0x4d42
cmp word [rsp + 0x48], cx
jne 0x140008907
mov qword [rsp + 0x78], rsi
mov edx, 1
lea esi, [rax - 0xe]
mov qword [rsp + 0x80], rdi
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x1400088bb
lea rcx, str.Out_of_memory_loading_welcome_bitmap_file__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140009ea0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rbp
ret
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400088f9
lea rcx, str.Error_reading_welcome_bitmap_file__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140008891
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
jmp 0x140008893
lea rcx, str.Invalid_welcome_bitmap_file_format__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400088a0
lea rcx, str.Welcome_bitmap_file_does_not_exist__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400088a0
Function at 0x140008930
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x68], rbx
mov eax, dword [0x14001aab0]
test eax, eax
je 0x140008977
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14001aab0]
test eax, eax
jne 0x140008980
call fcn.140005f20
test eax, eax
je 0x140008996
lea rdx, [rsp + 0x68]
mov rcx, qword [0x140019038]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14000899a
xor eax, eax
jmp 0x1400089f0
mov qword [rsp + 0x20], rbx
lea r9, [0x140006d40]
mov r8, rdi
mov edx, 0x6d47
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
mov qword [rsp + 0x30], rax
mov edi, ebx
test rax, rax
sete dil
test edi, edi
je 0x1400089d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400089ed
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a044
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a0d5
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14000a0d5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a0d5
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000a0b9
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000a0b3
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000a0bb
add rdx, 0x28
jmp 0x14000a098
xor edx, edx
test rdx, rdx
jne 0x14000a0c4
xor al, al
jmp 0x14000a0db
test dword [rdx + 0x24], 0x80000000
je 0x14000a0d1
xor al, al
jmp 0x14000a0db
mov al, 1
jmp 0x14000a0db
xor al, al
jmp 0x14000a0db
add rsp, 0x18
ret
Function at 0x140008ed8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x38], 0
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x140008eff
and qword [rdx], 0
mov r8, qword [rcx + 0x38]
lea r12, [0x14030c3a0]
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [0x140208320]
lea r8, [0x1402670cc]
mov rdx, r12
lea rcx, [rbp + 0x38]
call fcn.1401e07f0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400090ce
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.1401e115c
mov r9, qword [rbp + 0x38]
lea rcx, [0x14030f3a0]
mov r8d, 0x10
lea r15d, [r8 - 0xf]
mov edx, r15d
call fcn.1401e35a8
mov rax, qword [0x14030f3a0]
cmp rax, qword [0x140302a50]
jne 0x1400090c5
mov rax, qword [0x14030f3a8]
cmp rax, qword [0x140302a58]
jne 0x1400090c5
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 0x15]
mov r8d, r15d
call fcn.1401e115c
mov r9, qword [rbp + 0x38]
lea r8d, [r15 + 3]
mov edx, r15d
lea rcx, [rbp + 0x30]
call fcn.1401e35a8
cmp rax, 4
jne 0x1400090c5
mov ecx, dword [rbp + 0x30]
call qword [0x1402089b8]
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 5]
sub edx, eax
mov dword [rbp + 0x30], eax
mov r8d, r15d
call fcn.1401e115c
movsxd rdx, dword [rbp + 0x30]
mov eax, 0xffffffff
mov rcx, rdx
cmp rdx, rax
jae 0x140009015
cmp rax, rdx
je 0x140009015
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x140009015
add rcx, 0x18
call fcn.1401e3670
mov edx, dword [rbp + 0x30]
jmp 0x140009017
xor eax, eax
movsxd rdx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call fcn.14009f390
mov rdi, rax
test rbx, rbx
je 0x140009033
mov qword [rbx], rax
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov r9, qword [rbp + 0x38]
mov rcx, rdi
call fcn.1401e35a8
movsxd rcx, dword [rbp + 0x30]
cmp rax, rcx
jne 0x1400090c5
test rbx, rbx
jne 0x1400090c5
mov rcx, qword [rsi + 0x38]
lea rdx, str..msh
and qword [rbp + 0x40], rbx
call fcn.140003b00
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
mov r8, rax
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [0x140208320]
lea r8, [0x140268ec0]
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.1401e07f0
mov r9, qword [rbp + 0x40]
test r9, r9
je 0x1400090bd
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov rcx, rdi
call fcn.1401e1f94
mov rcx, qword [rbp + 0x40]
call fcn.1401e0da0
mov rcx, rdi
call fcn.14009f478
mov rcx, qword [rbp + 0x38]
call fcn.1401e0da0
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ddc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r13d, r13d
lea rdx, [rbp - 0x29]
mov r14d, r13d
mov r15, rcx
call qword [0x1402088c0]
mov rcx, qword [rbp - 0x19]
lea r8, [rbp - 0x49]
lea edx, [r13 + 0x20]
call qword [0x140208268]
cmp eax, 0x20
jne 0x14000dfc3
xor ecx, ecx
call qword [0x1402088b0]
mov rsi, rax
test rax, rax
je 0x14000dfc3
mov rcx, rax
call qword [0x140208278]
mov rbx, rax
mov eax, dword [rbp - 0x41]
cmp qword [rbp - 0x11], r13
jne 0x14000de4d
cdq
sub eax, edx
sar eax, 1
mov edx, dword [rbp - 0x45]
mov r8d, eax
mov rcx, rsi
call qword [0x140208260]
mov rdi, rax
test rbx, rbx
je 0x14000df9a
test rax, rax
je 0x14000dfa8
mov rdx, rax
mov rcx, rbx
call qword [0x140208270]
xor edx, edx
lea rcx, [rbp - 9]
mov r12, rax
lea r8d, [rdx + 0x2c]
call fcn.1401dad10
mov eax, dword [rbp - 0x41]
mov dword [rbp - 9], 0x28
mov dword [rbp + 7], r13d
cmp qword [rbp - 0x11], r13
jne 0x14000dea8
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x40], 3
mov r9, r15
mov qword [rsp + 0x38], r13
xor r8d, r8d
mov dword [rsp + 0x30], r13d
xor edx, edx
mov dword [rsp + 0x28], eax
mov rcx, rbx
mov eax, dword [rbp - 0x45]
mov dword [rsp + 0x20], eax
call qword [0x140208918]
lea rax, [rbp - 9]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov rdx, rdi
mov rcx, rsi
call qword [0x140208280]
mov ecx, dword [rbp + 0xb]
call fcn.1401e3670
mov r15, rax
test rax, rax
je 0x14000dff3
mov eax, dword [rbp - 0x41]
mov dword [rbp + 7], r13d
cmp qword [rbp - 0x11], r13
jne 0x14000df21
cdq
sub eax, edx
sar eax, 1
lea rcx, [rbp - 9]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rcx
mov r9d, eax
mov rcx, rsi
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, rdi
call qword [0x140208280]
movsxd rax, dword [rbp + 0xb]
mov rdx, r15
sar rax, 2
mov r8, r13
lea rcx, [r15 + rax*4]
lea rax, [rax*4 + 3]
shr rax, 2
cmp r15, rcx
cmova rax, r13
test rax, rax
je 0x14000df86
imul r14d, r14d, 0x1000193
inc r8
xor r14d, dword [rdx]
lea rdx, [rdx + 4]
cmp r8, rax
jb 0x14000df70
mov rcx, r15
call fcn.1401e2228
mov rdx, r12
mov rcx, rbx
call qword [0x140208270]
test rdi, rdi
je 0x14000dfa8
mov rcx, rdi
call qword [0x140208288]
test rbx, rbx
je 0x14000dfb8
mov rdx, rbx
xor ecx, ecx
call qword [0x140208940]
mov rdx, rsi
xor ecx, ecx
call qword [0x140208940]
mov eax, r14d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401d9840
lea r11, [rsp + 0xd0]
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
call qword [0x140208330]
mov edi, 0xfe
lea rdx, str...meshcoreKVMWindowsinput.c
mov r9d, edi
mov dword [rsp + 0x20], eax
xor ecx, ecx
lea ebx, [rdi - 0x52]
mov r8d, ebx
call fcn.1400a8e8c
mov r8d, ebx
lea rdx, str...meshcoreKVMWindowsinput.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, edi
call fcn.1401dbf38
int3
Function at 0x140011358
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r15
mov r10d, dword [0x14030a34c]
mov ebp, edx
mov r11d, dword [0x14030a334]
mov eax, r10d
cdq
xor r13d, r13d
idiv r11d
mov r15, r8
mov r12d, ecx
mov r9d, r13d
mov ebx, edx
test edx, edx
je 0x1400113a3
mov r8d, r11d
sub r8d, edx
add r8d, r10d
jmp 0x1400113a6
mov r8d, r10d
sub r8d, ebp
sub r8d, dword [0x14030a310]
test ebx, ebx
je 0x1400113be
mov eax, r11d
sub eax, ebx
add eax, r10d
jmp 0x1400113c1
mov eax, r10d
sub eax, ebp
cmp r8d, eax
jge 0x14001144f
mov eax, dword [0x14030a300]
cdq
idiv r11d
test edx, edx
je 0x1400113e7
mov eax, r11d
sub eax, edx
add eax, dword [0x14030a300]
jmp 0x1400113ed
mov eax, dword [0x14030a300]
imul eax, r8d
mov rdi, r13
add eax, r12d
imul eax, dword [0x14030a35c]
movsxd rdx, eax
mov eax, dword [0x14030a35c]
add rdx, r15
imul eax, r11d
movsxd rcx, eax
sar rcx, 2
lea rax, [rdx + rcx*4]
lea rcx, [rcx*4 + 3]
shr rcx, 2
cmp rdx, rax
cmova rcx, r13
test rcx, rcx
je 0x140011447
imul r9d, r9d, 0x1000193
inc rdi
xor r9d, dword [rdx]
lea rdx, [rdx + 4]
cmp rdi, rcx
jb 0x140011431
inc r8d
jmp 0x1400113b0
mov rbx, qword [rsp + 0x18]
mov eax, r9d
mov rbp, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
pop r15
pop r13
ret
Function at 0x14009d574
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [rax + 8], 0
xor ebx, ebx
mov rbp, r8
mov rsi, rdx
test rcx, rcx
jne 0x14009d5a1
xor eax, eax
jmp 0x14009d680
mov r8, rcx
mov dword [rsp + 0x28], 0x1000
lea rdi, [0x14030c3a0]
mov ecx, 0xfde9
or r9d, 0xffffffff
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [0x140208320]
lea r8, [0x1402da398]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1401e07f0
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x14009d67d
cmp qword [rsi], rbx
jne 0x14009d641
xor edx, edx
mov rcx, r9
lea r8d, [rdx + 2]
call fcn.1401e115c
mov rcx, qword [rsp + 0x40]
call fcn.1401dc47c
mov rcx, qword [rsp + 0x40]
movsxd rdi, eax
cmp rdi, rbp
cmova rdi, rbp
xor r8d, r8d
xor edx, edx
call fcn.1401e115c
lea rcx, [rdi + 1]
call fcn.1401e3670
mov qword [rsi], rax
test rax, rax
jne 0x14009d665
mov rcx, qword [rsp + 0x40]
call fcn.1401e0da0
jmp 0x14009d59a
lea rdi, [rbp - 1]
cmp rbx, rdi
jae 0x14009d66c
mov rcx, qword [rsi]
mov r8, rdi
sub r8, rbx
mov edx, 1
call fcn.1401e35a8
add rbx, rax
test rax, rax
je 0x14009d66c
mov r9, qword [rsp + 0x40]
jmp 0x14009d645
mov rcx, qword [rsi]
mov byte [rbx + rcx], 0
mov rcx, qword [rsp + 0x40]
call fcn.1401e0da0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a835c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov dword [rax - 0x10], 0x1000
mov r8, rdx
lea rdi, [0x14030c3a0]
xor ebx, ebx
mov qword [rax - 0x18], rdi
and qword [rax + 0x18], rbx
xor edx, edx
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [0x140208320]
lea r8, [0x1402670cc]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401e07f0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x1400a83c3
and qword [rsi], rbx
xor eax, eax
jmp 0x1400a8449
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401e115c
mov rcx, qword [rsp + 0x50]
call fcn.1401dc47c
cmp eax, 0x7fffffff
jge 0x1400a83f5
mov rcx, qword [rsp + 0x50]
call fcn.1401dc47c
mov ebx, eax
test eax, eax
jns 0x1400a83f5
and qword [rsi], 0
jmp 0x1400a83bc
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.1401e115c
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.1401e3670
mov rdi, rax
test rax, rax
je 0x1400a8459
test ebx, ebx
jle 0x1400a8433
mov r9, qword [rsp + 0x50]
mov edx, 1
movsxd r8, ebx
mov rcx, rax
call fcn.1401e35a8
mov rbx, rax
movsxd rcx, ebx
mov byte [rcx + rdi], 0
mov rcx, qword [rsp + 0x50]
call fcn.1401e0da0
mov eax, ebx
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [0x140208330]
mov edi, 0xfe
lea rdx, [0x1402da548]
mov ebx, 0x2544
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, ebx
lea rdx, [0x1402da548]
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, edi
call fcn.1401dbf38
int3
Function at 0x1400a84a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax + 0x20], 0
lea rsi, [0x14030c3a0]
movsxd rbx, r8d
mov rdi, rdx
mov r8, rcx
mov dword [rax - 0x10], 0x1000
mov ecx, 0xfde9
mov qword [rax - 0x18], rsi
or r9d, 0xffffffff
xor edx, edx
call qword [0x140208320]
lea r8, [0x140268ec0]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1401e07f0
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x1400a8519
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1401e1f94
mov rcx, qword [rsp + 0x58]
call fcn.1401e0da0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a852c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rdi
sub rsp, 0x30
mov rbx, qword [0x140302b48]
lea rsi, [0x14030c3a0]
and qword [rax + 0x20], 0
or r9d, 0xffffffff
movsxd rdi, r8d
xor edx, edx
mov r8, qword [0x14030adb0]
mov ecx, 0xfde9
mov dword [rax - 0x10], 0x1000
mov qword [rax - 0x18], rsi
call qword [0x140208320]
lea r8, [0x1402daab0]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1401e07f0
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x1400a85dc
test rbx, rbx
je 0x1400a85be
xor edx, edx
mov rcx, r9
lea r8d, [rdx + 2]
call fcn.1401e115c
mov rcx, qword [rsp + 0x58]
call fcn.1401dc46c
cmp rax, rbx
jae 0x1400a85d2
mov r9, qword [rsp + 0x58]
mov r8, rdi
lea rcx, [0x14030b3a0]
mov edx, 1
call fcn.1401e1f94
mov rcx, qword [rsp + 0x58]
call fcn.1401e0da0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a9188
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, [rcx + 0x18]
mov rax, rcx
neg rax
mov rdi, rcx
sbb rdx, rdx
and rdx, r8
xor r8d, r8d
mov rbx, qword [rdx]
xor edx, edx
mov rcx, rbx
call fcn.1401e115c
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401e35a8
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test rax, rax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400a91e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, [rcx + 0x18]
mov rax, rcx
neg rax
mov rdi, rcx
sbb rdx, rdx
and rdx, r8
xor r8d, r8d
mov rbx, qword [rdx]
xor edx, edx
mov rcx, rbx
call fcn.1401e115c
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401e1f94
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401e98f4
Function at 0x1400a92c8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
lea rbx, [0x14030c3a0]
mov r8, rcx
mov ebp, 0x1000
mov dword [rax - 0x10], ebp
or r9d, 0xffffffff
xor edx, edx
mov qword [rax - 0x18], rbx
mov ecx, 0xfde9
call qword [0x140208320]
lea r8, [0x1402dab70]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e07f0
xor edi, edi
test eax, eax
je 0x1400a9351
mov dword [rsp + 0x28], ebp
or r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xfde9
call qword [0x140208320]
lea r8, [0x1402dab60]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e07f0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1400a9362
xor eax, eax
jmp 0x1400a9484
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401e115c
mov rcx, qword [rsp + 0x58]
call fcn.1401dc47c
mov ebp, 0x10
cmp eax, ebp
jge 0x1400a93ee
test rsi, rsi
je 0x1400a9395
mov edx, 0x104
mov rcx, rsi
call fcn.1401e2fdc
mov rdi, rax
lea eax, [rdi + 0x1011]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009f674
mov rdx, rsi
mov rbx, rax
mov dword [rax + 4], 0x1f4000
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov rcx, rax
call fcn.1400a9234
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.1401e1f94
mov rcx, qword [rsp + 0x58]
call fcn.1401e98f4
jmp 0x1400a9481
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
call fcn.1401e115c
test rsi, rsi
jne 0x1400a9407
mov rax, rdi
jmp 0x1400a9414
mov edx, 0x104
mov rcx, rsi
call fcn.1401e2fdc
add eax, 0x1011
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009f674
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rax
mov rbx, rax
call fcn.1401e35a8
cmp rax, rbp
je 0x1400a945e
mov rcx, rbx
call fcn.1401e2228
mov rcx, qword [rsp + 0x58]
mov rbx, rdi
call fcn.1401e0da0
jmp 0x1400a9481
lea rcx, [rbx + 0x18]
mov rax, rbx
neg rax
mov rax, qword [rsp + 0x58]
sbb rdx, rdx
and rdx, rcx
mov rcx, rbx
mov qword [rdx], rax
mov rdx, rsi
call fcn.1400a9234
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400acf00
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0xe8]
mov r13, rdx
xor edx, edx
movsxd r14, r8d
mov rsi, r9
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.1401e115c
mov rcx, rbx
call fcn.1401dc46c
movsxd rbp, dword [rsp + 0xe0]
mov r12, rax
lea ecx, [rbp + 0x3c]
add ecx, r14d
call qword [0x1402089a0]
mov ecx, r14d
mov dword [rsp + 0x20], eax
call qword [0x1402089a0]
mov ecx, ebp
mov dword [rsp + 0x24], eax
call qword [0x1402089a0]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x2c]
test rdi, rdi
je 0x1400acf99
mov eax, 0x30
mov r8, rdi
mov r9d, eax
mov edx, eax
call section..text
jmp 0x1400acfa4
xor edx, edx
lea r8d, [rdx + 0x30]
call fcn.1401dad10
mov edx, 1
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r8d, [rdx + 0x3b]
call fcn.1401e1f94
mov r9, rbx
mov r8, r14
mov edx, 1
mov rcx, r13
mov rdi, rax
mov r15, r14
call fcn.1401e1f94
mov rcx, rbx
add rdi, rax
call fcn.1401dc46c
mov r14, rax
test rsi, rsi
je 0x1400acffc
mov r8, rbp
mov r9, rbx
mov edx, 1
mov rcx, rsi
call fcn.1401e1f94
add rdi, rax
mov rcx, rbx
call fcn.1401e98f4
neg rsi
lea rdx, [r15 + 0x3c]
sbb eax, eax
and eax, ebp
cdqe
add rdx, rax
cmp rdi, rdx
jae 0x1400ad056
mov rcx, rbx
call fcn.1401ed400
mov ecx, eax
call fcn.1401ecc30
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [0x1402085c8]
mov rcx, rbx
call fcn.1401ed400
mov ecx, eax
call fcn.1401ecc30
mov rcx, rax
call qword [0x1402085b8]
xor eax, eax
jmp 0x1400ad059
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401d9840
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ad078
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1140
call fcn.1401d9db0
sub rsp, rax
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x1130], rax
mov r14d, edx
mov rdi, rcx
test rcx, rcx
jne 0x1400ad0bb
xor eax, eax
jmp 0x1400ad22b
lea rbx, [rcx + 0x18]
mov rcx, qword [rcx]
call fcn.1401dc46c
mov rbp, rax
cmp rax, qword [rdi + 0x1020]
je 0x1400ad0b4
cmp r14d, 0x20
je 0x1400ad0ea
mov esi, 0x48
cmp r14d, 0x40
lea eax, [rsi - 0xc]
cmovne esi, eax
jmp 0x1400ad0ef
mov esi, 0x40
mov r9, qword [rdi]
mov r15d, 1
mov edx, r15d
mov r8, rsi
mov rcx, rbx
call fcn.1401e35a8
cmp eax, esi
jge 0x1400ad11a
mov rcx, qword [rdi]
xor r8d, r8d
mov rdx, rbp
call fcn.1401e1154
jmp 0x1400ad0b4
mov ecx, dword [rbx]
call qword [0x1402089b8]
mov ecx, dword [rbx + 4]
mov dword [rbx], eax
call qword [0x1402089b8]
mov ecx, dword [rbx + 8]
mov dword [rbx + 4], eax
call qword [0x1402089b8]
mov dword [rbx + 8], eax
mov rcx, qword [rdi]
call fcn.1401dc46c
mov rcx, rax
movsxd rax, dword [rbx + 4]
add rcx, rax
mov eax, 0xff8
sub eax, esi
mov qword [rbx - 8], rcx
cmp dword [rbx + 4], eax
jg 0x1400ad10a
movsxd r8, dword [rbx + 4]
lea rcx, [rsi + rbx]
mov r9, qword [rdi]
mov rdx, r15
call fcn.1401e35a8
cmp eax, dword [rbx + 4]
jne 0x1400ad10a
mov esi, dword [rbx + 8]
lea rcx, [rsp + 0x20]
call fcn.1400ce9e0
test esi, esi
jle 0x1400ad1cf
mov r12d, 0x1000
mov r9, qword [rdi]
lea rcx, [rsp + 0x130]
mov eax, esi
cmp esi, r12d
mov rdx, r15
cmovg eax, r12d
movsxd r8, eax
call fcn.1401e35a8
mov r14, rax
test eax, eax
jle 0x1400ad1cf
movsxd r8, r14d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400cea70
sub esi, r14d
test esi, esi
jg 0x1400ad18d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.1400ce9c0
cmp dword [rbx + 8], 0
jle 0x1400ad228
lea rcx, [rbx + 0xc]
mov r8d, 0x30
lea rdx, [rsp + 0x100]
call fcn.1401daec0
test eax, eax
je 0x1400ad228
movsxd rsi, dword [rbx + 4]
cmp esi, 4
jbe 0x1400ad10a
lea r8d, [rsi - 4]
xor ecx, ecx
lea rdx, [rbx + 0x3c]
call fcn.1400c0e50
cmp eax, dword [rsi + rbx + 0x38]
jne 0x1400ad10a
mov rax, rbx
mov rcx, qword [rsp + 0x1130]
xor rcx, rsp
call fcn.1401d9840
lea r11, [rsp + 0x1140]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret