joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140082250
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov rdi, qword [rsi + 0x10]
mov rbx, qword [rsi + 0x20]
mov r14, qword [rsi + 0x18]
mov ebp, 0xffffffff
lea r15, [rsp + 0x34]
mov r13, qword [sym.imp.kernel32.dll_ReadFile]
jmp 0x1400822ad
mov r12d, dword [rsp + 0x34]
mov edx, 2
test r12, r12
je 0x1400823f7
mov qword [rsi], rdx
mov qword [rsi + 8], r12
mov rcx, r12
cmp rdx, 2
je 0x140082340
cmp rdx, 1
jne 0x1400822f0
mov dword [rsp + 0x30], 0
mov rcx, rbx
mov rdx, rdi
lea r8, [rsp + 0x30]
mov r9d, 1
call qword [sym.imp.kernel32.dll_GetOverlappedResult]
test eax, eax
je 0x1400822f6
mov ecx, dword [rsp + 0x30]
jmp 0x140082340
mov rdx, qword [r14 + 0x10]
jmp 0x14008235b
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rdx, rax
movabs rcx, 0xffffffff00000000
and rdx, rcx
movabs rcx, 0x6d00000000
cmp rdx, rcx
je 0x14008233c
mov ecx, 0
movabs r8, 0x2600000000
cmp rdx, r8
je 0x140082340
jmp 0x1400823f9
xor ecx, ecx
nop
mov qword [rsi], 0
mov rdx, qword [r14 + 0x10]
add rdx, rcx
mov qword [r14 + 0x10], rdx
test rcx, rcx
je 0x1400823f7
mov r8, qword [r14]
cmp r8, rdx
je 0x1400823b3
sub r8, rdx
add rdx, qword [r14 + 8]
cmp r8, rbp
cmovae r8, rbp
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov r9, r15
call r13
test eax, eax
jne 0x140082290
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
mov edx, 1
movabs rcx, 0x3e500000000
cmp rax, rcx
je 0x1400822a3
jmp 0x1400823e8
test rdx, rdx
mov r8d, 1
mov eax, 0x10
cmove r8, rax
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, r14
call fcn.1400b1030
mov r8, qword [r14]
mov rdx, qword [r14 + 0x10]
jmp 0x140082363
movabs rcx, 0x6d00000000
cmp rax, rcx
jne 0x14008240a
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or rax, 2
jmp 0x1400823f9

Function at 0x140082500
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x1400d6d30]
mov ecx, 0x10
mov edx, 8
call fcn.1400550b0
test rax, rax
je 0x1400825c9
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400825e0]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400825bc
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, qword [rbx]
test rax, rax
je 0x14008257f
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140082594
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.1400550c0
mov edx, 0x10
mov r8d, 8
mov rcx, rsi
call fcn.1400550c0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.140060750
int3
Function at 0x140084370
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], r9
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [0x1400bd098]
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
movaps xmmword [rsp + 0x60], xmm0
test r9, r9
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400843fc
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0
cmp eax, 0xc0000011
je 0x140084435
cmp eax, 0x103
je 0x140084441
test eax, eax
js 0x14008441e
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
jmp 0x140084435
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ecx, 1
mov rax, rcx
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.14008dda0
mov rcx, rax
call fcn.14001d960
mov ecx, 7
int 0x29
ud2

Function at 0x1400844b0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], r9
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [0x1400bd098]
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
movaps xmmword [rsp + 0x60], xmm0
test r9, r9
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140084543
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140084577
test eax, eax
js 0x140084557
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xb0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.14008dda0
mov rcx, rax
call fcn.14001d960
mov ecx, 7
int 0x29
ud2
Function at 0x140086410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
movzx r9d, byte [rdx + 0x38]
movzx r8d, byte [rdx + 0x3a]
test r8b, r8b
setne al
cmp r9b, 1
ja 0x140086486
test r8b, r8b
jne 0x14008646a
movzx esi, byte [rdx + 0x10]
lea r8d, [rsi - 5]
cmp r8b, 1
ja 0x14008646a
mov r10, qword [rdx]
mov r8, qword [rdx + 8]
xor r11d, r11d
test r9b, r9b
jne 0x140086461
cmp sil, 6
je 0x140086461
mov r11d, 2
cmp r8, 1
jbe 0x140086655
cmp r11, r8
jne 0x1400865b3
xor r8d, r8d
test r9b, r9b
jne case.default.0x1400865a3
movzx r9d, byte [rdx + 0x10]
cmp r9, 6
jne 0x140086595
xor r9d, r9d
jmp 0x14008648e
xor eax, eax
xor r8d, r8d
xor r9d, r9d
movzx r11d, r8b
movzx edi, al
lea r10, [r11 + rdi]
add r10, r9
mov rax, qword [rdx + 8]
cmp r10, rax
ja 0x140086655
mov rsi, qword [rdx]
lea r8, [rsi + r10]
movzx edx, byte [rdx + 0x10]
cmp r10, rax
jne 0x1400864be
xor r11d, r11d
jmp 0x140086539
add r9, rdi
add r9, r11
sub r9, rax
inc r9
lea rdi, [rax + rsi]
dec rdi
xor r11d, r11d
cmp dl, 3
jae 0x140086500
nop dword [rax]
cmp byte [rdi], 0x5c
je 0x14008651b
inc r9
dec rdi
cmp r9, 1
jne 0x1400864e0
jmp 0x140086539
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14008651b
cmp ebx, 0x5c
je 0x14008651b
inc r9
dec rdi
cmp r9, 1
jne 0x140086500
jmp 0x140086539
neg r9
add r10, r9
inc r10
cmp r10, rax
ja 0x140086655
add rsi, r10
mov r11d, 1
mov r8, rsi
sub rax, r10
je 0x140086567
mov r9b, 9
cmp rax, 2
je 0x14008656c
cmp rax, 1
jne 0x14008657f
cmp byte [r8], 0x2e
jne 0x14008657f
xor r9d, r9d
cmp dl, 3
setae r9b
lea r9d, [r9 + r9*2]
add r9d, 7
jmp 0x14008657f
mov r9b, 0xa
jmp 0x14008657f
cmp byte [r8], 0x2e
jne 0x14008657f
cmp byte [r8 + 1], 0x2e
sete r9b
xor r9b, 9
add r11, rax
mov qword [rcx], r11
mov byte [rcx + 8], r9b
mov qword [rcx + 0x10], r8
mov qword [rcx + 0x18], rax
mov dword [rcx + 0x18], eax
pop rbx
pop rdi
pop rsi
ret
lea r10, [0x1400bd8a8]
movsxd r9, dword [r10 + r9*4]
add r9, r10
jmp r9
mov r9, qword [rdx + 0x20]
add r9, 4
jmp 0x14008648e
add r8, r10
lea rsi, [r10 + r11]
inc rsi
cmp rsi, r8
sete r8b
movzx r10d, byte [r10 + r11]
test r8b, 1
jne 0x1400865f1
cmp r10b, 0x2e
jne 0x1400865f1
movzx r8d, byte [rsi]
cmp r8b, 0x5c
sete r10b
cmp r8b, 0x2f
sete r8b
or r8b, r10b
jmp 0x14008646d
cmp r10b, 0x2e
sete r10b
and r8b, r10b
jmp 0x14008646d
mov r9, qword [rdx + 0x20]
mov r10, qword [rdx + 0x30]
xor byte [rbp - 0x73], cl
pop rdx
add dword [rbp - 0x7b], ecx
ror byte [rbp + 0xf], cl
fimul dword [rbp + 1]
fimul dword [rbp + 1]
invalid
add r9, 8
jmp 0x14008648e
mov r9d, 6
jmp 0x14008648e
mov r9, qword [rdx + 0x20]
mov r10, qword [rdx + 0x30]
xor byte [rbp - 0x73], cl
pop rdx
add dword [rbp - 0x7b], ecx
ror byte [rbp + 0xf], cl
fimul dword [rbp + 1]
invalid
add r9, 2
jmp 0x14008648e
mov r9d, 2
jmp 0x14008648e
ud2
Function at 0x1400881f0
Capabilities:
Create udp socket

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor r14d, r14d
mov ecx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400882c5
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x140088250
mov esi, eax
cmp eax, 0x2726
jne 0x1400882b7
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400882af
mov rsi, rax
xor r14d, r14d
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1400882c5
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rsi, rdi
jmp 0x1400882bf
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov r14d, 1
mov rax, r14
mov rdx, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400882e0
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x218
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rbx, r8
jmp 0x140088305
cmp rbx, r14
ja 0x140088331
mov cl, 0x3a
mov rdx, rdi
mov r8, rbx
call fcn.140095350
cmp rax, 1
jne 0x14008832c
mov rbx, rdx
cmp rdx, r14
jae 0x140088300
cmp byte [rdi + rbx], 0x3a
jne 0x140088300
lea rcx, [rbx + 1]
jmp 0x14008833d
test rax, rax
jne 0x14008833d
lea rax, str.invalid_socket_address
jmp 0x1400883c6
sub r14, rcx
add rcx, rdi
mov rdx, r14
call fcn.140097040
test al, 1
jne 0x1400883bf
shr eax, 0x10
mov word [rsp + 0x36], ax
mov eax, dword [0x1400d6e00]
cmp eax, 3
jne 0x140088457
lea rax, [rsp + 0x36]
mov qword [rsp + 0x40], rax
cmp rbx, 0x17f
ja 0x14008847a
lea r14, [rsp + 0x98]
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call fcn.1400af260
mov byte [rsp + rbx + 0x98], 0
inc rbx
lea rcx, [rsp + 0x48]
mov rdx, r14
mov r8, rbx
call fcn.14009bc70
cmp qword [rsp + 0x48], 0
je 0x1400883e1
lea rax, str.file_name_contained_an_unexpected_NUL_byte
jmp 0x1400883c6
lea rax, str.invalid_port_value
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x60]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140088437
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14008844b
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x36]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x1400883d1
lea rcx, [0x1400d6df8]
call fcn.1400b3e50
lea rax, [rsp + 0x36]
mov qword [rsp + 0x40], rax
cmp rbx, 0x17f
jbe 0x14008837d
lea rax, [0x1400bdb48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.1400b40e0
jmp 0x1400883d1
Function at 0x1400a03e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a0432
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a0432
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a0432
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a0432
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a0432
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a0434
xor al, al
add rsp, 0x28
ret

Function at 0x1400a532c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400a539b
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a539b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a539b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a539b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a539b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a539b
cmp dword [rcx + 0xf8], 0
je 0x1400a539b
mov ecx, ebx
call fcn.1400a544c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400a5228
nop
cmp dword [rbp + 0x20], 0
je 0x1400a53e9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a53f4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400a532c

Function at 0x1400a5530
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a532c
Function at 0x1400a87e8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400a8818
xor eax, eax
jmp 0x1400a88db
mov rbp, rbx
cmp word [rax], si
je 0x1400a883d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a8824
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a8820
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400a8708
movsxd r14, eax
test eax, eax
jne 0x1400a887b
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x1400a8811
mov rcx, r14
call fcn.1400a5f2c
mov rdi, rax
test rax, rax
jne 0x1400a8894
xor ecx, ecx
call fcn.1400a5f8c
jmp 0x1400a8870
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400a8708
test eax, eax
jne 0x1400a88c5
mov rcx, rdi
call fcn.1400a5f8c
jmp 0x1400a88cf
xor ecx, ecx
call fcn.1400a5f8c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400abfe0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400a77d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400ac06a
cmp byte [rbp - 0x21], r15b
je 0x1400ac065
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400ac0a0
call fcn.1400a9e74
test eax, eax
jne 0x1400ac08c
cmp byte [rbp - 0x21], r15b
je 0x1400ac084
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400ac0a0
cmp byte [rbp - 0x21], r15b
je 0x1400ac09d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400a6db8
test eax, eax
jne 0x1400ac140
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400a77d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400ac0df
cmp byte [rbp - 0x21], r15b
je 0x1400ac114
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400ac114
call fcn.1400a9e74
test eax, eax
jne 0x1400ac100
cmp byte [rbp - 0x21], r15b
je 0x1400ac0f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400ac114
cmp byte [rbp - 0x21], r15b
je 0x1400ac111
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400a6db8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400ac140
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400ac143
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400ac151
mov rcx, rdi
call fcn.1400a5f8c
cmp byte [rbp + 0x3f], r15b
je 0x1400ac160
mov rcx, qword [rbp + 0x27]
call fcn.1400a5f8c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400aece0
Capabilities:
Parse pe header

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

Function at 0x1400b3a80
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, [0x1400bb1d5]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400b3ad5
mov rdi, rax
lea rdx, [0x1400bb1f6]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b3ad5
mov rsi, rax
lea rdx, [0x1400bb204]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b3ad5
mov r14, rax
xor edi, edi
jmp 0x1400b3b5d
lea rcx, [0x1400bb190]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400b3bc9
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b3bc9
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b3bc9
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400b3bc9
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400b3bc9
mov r14, qword [rsp + 0x20]
movzx eax, byte [0x1400d6d30]
mov ecx, 0x18
mov edx, 8
call fcn.1400550b0
test rax, rax
je 0x1400b3bcb
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1400d6d78], rbx
je 0x1400b3bbc
mov rsi, rax
cmp qword [rbx], 0
je 0x1400b3ba6
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.1400550c0
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
mov ecx, 8
mov edx, 0x18
call fcn.140060750
int3
Function at 0x140001220
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140001281
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140001240
mov ecx, dword [r9]
jmp 0x14000136b
cmp ecx, 0x4e0
jb 0x14000136b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400012a0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400012f0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140003770
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400037cd
lea rbx, [0x1400d2da0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400037b4
cmp r10, 2
jb 0x1400037b4
cmp byte [r9], r8b
jne 0x1400037b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003790
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000380f
lea rbx, [0x1400d2da0]
cmp r8b, 0x23
jne 0x1400037f3
cmp byte [r9], r8b
jne 0x1400037f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400037e0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140006620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
mov edi, edx
jg 0x140006655
mov r8d, 0x6d1
lea rdx, str.C:UserskajusOneDriveDesktopImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.Size___0
call fcn.140081a70
movsxd r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x1400d2da0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400ea7f0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1d6c], edx
jne 0x1400066cf
mov dword [rax + 0x1d70], edx
cmp dword [rax + 0x1da8], edx
jne 0x1400066de
mov byte [rax + 0x1dac], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret