joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c7a50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1401205e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400c7ae5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400c7b46
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400a1fa0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400daf20
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400c7c01
sub ecx, 1
je 0x1400c7c74
sub ecx, 1
je 0x1400c7bb0
cmp ecx, 1
je 0x1400c7b93
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400fec00]
call fcn.1400a1fa0
jmp 0x1400c7c74
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400c7780
test eax, eax
je 0x1400c7c74
jmp 0x1400c7b1a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400c7c74
sub rax, rsi
cmp rax, rbp
jae 0x1400c7c74
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400a2120
jmp 0x1400c7c74
cmp r8d, 4
jle 0x1400c7c74
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400c7c74
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400a1ec0
mov esi, eax
test eax, eax
je 0x1400c7c53
mov edx, 5
mov rcx, rbx
call fcn.1400c8740
mov eax, esi
jmp 0x1400c7b1a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400b09a0
mov rcx, r14
call fcn.1400b0c80
test eax, eax
je 0x1400c7b18
mov edx, 5
mov rcx, rbx
call fcn.1400c8740
mov eax, Ordinal_46
jmp 0x1400c7b1a
Function at 0x1400daa10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400daa52
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400daa99
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400daaf2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400daab0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400dab33
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401042fb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401042fc]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400dab00
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400dbd8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400dbdd6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400dbdd6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400dbdd6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400dbdd6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400dbdd6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400dbdd8
xor al, al
add rsp, 0x28
ret
Function at 0x1400116d6
Capabilities:
Terminate process

Disassembly:
jmp 0x14002c420
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001188e
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002b170
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002b190
xor al, al
jmp 0x14002b211
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002b1a3
xor al, al
jmp 0x14002b211
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002b1cd
xor al, al
jmp 0x14002b211
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002b1e1
xor al, al
jmp 0x14002b211
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002b1f3
xor al, al
jmp 0x14002b211
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002b20f
xor al, al
jmp 0x14002b211
mov al, 1
add rsp, 0x38
ret
Function at 0x1409a0268
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409a03ef
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1409a0299
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409a027f
add dl, dl
jne 0x1409a02a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409a0306
xor eax, eax
add dl, dl
jne 0x1409a02b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409a03bd
add dl, dl
jne 0x1409a02c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a02d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a02e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a02ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409a02fa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409a028e
mov eax, 1
add dl, dl
jne 0x1409a0316
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a0323
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409a030b
sub eax, ebx
mov ebx, 1
jne 0x1409a035c
mov ecx, 1
add dl, dl
jne 0x1409a033e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409a034b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409a0333
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409a028e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409a0378
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409a0385
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409a036d
cmp eax, 0x7d00
jae 0x1409a03ab
cmp eax, 0x500
jb 0x1409a03a6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409a028e
cmp eax, 0x7f
ja 0x1409a03ae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409a028e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409a03e2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1409a028e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140a97058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140a971df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a97089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a9706f
add dl, dl
jne 0x140a97096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a970f6
xor eax, eax
add dl, dl
jne 0x140a970a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a971ad
add dl, dl
jne 0x140a970b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a970c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a970d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a970dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a970ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a9707e
mov eax, 1
add dl, dl
jne 0x140a97106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a97113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a970fb
sub eax, ebx
mov ebx, 1
jne 0x140a9714c
mov ecx, 1
add dl, dl
jne 0x140a9712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a9713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a97123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a9707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a97168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a97175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a9715d
cmp eax, 0x7d00
jae 0x140a9719b
cmp eax, 0x500
jb 0x140a97196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a9707e
cmp eax, 0x7f
ja 0x140a9719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a9707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a971d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a9707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001500
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
sub rsp, 0x40
mov r13, rcx
mov rbp, r8
mov ecx, 0x39
mov r12, rdx
call fcn.1400bb268
mov rbx, rax
test rax, rax
je 0x1400016fd
xorps xmm0, xmm0
mov qword [rsp + 0x70], rsi
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rsp + 0x78], r14
movups xmmword [rbx + 0x10], xmm0
mov qword [rsp + 0x80], r15
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rax
lea ecx, [rax + 0x24]
mov byte [rbx + 0x38], al
call fcn.1400bb268
xor r15d, r15d
lea rsi, [rbx + 8]
mov r14, rax
test rax, rax
je 0x14000164a
mov qword [rax], r15
lea edx, [r15 + 1]
mov qword [rax + 8], r15
xor r9d, r9d
mov qword [rax + 0x18], r15
xor r8d, r8d
mov dword [rax + 0x20], r15d
xor ecx, ecx
mov qword [rsi], rax
mov rax, qword [rbx + 0x20]
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov qword [r14], rax
test rax, rax
jne 0x1400015ad
mov edi, 0x3f0
jmp 0x14000164f
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rdx, qword [r14]
mov r9, rbx
mov dword [rsp + 0x30], r15d
mov r8, rax
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.DLL_DuplicateHandle]
test eax, eax
jne 0x1400015e2
mov edi, 0x3f0
jmp 0x14000164f
mov ecx, 0x10
mov edi, r15d
call fcn.1400bb268
mov r15, rax
test rax, rax
jne 0x1400015fe
mov edi, 0x708
jmp 0x140001641
lea rax, [0x140001870]
mov qword [r15 + 8], r14
mov qword [r15], rax
lea r8, [0x140001e60]
xor eax, eax
mov r9, r15
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [r14 + 8], rax
test rax, rax
jne 0x140001641
mov rcx, r15
call fcn.1400bb254
mov edi, 0x3eb
test edi, edi
je 0x140001696
xor r15d, r15d
jmp 0x14000164f
mov edi, 0x708
mov rax, qword [rsi]
test rax, rax
je 0x14000165e
mov dword [rax + 0x20], 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001678
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx], r15
test r14, r14
je 0x140001696
mov rcx, qword [r14]
test rcx, rcx
je 0x14000168e
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [r14], r15
mov rcx, r14
call fcn.1400bb254
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
test edi, edi
jne 0x1400016c6
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r12
mov qword [rbp], rbx
mov rsi, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov rax, qword [rsi]
test rax, rax
je 0x1400016d5
mov dword [rax + 0x20], 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400016f3
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx], 0
mov rcx, rbx
call fcn.1400bb254
jmp 0x1400016b3
mov eax, 0x708
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400053f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005463
bt eax, 0xa
jae 0x140005463
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000544d
test al, 0x10
je 0x14000544d
mov rcx, rdi
call fcn.1400d8df4
jmp 0x140005455
mov rcx, rdi
call fcn.1400bdbbc
test eax, eax
je 0x140005463
mov eax, 0x1f
jmp 0x1400055d7
mov rcx, rdi
mov qword [rsp + 0x188], rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400054a7
bt eax, 0xa
jae 0x1400054a7
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000549b
test al, 0x10
je 0x14000549b
mov rcx, rdi
call fcn.1400d8df4
jmp 0x1400054a3
mov rcx, rdi
call fcn.1400bdbbc
test eax, eax
jne 0x1400054be
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d88ac
mov ebx, eax
test eax, eax
je 0x1400055cd
test rdi, rdi
jne 0x1400054c7
xor ebx, ebx
jmp 0x1400054d7
mov edx, 0x104
mov rcx, rdi
call fcn.1400d5838
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400ad590
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400bb338
lea rcx, [rbx - 2]
cmp rcx, 0x102
ja 0x14000552b
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x14000552b
dec rbx
cmp rbx, 0x104
jae 0x1400055f0
mov byte [rsp + rbx + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000556f
bt eax, 0xa
jae 0x14000556f
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005561
test al, 0x10
je 0x140005561
lea rcx, [rsp + 0x50]
call fcn.1400d8df4
jmp 0x14000556b
lea rcx, [rsp + 0x50]
call fcn.1400bdbbc
test eax, eax
jne 0x140005584
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400d88ac
mov ebx, eax
test eax, eax
je 0x1400055cd
lea rcx, [rsp + 0x50]
call fcn.1400d8b70
mov ebx, eax
test eax, eax
je 0x1400055cd
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400adc98
mov rdi, rax
test rax, rax
je 0x1400055cd
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.1400053f0
mov ebx, eax
test eax, eax
jne 0x1400055cd
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400d8b70
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x170
pop rdi
ret
call fcn.1400abde4
int3
Function at 0x140007b50
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x68]
sub rsp, 0x158
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
test rcx, rcx
je 0x140007d28
mov rcx, qword [rcx + 0x108]
test rcx, rcx
je 0x140007d28
mov qword [r11 + 0x10], rsi
mov qword [r11 - 0x18], r14
call fcn.14000fd00
xorps xmm0, xmm0
lea rdx, [rbp - 0x60]
mov r14, rax
mov rcx, rbx
xor eax, eax
mov dword [rbp + 0x30], eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
call fcn.140007770
mov esi, eax
test eax, eax
jne 0x140007d02
mov eax, dword [rbp - 0x5c]
and eax, 0xff000000
cmp eax, 0x2000000
jne 0x140007d02
mov ecx, 0x1000
mov qword [rsp + 0x180], rdi
call fcn.14000c0c0
mov rdi, rax
test rax, rax
jne 0x140007c13
mov esi, 0x708
jmp 0x140007cfa
mov rcx, qword [rbx + 0x108]
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x20], 0x40200100
mov r8d, 0x1000
mov dword [rbp - 0x6c], eax
mov rdx, rdi
mov dword [rsp + 0x24], 0x6a09e667
movups xmmword [rsp + 0x44], xmm0
mov dword [rsp + 0x28], 0xbb67ae85
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x2c], 0x3c6ef372
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x30], 0xa54ff53a
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x34], 0x510e527f
movups xmmword [rbp - 0x7c], xmm0
mov dword [rsp + 0x38], 0x9b05688c
mov dword [rsp + 0x3c], 0x1f83d9ab
mov dword [rsp + 0x40], 0x5be0cd19
call fcn.1400101f0
test rax, rax
je 0x140007cca
lfence
nop dword [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14000d210
mov rcx, qword [rbx + 0x108]
mov r8d, 0x1000
mov rdx, rdi
call fcn.1400101f0
test rax, rax
jne 0x140007ca0
lea rcx, [rsp + 0x20]
call fcn.14000cf40
mov r8d, 0x20
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x24]
call fcn.1400ad7c0
test eax, eax
mov ecx, 0xbbd
cmovne esi, ecx
mov rcx, rdi
call fcn.1400bb254
mov rdi, qword [rsp + 0x180]
mov rcx, qword [rbx + 0x108]
xor r8d, r8d
mov rdx, r14
call fcn.1400103b0
mov r14, qword [rsp + 0x150]
mov eax, esi
mov rsi, qword [rsp + 0x178]
jmp 0x140007d2d
mov eax, 0x8fc
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x158
pop rbx
pop rbp
ret
Function at 0x14000c030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c088
bt eax, 0xa
jae 0x14000c088
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c075
test al, 0x10
je 0x14000c075
mov rcx, rbx
call fcn.1400d8df4
jmp 0x14000c07d
mov rcx, rbx
call fcn.1400bdbbc
test eax, eax
je 0x14000c088
mov ecx, 0x1f
jmp 0x14000c097
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d88ac
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x60
pop rbx
ret
Function at 0x14000d130
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
test rcx, rcx
je 0x14000d1d5
xorps xmm0, xmm0
movzx edx, dx
movups xmmword [rcx], xmm0
xor eax, eax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
sub edx, 1
je 0x14000d1ac
cmp edx, 0xff
jne 0x14000d1d5
mov dword [rcx], 0x40200100
mov dword [rcx + 4], 0x6a09e667
mov dword [rcx + 8], 0xbb67ae85
mov dword [rcx + 0xc], 0x3c6ef372
mov dword [rcx + 0x10], 0xa54ff53a
mov dword [rcx + 0x14], 0x510e527f
mov dword [rcx + 0x18], 0x9b05688c
mov dword [rcx + 0x1c], 0x1f83d9ab
mov dword [rcx + 0x20], 0x5be0cd19
ret
mov dword [rcx], 0x40140001
mov dword [rcx + 4], 0x67452301
mov dword [rcx + 8], 0xefcdab89
mov dword [rcx + 0xc], 0x98badcfe
mov dword [rcx + 0x10], 0x10325476
mov dword [rcx + 0x14], 0xc3d2e1f0
ret
Function at 0x14000fd40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x14000fd7a
mov edx, dword [rcx]
sub edx, 1
je 0x14000fd8e
cmp edx, 1
jne 0x14000fd7a
mov rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x68
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x68
ret
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000fdd3
bt eax, 0xa
jae 0x14000fdd3
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000fdc7
test al, 0x10
je 0x14000fdc7
mov rcx, rbx
call fcn.1400d8df4
jmp 0x14000fdcf
mov rcx, rbx
call fcn.1400bdbbc
test eax, eax
jne 0x14000fdeb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d88ac
test eax, eax
jne 0x14000fdeb
movsxd rax, dword [rsp + 0x34]
jmp 0x14000fded
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x68
ret
Function at 0x14000ffa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rsi, [0x140127a14]
mov rbx, rcx
test rcx, rcx
jne 0x14000ffd0
lea eax, [rcx + 0x16]
jmp 0x140010138
mov qword [rsp + 0x70], rdi
call fcn.14000fa70
mov ecx, dword [rbx]
sub ecx, 1
je 0x140010004
cmp ecx, 1
jne 0x14000fffa
cmp qword [rbx + 8], 0
je 0x14000fffa
xor edi, edi
mov qword [rbx + 0x20], rdi
mov eax, edi
jmp 0x140010133
mov eax, 1
jmp 0x140010133
mov rax, qword [rbx + 0x18]
test rax, rax
cmovne rsi, rax
cmp dword [rbx + 4], 2
je 0x140010033
lea rdx, [0x140128018]
mov rcx, rsi
call fcn.1400da1a0
test rax, rax
je 0x140010033
mov eax, 0xd
jmp 0x140010133
mov qword [rsp + 0x68], rbp
xor edi, edi
mov rbp, qword [rbx + 8]
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001008c
bt eax, 0xa
jae 0x14001008c
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010073
test al, 0x10
je 0x140010073
mov rcx, rbp
call fcn.1400d8df4
jmp 0x14001007b
mov rcx, rbp
call fcn.1400bdbbc
test eax, eax
je 0x14001008c
mov rcx, rdi
mov eax, 0x1f
jmp 0x14001012a
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
mov r9, 0xffffffffffffffff
mov r8, rsi
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
lea edx, [r9 + 0x21]
call fcn.1400bb338
lea rdx, [0x140128018]
mov rcx, rsi
call fcn.1400da1a0
test rax, rax
je 0x14001010d
mov edx, 0x63
mov rcx, rsi
call fcn.1400ad730
test rax, rax
jne 0x14001010d
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400d5838
cmp rax, 0x20
jne 0x1400100f1
mov byte [rsp + 0x47], dil
jmp 0x14001010d
mov r9, 0xffffffffffffffff
lea r8, [0x14012801c]
lea rcx, [rsp + 0x28]
lea edx, [r9 + 0x21]
call fcn.1400ec3c4
lea r8, [rsp + 0x28]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400ec794
mov rcx, qword [rsp + 0x20]
test rcx, rcx
cmovne eax, edi
mov rbp, qword [rsp + 0x68]
mov qword [rbx + 0x10], rcx
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400abc80
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret