joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f7330
Capabilities:
Convert ip address from string

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x2c]
mov dword [r8], 0xaaaaaaaa
mov ecx, 2
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f741e
mov rax, qword [fcn.140225e50]
mov ecx, 0x40
call qword [case.0x14012d181.0]
test rax, rax
je 0x1400f741a
mov rbx, rax
mov rax, qword [fcn.1402fa260]
mov rcx, rdi
call qword [case.0x14012d181.0]
test rax, rax
je 0x1400f7416
mov rdi, rax
lea rax, [rbx + 0x20]
mov ecx, dword [rsp + 0x2c]
mov dword [rbx + 0x20], ecx
mov qword [rbx], rdi
xor ecx, ecx
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], 0x40002
mov rdx, rbx
add rdx, 0x30
mov qword [rbx + 0x18], rdx
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rcx
mov rcx, rbx
mov edx, esi
call fcn.1400f70f0
mov rsi, rax
mov rax, qword [fcn.140225eb0]
mov rcx, rdi
call qword [case.0x14012d181.0]
mov rax, qword [fcn.140225eb0]
mov rcx, rbx
call qword [case.0x14012d181.0]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400f73ee
xor esi, esi
jmp 0x1400f73fe
movaps xmm0, xmmword [0x14047fb40]
lea r8, [rsp + 0x30]
movaps xmmword [r8], xmm0
mov ecx, reloc.WS2_32.dll_socket
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f741a
mov rax, qword [fcn.140225e50]
mov ecx, 0x40
call qword [case.0x14012d181.0]
test rax, rax
je 0x1400f741a
mov rbx, rax
mov rax, qword [fcn.1402fa260]
mov rcx, rdi
call qword [case.0x14012d181.0]
test rax, rax
je 0x1400f7416
mov rdi, rax
lea rax, [rbx + 0x20]
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx], rdi
xor ecx, ecx
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], 0x100017
jmp 0x1400f73be

Function at 0x1400fb390
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 1
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov rax, qword [fcn.140225ed0]
mov edx, edi
mov rcx, r14
call qword [case.0x14012d181.0]
test rax, rax
je 0x1400fb3ed
mov rbx, rax
mov rcx, rsi
mov rdx, rax
mov r8d, edi
call r15
test eax, eax
je 0x1400fb3f9
cmp eax, edi
je 0x1400fb3f9
cmp eax, 0x8001
jae 0x1400fb3f9
mov r14, rbx
cmp eax, edi
mov edi, eax
jae 0x1400fb3ad
jmp 0x1400fb40b
mov rax, qword [fcn.140225eb0]
mov rcx, r14
jmp 0x1400fb403
mov rax, qword [fcn.140225eb0]
mov rcx, rbx
call qword [case.0x14012d181.0]
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400fc500
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x20]
add eax, eax
add rcx, rax
add rcx, 0x18
mov rax, qword [fcn.140225e50]
call qword [case.0x14012d181.0]
mov rdi, rax
test rax, rax
je 0x1400fc669
mov qword [rdi], rsi
lea rcx, [rdi + 0x18]
mov qword [rdi + 8], rcx
mov eax, dword [rsi + 0x18]
add rax, rdi
add rax, 0x18
mov qword [rdi + 0x10], rax
cmp dword [rsi + 0x1c], ebp
jae 0x1400fc5a8
mov rax, qword [rsi]
call qword [case.0x14012d181.0]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, rbx
mov r8d, ebp
call qword [case.0x14012d181.0]
mov ebx, dword [rsi + 0x18]
add rbx, qword [rdi + 0x10]
mov rax, qword [rsi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, rbx
call qword [case.0x14012d181.0]
mov ebp, dword [rsi + 0x20]
mov rcx, qword [rdi + 8]
mov byte [rsp + 0x27], 0xaa
mov rax, qword [rsi]
call qword [case.0x14012d181.0]
mov rax, qword [rsi]
mov rcx, qword [rdi + 0x10]
call qword [case.0x14012d181.0]
mov r15d, ebp
test ebp, ebp
je 0x1400fc61c
xor r12d, r12d
lea r14, [rsp + 0x27]
mov al, byte [rbx + r12]
xor al, 0x36
mov byte [rsp + 0x27], al
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, r14
mov r8d, 1
call qword [case.0x14012d181.0]
mov al, byte [rbx + r12]
xor al, 0x5c
mov byte [rsp + 0x27], al
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0x10]
mov rdx, r14
mov r8d, 1
call qword [case.0x14012d181.0]
inc r12
cmp r15, r12
jne 0x1400fc5d2
cmp r15d, dword [rsi + 0x1c]
jae 0x1400fc669
lea rbx, [0x1404a0260]
lea r14, [0x1404a0261]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, rbx
mov r8d, 1
call qword [case.0x14012d181.0]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0x10]
mov rdx, r14
mov r8d, 1
call qword [case.0x14012d181.0]
inc r15
mov eax, dword [rsi + 0x1c]
cmp r15, rax
jb 0x1400fc630
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rdi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400fcf70
Capabilities:
Convert ip address from string

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x2c]
mov dword [r8], 0xaaaaaaaa
movaps xmm0, xmmword [0x14047fb40]
movaps xmmword [rsp + 0x30], xmm0
mov ecx, 2
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
mov bl, 1
test eax, eax
jg 0x1400fcfcc
lea r8, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_socket
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
setg bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebx
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x1401102f0
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor eax, eax
test edx, edx
setne al
lea r8, [rsp + 0x24]
mov dword [r8], eax
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402ddd70
mov eax, esi
add rsp, 0x30
pop rsi
ret
Function at 0x140112380
Capabilities:
Generate random numbers via winapi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x30], rax
test r8, r8
je 0x140112434
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea r14, [rsp + 0x2c]
jmp 0x1401123d5
mov ecx, dword [rsp + 0x2c]
mov rax, r15
mov byte [rdi], cl
inc rdi
mov ecx, dword [rsp + 0x2c]
shr ecx, 8
mov dword [rsp + 0x2c], ecx
dec rax
jne 0x1401123bb
sub rsi, r15
je 0x140112430
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp rsi, 4
mov r15d, 4
cmovb r15, rsi
mov r8d, 4
mov rcx, rbx
mov rdx, r14
call fcn.14012dd40
test eax, eax
je 0x1401123b4
mov ebp, eax
cmp eax, 4
jne 0x140112439
mov dword [rsp + 0x2c], 0
mov ebp, 2
xor ecx, ecx
mov rdx, r14
mov r8d, 4
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x1401123b4
jmp 0x140112439
xor ebp, ebp
jmp 0x140112439
mov ebp, 0x2b
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140112460
Capabilities:
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x14047fb40]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov rax, r8
and rax, 0xffffffffffffff01
mov ebp, 0x2b
cmp rax, 1
jne 0x1401125bb
mov rdi, r8
dec rdi
cmp rdi, 2
jb 0x1401125bb
mov rsi, rdx
mov rbx, rcx
mov r15, rdi
shr r15, 1
lea r12, [rsp + 0x30]
lea r14, [rsp + 0x2c]
jmp 0x140112520
mov ecx, dword [rsp + 0x2c]
mov rax, r13
mov byte [r12], cl
inc r12
mov ecx, dword [rsp + 0x2c]
shr ecx, 8
mov dword [rsp + 0x2c], ecx
dec rax
jne 0x140112504
sub r15, r13
je 0x14011257b
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp r15, 4
mov r13d, 4
cmovb r13, r15
mov r8d, 4
mov rcx, rbx
mov rdx, r14
call fcn.14012dd40
test eax, eax
je 0x1401124fd
mov ebp, eax
cmp eax, 4
jne 0x1401125bb
mov dword [rsp + 0x2c], 0
mov ebp, 2
xor ecx, ecx
mov rdx, r14
mov r8d, 4
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x1401124fd
jmp 0x1401125bb
lea rcx, [rsp + 0x30]
xor eax, eax
lea rdx, str.0123456789abcdef
movzx r8d, byte [rcx]
mov r9d, r8d
shr r9d, 4
mov r9b, byte [r9 + rdx]
mov byte [rsi + rax], r9b
and r8d, 0xf
mov r8b, byte [r8 + rdx]
mov byte [rsi + rax + 1], r8b
inc rcx
add rax, 2
cmp rdi, rax
jne 0x140112589
mov byte [rsi + rax], 0
xor ebp, ebp
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401125f0
Capabilities:
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14047fb40]
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
call fcn.14011bd90
mov rcx, rdi
call fcn.1400f7610
mov rdi, rax
mov rcx, rsi
call fcn.1400f7610
mov rsi, rax
mov r15, qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rbx, [rsp + 0x30]
lea r14, [rsp + 0x20]
mov r12, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14011265e
mov ecx, 1
call r12
mov rcx, rdi
mov rdx, rsi
mov r8d, 1
call r15
test eax, eax
jne 0x1401126aa
mov rcx, rbx
call fcn.14011bd90
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
mov rcx, rbx
mov rdx, r14
call fcn.14011be30
cmp rax, 0x3e9
jb 0x140112656
test rdi, rdi
je 0x1401126a3
mov rcx, rdi
call fcn.140225eb0
mov edi, 1
jmp 0x1401126b9
test rdi, rdi
je 0x1401126b7
mov rcx, rdi
call fcn.140225eb0
xor edi, edi
test rsi, rsi
je 0x1401126c6
mov rcx, rsi
call fcn.140225eb0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1402ddd70
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140116a20
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14047fb40]
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm0
mov dword [rsp + 0x20], 0xf0000040
xor edx, edx
xor r8d, r8d
mov r9d, SafeArrayCopy
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140116b3c
lea rax, [rsp + 0x38]
mov rcx, qword [rax - 8]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov edx, 0x800c
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140116b43
mov rcx, rbx
call fcn.14004bd20
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rdi, [rsp + 0x4c]
mov dword [rdi], r14d
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], r14d
mov edx, 2
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rdi], 0x20
jne 0x140116aff
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov edx, 2
mov r8, rsi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140116b0f
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140116b21
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor esi, esi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1402ddd70
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov esi, 0x1b
jmp 0x140116b23
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, 2
jmp 0x140116b23
Function at 0x14011ba60
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1d0
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
test cl, 2
jne 0x14011baf6
call fcn.1400f7c60
mov esi, eax
test eax, eax
jne 0x14011bb21
lea rcx, str.iphlpapi.dll
call fcn.14011bb60
mov qword [0x14053be58], rax
test rax, rax
je 0x14011bac2
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011bac2
mov qword [0x14053be50], rax
mov dword [rsp + 0x20], 3
xor esi, esi
mov ecx, 6
xor edx, edx
xor r8d, r8d
mov r9d, 2
call fcn.140127f00
mov byte [0x14053be60], al
lea rcx, [0x14053be68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x14011bb21
lea rsi, [rsp + 0x30]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.1402e0d10
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14011bb3c
mov esi, 2
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.1402ddd70
mov eax, esi
add rsp, 0x1d0
pop rsi
ret
movzx eax, word [rsp + 0x30]
cmp eax, 0x202
je 0x14011ba7f
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x14011bb1c

Function at 0x14011bb60
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011bbd2
mov rbx, rax
lea rdx, [0x1404a62b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x1404a62c8]
mov rcx, rdi
call fcn.140305d64
test rax, rax
je 0x14011bbe4
test rsi, rsi
je 0x14011bc12
mov r9, qword [case.0x14012d181.0]
mov rcx, rdi
xor edx, edx
mov r8d, 8
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp r9
xor r14d, r14d
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rsi, rsi
je 0x14011bc3c
lea rdx, str.AddDllDirectory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011bc3c
mov r9, qword [case.0x14012d181.0]
mov rcx, rdi
xor edx, edx
mov r8d, 0x800
jmp 0x14011bbc1
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r14d, r14d
mov rax, qword [fcn.140225eb0]
mov rcx, rbx
call qword [case.0x14012d181.0]
jmp 0x14011bbd5
xor r14d, r14d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14011bbd5
mov r15d, eax
mov rcx, rdi
call fcn.140303804
mov rdx, qword [fcn.140225e50]
lea ecx, [r15 + 1]
add rcx, rax
add rcx, rcx
mov rax, rdx
call qword [case.0x14012d181.0]
mov rbx, rax
test rax, rax
je 0x14011bc27
mov rcx, rbx
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14011bc27
mov rcx, rbx
call fcn.140303804
lea rcx, [rbx + rax*2]
lea rdx, [0x140495954]
call fcn.140305bd8
mov rcx, rbx
call fcn.140303804
lea rcx, [rbx + rax*2]
mov rdx, rdi
call fcn.140305bd8
mov rcx, rbx
test rsi, rsi
je 0x14011bcd7
xor edx, edx
mov r8d, 8
mov rax, rsi
call qword [case.0x14012d181.0]
mov r14, rax
jmp 0x14011bc2a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14011bccf
Function at 0x140125ed0
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, reloc.WS2_32.dll_shutdown
cmp r8, 4
jb 0x140125fab
mov r14, r8
mov rsi, rdx
mov rdi, rcx
inc rsi
add r14, 0xfffffffffffffffe
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
call fcn.1403040d0
cmp r14, rax
jne 0x140125fc7
movaps xmm0, xmmword [0x14047fb40]
lea r8, [rsp + 0x50]
movaps xmmword [r8], xmm0
movups xmmword [rsp + 0x3e], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov byte [rsi + r14], 0
mov ecx, reloc.WS2_32.dll_socket
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
mov ebp, reloc.WS2_32.dll_shutdown
cmp eax, 1
jne 0x140125fab
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x20]
mov r9d, 0x2e
mov ecx, reloc.WS2_32.dll_socket
call fcn.140470e70
test rax, rax
je 0x140125fa4
lea rcx, [rsp + 0x20]
call fcn.140303550
cmp rax, r14
jae 0x140125fa4
mov rdi, rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140302df0
mov byte [rsi + rdi + 1], 0
mov r14, rdi
mov byte [rsi + r14], 0x5d
xor ebp, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, rax
cmp byte [rsi + rax], 0x25
jne 0x140125fab
mov r15, rbx
add r15, rsi
lea r14, [r15 + 1]
movaps xmm0, xmmword [0x14047fb40]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [0x1404a719d]
mov r8d, 2
mov rcx, r14
call fcn.140303610
test eax, eax
je 0x140126029
mov al, byte [r14]
mov ebp, reloc.WS2_32.dll_shutdown
test al, al
je 0x140125fab
xor ecx, ecx
cmp al, 0x5d
je 0x14012603d
cmp rcx, 0xe
ja 0x14012603d
mov byte [rsp + rcx + 0x20], al
mov al, byte [r14 + rcx + 1]
inc rcx
test al, al
jne 0x14012600d
jmp 0x140125fab
movzx eax, byte [r15 + 3]
cmp eax, 0x5d
je 0x140125fff
test eax, eax
je 0x140125fff
lea r14, [r15 + 3]
jmp 0x140126002
test rcx, rcx
je 0x140125fab
cmp al, 0x5d
jne 0x140125fab
mov byte [rsp + rcx + 0x20], 0
mov rax, qword [fcn.1402fa260]
lea rcx, [rsp + 0x20]
call qword [case.0x14012d181.0]
mov qword [rdi + 0x28], rax
test rax, rax
je 0x14012607c
mov word [r15], 0x5d
mov r14, rbx
jmp 0x140125f22
mov ebp, 7
jmp 0x140125fab
Function at 0x140135000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x14013506b
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [case.0x14012d181.0]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x14013504d
call fcn.1402dd16c
jmp 0x14013504d
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.14024e210
lea rdx, [0x14053c928]
mov rcx, rbx
call fcn.14024edf0
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1401350ab
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14012d181.0]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14047fb40]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [case.0x14012d181.0]
movzx eax, byte [rbx + 0x17]
test al, al
js 0x1401350ee
mov edx, eax
and edx, 0x7f
jmp 0x1401350f2
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x14013505d
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x14013514e
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [case.0x14012d181.0]
cmp eax, 0xffffffff
jne 0x140135124
xor edi, edi
inc r14
movzx eax, byte [rbp - 9]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rbp - 0x20]
mov r8, rbx
cmovs rdx, qword [rbp - 0x18]
cmovs r8, rcx
add rdx, r8
cmp r14, rdx
je 0x14013505d
test rdi, rdi
je 0x140135122
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x14013510a
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x140135124
Function at 0x14013c670
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14013c6d1
test r12, r12
je 0x14013c7e8
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402ddd70
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14013c736
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14013c71f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1402e0660
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x14013c69e
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x14013c814
lea rcx, [r15*8]
call fcn.1402dd130
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x14013c7b3
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14013c7e8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14013c79b
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.14022b270
mov r12, qword [rsi + 0x10]
jmp 0x14013c69e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.14032ac00
call fcn.14031db10
int3
Function at 0x14013cb80
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, str._c7_
mov qword [rcx], rax
add rcx, 8
call fcn.1402386c0
lea rcx, [rsi + 0x10]
call fcn.1402386c0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1402386c0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [reloc.WS2_32.dll_accept]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140182060
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140024cf0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [reloc.OLEAUT32.dll_SysReAllocString], edx
je 0x14013cd7b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.14027f9a0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14013cd9f
call fcn.14013f570
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14013f620
mov qword [0x14053d948], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [reloc.OLEAUT32.dll_VariantClear], edx
jne 0x14013cdbd
test dword [reloc.WS2_32.dll_recv], edx
jne 0x14013cdb2
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140181e00
jmp 0x14013cd3c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x14012d181.0]
jmp 0x14013cd49
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14013cd94
cmp rax, 0x40
mov eax, 0x100
jmp 0x14013cd33