joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a0e30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.14027a420
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.140157c00
test eax, eax
je 0x1401a0e6f
xor edx, edx
mov rcx, rbx
call fcn.140158080
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x1401a0eb7
mov edx, ebp
mov rcx, rbx
call fcn.140158620
test rax, rax
je 0x1401a0f1d
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x1401a0ed7
mov qword [r8], rcx
test rdi, rdi
jle 0x1401a0f0e
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x1401a0ee0
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x1401a0f18
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret

Function at 0x1401a27a0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, Ordinal_41
call fcn.14027a420
sub rsp, rax
lea rcx, [0x140655494]
add rsp, 0x28
jmp fcn.14016d810

Function at 0x1401ce570
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.14027a420
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x1401ce5c3
xor ecx, ecx
cmp rdx, r8
jb 0x1401ce5c3
sub r8, r10
lea rax, [rcx + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, rcx
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1401ce5b0
jmp 0x1401ce5d6
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.14019b720
test eax, eax
je 0x1401ce607
cmp dword [rsp + 0x40], 0x10
jne 0x1401ce607
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret
Function at 0x1401ce7b0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1401ce838
test r8, r8
je 0x1401ce838
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x1401ce7f6
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x1401ce7e0
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x1401ce838
sub r8, rax
cmp r8, 0x10
jbe 0x1401ce80c
mov r8d, reloc.WS2_32.dll_recv
jmp 0x1401ce811
test r8, r8
je 0x1401ce838
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x1401ce820
ret
Function at 0x1401d52d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xd8
call fcn.14027a420
sub rsp, rax
mov rax, qword [0x14039f5e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, qword [rsp + 0x140]
xor r12d, r12d
mov rax, qword [rcx]
mov rbp, r9
movsxd rbx, r8d
mov rsi, rdx
mov qword [rsp + 0x20], r14
mov rdi, rcx
lea r15d, [r12 + 1]
mov r13d, r12d
test r9, r9
je 0x1401d533f
cmp r9, rax
je 0x1401d5337
test rdx, rdx
je 0x1401d53b0
test r8d, r8d
js 0x1401d53b0
mov r13d, r15d
mov qword [rcx], r9
jmp 0x1401d5347
test rax, rax
je 0x1401d53b0
mov rbp, rax
mov rcx, rbp
call fcn.14014ee80
test al, 2
jne 0x1401d53b0
test rsi, rsi
je 0x1401d5418
mov rcx, rbp
mov r13d, r15d
call fcn.140178f40
cmp eax, 0x90
jg 0x1401d53b0
cmp eax, ebx
jge 0x1401d53d6
mov rcx, qword [rdi + 8]
mov r8, r14
mov rdx, rbp
call fcn.14015c0d0
test eax, eax
je 0x1401d53b0
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, rsi
call fcn.14015c330
test eax, eax
je 0x1401d53b0
mov rcx, qword [rdi + 8]
lea rsi, [rdi + 0x20]
mov r8, rsi
lea rdx, [rdi + 0x24]
call fcn.14015bff0
test eax, eax
jne 0x1401d53f3
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402796f0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp ebx, 0x90
ja 0x1401d53b0
mov r8, rbx
lea rcx, [rdi + 0x24]
mov rdx, rsi
call fcn.14027bc20
lea rsi, [rdi + 0x20]
mov dword [rsi], ebx
mov ecx, dword [rsi]
cmp ecx, 0x90
je 0x1401d5421
mov eax, ecx
mov r8d, 0x90
sub r8d, ecx
xor edx, edx
lea rcx, [rdi + 0x24]
add rcx, rax
call fcn.14027c2d0
jmp 0x1401d5421
test r13d, r13d
je 0x1401d54f6
lea r14, [rsp + 0x30]
mov esi, 0x48
sub r14, rdi
lea rbx, [rdi + 0x25]
lea r15, [rsp + 0x31]
mov rcx, rbx
sub r15, rdi
mov edx, esi
nop
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 2]
xor al, 0x36
mov byte [r14 + rcx - 0x27], al
movzx eax, byte [rcx - 2]
xor al, 0x36
mov byte [r15 + rcx - 0x27], al
sub rdx, 1
jne 0x1401d5440
mov r8, qword [rsp + 0x20]
mov rdx, rbp
mov rcx, qword [rdi + 0x10]
call fcn.14015c0d0
test eax, eax
je 0x1401d5509
mov rcx, rbp
call fcn.140178f40
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
movsxd r8, eax
call fcn.14015c330
test eax, eax
je 0x1401d5509
nop word [rax + rax]
movzx eax, byte [rbx - 1]
lea rbx, [rbx + 2]
xor al, 0x5c
mov byte [rbx + r14 - 0x27], al
movzx eax, byte [rbx - 2]
xor al, 0x5c
mov byte [rbx + r15 - 0x27], al
sub rsi, 1
jne 0x1401d54a0
mov r8, qword [rsp + 0x20]
mov rdx, rbp
mov rcx, qword [rdi + 0x18]
call fcn.14015c0d0
test eax, eax
je 0x1401d5509
mov rcx, rbp
call fcn.140178f40
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0x30]
movsxd r8, eax
call fcn.14015c330
test eax, eax
je 0x1401d5509
lea r15d, [rsi + 1]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call fcn.14015c3a0
test eax, eax
cmovne r12d, r15d
test r13d, r13d
je 0x1401d551d
mov edx, 0x90
lea rcx, [rsp + 0x30]
call fcn.140001240
mov eax, r12d
jmp 0x1401d53b2
Function at 0x14021c450
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.14027a420
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x14021c479
lea rax, [0x14021aac0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140213a00
lea rax, [0x140219c80]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140213750
Function at 0x14027a5cc
Capabilities:
Parse pe header

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

Function at 0x14028906c
Capabilities:
Parse pe header

Disassembly:
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 0x140288eff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140288eff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140288eff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140288eff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140288eff
cmp dword [rcx + 0x84], 0xe
jbe 0x140288eff
cmp dword [rcx + 0xf8], 0
je 0x140288eff
mov ecx, ebx
call fcn.140288fa0
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.140288d90
cmp dword [rbp + 0x20], 0
je 0x140288f4c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140288f54
int3
xor r8d, r8d
xor edx, edx
jmp 0x140288e98

Function at 0x1402a50a4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1402a50c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1402929ec
or eax, 0xffffffff
jmp 0x1402a50c6
xor eax, eax
add rsp, 0x28
ret
Function at 0x1402b6200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1402b6228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1402b6228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001710
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007480
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007480
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001780
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14003e0a4]
mov rbx, rcx
test esi, esi
jle 0x1400018b0
mov rax, qword [0x14003e0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400017cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001855
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017b0
mov rcx, rbx
call fcn.1400021d0
mov rdi, rax
test rax, rax
je 0x1400018d2
mov rax, qword [0x14003e0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002310
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14003e0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000184e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001860
add dword [0x14003e0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14003e0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000184e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001710
nop dword [rax]
xor esi, esi
jmp 0x1400017d8
mov rax, qword [0x14003e0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001710
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001710
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14003e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14003e0e0]
test rbx, rbx
je 0x140001e9c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001e93
test rsi, rsi
je 0x140001e93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001e78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400021d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14003b840]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400021f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400021f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400021f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000224d
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 0x140002244
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400021f0
add rax, 0x28
cmp rax, r9
jne 0x140002230
xor eax, eax
ret

Function at 0x140002250
Capabilities:
Parse pe header

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

Function at 0x140002310
Capabilities:
Parse pe header

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

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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor esi, esi
movsxd rax, dword [rcx + 0x3c]
mov edi, dword [rcx + rax + 0x88]
add rdi, rcx
mov rbx, rcx
mov rbp, rdx
mov r12d, dword [rdi + 0x20]
mov r13d, dword [rdi + 0x18]
add r12, rcx
cmp esi, r13d
jae 0x140007ccc
mov edx, dword [r12 + rsi*4]
mov rcx, rbp
add rdx, rbx
call sub.msvcrt.dll_strcmp
mov edx, eax
lea rax, [rsi + 1]
test edx, edx
jne 0x140007cc7
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx edx, word [rsi + rax]
mov eax, dword [rdi + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
jmp 0x140007cce
mov rsi, rax
jmp 0x140007c8d
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140007ce0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x438
mov r14, qword [sym.imp.msvcrt.dll_wcscpy_s]
xor r13d, r13d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
lea r15, [rax + 0x20]
xor eax, eax
mov rsi, rcx
lea rdi, [rsp + 0x20]
mov ecx, 0x82
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x228]
mov ecx, 0x82
lea rbp, [rsp + 0x20]
rep stosd dword [rdi], eax
lea r12, [rsp + 0x228]
cmp rbx, r15
je 0x140007d92
mov eax, r13d
mov ecx, 0x82
mov rdi, rbp
mov edx, 0x104
rep stosd dword [rdi], eax
mov ecx, 0x82
mov rdi, r12
rep stosd dword [rdi], eax
mov rcx, rbp
mov r8, qword [rbx + 0x40]
call r14
mov edx, 0x104
mov rcx, r12
mov r8, rsi
call r14
mov rdx, rbp
mov rcx, r12
call fcn.140007b90
test eax, eax
je 0x140007d8d
mov rax, qword [rbx + 0x20]
jmp 0x140007da3
mov rbx, qword [rbx]
jmp 0x140007d3f
mov rdx, rsi
lea rcx, str.failed_to_get_a_handle_to__s_n
call fcn.140007dc0
xor eax, eax
add rsp, 0x438
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor esi, esi
movsxd rax, dword [rcx + 0x3c]
mov edi, dword [rcx + rax + 0x88]
add rdi, rcx
mov rbx, rcx
mov r12d, edx
mov r13d, dword [rdi + 0x20]
mov ebp, dword [rdi + 0x1c]
add r13, rcx
cmp esi, ebp
jae 0x140007e76
mov ecx, dword [r13 + rsi*4]
add rcx, rbx
call fcn.140007b50
mov edx, eax
lea rax, [rsi + 1]
cmp edx, r12d
jne 0x140007e71
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx eax, word [rsi + rax]
lea rax, [rbx + rax*4]
mov eax, dword [rax + rbp]
add rax, rbx
jmp 0x140007e78
mov rsi, rax
jmp 0x140007e3c
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140001930
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp], rax
jmp 0x140001972
mov rax, qword [rsp]
add rax, 0x28
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
cmp qword [rsp], rax
jae 0x1400019e0
mov rax, qword [rsp]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x20], rax
jb 0x1400019de
mov rax, qword [rsp]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x20], rax
jae 0x1400019de
mov rax, qword [rsp]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x20]
sub rdx, rcx
mov rcx, rdx
add rax, rcx
jmp 0x1400019e2
jmp 0x140001966
xor eax, eax
add rsp, 0x18
ret

Function at 0x14002c940
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp + 4], 0xffffffff
mov dword [rsp], 0
jmp 0x14002c966
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x14002c9a2
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rsp + 4]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1400aaeb0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14002c95e
mov eax, dword [rsp + 4]
not eax
add rsp, 0x18
ret

Function at 0x1400303a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
push rsi
call fcn.1403cdc37
mov rcx, rax
test rax, rax
jne 0x1400303b8
xor al, al
jmp 0x1400303ef
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400303b4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400303b4
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1400303b4
cmp dword [rax + 0x84], 0xe
jbe 0x1400303b4
cmp dword [rax + 0xf8], 0
setne al
add rsp, 0x28
ret
Function at 0x140058090
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov dword [rsp], 0
jmp 0x1400580a5
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x14005812a
mov dword [rsp + 4], 0
movsxd rax, dword [rsp]
lea rcx, [0x1402077f0]
mov edx, dword [rsp]
mov dword [rcx + rax*4], edx
jmp 0x1400580d3
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 8
jge 0x140058125
movsxd rax, dword [rsp]
lea rcx, [0x1402077f0]
mov eax, dword [rcx + rax*4]
and eax, 1
test eax, eax
je 0x1400580f9
mov dword [rsp + 8], 0xedb88320
jmp 0x140058101
mov dword [rsp + 8], 0
movsxd rax, dword [rsp]
lea rcx, [0x1402077f0]
mov eax, dword [rcx + rax*4]
shr eax, 1
xor eax, dword [rsp + 8]
movsxd rcx, dword [rsp]
lea rdx, [0x1402077f0]
mov dword [rdx + rcx*4], eax
jmp 0x1400580c9
jmp 0x14005809d
add rsp, 0x18
ret
Function at 0x140058130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov rax, qword [0x1402008c8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov byte [rsp + 4], 0
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x10], 0xffffffffffffffff
inc qword [rsp + 0x10]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x10]
cmp byte [rax + rcx], 0
jne 0x140058173
mov rax, qword [rsp + 0x10]
mov dword [rsp + 0x18], eax
mov dword [rsp], 0
jmp 0x1400581a2
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x1400581dc
mov eax, dword [rsp]
cdq
idiv dword [rsp + 0x18]
mov eax, edx
cdqe
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x250]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x130], al
movsxd rax, dword [rsp]
movzx ecx, byte [rsp]
mov byte [rsp + rax + 0x30], cl
jmp 0x14005819a
mov dword [rsp + 8], 0
mov dword [rsp], 0
jmp 0x1400581f5
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x140058260
movsxd rax, dword [rsp]
movzx eax, byte [rsp + rax + 0x30]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp]
movzx ecx, byte [rsp + rcx + 0x130]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp]
movzx eax, byte [rsp + rax + 0x30]
mov byte [rsp + 4], al
movsxd rax, dword [rsp + 8]
movsxd rcx, dword [rsp]
movzx eax, byte [rsp + rax + 0x30]
mov byte [rsp + rcx + 0x30], al
movsxd rax, dword [rsp + 8]
movzx ecx, byte [rsp + 4]
mov byte [rsp + rax + 0x30], cl
jmp 0x1400581ed
mov dword [rsp + 0xc], 0
mov dword [rsp + 8], 0
mov dword [rsp], 0
jmp 0x140058281
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x260]
cmp dword [rsp], eax
jge 0x140058359
mov eax, dword [rsp + 0xc]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0xc], eax
movsxd rax, dword [rsp + 0xc]
movzx eax, byte [rsp + rax + 0x30]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 0xc]
movzx eax, byte [rsp + rax + 0x30]
mov byte [rsp + 4], al
movsxd rax, dword [rsp + 8]
movsxd rcx, dword [rsp + 0xc]
movzx eax, byte [rsp + rax + 0x30]
mov byte [rsp + rcx + 0x30], al
movsxd rax, dword [rsp + 8]
movzx ecx, byte [rsp + 4]
mov byte [rsp + rax + 0x30], cl
movsxd rax, dword [rsp + 0xc]
movzx eax, byte [rsp + rax + 0x30]
movsxd rcx, dword [rsp + 8]
movzx ecx, byte [rsp + rcx + 0x30]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
movzx eax, byte [rsp + rax + 0x30]
mov dword [rsp + 0x1c], eax
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x258]
movzx eax, byte [rcx + rax]
xor eax, dword [rsp + 0x1c]
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x258]
mov byte [rdx + rcx], al
jmp 0x140058279
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14009c290
add rsp, 0x248
ret