joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d0670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x1400d0706
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdetC:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_1.1.0_srcheadermap.rssize_overflows_MAX_SIZE]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1401f98e0]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002bb50
test rdi, rdi
je 0x1400d0795
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400d07ae
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x1400d08a6
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1400d0928
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400d08b3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1400d0770
cmp r9, 8
jae 0x1400d08bc
jmp 0x1400d0928
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002bb50
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400d0928
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x1400d0928
mov r8, rcx
cmp r9, 8
jb 0x1400d0928
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400d08c0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400ec6e0
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400ec714
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140177b10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140177b20
test al, 1
je 0x140177b3f
test al, 2
jne 0x140177b57
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140240580]
mov edx, 0x23
call fcn.1401ed9a0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402405c0]
mov edx, 0x25
call fcn.1401ed9a0
int3
Function at 0x14017b700
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140188070
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401880a8
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017b710
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401880c0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401880f5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017b720
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140188020
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140188055
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401835e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140183600
test al, 1
je 0x1401836c9
test al, 2
jne 0x1401836e1
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x18]
call fcn.140165380
test rax, rax
je 0x14018365e
mov qword [rbp + 0x10], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rcx, qword [rbp + 0x10]
je 0x14018365e
mov r8, qword [rax + 0x10]
call fcn.14002bee0
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 8], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 8]
jb 0x1401836f9
jne 0x1401836bf
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rcx, [rax + 0x28]
call fcn.140177080
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x1401836ab
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, qword [rbp + 0x20]
call fcn.14002bee0
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140240580]
mov edx, 0x23
call fcn.1401ed9a0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402405c0]
mov edx, 0x25
call fcn.1401ed9a0
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1401de2c0]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x140240608]
lea rcx, [rbp - 0x58]
call fcn.1401ed8d0
int3
Function at 0x140187130
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140187148
add rcx, 0x18
add rsp, 0x28
jmp 0x14018b600
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_srciopoll_evented.rs
lea r8, [0x140242170]
mov edx, 0x2b
call fcn.1401ed9a0
int3
jmp 0x1401bd640
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401bd678
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140187dc0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140187fa0
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x140187fca
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140187fe0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14018800a
xor eax, eax
add rsp, 0x28
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x140188020
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140188020
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140188055
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140188070
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140188070
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401880a8
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401880c0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401880c0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401880f5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x140188110
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov rsi, qword [rcx]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140188237
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x140188198
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x1401881d9
mov eax, 0x3e8
mul qword [rdi + 0x10]
mov ecx, r9d
imul r9, rcx, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, r9d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x140188237
xor eax, eax
jmp 0x140188244
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1401adf70
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1401adfe2
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x1401adfa8
add rdi, rbx
sub rsi, rbx
je 0x1401adfe2
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x1401adfa0
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1401adfa0
add ebp, 0x80000000
jmp 0x1401adfe4
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1401b2670
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x1401b26ea
cmp rax, 1
jne 0x1401b2722
test rdi, rdi
je 0x1401b2768
js 0x1401b28f0
movzx r14d, byte [r9]
movzx eax, byte [0x1402dd3d1]
mov edx, 1
mov rcx, rdi
call fcn.14002bed0
test rax, rax
je 0x1401b2715
mov r15, rax
cmp rdi, 8
jae 0x1401b278c
xor eax, eax
jmp 0x1401b2830
test rdi, rdi
je 0x1401b2773
js 0x1401b28f0
movzx eax, byte [0x1402dd3d1]
mov edx, 1
mov rcx, rdi
call fcn.14002bed0
mov r15, rax
test rax, rax
jne 0x1401b2779
mov ecx, 1
mov rdx, rdi
call fcn.1401ed680
add rdi, rbx
pxor xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0
lea rcx, [rbp + 8]
lea rdx, [rbp - 0x38]
call fcn.1401b2180
mov r15, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
jmp 0x1401b284f
mov r15d, 1
jmp 0x1401b2843
mov r15d, 1
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.1401dfb90
jmp 0x1401b2843
movzx ecx, r14b
cmp rdi, 0x20
jae 0x1401b279a
xor eax, eax
jmp 0x1401b27f4
mov rax, rdi
and rax, 0xffffffffffffffe0
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
xor edx, edx
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbx + rdx]
movdqu xmm2, xmmword [rbx + rdx + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [r15 + rdx], xmm1
movdqu xmmword [r15 + rdx + 0x10], xmm2
add rdx, 0x20
cmp rax, rdx
jne 0x1401b27c0
cmp rax, rdi
je 0x1401b2843
test dil, 0x18
je 0x1401b2830
mov rdx, rax
mov rax, rdi
and rax, 0xfffffffffffffff8
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
nop dword [rax + rax]
movq xmm1, qword [rbx + rdx]
pxor xmm1, xmm0
movq qword [r15 + rdx], xmm1
add rdx, 8
cmp rax, rdx
jne 0x1401b2810
cmp rax, rdi
je 0x1401b2843
nop dword [rax]
movzx ecx, byte [rbx + rax]
xor cl, r14b
mov byte [r15 + rax], cl
inc rax
cmp rdi, rax
jne 0x1401b2830
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], rdi
mov qword [rbp - 0x40], r15
lea rcx, [rbp - 0x38]
mov rdx, r15
mov r8, rdi
call fcn.1401da9d0
cmp qword [rbp - 0x38], 0
je 0x1401b28ca
lea rax, [rbp + 0x10]
movups xmm0, xmmword [rbp - 0x30]
mov rdi, qword [rbp - 0x30]
mov rcx, qword [rbp + 8]
movdqu xmm1, xmmword [rax]
movdqa xmmword [rbp - 0x50], xmm1
movabs rdx, 0x8000000000000000
cmp rcx, rdx
je 0x1401b28d2
mov qword [rbp - 0x38], rcx
movups xmm1, xmmword [rax]
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm0
lea rax, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.1.3_srclib.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14027d2d8]
lea r9, [0x14027d308]
lea r8, [rbp - 0x38]
mov edx, 0x2b
call fcn.1401eddb0
ud2
movups xmm0, xmmword [rbp + 8]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call fcn.1401cf4a0
int3
Function at 0x1401b2e20
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
mov dword [rbp - 4], 0
mov qword [rbp - 0x30], rdx
mov r14, qword [rdx]
mov edi, 8
lea r15, [rbp - 4]
xor ebx, ebx
xor esi, esi
jmp 0x1401b2e8d
mov r13, r12
mov qword [rbp - 0x10], r13
mov rbx, r13
mov esi, r12d
lea r8d, [rbx*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sub.psapi.dll_EnumProcessModulesEx
test eax, eax
je 0x1401b2f2c
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x1401b2f7d
mov rsi, r12
sub rsi, rbx
jbe 0x1401b2e80
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x1401b2eea
lea rcx, [rbp - 0x20]
mov rdx, rbx
mov r8, rsi
call fcn.1401ec4e0
mov rdi, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x1401b2f1d
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call fcn.1401e0230
lea rax, [r12 + r13]
sub rax, rbx
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
mov qword [rcx], 0
inc r13
jmp 0x1401b2e83
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp - 0x28]
mov qword [rsi + 8], rax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rbp - 0x38]
mov qword [rsi + 0x20], rax
mov qword [rsi], 0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1401b3065
mov rcx, qword [rbp - 0x18]
shl rdx, 3
mov r8d, 8
call fcn.14002bee0
jmp 0x1401b3065
mov r14d, r12d
shr r14d, 3
cmp rbx, r14
jb 0x1401b3079
cmp r12d, 8
jae 0x1401b2f9f
mov eax, 8
xor ecx, ecx
jmp 0x1401b302f
mov r15, r14
shl r15, 4
movzx eax, byte [0x1402dd3d1]
mov edx, 8
mov rcx, r15
call fcn.14002bed0
test rax, rax
je 0x1401b308d
cmp r14d, 1
jne 0x1401b2fd1
xor ecx, ecx
mov r10, qword [rbp - 0x30]
jmp 0x1401b3015
mov edx, r14d
and edx, 0xfffffffe
lea r8, [rax + 0x18]
xor ecx, ecx
mov r10, qword [rbp - 0x30]
nop word cs:[rax + rax]
mov r9, qword [rdi + rcx*8]
mov qword [r8 - 0x18], r10
mov qword [r8 - 0x10], r9
mov r9, qword [rdi + rcx*8 + 8]
mov qword [r8 - 8], r10
mov qword [r8], r9
add rcx, 2
add r8, 0x20
cmp rdx, rcx
jne 0x1401b2ff0
test r14b, 1
je 0x1401b302c
mov rdx, qword [rdi + rcx*8]
shl rcx, 4
mov qword [rax + rcx], r10
mov qword [rax + rcx + 8], rdx
mov rcx, r14
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
mov qword [rdx], 4
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1401b3061
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.14002bee0
mov rsi, qword [rbp - 0x28]
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x14027d578]
mov rcx, r14
mov rdx, rbx
call fcn.1401eded0
jmp 0x1401b309a
mov ecx, 8
mov rdx, r15
call fcn.1401ed680
ud2
Function at 0x1401b49c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp + 8], rcx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x18], 0
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x1401b4b76
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1401b4b76
mov eax, dword [rdi + rax + 0x88]
mov r12d, dword [rax + rdi + 0x20]
add r12, rdi
mov ecx, dword [rax + rdi + 0x14]
mov qword [rbp + 0x18], rcx
mov r15d, dword [rax + rdi + 0x18]
mov ecx, dword [rax + rdi + 0x1c]
add rcx, rdi
mov qword [rbp - 8], rcx
mov eax, dword [rax + rdi + 0x24]
add rax, rdi
mov qword [rbp - 0x10], rax
xor ebx, ebx
lea r13, [rbp - 0x58]
mov dword [rbp + 0x14], r15d
jmp 0x1401b4a62
inc ebx
cmp ebx, r15d
jae 0x1401b4b24
mov r14d, ebx
mov esi, dword [r12 + r14*4]
add rsi, rdi
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r8, [rax + 1]
mov rcx, r13
mov rdx, rsi
call fcn.1401d47a0
cmp qword [rbp - 0x58], 0
jne 0x1401b4a60
mov r15, r12
mov r13, qword [rbp - 0x50]
mov r12, qword [rbp - 0x48]
mov rax, qword [rbp - 0x10]
movzx r14d, word [rax + r14*2]
test r12, r12
je 0x1401b4ad3
js 0x1401b4b60
movzx eax, byte [0x1402dd3d1]
mov edx, 1
mov rcx, r12
call fcn.14002bed0
mov rsi, rax
test rax, rax
jne 0x1401b4ad8
jmp 0x1401b4b67
mov esi, 1
mov rcx, rsi
mov rdx, r13
mov r8, r12
call fcn.1401dfb90
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r12
cmp r14, qword [rbp + 0x18]
mov qword [rbp], r14
jae 0x1401b4b4b
mov rax, qword [rbp - 8]
mov r8d, dword [rax + r14*4]
add r8, rdi
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x40]
call fcn.1401b51a0
mov r12, r15
mov r15d, dword [rbp + 0x14]
lea r13, [rbp - 0x58]
jmp 0x1401b4a60
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp + 8]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rax], xmm0
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x14027d910]
mov rcx, r14
mov rdx, qword [rbp + 0x18]
call fcn.1401edaa0
jmp 0x1401b4b8e
call fcn.1401cf4a0
jmp 0x1401b4b8e
mov ecx, 1
mov rdx, r12
call fcn.1401ed680
jmp 0x1401b4b8e
lea rcx, [0x14027d8ca]
lea r8, [0x14027d8f8]
mov edx, 0x2b
call fcn.1401ed9a0
ud2
Function at 0x1401ba420
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x1401ba4c0
jmp 0x1401ba4af
jae 0x1401ba580
cmp r8, 0x201
jae 0x1401ba4c0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1401ba518
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x1401ba4ef
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1401ec7a0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1401ba541
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401ba5e8
mov r8d, r14d
cmp r15, r8
jne 0x1401ba4a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401ba615
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1401ba4af
jmp 0x1401ba4c0
cmp rsi, r8
jb 0x1401ba62f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1401bd880
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x1401ba5d1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.14002bee0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x1401ba5b9
jmp 0x1401ba5d1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1401ed9a0
jmp 0x1401ba644
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1401eded0
ud2