joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014fa10
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14014fbb8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14014fa75
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14014fa75
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14014fa75
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14014faac
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14014fb02
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14014fb02
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14014fb02
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14014fb02
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14014fb02
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14014f4c0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14014fb64
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14012b870
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14014f890
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14014fbb0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14012b870
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140151320
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14020d080]
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 0x1401513b5
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 0x140151416
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14012b870
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.1401644c0
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 0x1401514d1
sub ecx, 1
je 0x140151544
sub ecx, 1
je 0x140151480
cmp ecx, 1
je 0x140151463
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14017b690]
call fcn.14012b870
jmp 0x140151544
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140151050
test eax, eax
je 0x140151544
jmp 0x1401513ea
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 0x140151544
sub rax, rsi
cmp rax, rbp
jae 0x140151544
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14012b9f0
jmp 0x140151544
cmp r8d, 4
jle 0x140151544
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 0x140151544
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14012b790
mov esi, eax
test eax, eax
je 0x140151523
mov edx, 5
mov rcx, rbx
call fcn.140152010
mov eax, esi
jmp 0x1401513ea
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14013a270
mov rcx, r14
call fcn.14013a550
test eax, eax
je 0x1401513e8
mov edx, 5
mov rcx, rbx
call fcn.140152010
mov eax, Ordinal_46
jmp 0x1401513ea
Function at 0x1401642e0
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 0x140164322
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 0x140164369
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 0x1401643c2
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 0x140164380
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140164403
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140180e0a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140180e0b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401643d0
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 0x140165480
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140011ce0
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1400240a6]
call fcn.1400113c5
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac80]
call fcn.14001134d
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011226
Capabilities:
Terminate process

Disassembly:
jmp 0x140013cf0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112b7
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015040
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015060
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015073
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001509d
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400150b1
xor al, al
jmp 0x1400150e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400150c3
xor al, al
jmp 0x1400150e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400150df
xor al, al
jmp 0x1400150e1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001143d
Capabilities:
Execute command

Disassembly:
jmp 0x140012700
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240a6]
call fcn.1400113c5
lea rcx, [0x14001ac10]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.GAME_OVER_n
call fcn.1400111c7
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14000320e
Capabilities:
Resolve function by djb2 hash

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, ecx
call fcn.140005429
mov rcx, qword [0x140008020]
mov rdx, qword [0x140008028]
mov r8d, 0x5fbff0fb
call fcn.1400017c6
test rax, rax
je 0x140003354
mov rcx, qword [0x140008038]
test rcx, rcx
je 0x140003347
mov r15, qword [rax]
mov rax, qword [0x140008040]
mov edx, 0xff
movzx r9d, word [rcx + 0x13e]
mov r10d, r9d
shl r10d, 2
mov r8, 0xffffffffffffffff
test r10, r10
je 0x1400032a7
xor r11d, r11d
cmp dword [rcx + r8*4 + 0x114], esi
setne r11b
cmova r11d, edx
inc r8
add r10, 0xfffffffffffffffc
cmp r11b, 1
je 0x140003277
movzx r9d, r11b
test r9d, r9d
je 0x1400032be
jmp 0x1400032aa
mov r8, r9
sub rax, 1
jb 0x140003347
mov rcx, qword [rcx + r8*8 + 0x140]
jmp 0x140003261
lea rax, [r8 + r8*2]
mov rdi, qword [rcx + rax*8 + 0x18]
test rdi, rdi
je 0x14000331b
js 0x140003359
mov rbx, qword [rcx + rax*8 + 0x10]
mov al, byte [0x140110038]
mov ecx, 1
mov rdx, rdi
call fcn.140007813
test rax, rax
je 0x14000335e
mov r14, rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, r14
call r15
mov rbx, rax
mov edx, 1
mov rcx, r14
mov r8, rdi
call fcn.14000797c
jmp 0x140003326
mov ecx, 1
call r15
mov rbx, rax
test rbx, rbx
je 0x140003347
lea rcx, [0x140008008]
mov edx, esi
mov r8, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140001ecd
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140006c50
call fcn.1400054b0
mov rcx, rdi
call fcn.140005480
int3
Function at 0x14000408d
Capabilities:
Hash data using djb2

Disassembly:
test rdx, rdx
je 0x140004137
add rdx, rcx
mov eax, 0x1505
movzx r8d, byte [rcx]
test r8b, r8b
js 0x1400040ac
inc rcx
jmp 0x140004120
mov r9d, r8d
and r9d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp r8b, 0xdf
jbe 0x140004102
movzx r10d, byte [rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp r8b, 0xf0
jb 0x140004112
movzx r8d, byte [rcx + 3]
and r9d, 7
shl r9d, 0x12
shl r10d, 6
and r8d, 0x3f
or r8d, r10d
or r8d, r9d
cmp r8d, 0x110000
je 0x140004136
add rcx, 4
jmp 0x140004120
add rcx, 2
shl r9d, 6
or r9d, r11d
mov r8d, r9d
jmp 0x140004120
add rcx, 3
shl r9d, 0xc
or r10d, r9d
mov r8d, r10d
mov r9d, eax
shl r9d, 5
add r9d, r8d
add eax, r9d
cmp rcx, rdx
jne 0x14000409e
ret
mov eax, 0x1505
ret
Function at 0x140007400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov r11, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov edi, ecx
shr edi, 8
lea rbx, [rax + r8*2]
xor r8d, r8d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r8 + r14]
cmp byte [r15], dil
jne 0x140007480
cmp r8, r10
ja 0x1400074f7
cmp r10, rdx
ja 0x140007502
add r8, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140007482
lea r12, [r15 + 1]
cmp byte [r8 + r15], cl
mov r15, r12
jne 0x140007460
jmp 0x1400074e4
ja 0x14000748a
mov r8, r10
cmp rax, rbx
jne 0x14000742e
add r11, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rsi + 1]
movzx edx, byte [rsi]
test dl, dl
js 0x1400074c0
mov rsi, r8
sub ecx, edx
jns 0x1400074db
jmp 0x1400074e6
cmp r8, r11
je 0x14000750a
movzx r8d, byte [rsi + 1]
add rsi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400074e6
xor al, 1
cmp rsi, r11
jne 0x1400074a0
jmp 0x1400074e6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov rcx, r8
mov rdx, r10
call fcn.140006360
mov rcx, r10
call fcn.140006360
call fcn.140006c30
int3

Function at 0x140007ba4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rcx + rax + 0x88]
test rax, rax
je 0x140007c56
mov edi, edx
mov rsi, rcx
mov r12d, dword [rcx + rax + 0x18]
mov ecx, dword [rcx + rax + 0x1c]
mov r13d, dword [rsi + rax + 0x20]
add r13, rsi
mov ebp, dword [rsi + rax + 0x24]
add rbp, rsi
add rcx, rsi
mov qword [rsp + 0x28], rcx
neg r12
mov r15, 0xffffffffffffffff
lea rbx, [rsp + 0x30]
lea rax, [r12 + r15]
cmp rax, 0xffffffffffffffff
je 0x140007c56
mov r14d, dword [r13 + r15*4 + 4]
add r14, rsi
mov rcx, r14
call sub.msvcrt.dll_strlen
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, r14
call fcn.140006380
cmp qword [rsp + 0x30], 0
jne 0x140007c6a
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.14000408d
inc r15
cmp eax, edi
jne 0x140007bfc
movzx eax, word [rbp + r15*2]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
add rsi, rax
jmp 0x140007c56
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140006c30
int3
Function at 0x14000f1b0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
mov ecx, 0xbc
mov edx, 1
mov rbp, rsp
push r12
push rdi
push rsi
lea rsi, str.5dff652a5b0f2c7c949500a6853c852d570c583c108470b8662b470c58024c38845dff000000002e986921ab949f9894000002000c7c94ad98841f98847e9884353539845dff000000005e354a85ab94000001000c7c94012e1c1d9894a504a69535000000558eaabe2047fcff845dff000000000e530f44ab94000031881c7c84f1570c585dffb78160d22c7c9435359c13d49c13d41f9884a5350c13d45dff0000000068e96457ab94951440a60e9894000033088625a5f1a61f9884f5a0a66c98845dffb3e255be2c7c9435350500000000488a23008b84359c13d48514a5351c98840086338484b45364a565a46424262735968786766463c457031573568646a4146324444777b4535513232425d4658305d2979667847414a434a5345765a7d6f62446835614544445571325f6469754a4e613e413a6a5071516038787039693c6f6b4264694b6649477c6463587a4d6156707664614a653d2d4732785d4d2f65747b643267315e6752315a47773435517078755f5d4578573c4371444a674e493051467542766535395671474f643054673f4255735550776d4354784a6331654f2b626071447f64726f2000000ac8e5dff000000006cf99875ab943530a635359c13d4000040970c7c941c9884a500632323e25393e28383e2934313000000e08e5dff000000007a9765a3ab9435359c13d40c13d4a5351e988435355dff706277c42c7c941e98846514004756e696e69677eb9435bd1384d5ffffffb49e21b884a59514850eff251402ce3884a51495148514a595e5851485140d10848840b8140d1094c104b84484c0b814660d10944204b844858d571d93548042c430c41f570e831c1014cad09c1c140c13846d10848843b8149cff849c13d4653e8184b8050d10940204b8440d108476470c58840000008808b80000002758f020b08187186615140d1084c324b80225b88425de2e1c1014d09c1c1402c220c716c3ca0c1384a4a47bf0840527b8849c13d4650225b884158125b8840625b884562d13842505141514000000cc8e0f4e3884cf
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x610
lea rbx, [rsp + 0x20]
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0x2f3
mov eax, dword [rsi]
mov dword [rdi], eax
movzx eax, word [0x14001160c]
mov word [rdi + 4], ax
movzx eax, byte [0x14001160e]
mov byte [rdi + 6], al
call sub.msvcrt.dll_calloc
test rax, rax
je 0x14000f2c7
mov r12, rax
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__strrev]
movzx eax, byte [rsp + 0x20]
test al, al
je 0x14000f25d
mov rdi, rbx
mov rsi, r12
lea rbx, str._02X
jmp 0x14000f24d
mov rcx, rdi
mov r8, rsi
mov rdx, rbx
add rdi, 2
call fcn.14000f180
movzx eax, byte [rdi]
add rsi, 1
test al, al
je 0x14000f25d
cmp al, 0x20
jne 0x14000f230
movzx eax, byte [rdi + 1]
add rdi, 1
test al, al
jne 0x14000f24d
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8d, 8
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
je 0x14000f2b0
mov rdx, r12
mov r8d, 0x2f3
call sub.msvcrt.dll_memmove
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
lea rsp, [rbp - 0x20]
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret
lea rcx, str.HeapAlloc_error
call fcn.14000f130
lea rsp, [rbp - 0x20]
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret
lea rcx, str.malloc_error
call fcn.14000f130
jmp 0x14000f29f
Function at 0x140001410
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14000f970], rbx
je 0x140001477
cmp rax, rbx
jne 0x14000146a
mov ebx, 1
mov esi, ebx
jmp 0x14000147c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000144f
mov ebx, 1
mov eax, dword [0x14000f978]
cmp eax, ebx
jne 0x140001494
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000150a
mov eax, dword [0x14000f978]
test eax, eax
jne 0x1400014ff
mov dword [0x14000f978], ebx
lea r15, [0x1400089f0]
lea rdi, [0x1400089d8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400014f1
test eax, eax
jne 0x1400014f5
cmp qword [rdi], r14
je 0x1400014e6
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x140008950]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400014be
test eax, eax
je 0x140001505
mov eax, 0xff
jmp 0x14000166a
mov dword [0x14000d2a4], ebx
mov edi, 0x1f
mov eax, dword [0x14000f978]
cmp eax, ebx
jne 0x140001531
lea rdx, [0x1400089d0]
lea rcx, [0x140008960]
call sub.msvcrt.dll__initterm
mov dword [0x14000f978], 2
test esi, esi
jne 0x14000153f
mov rax, r14
xchg qword [0x14000f970], rax
cmp qword [0x14000f980], r14
je 0x14000157c
lea rcx, [0x14000f980]
call fcn.1400018a0
test eax, eax
je 0x14000157c
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000f980]
mov r9, qword [0x140008950]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140001595
mov eax, 0xff
jmp 0x14000166a
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000161b
test ax, ax
je 0x1400015b0
test edx, edx
jne 0x14000161b
sub ax, bx
cmp ax, di
ja 0x1400015c6
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400015b0
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140002014
mov dword [0x14000d2a0], eax
cmp dword [0x14000d2c0], r14d
jne 0x140001604
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000d2a4], r14d
jne 0x140001619
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000d2a0]
jmp 0x14000166a
cmp ax, 0x22
jne 0x14000162f
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000159e
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400b8000
add rsp, 0x28
jmp 0x140001410
Function at 0x14000c940
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 0x14000c9d0
cmp r11, r10
ja 0x14000ca46
cmp r10, rdx
ja 0x14000ca58
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000c9d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000c9b0
jmp 0x14000ca34
ja 0x14000c9da
mov r11, r10
cmp rax, r8
jne 0x14000c974
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 0x14000ca10
mov rdi, r8
sub ecx, edx
jns 0x14000ca2b
jmp 0x14000ca36
cmp r8, rsi
je 0x14000ca67
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000ca36
xor al, 1
cmp rdi, rsi
jne 0x14000c9f0
jmp 0x14000ca36
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 fcn.1400bac20
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400ba9a0
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400baa20
int3
Function at 0x14000e695
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x1400c0a38]
mov ebx, 0xff
lea rsi, str.crc32fast_1.4.2_src_baseline.rs
cmp r9, 0x40
jb 0x14000e7c5
mov r14d, 4
sub r14, 1
jb 0x14000e6ba
cmp r9, 0xf
jbe 0x14000e7f2
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.14000ecd8
mov r9, rdx
mov ecx, ebp
jmp 0x14000e6ca
xor edx, edx
cmp r9, rdx
je 0x14000e7e3
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14000e7c7
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.crc32fast_1.4.2_src_baseline.rs
mov ecx, select
mov rdx, r9
call fcn.1400ba920
int3