joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ecc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140090080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14005ed55
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14005edb6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140039210
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140071e60
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14005ee71
sub ecx, 1
je 0x14005eee4
sub ecx, 1
je 0x14005ee20
cmp ecx, 1
je 0x14005ee03
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14007e970]
call fcn.140039210
jmp 0x14005eee4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14005e9f0
test eax, eax
je 0x14005eee4
jmp 0x14005ed8a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005eee4
sub rax, rsi
cmp rax, rbp
jae 0x14005eee4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140039390
jmp 0x14005eee4
cmp r8d, 4
jle 0x14005eee4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14005eee4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140039130
mov esi, eax
test eax, eax
je 0x14005eec3
mov edx, 5
mov rcx, rbx
call fcn.14005f9b0
mov eax, esi
jmp 0x14005ed8a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140047c10
mov rcx, r14
call fcn.140047ef0
test eax, eax
je 0x14005ed88
mov edx, 5
mov rcx, rbx
call fcn.14005f9b0
mov eax, Ordinal_45
jmp 0x14005ed8a
Function at 0x140071c80
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140071cc2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140071d09
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140071d62
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140071d20
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140071da3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400840fa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400840fb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140071d70
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140072e10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140072e5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140072e5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140072e5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140072e5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140072e5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140072e5c
xor al, al
add rsp, 0x28
ret
Function at 0x1400056f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [rdx]
mov rsi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [rax + 0x20]
mov r8, qword [rbx]
mov rcx, rbx
mov rdi, rax
call qword [r8 + 0x18]
mov edx, 0xffffffff
mov rbp, rax
cmp rdi, rdx
ja 0x1400057c5
vmovups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x78], r14
vmovups xmmword [rsp + 0x40], xmm0
call fcn.140004cb0
xor r14d, r14d
mov rcx, rax
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400057fc
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r14
mov r8d, edi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000581f
mov r9d, dword [rsp + 0x70]
cmp r9d, edi
jne 0x140005842
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea rax, str.Max_To___
mov rcx, rdi
mov qword [rsp + 0x30], rax
lea r9, [0x140024917]
lea rax, [0x140024ac0]
mov qword [rsp + 0x28], rax
lea r8, [0x140024a00]
mov dword [rsp + 0x20], 0x2a5
call fcn.140006760
int3
call fcn.140004c80
mov rcx, qword [rsi]
mov r9, rax
call fcn.140003b40
mov r8, qword [rsi + 8]
lea rcx, str.failed_to_create_file__.s:__s
mov edx, eax
call fcn.140004180
int3
call fcn.140004c80
mov rcx, qword [rsi]
mov r9, rax
call fcn.140003b40
mov r8, qword [rsi + 8]
lea rcx, str.failed_to_write_file__.s:__s
mov edx, eax
call fcn.140004180
int3
mov rcx, qword [rsi]
call fcn.140003b40
mov r8, qword [rsi + 8]
lea rcx, str.failed_to_write_entire_file__.s:_wrote__lu__expected__u
mov edx, eax
mov dword [rsp + 0x20], edi
call fcn.140004180
int3
Function at 0x140005870
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x58
xor r15d, r15d
mov rbx, rdx
mov r8d, r15d
mov rdi, rcx
mov rax, rdx
cmp byte [rdx], r8b
je 0x14000589c
nop
lea rax, [rax + 1]
inc r8d
cmp byte [rax], r15b
jne 0x140005890
movsxd rax, r8d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
call fcn.140004cb0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400059fc
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140005a14
mov qword [rsp + 0x90], rbp
lea r8, str.File_read
mov qword [rdi + 8], r15
lea rdx, str._s__s_
mov rax, qword [rsp + 0x88]
lea rcx, [rsp + 0x40]
mov r9, rbx
mov qword [rdi], rax
call fcn.140003f70
mov rcx, qword [rax]
mov rbp, qword [rax + 8]
test rcx, rcx
je 0x140005949
cmp byte [rcx + rbp - 1], r15b
je 0x140005a2c
cmp byte [rcx + rbp], r15b
jne 0x140005a46
mov qword [rsp + 0x50], rsi
mov rsi, qword [rdi]
test rsi, rsi
jle 0x140005a60
mov rcx, rsi
call fcn.14000d008
mov rdx, rax
test rax, rax
je 0x140005a7a
mov qword [rdi + 8], rax
mov rax, qword [rdi]
test rax, rax
js 0x140005a8d
mov r10d, 0xffffffff
cmp rax, r10
ja 0x140005ac6
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], r15
mov r8d, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140005b00
mov r8, qword [rdi]
mov r9d, dword [rsp + 0x80]
cmp r9, r8
jne 0x1400059ec
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x90]
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rbx
ret
mov rdx, rbx
lea rcx, str.failed_to_read_full_file__s:_wanted__lli__got__lu
call fcn.140004180
int3
call fcn.140004c80
mov r8, rax
lea rcx, str.failed_to_open_file__s:__s
mov rdx, rbx
call fcn.140004180
int3
call fcn.140004c80
mov r8, rax
lea rcx, str.failed_to_get_file_size_of__s:__s
mov rdx, rbx
call fcn.140004180
int3
mov r8d, 0x66d
lea rdx, [0x140024917]
lea rcx, str.s.length__0__s.data_s.length___1____0
call fcn.1400041c0
int3
mov r8d, 0x670
lea rdx, [0x140024917]
lea rcx, str.s.data_s.length___0
call fcn.1400041c0
int3
mov r8d, 0xa
lea rdx, [0x140024c1f]
lea rcx, str.byte_count___0
call fcn.1400041c0
int3
mov r8, rbp
lea rcx, str.out_of_memory__lli_byte_allocation:__s
mov rdx, rsi
call fcn.140004180
int3
lea rcx, [0x1400249f0]
xor edx, edx
mov qword [rsp + 0x30], rcx
lea r9, [0x140024917]
lea rcx, [0x140024ac0]
mov qword [rsp + 0x28], rcx
lea r8, [0x1400249ec]
mov rcx, rax
mov dword [rsp + 0x20], 0x2b1
call fcn.140004590
int3
lea rcx, str.Max_To___
mov edx, r10d
mov qword [rsp + 0x30], rcx
lea r9, [0x140024917]
lea rcx, str.__std::make_unsigned_t_From___n__
mov qword [rsp + 0x28], rcx
lea r8, [0x140024a00]
mov rcx, rax
mov dword [rsp + 0x20], 0x2b2
call fcn.140006760
int3
call fcn.140004c80
mov r8, rax
lea rcx, str.failed_to_read_file__s:__s
mov rdx, rbx
call fcn.140004180
int3
Function at 0x140006f58
Capabilities:
Parse pe header

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

Function at 0x14000dd40
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000db30
Function at 0x140013dcc
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 0x140013dfc
xor eax, eax
jmp 0x140013ebf
mov rbp, rbx
cmp word [rax], si
je 0x140013e21
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140013e08
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140013e04
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.140013d1c
movsxd r14, eax
test eax, eax
jne 0x140013e5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140013df5
mov rcx, r14
call fcn.14000f488
mov rdi, rax
test rax, rax
jne 0x140013e78
xor ecx, ecx
call fcn.14000eb48
jmp 0x140013e54
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.140013d1c
test eax, eax
jne 0x140013ea9
mov rcx, rdi
call fcn.14000eb48
jmp 0x140013eb3
xor ecx, ecx
call fcn.14000eb48
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 0x14001832c
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.140012e20
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400183b6
cmp byte [rbp - 0x21], r15b
je 0x1400183b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400183ec
call fcn.14000ed9c
test eax, eax
jne 0x1400183d8
cmp byte [rbp - 0x21], r15b
je 0x1400183d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400183ec
cmp byte [rbp - 0x21], r15b
je 0x1400183e9
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.1400123fc
test eax, eax
jne 0x14001848c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140012e20
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001842b
cmp byte [rbp - 0x21], r15b
je 0x140018460
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140018460
call fcn.14000ed9c
test eax, eax
jne 0x14001844c
cmp byte [rbp - 0x21], r15b
je 0x140018445
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140018460
cmp byte [rbp - 0x21], r15b
je 0x14001845d
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.1400123fc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001848c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001848f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001849d
mov rcx, rdi
call fcn.14000eb48
cmp byte [rbp + 0x3f], r15b
je 0x1400184ac
mov rcx, qword [rbp + 0x27]
call fcn.14000eb48
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 0x14001a7a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001a7c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001a7c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140025710
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cx
mov eax, ebx
cmp ebx, 0x11c
ja 0x1400257ee
je 0x1400257e6
sub eax, 0x1d
cmp eax, 0x36
ja case.0x140025813.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x258e4]
mov ecx, dword [rdx + rax*4 + 0x25898]
add rcx, rdx
jmp rcx
mov al, 0xa0
add rsp, 0x20
pop rbx
ret
mov al, 0xa2
add rsp, 0x20
pop rbx
ret
mov al, 0xa4
add rsp, 0x20
pop rbx
ret
mov al, 0x6a
add rsp, 0x20
pop rbx
ret
mov al, 0x6d
add rsp, 0x20
pop rbx
ret
mov al, 0x6b
add rsp, 0x20
pop rbx
ret
mov al, 0x2e
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_ioctlsocket
add rsp, 0x20
pop rbx
ret
mov al, 0x2d
add rsp, 0x20
pop rbx
ret
mov al, 0x26
add rsp, 0x20
pop rbx
ret
mov al, 0x28
add rsp, 0x20
pop rbx
ret
mov al, 0x25
add rsp, 0x20
pop rbx
ret
mov al, 0x27
add rsp, 0x20
pop rbx
ret
mov al, 0x24
add rsp, 0x20
pop rbx
ret
mov al, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, 0x21
add rsp, 0x20
pop rbx
ret
mov al, SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_send
add rsp, 0x20
pop rbx
ret
mov al, 0xd
add rsp, 0x20
pop rbx
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x140025813.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x25944]
mov ecx, dword [rdx + rax*4 + 0x2591c]
add rcx, rdx
jmp rcx
mov al, 0xa1
add rsp, 0x20
pop rbx
ret
mov al, 0xa3
add rsp, 0x20
pop rbx
ret
mov al, 0xa5
add rsp, 0x20
pop rbx
ret
mov al, 0x5b
add rsp, 0x20
pop rbx
ret
mov al, 0x5c
add rsp, 0x20
pop rbx
ret
mov al, 0x90
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_WSAGetLastError
add rsp, 0x20
pop rbx
ret
mov al, 0x5d
add rsp, 0x20
pop rbx
ret
mov al, 0x2c
add rsp, 0x20
pop rbx
ret
bt bx, 8
jae 0x14002587c
movzx ecx, bl
mov edx, 1
or ecx, 0xe000
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x140025890
movzx ecx, bl
mov edx, 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_MapVirtualKeyW]
add rsp, 0x20
pop rbx
ret
invalid
cld
invalid
jl 0x140272676
jo 0x1402725c9
cmp al, 0xb9
wait
stosd dword [rdi], eax
ret
jae 0x140272607
invalid
mov dh, 0x80
add dl, bl
or al, 0x38
sahf
invalid
cli
jl 0x1402726b4
nop
js 0x140272668
invalid
movabs eax, dword [0xc18a7ab91148d781]
int 0xe2
mov dword [rax + 0xd], edi
js 0x140272673
retf 0x57ac
push rdi
call [rsi + rsi*2]
test byte [rax + 0x63], cl
xlatb
loop 0x14027269d
invalid
adc eax, 0x9b9a75be
xlatb
sahf
mov eax, 0xd4ff7dca
invalid
js 0x140272638
fdiv qword [rdi - 0x7f]
out 0xa2, al
xchg byte [rbx], bh
and dword [0xd331b67e], ecx
movsd dword [rdi], dword [rsi]
packsswb mm0, qword [rdx + 0x44b7f6a2]
mov word [rdx + 9], ds
outsb dx, byte [rsi]
maxps xmm0, xmmword [rax*2 - 0x5e0c09d9]
movabs byte [0xf6e095a8c44b7f6], al
pop rdi
add al, 0x45
invalid
push 0xffffffffffffffee
invalid
test byte [rbx], 0x5f
pop rbx
sub al, 0xd4
invalid
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14033e0a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14033e0b0]
mov dword [rax], 1
mov rax, qword [0x14033e0c0]
mov dword [rax], 1
mov rax, qword [0x14033e090]
mov dword [rax], 1
mov rax, qword [0x14033df80]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x14033e080]
mov dword [0x14036100c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14033e060]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14033e040]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14033df30]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x140013f40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140046b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140046c00
cmp r11, r10
ja 0x140046c76
cmp r10, rdx
ja 0x140046c88
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140046c02
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140046be0
jmp 0x140046c64
ja 0x140046c0a
mov r11, r10
cmp rax, r8
jne 0x140046ba4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140046c40
mov rdi, r8
sub ecx, edx
jns 0x140046c5b
jmp 0x140046c66
cmp r8, rsi
je 0x140046c97
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140046c66
xor al, 1
cmp rdi, rsi
jne 0x140046c20
jmp 0x140046c66
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call sym.core::slice::index::slice_index_order_fail::hd1faead0a1aabd81
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call sym.core::slice::index::slice_end_index_len_fail::h3c6c4e0795fc400a
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call sym.core::panicking::panic::haa5ab648900af052
int3
Function at 0x1400bbc40
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400bbc82
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1400bbc8a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400bbc9b
jmp 0x1400bbcb2
xor r10d, r10d
jmp 0x1400bbd3d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400bbcb2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400bbcc9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400bbce9
add r11, r8
jmp 0x1400bbe1a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400bbdb2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400bbd60
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1400bbdd0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400bbde2
jmp 0x1400bbdfc
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400bbdfc
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400bbe16
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400bce70
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400bceb6
dec ecx
mov edx, 1
call fcn.14014a9a4
mov rcx, qword [0x1403610c8]
xor edx, edx
mov r8, rdi
call fcn.14014aabc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400bcec2
dec ecx
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14014a9a4
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
jmp 0x1400bce85
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
jmp 0x1400bcea9