joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bf80
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000bfcd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x14000bfc4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000bfcf
add rax, 0x28
cmp rax, r9
jne 0x14000bfb0
xor eax, eax
ret

Function at 0x14000bfd0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14000c060
mov rdx, qword [0x1400c0300]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000c04e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000c04e
cmp word [rax + 0x18], 0x20b
jne 0x14000c04e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14000c060
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14000c039
add rbx, 0x28
cmp rbx, rdi
je 0x14000c060
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14000c030
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000c070
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c0300]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000c090
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000c098
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c090
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000c0ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000c0e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000c090
add rax, 0x28
cmp rax, r9
jne 0x14000c0d0
xor eax, eax
ret

Function at 0x14000c0f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c0300]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000c10f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000c118
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000c10f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000c130
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400c0300]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14000c150
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14000c158
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000c150
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x14000c1a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000c197
test rcx, rcx
je 0x14000c150
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x14000c188
xor eax, eax
ret
Function at 0x14000c1b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c0300]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000c1cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000c1d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000c1f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c0300]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000c210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000c218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c210
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x14000c210
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000c264
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000c270
add rdx, 0x28
cmp rdx, r9
jne 0x14000c250
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14000c280
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400c0300]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000c2a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000c2b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c2a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000c2a2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14000c2a2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000c305
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000c318
add rdx, 0x28
cmp r10, rdx
jne 0x14000c2f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000c327
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000c337
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000c30e
test ecx, ecx
jg 0x14000c320
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x14000c600
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000c630
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp dbg.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x14000c670
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14000c6a0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000c6b8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000ced0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [str.___v_]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14000cf08
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000cf70
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14000cf80
mov esi, dword [0x1400e6188]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000cfd8
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14000d020
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14000cef7
mov rcx, rbx
call fcn.14000ce30
mov qword [rsi + r12*8 + 8], rax
jmp 0x14000cef7
call fcn.14000ce30
mov qword [rbx + 0x10], rax
jmp 0x14000cef7
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000d0b1
mov r9d, dword [0x1400b6030]
test r9d, r9d
je 0x14000d0d9
lea rcx, [0x1400e61a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14000d0be
mov eax, dword [rsi]
test eax, eax
je 0x14000cf11
lea rcx, [0x1400e61a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000cf11
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sym.calloc
mov rsi, rax
test rax, rax
je 0x14000d114
mov qword [rax], rdi
mov ecx, dword [0x1400e6188]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000cf4b
call r13
jmp 0x14000cf4b
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sym.realloc
mov rsi, rax
test rax, rax
je 0x14000d114
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sym.memset
jmp 0x14000cffb
lea rcx, [0x1400e61a0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000d10c
lea rdx, [0x14000cde0]
mov ecx, eax
mov dword [0x1400e6188], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x14000d114
mov dword [0x1400b6030], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000cf9c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14000cf11
mov rax, qword [0x1400e6180]
lea r12, [rax + 1]
mov qword [0x1400e6180], r12
mov qword [rbx + 0x10], r12
jmp 0x14000cfb6
lock add dword [0x1400b6034], 1
je 0x14000d069
mov r8d, dword [0x1400b6030]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x1400b6030]
test r8d, r8d
jne 0x14000d0a7
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14000d100
jmp 0x14000d0a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000d099
call sym.abort
nop
nop word [rax + rax]
Function at 0x140015ea0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140015ee8
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x1400e6bc0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x140015ece
Function at 0x140017ea0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
jne 0x140017ef3
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Socket_failed:__ld_n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x140017fb9
mov word [rbp - 0x20], 2
mov ecx, 0x15b3
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp - 0x1e], ax
lea rax, [rbp - 0x20]
add rax, 4
mov r8, rax
lea rax, str.192.168.0.102
mov rdx, rax
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_inet_pton]
call rax
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 8]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0xffffffff
jne 0x140017f7d
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Connect_failed:__ld_n
mov rcx, rax
call sym.printf_char_const__::_
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
jmp 0x140017fb9
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
nop
add rsp, 0x40
pop rbp
ret

Function at 0x1400180a0
Capabilities:
Check for debugger via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call rax
test eax, eax
setne al
add rsp, 0x20
pop rbp
ret

Function at 0x140018c80
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x140018cac
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140019920
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400b91c0], 0
jne 0x140019a26
mov byte [0x1400b91c0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x1400199fc
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x1400199ed
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400bbd51]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x1400199e8
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x1400199b7
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x140019abb
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x140019a21
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x140019a21

Function at 0x140079aa0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140079ae8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x140079aba
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008d4c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008d4e8
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008d530
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008d500
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008d53c
call rbp
cmp dword [rax], 4
je 0x14008d500
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400b43d0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b91e0]
jmp sym.__emutls_get_address

Function at 0x1400b43e0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b91e0]
jmp sym.__emutls_get_address
Function at 0x140009880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, edx
shr edi, 2
and edi, 0x7f
movzx eax, byte [rcx + rdi]
lea r13, [0x1400529c8]
mov ebx, dword [r13 + rax*4]
cmp ebx, r8d
jge 0x1400098b7
xor eax, eax
jmp 0x1400099ad
mov esi, r8d
movzx r14d, byte [rcx + 0x91]
movzx eax, dx
shr rax, 9
movzx edx, byte [rcx + rax]
vmovups ymm0, ymmword [rcx + 0x73]
vmovups ymmword [rsp + 0xa3], ymm0
vmovups ymm0, ymmword [rcx]
vmovups ymm1, ymmword [rcx + 0x20]
vmovups ymm2, ymmword [rcx + 0x40]
vmovups ymm3, ymmword [rcx + 0x60]
vmovups ymmword [rsp + 0x90], ymm3
vmovups ymmword [rsp + 0x70], ymm2
vmovups ymmword [rsp + 0x50], ymm1
mov ebp, dword [r13 + rdx*4]
vmovups ymmword [rsp + 0x30], ymm0
mov byte [rsp + rax + 0x30], 0
mov dword [rsp + 0x28], 0
mov ecx, ebx
sub ecx, ebp
mov al, 1
cmp ecx, r8d
jge 0x1400099ad
mov dword [rsp + 0x2c], r14d
xor r14d, 1
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x28]
nop dword [rax]
mov rcx, r15
mov edx, edi
mov r8d, r14d
mov r9, r12
vzeroupper
call fcn.1400096e0
cmp eax, 0x14
je 0x1400099ab
not ebp
add ebx, ebp
cdqe
add ebx, dword [r13 + rax*4]
cmp ebx, esi
jl 0x1400098b0
movsxd rax, dword [rsp + 0x28]
mov byte [rsp + rax + 0x30], 0
mov rcx, r15
mov edx, edi
mov r8d, dword [rsp + 0x2c]
mov r9, r12
call fcn.1400096e0
cmp eax, 0x14
je 0x1400098b0
dec ebx
cdqe
mov ebp, dword [r13 + rax*4]
movsxd rax, dword [rsp + 0x28]
mov byte [rsp + rax + 0x30], 0
mov eax, ebx
sub eax, ebp
cmp eax, esi
jl 0x140009940
mov al, 1
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
vzeroupper
ret
Function at 0x14002e204
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002e334
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14002e39b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002e39b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002e39b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002e39b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002e39b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002e39b
cmp dword [rcx + 0xf8], 0
je 0x14002e39b
mov ecx, ebx
call fcn.14002e280
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14002e4b4
cmp dword [rbp + 0x20], 0
je 0x14002e3e8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002e2dc
int3
Function at 0x140046bd4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x140046c35
test byte [rbx + 6], 0xf
jne 0x140046c28
xor edi, edi
cmp word [rbx + 4], di
jne 0x140046c28
cmp word [rbx + 2], di
jne 0x140046c28
cmp word [rbx], di
jne 0x140046c28
lea esi, [rdi + 1]
jmp 0x140046c2d
mov esi, 2
movzx eax, si
jmp 0x140046e32
xor edi, edi
test cx, cx
jne 0x140046c50
mov rcx, rbx
call fcn.14004da9c
movzx ecx, ax
cmp di, ax
jl 0x140046e2f
movsx edx, cx
test esi, esi
jle 0x140046c80
sub ebp, edx
cmp ebp, esi
jg 0x140046c80
movsd xmm0, qword [0x140059800]
cmp word [rbx + 6], di
jge 0x140046c72
xorps xmm0, xmmword [0x140054560]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x140046e32
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x140046cad
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x140046e32
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, 0x10
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x140046e24
test ebp, ebp
jns 0x140046e24
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x140046d48
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x140046d19
mov word [rbx + 4], cx
movzx r11d, di
mov word [rbx + 2], dx
neg bp
je 0x140046dc7
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x140046ddd
jne 0x140046dfc
test byte [rbx], sil
je 0x140046dfc
add word [rbx], si
jne 0x140046dfc
add word [rbx + 2], si
jne 0x140046dfc
add word [rbx + 4], si
jne 0x140046dfc
add r11w, si
mov word [rbx + 6], r11w
jmp 0x140046ca5
cmp r11w, r15w
jne 0x140046ca5
cmp word [rbx + 4], di
jne 0x140046ca5
cmp word [rbx + 2], di
jne 0x140046ca5
cmp word [rbx], di
je 0x140046e2f
jmp 0x140046ca5
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000bc00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14000bc4c
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000bc9a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000bc95
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bcb9
mov rcx, r8
call fcn.140036ec0
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14003ddbc
int3

Function at 0x14000bcc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 7
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x14000bd12
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14000bd64
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000bd5f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bd83
mov rcx, r8
call fcn.140036ec0
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14003ddbc
int3