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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14016b0c0]
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 0x140113dc5
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 0x140113e26
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400ee530
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.140126e40
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 0x140113ee1
sub ecx, 1
je 0x140113f54
sub ecx, 1
je 0x140113e90
cmp ecx, 1
je 0x140113e73
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14013ea34]
call fcn.1400ee530
jmp 0x140113f54
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140113a60
test eax, eax
je 0x140113f54
jmp 0x140113dfa
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 0x140113f54
sub rax, rsi
cmp rax, rbp
jae 0x140113f54
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400ee6b0
jmp 0x140113f54
cmp r8d, 4
jle 0x140113f54
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 0x140113f54
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400ee450
mov esi, eax
test eax, eax
je 0x140113f33
mov edx, 5
mov rcx, rbx
call fcn.140114a20
mov eax, esi
jmp 0x140113dfa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400fce50
mov rcx, r14
call fcn.1400fd130
test eax, eax
je 0x140113df8
mov edx, 5
mov rcx, rbx
call fcn.140114a20
mov eax, Ordinal_45
jmp 0x140113dfa
Function at 0x140126cf0
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 0x140126d32
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 0x140126d79
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 0x140126dd2
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 0x140126d90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140126e13
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14013e632]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14013e633]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140126de0
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 0x140127d48
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140128006
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14012800b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140128054
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140128054
dec r8
sub rdx, 1
jne 0x14012803a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x413740
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4138eb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0042eaa0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x4137ae
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4137c1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4137e5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4137f9
cmp rbx, 0x1000
jae 0x4137b8
nop
jmp 0x413869
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41380d
xor edx, edx
jmp 0x413860
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0042eaa0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4137ef
jmp 0x4137d5
call fcn.0045a8e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00432f20
lea rax, [0x00477d3f]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00433820
mov rax, qword [rsp + 0x38]
call fcn.00433520
lea rax, [0x00477dff]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00433820
mov rax, qword [rsp + 0x30]
call fcn.00433520
call fcn.00433180
call fcn.00432fa0
lea rax, [0x0047966e]
mov ebx, 0x21
call fcn.00431660
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00456d80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00413740
Function at 0x413920
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413b4a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.0042eb20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41399b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4139ae
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4139d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4139e4
cmp rbx, 0x1000
jae 0x4139a5
jmp 0x413a6e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4139f6
xor esi, esi
jmp 0x413a60
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.0042eb20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4139da
jmp 0x4139c2
call fcn.0045a8e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x413ae9
call fcn.00432f20
lea rax, [0x00478025]
mov ebx, 0x19
call fcn.00433820
mov rax, qword [rsp + 0x68]
call fcn.00433520
lea rax, [0x00477dff]
mov ebx, 0x19
nop
call fcn.00433820
mov eax, dword [rsp + 0x34]
call fcn.00433520
call fcn.00433180
call fcn.00432fa0
lea rax, [0x00475e41]
mov ebx, 0xd
call fcn.00431660
cmp eax, 0x5af
je 0x413a93
call fcn.00432f20
lea rax, [0x00478025]
mov ebx, 0x19
call fcn.00433820
mov rax, qword [rsp + 0x38]
call fcn.00433520
lea rax, [0x00477dff]
mov ebx, 0x19
nop dword [rax]
call fcn.00433820
mov eax, dword [rsp + 0x34]
call fcn.00433520
call fcn.00433180
call fcn.00432fa0
lea rax, [0x00479107]
mov ebx, 0x1f
call fcn.00431660
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00456d80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00413920
Function at 0x41b620
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x0052f02f], 0
jne 0x41b70b
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41b701
lea rbx, [0x00501490]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41b6e2
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
nop
ret
mov ecx, 0x40
call fcn.00459460
lea rax, [0x0047a794]
mov ebx, 0x2c
call fcn.00431660
nop
int3

Function at 0x41de40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41df41
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41de80
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41df31
test byte [rax], al
lea rcx, [rax + 0x100c0]
mov rax, rcx
call fcn.0041e9a0
nop dword [rax]
test rax, rax
je 0x41df31
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041df80]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 8]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00456c40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41df1f
xor eax, eax
jmp 0x41df29
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41de72
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
nop
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00456d80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041de40
Function at 0x42af80
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42b226
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1278]
mov rcx, qword [rax + 0x1268]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42b21a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x0052f02f], 0
jne 0x42afe2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42b02a
xor edx, edx
jmp 0x42b00d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041ae40
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42afe6
add rax, 0x1268
call fcn.0042ae00
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42b1b4
mov rsi, qword [rax + rdx*8 + 0x1278]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42b027
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.0040f9e0
test rax, rax
jne 0x42b082
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42b027
nop
mov rsi, rcx
shr rcx, 3
add rcx, qword [rbx + 0x50]
movzx r8d, byte [rcx]
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r9d, 1
shl r9d, cl
nop
test r9b, r8b
je 0x42b0c5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42b027
nop
lock or byte [rdx], r9b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42b20d
lea r10, [0x00501490]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42b14b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42b185
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42b027
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42b205
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42b027
cmp rbx, 0x200
ja 0x42b1f8
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00420fc0
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042ae00
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.004594c0
mov rax, r8
call fcn.00459440
mov rax, r8
mov ecx, 0x40
call fcn.00459460
mov edx, 0x200
nop
call fcn.004594a0
nop
mov qword [rsp + 8], rax
call fcn.0045b480
mov rax, qword [rsp + 8]
jmp fcn.0042af80
Function at 0x43f880
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43f9ef
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x43f898
cmp edx, ecx
jne 0x43f9dd
nop dword [rax]
test rsi, rsi
jne 0x43f9dd
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43f8f6
nop
call fcn.0045ad40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
nop dword [rax + rax]
call fcn.0043f780
mov rcx, qword [0x004db278]
mov rdx, qword [0x004db270]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
sar esi, 5
mov r8d, esi
shl esi, 5
sub edi, esi
test edi, edi
jl 0x43f9d8
cmp edi, 0x20
sbb esi, esi
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x43f9cd
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x004dbbd0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x004dbbd0], rbx
mov edx, 1
lea rsi, [0x004dbbd8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x43f9bc
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1228], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x0047a202]
mov ebx, 0x28
call fcn.00431660
mov rcx, rax
mov rax, rsi
call fcn.00459440
call fcn.0042fc20
lea rax, [0x00479a44]
mov ebx, 0x23
call fcn.00431660
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00456d80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043f880
Function at 0x449a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x449bf8
movzx edx, byte [rax]
nop
test edx, edx
jne 0x449abc
test r8b, r8b
jne 0x449abc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x449acf
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x449bb8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x449ba6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x449b9c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x449b23
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x449b66
mov eax, 1
cmp rax, rbx
ja 0x449b55
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00459500
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x449b94
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x449b5d
mov r8d, eax
mov eax, r10d
jmp 0x449b28
mov rcx, rbx
call fcn.00459440
xor eax, eax
mov rcx, rax
call fcn.00459440
mov eax, r8d
mov rcx, rbx
call fcn.00459500
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x449bee
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x449bb1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x449ad5
mov eax, edx
mov rcx, rbx
call fcn.00459440
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00459440
nop
int3
Function at 0x451440
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4514fb
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00451540]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00456c40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00456d80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00451440
Function at 0x458f00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0052f2c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0052f02e], 0
je 0x458f36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0052f5e0]
aesenc xmm0, xmmword [0x0052f5f0]
aesenc xmm0, xmmword [0x0052f600]
movq rax, xmm0
ret
jmp 0x408860

Function at 0x45a860
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0052f560]
mov qword [rsp + 8], rdx
lea r8d, [0x0052f044]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00458de0
add rsp, 0x30
ret
Function at 0x10002a10
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x100
xor eax, eax
mov r11d, edx
mov rbx, rsp
mov byte [rax + rbx], al
inc rax
cmp rax, 0x100
jne 0x10002a22
xor r10d, r10d
xor edi, edi
mov eax, r10d
mov sil, byte [rbx + r10]
cdq
idiv r11d
movsxd rdx, edx
mov al, byte [rcx + rdx]
add eax, esi
add eax, edi
movzx edi, al
movzx eax, al
mov dl, byte [rsp + rax]
mov byte [rbx + r10], dl
inc r10
mov byte [rsp + rax], sil
cmp r10, 0x100
jne 0x10002a35
xor ecx, ecx
xor ebx, ebx
xor r11d, r11d
cmp r9d, ecx
jbe 0x10002aa9
lea edx, [rbx + 1]
movzx ebx, dl
movzx edx, dl
mov al, byte [rsp + rdx]
lea r10d, [rax + r11]
movzx r11d, r10b
movzx r10d, r10b
mov sil, byte [rsp + r10]
mov byte [rsp + rdx], sil
mov byte [rsp + r10], al
add al, byte [rsp + rdx]
movzx eax, al
mov al, byte [rsp + rax]
xor byte [r8 + rcx], al
inc rcx
jmp 0x10002a6e
add rsp, 0x100
pop rbx
pop rsi
pop rdi
ret

Function at 0x10004b10
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x120
movabs rax, 0x722b20222c6c2d7b
mov r11d, edx
mov byte [rsp + 0x1f], 0
lea rbx, [rsp + 0x20]
movabs rdx, 0x5f763b267e232f33
mov qword [rsp + 0x17], rdx
mov qword [rsp + 0xf], rax
xor eax, eax
mov byte [rax + rbx], al
inc rax
cmp rax, 0x100
jne 0x10004b47
test rcx, rcx
jne 0x10004b65
mov r11d, 0x10
lea rcx, [rsp + 0xf]
xor r10d, r10d
xor edi, edi
mov eax, r10d
mov sil, byte [rbx + r10]
cdq
idiv r11d
movsxd rdx, edx
mov al, byte [rcx + rdx]
add eax, esi
add eax, edi
movzx edi, al
movzx eax, al
mov dl, byte [rsp + rax + 0x20]
mov byte [rbx + r10], dl
inc r10
mov byte [rsp + rax + 0x20], sil
cmp r10, 0x100
jne 0x10004b6a
xor ecx, ecx
xor ebx, ebx
xor r11d, r11d
cmp dword [rsp + 0x160], ecx
jbe 0x10004bee
lea edx, [rbx + 1]
movzx ebx, dl
movzx edx, dl
mov al, byte [rsp + rdx + 0x20]
lea r10d, [rax + r11]
movzx r11d, r10b
movzx r10d, r10b
mov sil, byte [rsp + r10 + 0x20]
mov byte [rsp + rdx + 0x20], sil
mov byte [rsp + r10 + 0x20], al
add al, byte [rsp + rdx + 0x20]
movzx eax, al
mov al, byte [rsp + rax + 0x20]
xor al, byte [r8 + rcx]
mov byte [r9 + rcx], al
inc rcx
jmp 0x10004ba5
add rsp, 0x120
pop rbx
pop rsi
pop rdi
ret