joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a5f50
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1400a6074
cmp r8d, 0xff
jne 0x1400a5fb1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400a5f9b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0xcb0c0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140081a80
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140081a80
cmp r8d, 0xfb
jne 0x1400a5fc3
lea r9, str.WILL
jmp 0x1400a6001
cmp r8d, 0xfc
jne 0x1400a5fd5
lea r9, str.WONT
jmp 0x1400a6001
cmp r8d, 0xfd
jne 0x1400a5fe7
lea r9, [0x1400cbae4]
jmp 0x1400a6001
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400a605d
cmp r10d, 0x27
jg 0x1400a6034
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0xcb6e0]
test r8, r8
jne 0x1400a6044
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140081a80
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400a601b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140081a80
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140081a80
add rsp, 0x38
ret

Function at 0x1400a63c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400a641f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140081900
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1400a5f50
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a65d0
Capabilities:
Send data
Send data on socket

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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400e9060]
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 0x1400a7f75
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 0x1400a7fd6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140081900
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.1400bb890
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 0x1400a8091
sub ecx, 1
je 0x1400a8104
sub ecx, 1
je 0x1400a8040
cmp ecx, 1
je 0x1400a8023
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400cf614]
call fcn.140081900
jmp 0x1400a8104
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400a7c10
test eax, eax
je 0x1400a8104
jmp 0x1400a7faa
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 0x1400a8104
sub rax, rsi
cmp rax, rbp
jae 0x1400a8104
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140081a80
jmp 0x1400a8104
cmp r8d, 4
jle 0x1400a8104
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 0x1400a8104
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140081820
mov esi, eax
test eax, eax
je 0x1400a80e3
mov edx, 5
mov rcx, rbx
call fcn.1400a8bd0
mov eax, esi
jmp 0x1400a7faa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140090e30
mov rcx, r14
call fcn.140091110
test eax, eax
je 0x1400a7fa8
mov edx, 5
mov rcx, rbx
call fcn.1400a8bd0
mov eax, Ordinal_45
jmp 0x1400a7faa
Function at 0x1400bafe0
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 [section..data]
mov rdi, rax
test rax, rax
jne 0x1400bb022
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 0x1400bb069
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 0x1400bb0c2
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 0x1400bb080
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400bb103
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400ced22]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400ced23]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400bb0d0
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 0x140746058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407461df
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 0x140746089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14074606f
add dl, dl
jne 0x140746096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407460f6
xor eax, eax
add dl, dl
jne 0x1407460a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407461ad
add dl, dl
jne 0x1407460b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407460c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407460d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407460dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407460ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14074607e
mov eax, 1
add dl, dl
jne 0x140746106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140746113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407460fb
sub eax, ebx
mov ebx, 1
jne 0x14074614c
mov ecx, 1
add dl, dl
jne 0x14074612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14074613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140746123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140746168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140746175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14074615d
cmp eax, 0x7d00
jae 0x14074619b
cmp eax, 0x500
jb 0x140746196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074607e
cmp eax, 0x7f
ja 0x14074619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407461d2
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 0x14074607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x100d3a990
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100d3a99d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100d3a9ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100d3a995
lea eax, [rcx + 1]
jmp 0x100d3a9bb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100d3a9ce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100d3a9b4
sub eax, 3
jb 0x100d3a9ee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100d3aa3d
sar eax, 1
movsxd rbp, eax
jb 0x100d3aa24
jmp 0x100d3a9fc
add ebx, ebx
jne 0x100d3a9fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100d3aa24
inc ecx
add ebx, ebx
jne 0x100d3aa0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100d3aa24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100d3aa1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100d3aa0c
add ecx, 2
jmp 0x100d3aa29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100d3a952
jmp 0x100d3a99d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x520380
mov dl, 0xac
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x100d3aa89
cmp rsi, rcx
jae 0x100d3aa91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x100d3aa70
cmp al, 0x8f
ja 0x100d3aa70
cmp byte [rsi - 2], 0xf
je 0x100d3aa76
sub al, 0xe8
cmp al, 1
ja 0x100d3aa5a
cmp rsi, rcx
jae 0x100d3aa91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x100d3aa60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x100d3aa91
lodsb al, byte [rsi]
jmp 0x100d3aa70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd36000]
mov eax, dword [rdi]
or eax, eax
je 0x100d3aaee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd4cb80]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100d3aa9e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100d3aae8
mov qword [rbx], rax
add rbx, 8
jmp 0x100d3aabe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100d3ab71], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100d3ab71
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100d3ab61
sub rsp, 0xffffffffffffff80
jmp 0x100002fc0
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x1421cc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1421cc1df
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 0x1421cc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421cc06f
add dl, dl
jne 0x1421cc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421cc0f6
xor eax, eax
add dl, dl
jne 0x1421cc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421cc1ad
add dl, dl
jne 0x1421cc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421cc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421cc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421cc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1421cc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1421cc07e
mov eax, 1
add dl, dl
jne 0x1421cc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421cc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1421cc0fb
sub eax, ebx
mov ebx, 1
jne 0x1421cc14c
mov ecx, 1
add dl, dl
jne 0x1421cc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1421cc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1421cc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1421cc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1421cc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1421cc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1421cc15d
cmp eax, 0x7d00
jae 0x1421cc19b
cmp eax, 0x500
jb 0x1421cc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1421cc07e
cmp eax, 0x7f
ja 0x1421cc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1421cc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1421cc1d2
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 0x1421cc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x403fd0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00445ce0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40403d
mov rcx, r8
call fcn.00403eb0
test eax, eax
je 0x40403d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40403d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x404034
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40403f
add rax, 0x28
cmp rax, r9
jne 0x404020
xor eax, eax
add rsp, 0x28
ret
Function at 0x140bf1317
Capabilities:
Encode data using base64

Disassembly:
rol r8d, 2
mov qword [rsp + rdx*4 - 0x3ee10], rcx
xor ecx, r11d
dec r8d
neg rax
ror r8d, 2
sal word [rsp + rdx*4 - 0x3ee0a], cl
jp 0x140c082ad
sub rsi, 4
jmp 0x140c0d6b5
jp 0x140c2968a
mov eax, 0x9c24e029
mul rax
xor edx, dword [rsi + rdx]
lea r11, [rax + 0x17aec0a6]
xor edx, r10d
sal r11d, 0xdc
mov edi, r11d
bswap edx
mov ebx, eax
call fcn.140c03a50
mov r8d, 0x68905bad
lea rsi, [r8 + rsi - 0x68905baf]
push r8
mov edi, r8d
mov eax, r8d
movzx ecx, word [rsi + rax - 0x68905bad]
lea r11, [rax + rax - 0x63f05ac6]
movzx ebx, r8w
and r11b, 0xaa
xor cx, r10w
mov edx, 0x939b803c
dec byte [rsp + rdi - 0x68905ba8]
sub cx, 0x2a01
bts dx, r8w
shr dl, 0xe3
lea rdi, [r11 + 0x5dae29a3]
rol cx, 1
jmp 0x140c2b15d
mov qword [rsp + rdx*2 - 0x1f708], r10
call fcn.140c23185
mov eax, 0x1fb49339
mov rdi, qword [r9 + rax - 0x1fb49339]
mov edx, eax
shr ax, 0x47
lea rbx, [rax + 0x69a9fb11]
lea r9, [rax + r9 - 0x1fb4011e]
movzx r8d, dx
movzx ecx, al
xchg al, dl
lea rsi, [rsi + rax - 0x1fb4013a]
cmovne edx, ecx
mov cl, byte [rsi + rdx*4 - 0x98]
mul r8
ror ebx, 0x41
xor cl, r10b
shr rdx, 0x7f
call fcn.140bfbbc2
jmp 0x140c2206d
neg cx
dec cx
neg r8
xchg word [rsp + r8 + 0x68905bad], ax
xor r10w, cx
ror bx, 0x4a
lea rcx, [rsp + rcx + 8]
adc r8b, 0x95
xor byte [rsp + r8 + 0x68905b18], 0xad
mov ebx, dword [rcx + rax - 0x68905bad]
adc al, 0xbd
mul r11
lea rdi, [r11*8 - 0x5d5f9f52]
lea r9, [r8 + r9 + 0x68905b13]
mov dword [r9 + r8 + 0x68905b17], ebx
btr eax, r11d
setae dil
call fcn.140c128ae

Function at 0x140bf267f
Capabilities:
Manually build aes constants

Disassembly:
mov qword [rsp], 0x55bdf1bf
cmp ebx, 1
call fcn.140c200f7
mov eax, 0xc2366aab
mov rax, r9
sub r9, 8
mov r11d, 0x7528f787
lea rbx, [r11 + r11*2 + 0x64aff5bf]
lea r8, [r11 + rbx*2 - 0x5cc0f7dc]
mov qword [r9 + r11 - 0x7528f787], rax
mov edi, 0x20233dab
lea rsi, [r11 + rsi - 0x7528f78b]
mov r11d, dword [r11 + rsi - 0x7528f787]
btr r8d, edi
xor r11d, r10d
ror r8w, 0xa4
movsx edx, bl
xadd rbx, r8
sbb r11d, 0x8418ff37
sar bx, 0xa6
and r8w, di
not r11d
movsx ecx, dl
neg r8
xor r11d, 0xa8bcbe02
btc edx, edx
dec r11d
Function at 0x140bf39b3
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + r11 + 0x2cf20000], r10
inc ax
xor dword [rsp + rbx - 0x22bef358], ecx
inc r11d
pop r10
lea rdx, [r11 + rdx*2 - 0x41eddd43]
movsxd rcx, ecx
add r11w, r11w
jge 0x140bfcd42
mov ecx, dword [rsi + rbx - 0x550de71c]
sal r8d, 0x6f
ror dword [rsp + r8*2 - 0x5afffd], 0xa1
cqo
xor ecx, r10d
neg ecx
sub r8b, bl
cdq
sbb al, 0x2b
lea ecx, [r8 + rcx - 0x5fdf1f16]
xor ecx, 0xab0a850d
movsx edi, dx
call fcn.140c152cd
sub rsi, 4
mov edx, dword [rsi]
mov edi, 0xa72f25b8
xor edx, r10d
movzx eax, dil
neg edx
cbw
rol edx, 1
movsx r11d, ax
mov ecx, edi
dec edx
lea rbx, [rcx + rax - 0x514c47ed]
rol edx, 2
not ebx
movzx r8d, ax
cdqe
xor edx, 0xe6a7b727
xchg r11w, ax
and r11d, edi
push r10
xor dword [rsp + rax*8 - 0x7fdc0], edx
pop r10
lea rcx, [rax - 0x315756ca]
ror bl, 0x67
movsxd rdx, edx
push rax
cdqe
push rcx
add rbp, rdx
mov dword [rsp + rcx*2 + 0x62acae27], r11d
rol qword [rsp + rax - 0xffb0], 0x37
shl di, cl
mov r9, qword [r9 + rax*2 - 0x1ff70]
jp 0x140bfe018
or r8b, 0x18
bswap eax
js 0x140c1782b
imul r8
adc rbp, rcx
cbw
movsx ecx, r11b
bts di, 0x25
jae fcn.140bf30a1
imul rdx, rbx
adc r9, 4
shrd r11w, di, cl
ror ebx, 0x32
neg edx
jl 0x140c057e9
movsx r10d, dl
xor dword [rsp + rbx - 6], eax
shr r8w, 0xcb
cmovae r8d, ebx
pop r10
mov ecx, 0xb21a7423
movsxd rax, eax
adc rbp, rax
lea rax, [rdi*4 - 0x1d4b8cd2]
jmp rbp
pop r8
pop rbx
je fcn.140bf30a1
lea rdi, [rax*2 - 0x455a657f]
xor ecx, r10d
lea ecx, [rax + rcx - 0x4fbe145b]
inc rax
xor ecx, 0x8ca0270f
imul ebx, edi
push rax
bswap ecx
mov r8d, edi
or dword [rsp + rax*2 - 0x21517460], eax
rol ecx, 2
shr edi, 6
ja 0x140c19f44
movsxd rax, eax
movsx r11d, r8w
adc edi, ebx
adc rbp, rax
imul rdx, r8
mov r11d, dword [r8 + r9 - 0xcdf7694]
not bx
or ebx, r8d
lea rbx, [r8 + rdx + 0x6610f0bc]
mov edi, dword [r8 + r9 - 0xcdf7690]
push rdx
adc bl, 0x18
mov cl, byte [r9 + r8*2 - 0x19beed20]
lea rax, [r8 + rbx*4 - 0x61403a7c]
pop rdx
sub r8, rbx
adc r9, 5
shrd r11d, edi, cl
bt dx, bx
mov ecx, eax
rol edx, cl
mov dword [r9 + rcx*8 - 0x3dec6140], r11d
inc rbx
jmp rbp
mov word [r9 + rbx - 0x68f0c0c6], r11w
lea rsi, [rbx + rsi - 0x68f0c0ca]
not ebx
mov eax, dword [rsi + riz]
xor eax, r10d
push rbx
lea r8, [rdx + rdx*2 - 0x9f397f0]
mov edi, r8d
rol eax, 1
xchg word [rsp + rdi - 0x52e6f0fb], di
pop rdi
sal dl, 0x25
neg eax
push rbx
jmp 0x140bf80fd
and rbx, rdi
xor eax, 0x30d7a11
movzx ecx, bx
lea r11, [r8 - 0x15d0334a]
add r8, r11
neg eax
not eax
pop rdx
bt rdi, r8
jae 0x140c09da0
inc eax