joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400940a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x1400940de
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x1400940c0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x1400942c5
mov ecx, 3
call fcn.1400a4bc0
cmp eax, 1
je 0x14009427c
mov ecx, 3
call fcn.1400a4bc0
test eax, eax
jne 0x140094115
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
je 0x14009427c
cmp edi, 0xfc
je 0x1400942c5
mov qword [rsp + 0x50], rbp
lea rbp, [0x1400f8dc0]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140090db0
test eax, eax
je 0x140094159
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140095c60
lea rdx, [0x1400f8dd9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x1400f8edd], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1400941a9
lea r8, str._program_name_unknown_
lea rcx, [0x1400f8dd9]
mov edx, 0x2fb
call fcn.140090db0
test eax, eax
je 0x1400941a9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140095c60
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1400f8dd9]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x1400941f8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x1400f90d4]
lea r9d, [rax + 3]
lea r8, [0x1400beb64]
sub rdx, rcx
call fcn.140091430
test eax, eax
je 0x1400941f8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140095c60
lea r8, [0x1400beb60]
mov edx, 0x314
mov rcx, rbp
call fcn.140090cf0
test eax, eax
je 0x140094224
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140095c60
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140090cf0
test eax, eax
je 0x140094254
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140095c60
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1400a4960
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x1400942c5
cmp rax, 0xffffffffffffffff
je 0x1400942c5
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400942e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.1400a4bc0
cmp eax, 1
je 0x140094312
mov ecx, 3
call fcn.1400a4bc0
test eax, eax
jne 0x1400943c6
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x1400943c6
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x14009433e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140094328
jmp 0x1400943b2
cmp edi, 0x17
jae 0x1400943b2
mov ecx, 3
call fcn.1400a4bc0
cmp eax, 1
je 0x140094369
mov ecx, 3
call fcn.1400a4bc0
test eax, eax
jne 0x1400943b2
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x1400943b2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x1400943b2
cmp rax, 0xffffffffffffffff
je 0x1400943b2
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.1400940a0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140094be0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x1400f92ec]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x140094c3c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140094c1c
mov dword [0x1400f92ec], 1
jmp 0x140094c4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140094c36
mov dword [0x1400f92ec], 2
jmp 0x140094cb9
mov eax, dword [0x1400f92ec]
cmp eax, 1
jne 0x140094cb0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140094c8a
cmp word [rdi], bp
mov rax, rdi
je 0x140094c69
add rax, 2
cmp word [rax], bp
jne 0x140094c57
add rax, 2
cmp word [rax], bp
jne 0x140094c57
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.140099bb0
test rax, rax
mov rbx, rax
jne 0x140094c91
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x140094dab
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1400927c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x140094dab
cmp eax, 2
je 0x140094cb9
test eax, eax
jne 0x140094c8a
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x140094c8a
cmp byte [rax], bpl
mov rbx, rax
je 0x140094d08
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140094c8a
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x140094cd0
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.140099c20
test rax, rax
mov r12, rax
jne 0x140094d2d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x140094dab
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x140094d95
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140094dbe
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x140094d40
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.14008f430
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x140094da6
Function at 0x140095d00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x1400f9300]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140095480
test rax, rax
je 0x140095d54
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140095de9
mov ecx, 2
call fcn.1400a4c20
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400926c0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140095dd5
test ebx, ebx
jne 0x140095dd5
lea ecx, [rax + 2]
call fcn.1400a4c20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140098047
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400f0bc8]
jne 0x14008e4ca
rol rcx, 0x10
test cx, 0xffff
jne 0x14008e4c6
repz ret
ror rcx, 0x10
jmp 0x140097fa0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400f93b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400f94a8]
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 0x140098025
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, [0x1400f93b0]
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 0x140098047
mov rax, qword [rsp + 0x88]
mov qword [0x1400f94a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400f9448], rax
mov rax, qword [0x1400f94a8]
mov qword [0x1400f9320], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400f9430], rax
mov dword [0x1400f9310], 0xc0000409
mov dword [0x1400f9314], 1
mov rax, qword [0x1400f0bc8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400f0bd0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400f93a8], eax
mov ecx, 1
call fcn.1400a4c20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400bebd8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400f93a8], 0
jne 0x1400980ce
mov ecx, 1
call fcn.1400a4c20
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 0x1400a4960
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140095390
xor ebx, ebx
cmp qword [0x1400f9c60], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1400a4a8c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1400a4b9f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a4b9f
mov rcx, rax
call fcn.1400952c0
lea rdx, [0x1400beec0]
mov rcx, rsi
mov qword [0x1400f9c60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400952c0
lea rdx, [0x1400beea8]
mov rcx, rsi
mov qword [0x1400f9c68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400952c0
lea rcx, [rsp + 0x98]
mov qword [0x1400f9c70], rax
call fcn.140092fb0
test eax, eax
je 0x1400a4a3f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140095c60
cmp dword [rsp + 0x98], 2
jne 0x1400a4a8c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400952c0
test rax, rax
mov qword [0x1400f9c80], rax
je 0x1400a4a8c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400952c0
mov qword [0x1400f9c78], rax
mov rcx, qword [0x1400f9c78]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1400a4b38
cmp qword [0x1400f9c80], rbp
je 0x1400a4b38
call fcn.140095480
mov rcx, qword [0x1400f9c80]
mov rsi, rax
call fcn.140095480
test rsi, rsi
mov r12, rax
je 0x1400a4b38
test rax, rax
je 0x1400a4b38
call rsi
test rax, rax
je 0x1400a4b03
lea rcx, [rsp + 0x34]
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 0x1400a4b03
test byte [rsp + 0x40], 1
jne 0x1400a4b38
lea rcx, [rsp + 0x30]
call fcn.140093000
test eax, eax
je 0x1400a4b25
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140095c60
cmp dword [rsp + 0x30], 4
jb 0x1400a4b32
bts edi, 0x15
jmp 0x1400a4b76
bts edi, 0x12
jmp 0x1400a4b76
mov rcx, qword [0x1400f9c68]
cmp rcx, rbp
je 0x1400a4b76
call fcn.140095480
test rax, rax
je 0x1400a4b76
call rax
test rax, rax
mov rbx, rax
je 0x1400a4b76
mov rcx, qword [0x1400f9c70]
cmp rcx, rbp
je 0x1400a4b76
call fcn.140095480
test rax, rax
je 0x1400a4b76
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400f9c60]
call fcn.140095480
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1400a4b9f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400a4ba1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a74e0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f0bc8]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400a7527
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008e4b0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.1400aa9a0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008e4b0
add rsp, 0x38
ret

Function at 0x1400aac50
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.1400a4c30
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x1400aadf4
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.1400a4c30
cmp rax, 0xffffffffffffffff
je 0x1400aadf4
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x1400aad73
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x1400aacf9
call fcn.1400923c0
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.1400923c0
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.1400aae10
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.140098b30
cmp eax, 0xffffffff
je 0x1400aad35
cdqe
sub rbx, rax
test rbx, rbx
jg 0x1400aad10
jmp 0x1400aad4e
call fcn.1400923f0
cmp dword [rax], 5
jne 0x1400aad4a
call fcn.1400923c0
mov dword [rax], SafeArrayGetDim
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.1400aae10
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x1400aadcc
test rbx, rbx
jns 0x1400aadd6
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.1400a4c30
cmp rax, 0xffffffffffffffff
je 0x1400aacda
mov ecx, esi
call fcn.1400a6290
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x1400aadd6
call fcn.1400923c0
mov dword [rax], SafeArrayGetDim
call fcn.1400923f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x1400aacda
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.1400a4c30
cmp rax, 0xffffffffffffffff
je 0x1400aacda
xor eax, eax
jmp 0x1400aace1
call fcn.1400923c0
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x1400af5fc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400f0bc8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400926c0
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.1400926c0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x1400af68f
cmp dword [rsp + 0x24], 5
jb 0x1400af6a9
jmp 0x1400af6a5
cmp dword [rsp + 0x30], esi
jne 0x1400af6a9
cmp dword [rsp + 0x24], 4
ja 0x1400af6a5
jne 0x1400af6a9
cmp dword [rsp + 0x28], 0
jbe 0x1400af6a9
mov byte [rbx + 0x18], sil
lea rax, [0x1400c09f8]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140058c00
movzx ecx, byte [0x1400fb5d8]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x1400fb5d8], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14008e4b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000e760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000e7f0
cmp r11, r10
ja 0x14000e866
cmp r10, rdx
ja 0x14000e87a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000e7f2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000e7d0
jmp 0x14000e854
ja 0x14000e7fa
mov r11, r10
cmp rax, r8
jne 0x14000e794
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000e830
mov rdi, r8
sub ecx, edx
jns 0x14000e84b
jmp 0x14000e856
cmp r8, rsi
je 0x14000e88b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000e856
xor al, 1
cmp rdi, rsi
jne 0x14000e810
jmp 0x14000e856
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140059290
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140059020
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400590a0
ud2

Function at 0x14000ff63
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rdi, qword [rcx + 0x10]
xorps xmm6, xmm6
lea rbx, [rsp + 0x20]
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov rcx, rbx
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rbx + 0x28]
cmp eax, 1
adc eax, 0
cmp rdi, rax
je 0x14000ffe2
lea rbx, [rsp + 0x20]
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov rcx, rbx
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbx + 0x28]
test rcx, rcx
je 0x14000ffef
mov rax, rdi
xor edx, edx
div rcx
sub rdi, rdx
mov rcx, rdi
call sub.kernel32.dll_UnmapViewOfFile
cmp qword [rsi], 0
je 0x14000ffe2
mov rcx, qword [rsi + 8]
call qword [sym.imp.kernel32.dll_CloseHandle]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero
lea r8, str.C:Usersjkene.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemmap2_0.9.4_srcwindows.rs
mov edx, 0x39
call fcn.1400590a0
ud2
Function at 0x140011102
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1b8
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rdx + 0x10]
mov r15b, byte [rdx + 0x18]
lea rcx, [rsp + 0x80]
call fcn.1400105d0
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x78], rax
movabs rax, 0x7465646279746573
movabs rcx, 0x6c7967656e657261
movabs rdx, 0xded7d4e2d7dedfc6
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xe414a674f0de7325
mov r12d, 1
lock xadd qword [0x14007bb90], r12
mov r10, r12
xor r10, rax
lea r13, [r10 + rcx]
mov r11, r10
rol r11, 0x10
xor r11, r13
lea rbx, [r11 + rdx]
rol r11, 0x15
add r10, r8
mov r13, r10
xor r13, r9
rol r10, 0x20
xor r12, rbx
add r12, r13
rol r13, 0xd
xor r11, rbx
xor r13, r12
rol r12, 0x20
btc r11, 0x3b
add r10, r11
rol r11, 0x10
xor r11, r10
add r12, r11
rol r11, 0x15
add r10, r13
rol r13, 0x11
xor r11, r12
xor r13, r10
rol r10, 0x20
btc r12, 0x3b
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r10, 0xff
add r10, r11
rol r11, 0x10
xor r11, r10
add r12, r11
rol r11, 0x15
add r10, r13
rol r13, 0x11
xor r13, r10
rol r10, 0x20
xor r11, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r10, r11
rol r11, 0x10
xor r11, r10
add r12, r11
rol r11, 0x15
add r10, r13
rol r13, 0x11
xor r13, r10
rol r10, 0x20
xor r11, r12
add r12, r13
rol r13, 0xd
add r10, r11
rol r11, 0x10
xor r11, r10
rol r11, 0x15
xor r13, r12
add r10, r13
rol r13, 0x11
mov r12, r10
rol r12, 0x20
xor r12, r13
xor r12, r11
xor r12, r10
je 0x140011177
mov rbx, qword [rsi + 0x40]
movups xmm0, xmmword [rsi + 0x20]
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov qword [rdi + 0x138], r14
mov byte [rdi + 0x140], r15b
lea rdx, [rsp + 0x80]
mov r8d, 0x100
mov rcx, rdi
call fcn.140057d50
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x100], rax
mov qword [rdi + 0x108], r12
mov qword [rdi + 0x110], rbx
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x140011302
cmp qword [rsi + 0x50], 0
je 0x140011302
mov rcx, qword [0x14007bc78]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
lea rsp, [rbp + 0x138]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret