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

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x1400d06d6
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 [0x1401f98c0]
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.14002bb20
test rdi, rdi
je 0x1400d0765
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400d077e
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 0x1400d0876
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1400d08f8
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400d0883
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 0x1400d0740
cmp r9, 8
jae 0x1400d088c
jmp 0x1400d08f8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002bb20
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 0x1400d08f8
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x1400d08f8
mov r8, rcx
cmp r9, 8
jb 0x1400d08f8
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 0x1400d0890
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400ec6b0
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 0x1400ec6e4
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 0x140177ae0
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 0x140177af0
test al, 1
je 0x140177b0f
test al, 2
jne 0x140177b27
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140240560]
mov edx, 0x23
call fcn.1401ed970
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402405a0]
mov edx, 0x25
call fcn.1401ed970
int3
Function at 0x14017b6d0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140188040
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 0x140188078
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017b6e0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140188090
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 0x1401880c5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017b6f0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140187ff0
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 0x140188025
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401835b0
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 0x1401835d0
test al, 1
je 0x140183699
test al, 2
jne 0x1401836b1
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x18]
call fcn.140165350
test rax, rax
je 0x14018362e
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 0x14018362e
mov r8, qword [rax + 0x10]
call fcn.14002beb0
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 0x1401836c9
jne 0x14018368f
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rcx, [rax + 0x28]
call fcn.140177050
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x14018367b
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.14002beb0
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140240560]
mov edx, 0x23
call fcn.1401ed970
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402405a0]
mov edx, 0x25
call fcn.1401ed970
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1401de290]
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, [0x1402405e8]
lea rcx, [rbp - 0x58]
call fcn.1401ed8a0
int3
Function at 0x140187100
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140187118
add rcx, 0x18
add rsp, 0x28
jmp 0x14018b5d0
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, [0x140242150]
mov edx, 0x2b
call fcn.1401ed970
int3
jmp 0x1401bd610
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 0x1401bd648
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 0x140187d90
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 0x140187f70
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 0x140187f9a
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140187fb0
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 0x140187fda
xor eax, eax
add rsp, 0x28
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x140187ff0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140187ff0
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 0x140188025
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140188040
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140188040
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 0x140188078
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140188090
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140188090
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 0x1401880c5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x1401880e0
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 0x140188207
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x140188168
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 0x1401881a9
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 0x140188207
xor eax, eax
jmp 0x140188214
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1401adf40
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 0x1401adfb2
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 0x1401adf78
add rdi, rbx
sub rsi, rbx
je 0x1401adfb2
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 0x1401adf70
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1401adf70
add ebp, 0x80000000
jmp 0x1401adfb4
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 0x1401b2640
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 0x1401b26ba
cmp rax, 1
jne 0x1401b26f2
test rdi, rdi
je 0x1401b2738
js 0x1401b28c0
movzx r14d, byte [r9]
movzx eax, byte [0x1402dd3d1]
mov edx, 1
mov rcx, rdi
call fcn.14002bea0
test rax, rax
je 0x1401b26e5
mov r15, rax
cmp rdi, 8
jae 0x1401b275c
xor eax, eax
jmp 0x1401b2800
test rdi, rdi
je 0x1401b2743
js 0x1401b28c0
movzx eax, byte [0x1402dd3d1]
mov edx, 1
mov rcx, rdi
call fcn.14002bea0
mov r15, rax
test rax, rax
jne 0x1401b2749
mov ecx, 1
mov rdx, rdi
call fcn.1401ed650
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.1401b2150
mov r15, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
jmp 0x1401b281f
mov r15d, 1
jmp 0x1401b2813
mov r15d, 1
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.1401dfb60
jmp 0x1401b2813
movzx ecx, r14b
cmp rdi, 0x20
jae 0x1401b276a
xor eax, eax
jmp 0x1401b27c4
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 0x1401b2790
cmp rax, rdi
je 0x1401b2813
test dil, 0x18
je 0x1401b2800
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 0x1401b27e0
cmp rax, rdi
je 0x1401b2813
nop dword [rax]
movzx ecx, byte [rbx + rax]
xor cl, r14b
mov byte [r15 + rax], cl
inc rax
cmp rdi, rax
jne 0x1401b2800
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.1401da9a0
cmp qword [rbp - 0x38], 0
je 0x1401b289a
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 0x1401b28a2
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, [0x14027d2b8]
lea r9, [0x14027d2e8]
lea r8, [rbp - 0x38]
mov edx, 0x2b
call fcn.1401edd80
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.1401cf470
int3
Function at 0x1401b2df0
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 0x1401b2e5d
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 0x1401b2efc
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x1401b2f4d
mov rsi, r12
sub rsi, rbx
jbe 0x1401b2e50
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x1401b2eba
lea rcx, [rbp - 0x20]
mov rdx, rbx
mov r8, rsi
call fcn.1401ec4b0
mov rdi, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x1401b2eed
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call fcn.1401e0200
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 0x1401b2e53
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 0x1401b3035
mov rcx, qword [rbp - 0x18]
shl rdx, 3
mov r8d, 8
call fcn.14002beb0
jmp 0x1401b3035
mov r14d, r12d
shr r14d, 3
cmp rbx, r14
jb 0x1401b3049
cmp r12d, 8
jae 0x1401b2f6f
mov eax, 8
xor ecx, ecx
jmp 0x1401b2fff
mov r15, r14
shl r15, 4
movzx eax, byte [0x1402dd3d1]
mov edx, 8
mov rcx, r15
call fcn.14002bea0
test rax, rax
je 0x1401b305d
cmp r14d, 1
jne 0x1401b2fa1
xor ecx, ecx
mov r10, qword [rbp - 0x30]
jmp 0x1401b2fe5
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 0x1401b2fc0
test r14b, 1
je 0x1401b2ffc
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 0x1401b3031
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.14002beb0
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, [0x14027d558]
mov rcx, r14
mov rdx, rbx
call fcn.1401edea0
jmp 0x1401b306a
mov ecx, 8
mov rdx, r15
call fcn.1401ed650
ud2
Function at 0x1401b4990
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 0x1401b4b46
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1401b4b46
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 0x1401b4a32
inc ebx
cmp ebx, r15d
jae 0x1401b4af4
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.1401d4770
cmp qword [rbp - 0x58], 0
jne 0x1401b4a30
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 0x1401b4aa3
js 0x1401b4b30
movzx eax, byte [0x1402dd3d1]
mov edx, 1
mov rcx, r12
call fcn.14002bea0
mov rsi, rax
test rax, rax
jne 0x1401b4aa8
jmp 0x1401b4b37
mov esi, 1
mov rcx, rsi
mov rdx, r13
mov r8, r12
call fcn.1401dfb60
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 0x1401b4b1b
mov rax, qword [rbp - 8]
mov r8d, dword [rax + r14*4]
add r8, rdi
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x40]
call fcn.1401b5170
mov r12, r15
mov r15d, dword [rbp + 0x14]
lea r13, [rbp - 0x58]
jmp 0x1401b4a30
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, [0x14027d8f0]
mov rcx, r14
mov rdx, qword [rbp + 0x18]
call fcn.1401eda70
jmp 0x1401b4b5e
call fcn.1401cf470
jmp 0x1401b4b5e
mov ecx, 1
mov rdx, r12
call fcn.1401ed650
jmp 0x1401b4b5e
lea rcx, [0x14027d8aa]
lea r8, [0x14027d8d8]
mov edx, 0x2b
call fcn.1401ed970
ud2
Function at 0x1401ba3f0
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 0x1401ba490
jmp 0x1401ba47f
jae 0x1401ba550
cmp r8, 0x201
jae 0x1401ba490
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1401ba4e8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x1401ba4bf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1401ec770
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 0x1401ba511
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401ba5b8
mov r8d, r14d
cmp r15, r8
jne 0x1401ba470
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401ba5e5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1401ba47f
jmp 0x1401ba490
cmp rsi, r8
jb 0x1401ba5ff
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1401bd850
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 0x1401ba5a1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.14002beb0
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 0x1401ba589
jmp 0x1401ba5a1
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.1401ed970
jmp 0x1401ba614
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1401edea0
ud2