joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100402650
Capabilities:
Get file attributes
Terminate process
Write file on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0xb0
cmp byte [rcx], 0x2d
mov r12, rcx
mov rsi, rdx
jne 0x100402690
cmp byte [rcx + 1], 0
jne 0x100402690
call sub.msys_2.0.dll___getreent
mov r8, rsi
lea rdx, str._stdin_
mov rcx, qword [rax + 8]
add rsp, 0xb0
pop rbx
pop rsi
pop r12
jmp fcn.1004021b0
lea rdx, [rsp + 0x30]
mov rcx, r12
call sub.msys_2.0.dll_stat
cmp eax, 0xffffffff
je 0x10040270c
mov ebx, dword [rsp + 0x40]
and ebx, 0xf000
cmp ebx, 0x4000
je 0x10040274c
lea eax, [rbx - 0x1000]
test eax, 0xffffe000
je 0x1004026cd
cmp ebx, 0x8000
jne 0x10040274c
lea rdx, [0x10040e42b]
mov rcx, r12
call sub.msys_2.0.dll_fopen
test rax, rax
je 0x100402778
cmp ebx, 0x8000
je 0x100402700
test rsi, rsi
je 0x10040274c
mov r8, rsi
mov rdx, r12
mov rcx, rax
call fcn.1004021b0
add rsp, 0xb0
pop rbx
pop rsi
pop r12
ret
call sub.msys_2.0.dll___errno
mov ecx, dword [rax]
call sub.msys_2.0.dll_strerror
mov rsi, qword [0x10040d010]
mov rbx, rax
call sub.msys_2.0.dll___getreent
mov r9, r12
mov r8, rsi
lea rdx, str._s:__s__s_n
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x20], rbx
call sub.msys_2.0.dll_fprintf
mov ecx, 1
call sub.msys_2.0.dll_exit
mov rbx, qword [0x10040d010]
call sub.msys_2.0.dll___getreent
mov r9, r12
lea rdx, str._s:__s_is_not_a_file_n
mov rcx, qword [rax + 0x18]
mov r8, rbx
call sub.msys_2.0.dll_fprintf
mov ecx, 1
call sub.msys_2.0.dll_exit
mov rbx, qword [0x10040d010]
call sub.msys_2.0.dll___getreent
mov r9, r12
lea rdx, str._s:_Cant_open__s_n
mov rcx, qword [rax + 0x18]
mov r8, rbx
call sub.msys_2.0.dll_fprintf
mov ecx, 1
call sub.msys_2.0.dll_exit
nop
nop word cs:[rax + rax]
Function at 0x1004027b0
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x420
mov r13, rcx
test rcx, rcx
je 0x100402980
mov edx, 0x2f
call sub.msys_2.0.dll_strchr
mov r12, rax
test rax, rax
je 0x1004028c8
mov rcx, r13
xor edx, edx
mov edi, 2
xor r12d, r12d
call fcn.100402650
lea rbx, [rsp + 0x20]
mov r13, rax
xor esi, esi
jmp 0x100402819
mov rcx, rbx
call fcn.100401ff0
test rax, rax
jne 0x100402940
mov r8, r13
mov edx, 0x400
mov rcx, rbx
call sub.msys_2.0.dll_fgets
test rax, rax
jne 0x100402808
cmp edi, 2
je 0x100402953
cmp edi, 3
jne 0x100402970
mov rcx, r13
call sub.msys_2.0.dll_fclose
cmp byte [0x10041704c], 0
je 0x1004028b0
test r12, r12
je 0x100402980
mov r9, qword [0x100417058]
mov r8d, 0x1f
mov edx, 1
lea rcx, str.Entries_that_will_be_compiled:_n
call sub.msys_2.0.dll_fwrite
mov r9, qword [r12]
test r9, r9
je 0x1004028b0
xor ebx, ebx
lea rsi, str._u:_s_n
nop word [rax + rax]
add ebx, 1
mov rcx, qword [0x100417058]
mov rdx, rsi
mov r8d, ebx
call sub.msys_2.0.dll_fprintf
mov eax, ebx
mov r9, qword [r12 + rax*8]
test r9, r9
jne 0x100402890
mov rax, r12
add rsp, 0x420
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edi, 1
mov ebp, 2
mov rcx, r13
xor r14d, r14d
xor esi, esi
jmp 0x1004028e3
add esi, 1
mov eax, esi
add rax, r13
movsx ebx, byte [rax]
cmp ebx, 0x2c
je 0x1004028f4
test ebx, ebx
jne 0x1004028e0
cmp edi, 1
je 0x100402938
mov byte [rax], 0
call fcn.100401ff0
test rax, rax
je 0x100402911
mov edx, r14d
add r14d, 1
mov qword [r12 + rdx*8], rax
lea ecx, [rsi + 1]
add rcx, r13
test ebx, ebx
jne 0x1004028e0
cmp edi, 1
je 0x100402992
cmp ebp, 3
je 0x100402848
add ebp, 1
add edi, 1
jmp 0x1004028d2
add r14d, 1
jmp 0x100402917
test r12, r12
je 0x100402988
mov edx, esi
mov qword [r12 + rdx*8], rax
add esi, 1
jmp 0x100402819
lea ecx, [rsi + 1]
mov edx, 8
call sub.msys_2.0.dll_calloc
mov r12, rax
test rax, rax
je 0x1004029ac
mov rcx, r13
call sub.msys_2.0.dll_rewind
add edi, 1
jmp 0x1004027fd
xor r12d, r12d
jmp 0x1004028b0
mov rcx, rax
call sub.msys_2.0.dll_free
jmp 0x10040294b
lea ecx, [r14 + 1]
mov edx, 8
call sub.msys_2.0.dll_calloc
mov r12, rax
test rax, rax
jne 0x100402929
lea rcx, str.make_namelist
call fcn.100401fd0
nop
nop dword [rax]

Function at 0x100406b70
Capabilities:
Terminate process

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rcx + 8]
lea rdi, [r8 + 1]
mov rsi, r8
mov r8, qword [rcx + 0x10]
mov r12, rdx
lea rdx, [rax + rdi]
mov rbx, rcx
mov rcx, qword [rcx]
cmp r8, rdx
jae 0x100406bbb
lea rdx, [r8 + rdx + 0x400]
mov qword [rbx + 0x10], rdx
call qword [sym.imp.msys_ncursesw6.dll__nc_doalloc]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x100406be2
mov rax, qword [rbx + 8]
add rcx, rax
mov r8, rdi
mov rdx, r12
call sub.msys_2.0.dll_strncpy
mov rax, qword [rbx]
add rsi, qword [rbx + 8]
mov qword [rbx + 8], rsi
mov byte [rax + rsi], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
ret
lea rcx, str.strncpy_DYN
call sub.msys_2.0.dll_perror
mov ecx, 1
call sub.msys_2.0.dll_exit
nop
nop dword [rax]
Function at 0x100406cb0
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [sym.imp.msys_ncursesw6.dll__nc_doalloc]
xor ebx, ebx
lea rsi, [0x1004170a0]
mov ebp, ecx
test ecx, ecx
jle 0x100406d37
nop
mov rax, qword [0x1004170a8]
mov rdx, qword [0x1004170b0]
mov rcx, qword [rsi]
lea r8, [rax + 2]
cmp r8, rdx
jbe 0x100406d0d
lea rdx, [r8 + rdx + 0x400]
mov qword [0x1004170b0], rdx
call rdi
mov qword [rsi], rax
mov rcx, rax
test rax, rax
je 0x100406d40
mov rax, qword [0x1004170a8]
mov edx, 9
add ebx, 1
mov word [rcx + rax], dx
mov rax, qword [0x1004170a8]
lea rdx, [rax + 1]
mov qword [0x1004170a8], rdx
mov rdx, qword [rsi]
mov byte [rdx + rax + 1], 0
cmp ebx, ebp
jne 0x100406cd0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.strncpy_DYN
call sub.msys_2.0.dll_perror
mov ecx, 1
call sub.msys_2.0.dll_exit
nop
nop word [rax + rax]
Function at 0x1400039b0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
xor r15d, r15d
lea rcx, str.C:windows_system32_rdpatb.log
mov rdi, r8
mov qword [rsp + 0x30], r15
mov r14, rdx
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 1]
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140003a0c
xor al, al
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov qword [rsp + 0x88], r15
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebp, dword [rsp + 0x88]
mov ecx, 0x40
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [r14], rax
test rax, rax
jne 0x140003a61
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x40]
xor al, al
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x78], rbx
mov ebx, ebp
mov dword [rdi], r15d
test ebp, ebp
jle 0x140003a9e
nop
mov rdx, qword [r14]
lea r9, [rsp + 0x70]
mov r8d, ebx
mov dword [rsp + 0x70], r15d
mov rcx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140003a9e
add dword [rdi], eax
sub ebx, eax
test ebx, ebx
jg 0x140003a70
mov rcx, rsi
mov rbx, qword [rsp + 0x78]
cmp dword [rdi], ebp
je 0x140003acb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x40]
xor al, al
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x40]
mov al, 1
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
ret

Function at 0x140003d80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edi, r8d
mov dword [rsp + 0x28], 0x80
mov rsi, rdx
mov dword [rsp + 0x68], 0
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
test rax, rax
je 0x140003dfa
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
test eax, eax
jne 0x140003e0c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov al, 1
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140006270
Capabilities:
Create directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x390
mov rax, qword [0x140030008]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.140011b90
lea rax, str.Diagnostics.txt
mov r9, rdi
lea r8, [0x14002b2e0]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140004200
xor ebx, ebx
lea rcx, str.C:windows_system32_rdpatb.log
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140006411
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x48]
mov dword [rsp + 0x40], ebx
mov edx, 0x153
call fcn.140003af0
test al, al
je 0x140006411
mov rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
call fcn.140003d80
test al, al
je 0x140006411
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400040a0
test al, al
je 0x140006411
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call fcn.140011b90
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x104
call fcn.140011b90
mov r9, rdi
lea r8, str._sx86.dll
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.140004200
mov r9, rdi
lea r8, str._sx64.dll
mov edx, 0x104
lea rcx, [rsp + 0x270]
call fcn.140004200
lea r8, [rsp + 0x160]
mov edx, 0x1a7
call fcn.140006440
test al, al
je 0x140006411
lea r8, [rsp + 0x270]
mov edx, 0x1ac
call fcn.140006440
test al, al
setne al
jmp 0x140006413
xor al, al
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14000e940
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x390
pop rdi
ret
Function at 0x140692058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406921df
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 0x140692089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069206f
add dl, dl
jne 0x140692096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406920f6
xor eax, eax
add dl, dl
jne 0x1406920a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406921ad
add dl, dl
jne 0x1406920b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406920c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406920d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406920dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406920ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14069207e
mov eax, 1
add dl, dl
jne 0x140692106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140692113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406920fb
sub eax, ebx
mov ebx, 1
jne 0x14069214c
mov ecx, 1
add dl, dl
jne 0x14069212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140692123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140692168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140692175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069215d
cmp eax, 0x7d00
jae 0x14069219b
cmp eax, 0x500
jb 0x140692196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069207e
cmp eax, 0x7f
ja 0x14069219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406921d2
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 0x14069207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x180013ed0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180013ef8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180013ef8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003ae0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003b14
cmp word [rcx], 0x5a4d
jne 0x140003b14
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003b14
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003b14
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003a20
test eax, eax
jne 0x140003b30
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003a90
test rax, rax
je 0x140003b25
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400042dc
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x1400041e0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004180
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004d90
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004db3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004db3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004e61
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1428101d0]
mov r8, rcx
mov rcx, r9
call fcn.140004d90
test eax, eax
je 0x140004e8d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004db4
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000ff70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xa0
xor bl, bl
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001018b
cmp qword [rcx], 0
je 0x14001018b
xor edx, edx
mov qword [rax + 0x10], rbp
lea rcx, [rsp + 0x20]
mov qword [rax - 0x30], r14
lea r8d, [rdx + 0x58]
call fcn.1400fddca
mov eax, dword [rsi]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov rax, qword [rsi + 0x1c]
mov qword [rsp + 0x3c], rax
mov rax, qword [rsi + 0x24]
mov qword [rsp + 0x44], rax
call fcn.1400105a0
mov r14d, dword [rdi + 0x10]
lea r8, [rsp + 0xc0]
mov rbp, qword [rdi + 8]
lea rdx, [rsp + 0xd0]
mov rcx, rdi
mov dword [rsp + 0xc0], r14d
mov qword [rsp + 0xd0], rbp
call fcn.14000e240
test r14d, r14d
jle 0x14001016d
movsxd rax, r14d
imul rbx, rax, 0x58
mov qword [rsp + 0x98], r12
mov rcx, rbx
call qword [0x140101f00]
mov r8, rbx
xor edx, edx
mov rcx, rax
mov r12, rax
call fcn.1400fddca
test r14d, r14d
jle 0x1400100fc
mov qword [rsp + 0x90], r13
lea rsi, [rbp + 0x24]
mov r13d, dword [rsp + 0x20]
mov qword [rsp + 0x80], r15
mov r15, r12
sub r15, rbp
mov ebp, r14d
nop
cmp dword [rsi - 0x24], r13d
jne 0x1400100ac
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r15 + rsi - 0x24], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r15 + rsi - 0x14], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r15 + rsi - 4], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [r15 + rsi + 0xc], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r15 + rsi + 0x1c], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [r15 + rsi + 0x2c], xmm0
jmp 0x1400100de
xor edx, edx
lea rbx, [r15 + rsi]
lea rcx, [rbx - 0x24]
lea r8d, [rdx + 0x58]
call fcn.1400fddca
mov eax, dword [rsi - 0x24]
lea rcx, [rbx - 0x24]
mov dword [rbx - 0x24], eax
mov rax, qword [rsi - 8]
mov qword [r15 + rsi - 8], rax
mov rax, qword [rsi]
mov qword [r15 + rsi], rax
call fcn.1400105a0
add rsi, 0x58
sub rbp, 1
jne 0x140010060
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0x90]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140010117
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140010117
mov rax, qword [rcx]
mov r8d, dword [rdi + 0x10]
call qword [rax + 8]
mov rcx, qword [rdi + 0x18]
xor ebx, ebx
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], ebx
test rcx, rcx
je 0x14001012f
call qword [0x140101ef8]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001013c
mov rax, qword [rcx]
call qword [rax]
mov rcx, rdi
mov qword [rdi], rbx
mov qword [rdi + 0x18], rbx
call fcn.140080e50
mov r8d, r14d
mov rdx, r12
mov rcx, rdi
call fcn.14000dda0
mov rcx, r12
movzx ebx, al
call qword [0x140101ef8]
mov r12, qword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
movzx eax, bl
mov rbp, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
xor al, al
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001a3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xd0
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14049f410]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, r9
mov rbx, rdx
mov r14, rcx
mov qword [r11 - 0x60], rdx
mov ecx, 0x48
call fcn.1400fc86c
mov rdi, rax
mov qword [rsp + 0x88], rax
xor eax, eax
mov dword [rdi], eax
mov qword [rdi + 4], rax
mov qword [rdi + 0xc], rax
xor r15d, r15d
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r15
mov dword [rdi + 0x30], r15d
mov dword [rdi + 0x34], 0x300
mov qword [rdi + 0x3c], r15
mov dword [rdi + 0x44], r15d
mov byte [rdi + 0x38], 1
mov dword [rsp + 0x80], 1
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.140045d90
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001a479
mov rax, qword [rax]
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x68], r15d
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x38], 1
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9d, 0x4b0
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.14001e4c0
test eax, eax
sete bpl
mov rax, qword [rsp + 0xb8]
cmp rax, 0x10
jb 0x14001a53c
inc rax
mov rcx, qword [rsp + 0xa0]
cmp rax, 0x1000
jb 0x14001a537
test cl, 0x1f
je 0x14001a507
call qword [0x140102008]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001a517
call qword [0x140102008]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001a527
call qword [0x140102008]
int3
cmp rcx, 0x27
jbe 0x14001a534
call qword [0x140102008]
int3
mov rcx, rax
call fcn.1400fc8a8
test bpl, bpl
je 0x14001a593
mov eax, dword [rdi + 0x3c]
mov dword [rsi + 4], eax
mov eax, dword [rdi + 0x40]
mov dword [rsi + 8], eax
mov dword [rsi], r15d
movsx eax, byte [rdi + 0x35]
mov dword [rsi + 0x10], eax
cmp byte [rdi + 0x35], 3
setg al
mov byte [rsi + 0x14], al
cmp qword [r14 + 0x160], 0
setne al
mov byte [rsi + 0x15], al
mov eax, dword [rdi + 0x44]
mov dword [rsi + 0xc], eax
movsxd rcx, dword [rdi + 0x30]
call qword [0x140101f00]
mov qword [rsi + 0x18], rax
movsxd r8, dword [rdi + 0x30]
mov rdx, qword [rdi + 0x28]
mov rcx, rax
call fcn.1400fddb8
mov rdx, rdi
mov rcx, qword [r14 + 0x160]
call fcn.14001a610
mov edx, 0x48
mov rcx, rdi
call fcn.1400fd254
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14001a5c8
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.14000b510
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x14001a5de
mov rbx, qword [rbx]
mov word [rbx], r15w
movzx eax, bpl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400fcc70
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140046600
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14049f410]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
xor eax, eax
mov dword [rsp + 0x20], eax
mov byte [rsp + 0x40], al
mov qword [r11 - 0x44], rax
mov dword [r11 - 0x3c], 0x67452301
mov dword [r11 - 0x38], 0xefcdab89
mov dword [r11 - 0x34], 0x98badcfe
mov dword [r11 - 0x30], 0x10325476
cmp qword [rdx + 0x18], 0x10
jb 0x14004666d
mov rdx, qword [rdx]
mov r8d, dword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140046f90
lea rcx, [rsp + 0x40]
call fcn.1400463c0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140046500
nop
mov rcx, rbx
call fcn.1400040b0
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400fcc70
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
Function at 0x140053c10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r11d, edx
xor r10b, r10b
mov edi, r11d
mov dl, 0xff
mov rbx, rcx
nop dword [rax + rax]
movzx r9d, byte [rbx]
lea rbx, [rbx + 1]
cmp dl, r9b
movzx eax, dl
mov r8d, r9d
cmovbe r8d, eax
cmp r10b, r9b
movzx eax, r10b
cmovae r9d, eax
movzx edx, r8b
movzx r10d, r9b
add edi, 0xffffffff
jne 0x140053c30
sub r10b, dl
je 0x140053c8d
mov r8d, edx
movzx r9d, r10b
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
sub eax, r8d
imul eax, eax, 0xff
cdq
idiv r9d
mov byte [rcx - 1], al
add r11d, 0xffffffff
jne 0x140053c70
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret