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

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x1400b751a
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x1400b762c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x1400b7657
call fcn.14000640c
int3
test rbx, rbx
jne 0x1400b7662
call fcn.14000640c
int3
test r9, r9
jne 0x1400b766d
call fcn.14000640c
int3
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b76f0
cmp dword [rsp + 0x48], 3
jne 0x1400b76f0
test eax, eax
jne 0x1400b76f0
cmp dword [rdi], eax
je 0x1400b76f0
mov ecx, dword [rdi]
call fcn.1400043bc
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b76e4
cmp dword [rsp + 0x48], 3
jne 0x1400b76e4
test eax, eax
jne 0x1400b76e4
mov eax, 1
jmp 0x1400b76f2
mov rcx, qword [rbx]
call fcn.140004400
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b77fc
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1401249f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x140124a1d
mov rdi, qword [rdx + 0x10]
jmp 0x140124a6e
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140124a3e
call fcn.14000c53c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x140124a58
call fcn.14000c53c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x140124a6e
call fcn.14000c53c
call fcn.14001a064
cmp qword [rax + 0x68], 0
je 0x140124a88
mov rdx, rdi
mov rcx, rbp
call fcn.14012317c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.140124834
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x140124aaf
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x140124abe
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14014a9e8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14014a858

Function at 0x14014eb6b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1401f8f48]
jne 0x1401471ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1401471e6
repz ret
ror rcx, 0x10
jmp 0x14014eac4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140206a80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140206b78]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14014eb49
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140206a80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14014eb6b
mov rax, qword [rsp + 0x88]
mov qword [0x140206b78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140206b18], rax
mov rax, qword [0x140206b78]
mov qword [0x1402069f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140206b00], rax
mov dword [0x1402069e0], 0xc0000409
mov dword [0x1402069e4], 1
mov rax, qword [0x1401f8f48]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401f8f50]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140206a78], eax
mov ecx, 1
call fcn.14015989c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401bdb20]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140206a78], 0
jne 0x14014ebf2
mov ecx, 1
call fcn.14015989c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140159654
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1401f8f48]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14014e614
xor ebx, ebx
cmp qword [0x1402072f8], rbx
mov rdi, rax
jne 0x140159767
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14015983e
lea rdx, [0x1401be198]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14015983e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401be188]
mov rcx, rsi
mov qword [0x1402072f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401be170]
mov rcx, rsi
mov qword [0x140207300], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140207308], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140207318], rax
test rax, rax
je 0x14015975e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140207310], rax
jmp 0x14015976e
mov rax, qword [0x140207310]
jmp 0x140159775
mov rax, qword [0x140207310]
mov r11, qword [0x140207318]
cmp rax, rdi
je 0x1401597dc
cmp r11, rdi
je 0x1401597dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140207318]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1401597dc
test rax, rax
je 0x1401597dc
call rsi
test rax, rax
je 0x1401597d6
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1401597d6
test byte [rsp + 0x40], 1
jne 0x1401597dc
bts ebp, 0x15
jmp 0x14015981c
mov rcx, qword [0x140207300]
cmp rcx, rdi
je 0x14015981c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14015981c
call rax
mov rbx, rax
test rax, rax
je 0x14015981c
mov rcx, qword [0x140207308]
cmp rcx, rdi
je 0x14015981c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14015981c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402072f8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14015983e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140159840
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401471d0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003a30
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a64
cmp word [rcx], 0x5a4d
jne 0x140003a64
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a64
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a64
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003970
test eax, eax
jne 0x140003a80
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039e0
test rax, rax
je 0x140003a75
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004229
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004130
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400040d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004584
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1405360f8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1405360f4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x1400045d2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400045ca
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400046b9
inc ebx
add rax, 0x28
jmp 0x1400045aa
mov rcx, r12
call fcn.140004db1
mov rbp, rax
test rax, rax
jne 0x1400045f1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004520
movsxd rbx, ebx
mov rax, qword [0x1405360f8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004e5f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1405360f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004653
mov rax, qword [0x1405360f8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004520
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400046b3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400046b3
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1405360f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400046b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004520
inc dword [0x1405360f4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004ae0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140536160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140536140]
test rbx, rbx
je 0x140004b2c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004b26
test eax, eax
jne 0x140004b26
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004afe
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004ce0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004d03
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004d03
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004d04
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004d3e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004d35
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004d40
inc r8d
add rax, 0x28
jmp 0x140004d1c
xor eax, eax
ret

Function at 0x140004db1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405322b0]
mov r8, rcx
mov rcx, r9
call fcn.140004ce0
test eax, eax
je 0x140004ddd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004d04
xor eax, eax
add rsp, 0x28
ret
Function at 0x140013b10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, qword [0x1400e6b50]
lea r15, [0x140095040]
mov edi, r8d
mov rbp, rdx
not edi
mov rsi, rcx
mov rax, rsi
movzx ebx, dil
shr rax, 3
dec rbp
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013b6a
movzx eax, sil
and al, 7
cmp al, cl
jl 0x140013b6a
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
movzx eax, byte [rsi]
xor rbx, rax
shr edi, 8
shl rbx, 2
add rbx, r15
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013b9d
movzx eax, bl
and al, 7
add al, 3
cmp al, cl
jl 0x140013b9d
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
xor edi, dword [rbx]
inc rsi
test rbp, rbp
jne 0x140013b41
mov rbx, qword [rsp + 0x40]
not edi
mov rbp, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140013bd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r14, qword [0x1400e6b50]
mov r12d, r8d
not r12d
mov rbp, rdx
mov ebx, r12d
mov rdi, rcx
test rdx, rdx
je 0x140013ce6
mov qword [rsp + 0x50], r15
lea r13, [0x140095040]
mov rax, rdi
dec rbp
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013c36
movzx eax, dil
and al, 7
cmp al, cl
jl 0x140013c36
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
movzx r15d, byte [rdi]
inc rdi
cmp r15b, 0x23
jne 0x140013c9d
cmp rbp, 2
jb 0x140013c9d
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013c6b
movzx eax, dil
and al, 7
cmp al, cl
jl 0x140013c6b
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
cmp byte [rdi], 0x23
jne 0x140013c9d
lea rsi, [rdi + 1]
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013c96
movzx eax, sil
and al, 7
cmp al, cl
jl 0x140013c96
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
cmp byte [rsi], 0x23
cmove ebx, r12d
movzx esi, bl
xor rsi, r15
shr ebx, 8
shl rsi, 2
add rsi, r13
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013cd1
movzx eax, sil
and al, 7
add al, 3
cmp al, cl
jl 0x140013cd1
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
xor ebx, dword [rsi]
test rbp, rbp
jne 0x140013c11
mov r15, qword [rsp + 0x50]
jmp 0x140013de5
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013d08
movzx eax, dil
and al, 7
cmp al, cl
jl 0x140013d08
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
movzx ebp, byte [rdi]
inc rdi
test bpl, bpl
je 0x140013de5
lea r13, [0x140095040]
nop
cmp bpl, 0x23
jne 0x140013d7a
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013d48
movzx eax, dil
and al, 7
cmp al, cl
jl 0x140013d48
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
cmp byte [rdi], 0x23
jne 0x140013d7a
lea rsi, [rdi + 1]
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013d73
movzx eax, sil
and al, 7
cmp al, cl
jl 0x140013d73
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
cmp byte [rsi], 0x23
cmove ebx, r12d
movzx esi, bl
movzx eax, bpl
xor rsi, rax
shr ebx, 8
shl rsi, 2
add rsi, r13
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013db2
movzx eax, sil
and al, 7
add al, 3
cmp al, cl
jl 0x140013db2
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
xor ebx, dword [rsi]
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140013dd6
movzx eax, dil
and al, 7
cmp al, cl
jl 0x140013dd6
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
movzx ebp, byte [rdi]
inc rdi
test bpl, bpl
jne 0x140013d20
mov rbp, qword [rsp + 0x60]
not ebx
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140013fd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, qword [0x1400e6b50]
mov rbx, r8
mov rdi, rcx
test r8, r8
je 0x14001401c
mov rax, rbx
shr rax, 3
movzx edx, byte [rax + r14]
test dl, dl
je 0x140014015
movzx eax, bl
and al, 7
add al, 7
cmp al, dl
jl 0x140014015
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
mov qword [rbx], 0
lea rdx, [0x140093600]
mov rcx, rdi
call fcn.140013e00
mov rdi, rax
test rax, rax
jne 0x140014044
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rdi
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140014118
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140014118
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140014118
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140014118
cmp rsi, 0xffffffffffffffff
je 0x140014118
mov rcx, rsi
call fcn.1400197a0
mov rbp, rax
test rax, rax
je 0x140014118
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x1400140e2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbp
call fcn.140019830
jmp 0x140014121
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rbx, rbx
je 0x140014113
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + r14]
test cl, cl
je 0x140014110
movzx eax, bl
and al, 7
add al, 7
cmp al, cl
jl 0x140014110
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
mov qword [rbx], rsi
mov rax, rbp
jmp 0x140014123
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14003c6e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbp, qword [0x1400e6b50]
lea rbx, [rcx + 0x5cb0]
mov rax, rbx
lea rdi, [rcx + 0x5cb8]
shr rax, 3
mov rsi, rcx
mov r14, r8
mov r15, rdx
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x14003c738
movzx eax, bl
and al, 7
add al, 7
cmp al, cl
jl 0x14003c738
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
cmp qword [rbx], 0
mov rcx, rdi
je 0x14003c7fc
xor edx, edx
call fcn.140042e40
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.1400148d0
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x14003c77c
movzx eax, bl
and al, 7
add al, 7
cmp al, cl
jl 0x14003c77c
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x14003c79f
movzx eax, dil
and al, 7
add al, 3
cmp al, cl
jl 0x14003c79f
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
mov eax, dword [rdi]
xor edx, edx
test eax, eax
lea ecx, [rax - 1]
cmove ecx, edx
add rsi, 0x5cc0
mov rax, rsi
movsxd rdi, ecx
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x14003c7d8
movzx eax, sil
and al, 7
add al, 7
cmp al, cl
jl 0x14003c7d8
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rax, qword [rsi]
lea rcx, [0x1400e6380]
mov r9, qword [rbx]
test rax, rax
mov r8, rdi
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14003c807
mov r8, r14
mov rdx, r15
call fcn.1400148d0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14003d6c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x70
mov rbp, qword [0x1400e6b50]
lea rax, str.1_32_8_13_ini_data_size
mov qword [rsp + 0x20], 0x41b58ab3
mov rdi, rcx
mov qword [rsp + 0x28], rax
lea rax, [fcn.14003d6c0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
shr rax, 3
mov dword [rax + rbp], 0xf1f1f1f1
mov dword [rax + rbp + 4], 0xf3f3f300
mov byte [rax + rbp + 8], 0xf3
mov rbx, qword [0x1400e6400]
add rbx, 0x5c0c
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x14003d747
movzx eax, bl
and al, 7
add al, 3
cmp al, cl
jl 0x14003d747
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
xor eax, eax
mov dword [rbx], eax
test rdi, rdi
je 0x14003d7a8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x40], rax
call fcn.14003d7e0
lea rdx, [0x1400936c0]
mov rcx, rdi
mov rsi, rax
call fcn.140013e00
mov rbx, rax
test rax, rax
je 0x14003d7a0
mov r8, qword [rsp + 0x40]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x80]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, 9
add rcx, rbp
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
jmp sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
Function at 0x1400755d0
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov rbp, qword [0x1400e6b50]
lea rdx, [rcx + 0x10]
mov rdi, rcx
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14007560c
mov rcx, rdi
call fcn.140076e60
xor al, al
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea edx, [r8 + 1]
lea ecx, [rdx + 1]
call qword [sym.imp.WS2_32.dll_socket]
lea rbx, [rdi + 0x1a8]
mov rsi, rax
mov rcx, rbx
shr rcx, 3
movzx eax, byte [rcx + rbp]
test al, al
je 0x140075654
movzx ecx, bl
and cl, 7
add cl, 7
cmp cl, al
jl 0x140075654
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
mov qword [rbx], rsi
cmp rsi, 0xffffffffffffffff
je 0x1400756cc
lea rdx, [rdi + 0x1b0]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400756d6
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x14007569a
movzx eax, bl
and al, 7
add al, 7
cmp al, cl
jl 0x14007569a
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x1400756c5
movzx eax, bl
and al, 7
add al, 7
cmp al, cl
jl 0x1400756c5
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
mov qword [rbx], 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1400756d8
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret