joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140291800
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, gethostbyname
call fcn.1403983a0
sub rsp, rax
mov edx, 1
mov rbx, rcx
call fcn.1402913d0
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call fcn.1402912b0
xor edi, edi
mov r14, rax
test rax, rax
je 0x1402918ab
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
mov esi, edi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140291887
mov rcx, qword [rsp + 0x58]
mov r8, r14
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rsi, rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rsi*8]
mov rdx, rsi
mov rcx, rbx
call fcn.140291360
mov rcx, rbx
call fcn.140291520
test rax, rax
jne 0x14029193f
mov edx, 1
mov rcx, rbx
call fcn.1402913d0
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.1402912b0
mov rbp, rax
test rax, rax
je 0x140291937
mov r9d, reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x20], 0xf0000040
lea r8, [0x1403ed7c0]
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140291917
mov rcx, qword [rsp + 0x58]
mov r8, rbp
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rdi, rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rdi*8]
mov rdx, rdi
mov rcx, rbx
call fcn.140291360
mov rcx, rbx
call fcn.140291520
test rax, rax
jne 0x14029193f
mov rcx, rbx
call fcn.140291520
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14029b550
Capabilities:
Query environment variable

Disassembly:
mov eax, Ordinal_41
call fcn.1403983a0
sub rsp, rax
cmp dword [0x1409548a0], 0
jne 0x14029b6d1
mov qword [rsp + 0x30], rbx
lea rcx, [0x1403eef20]
mov qword [rsp + 0x40], rsi
lea rbx, [0x140954840]
mov qword [rsp + 0x38], rbp
mov rdx, rbx
mov qword [rsp + 0x48], rdi
mov r8d, gethostbyname
mov qword [rsp + 0x20], r14
mov dword [0x1409548a0], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x14029b693
movzx edi, word [rbx]
xor ebp, ebp
cmp di, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rbx
call fcn.14029b6e0
mov rsi, rax
cmp di, 0x7e
jne 0x14029b60f
lea rcx, [0x140956890]
mov rdi, rax
call fcn.140001030
not rsi
movabs rcx, 0xedfff7fdffffffff
and rax, rsi
and edi, 0x1000000
mov rsi, rax
and rsi, rcx
test rdi, rdi
cmove rsi, rax
jmp 0x14029b624
cmp word [rbx], 0x3a
jne 0x14029b624
lea rcx, [0x140956890]
call fcn.140001030
mov rsi, rax
movzx eax, word [rbx]
test ax, ax
je 0x14029b641
nop dword [rax]
cmp ax, 0x3a
je 0x14029b64a
add rbx, r14
movzx eax, word [rbx]
test ax, ax
jne 0x14029b630
mov qword [0x140956898], rbp
jmp 0x14029b6a2
test rbx, rbx
je 0x14029b641
add rbx, r14
movzx edi, word [rbx]
cmp di, 0x7e
cmove rbp, r14
lea rcx, [rbx + rbp]
call fcn.14029b6e0
mov rcx, rax
shr rcx, 0x20
cmp di, 0x7e
jne 0x14029b685
not eax
not ecx
and dword [0x140956898], eax
and dword [0x14095689c], ecx
jmp 0x14029b6a2
mov dword [0x140956898], eax
mov dword [0x14095689c], ecx
jmp 0x14029b6a2
lea rcx, [0x140956890]
call fcn.140001030
mov rsi, rax
mov r14, qword [rsp + 0x20]
mov eax, esi
mov rdi, qword [rsp + 0x48]
bts eax, 0xa
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
shr rsi, 0x20
mov dword [0x140956894], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x140956890], eax
add rsp, 0x28
ret
Function at 0x14029b7d0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyname
call fcn.1403983a0
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x14029b83f
call fcn.140226cc0
lea r8, [0x1403eef80]
mov edx, 0x56
lea rcx, [0x1403eef50]
call fcn.140226de0
xor r8d, r8d
mov edx, 0x87
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140226f40
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.140262bc0
test eax, eax
je 0x14029b8f2
mov rsi, rbx
test dil, 4
je 0x14029b909
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14029b909
call fcn.140226cc0
lea r8, [0x1403eef80]
mov edx, 0x60
lea rcx, [0x1403eef50]
call fcn.140226de0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, [0x1403e0530]
mov ecx, 2
mov edx, eax
call fcn.140226f40
call fcn.140226cc0
lea r8, [0x1403eef80]
mov edx, 0x62
lea rcx, [0x1403eef50]
call fcn.140226de0
xor r8d, r8d
mov edx, 0x89
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140226f40
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x14029b998
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14029b998
call fcn.140226cc0
lea r8, [0x1403eef80]
mov edx, 0x6a
lea rcx, [0x1403eef50]
call fcn.140226de0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, [0x1403e0530]
mov ecx, 2
mov edx, eax
call fcn.140226f40
call fcn.140226cc0
lea r8, [0x1403eef80]
mov edx, WSAGetLastError
lea rcx, [0x1403eef50]
call fcn.140226de0
xor r8d, r8d
mov edx, 0x8a
jmp 0x14029b8e8
mov rcx, rbp
call fcn.14024da70
mov rcx, rbp
mov ebx, eax
call fcn.14024da60
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14029ba2d
mov ecx, eax
call fcn.140224490
test eax, eax
jne 0x14029b8f2
call fcn.140226cc0
lea r8, [0x1403eef80]
mov edx, 0xb2
lea rcx, [0x1403eef50]
call fcn.140226de0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, [0x1403eef90]
mov ecx, 2
mov edx, eax
call fcn.140226f40
call fcn.140226cc0
lea r8, [0x1403eef80]
mov edx, 0xb4
lea rcx, [0x1403eef50]
call fcn.140226de0
xor r8d, r8d
mov edx, 0x67
jmp 0x14029b8e8
mov eax, 1
jmp 0x14029b8f4
Function at 0x1402b5c60
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x48
call fcn.1403983a0
sub rsp, rax
mov ebp, dword [rsp + 0xa0]
mov r12, rcx
mov ecx, ebp
movsxd r14, edx
mov ebx, 1
mov edx, r14d
shl ebx, cl
mov esi, r9d
mov rcx, r12
mov rdi, r8
call fcn.140200220
test rax, rax
jne 0x1402b5cb7
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x98], r13
mov r13, r14
cmp ebp, 3
jg 0x1402b5d35
test r14d, r14d
jle 0x1402b5ebc
xor r10d, r10d
movsxd r11, ebx
shl r11, 3
nop word [rax + rax]
xor r9d, r9d
xor eax, eax
test ebx, ebx
jle 0x1402b5d1d
mov r8, rdi
nop dword [rax]
mov ecx, eax
lea r8, [r8 + 8]
xor ecx, esi
inc eax
lea edx, [rcx - 1]
not ecx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
mov rcx, qword [r8 - 8]
neg edx
and edx, 1
neg rdx
and rdx, rcx
or r9, rdx
cmp eax, ebx
jl 0x1402b5cf0
mov rax, qword [r12]
add rdi, r11
mov qword [rax + r10*8], r9
inc r10
cmp r10, r13
jl 0x1402b5ce0
jmp 0x1402b5ebc
lea ecx, [rbp - 2]
mov edx, esi
sar edx, cl
mov r8d, 1
shl r8d, cl
movsxd rbp, r8d
lea ecx, [rdx - 1]
shr ecx, 0x1f
lea eax, [r8 - 1]
and esi, eax
mov eax, edx
not eax
shr eax, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 1
and eax, 1
neg rax
mov qword [rsp + 0x30], rax
lea eax, [rcx - 1]
not ecx
shr eax, 0x1f
shr ecx, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 2
and eax, 1
xor edx, 3
neg rax
mov qword [rsp + 0x28], rax
lea eax, [rcx - 1]
not ecx
shr eax, 0x1f
shr ecx, 0x1f
and eax, ecx
neg eax
and eax, 1
neg rax
mov qword [rsp + 0x20], rax
lea eax, [rdx - 1]
shr eax, 0x1f
not edx
shr edx, 0x1f
and eax, edx
neg eax
and eax, 1
neg rax
mov qword [rsp + 0x90], rax
test r14d, r14d
jle 0x1402b5ebc
xor r14d, r14d
movsxd rax, ebx
shl rax, 3
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r15
nop word [rax + rax]
xor r11d, r11d
xor r9d, r9d
test rbp, rbp
jle 0x1402b5e98
mov r12, qword [rsp + 0x90]
mov rax, rbp
neg rax
mov r8, rbp
shl r8, 4
mov r10, rbp
add r8, rdi
neg r10
add r10, r10
mov rbx, rbp
lea r15, [rax*8]
nop dword [rax + rax]
mov eax, r9d
lea r8, [r8 + 8]
xor eax, esi
inc r9d
lea edx, [rax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov rax, qword [r8 + rbp*8 - 8]
mov rcx, qword [r8 - 8]
and rax, r12
and rcx, qword [rsp + 0x20]
neg edx
or rcx, rax
and edx, 1
mov rax, qword [r15 + r8 - 8]
neg rdx
and rax, qword [rsp + 0x28]
or rax, rcx
mov rcx, qword [r8 + r10*8 - 8]
and rcx, qword [rsp + 0x30]
or rcx, rax
and rcx, rdx
or r11, rcx
sub rbx, 1
jne 0x1402b5e30
mov r12, qword [rsp + 0x80]
mov rax, qword [rsp + 0x38]
mov rcx, qword [r12]
add rdi, rax
mov qword [rcx + r14*8], r11
inc r14
cmp r14, r13
jl 0x1402b5df0
mov r15, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x88]
mov r13, qword [rsp + 0x98]
mov eax, 1
mov dword [r12 + 8], r14d
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402cb220
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, [0x1403d4fd0]
call fcn.140205e90
mov rdi, rax
test rax, rax
je 0x1402cb2a6
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x150]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.140204c50
mov rcx, rdi
mov ebx, eax
call fcn.140205ee0
test ebx, ebx
jne 0x1402cb2ad
mov edx, 0x40
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x1402cb361
movzx eax, byte [rsp + 0x16f]
lea rdx, [rsp + 0x150]
and byte [rsp + 0x150], 0xf8
lea rcx, [rsp + 0xb0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.1402ca460
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.1402c6e20
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.1402c70a0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.1402c70a0
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1402c8740
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.1402c8740
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.140001240
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140397b20
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402cb380
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1d0
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x230]
mov r13, rdx
mov r15, qword [rsp + 0x250]
lea rdx, [0x1403d4fd0]
mov qword [rsp + 0x38], r8
mov r14, rcx
mov rcx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x268]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r9
call fcn.140205e90
mov rdi, rax
call fcn.140205dd0
xor r12d, r12d
mov rbx, rax
test r15, r15
mov esi, r12d
cmovne rsi, qword [rsp + 0x258]
cmp byte [rsp + 0x248], r12b
je 0x1402cb421
test rsi, rsi
je 0x1402cb61d
cmp byte [rsp + 0x238], r12b
jne 0x1402cb434
test rsi, rsi
jne 0x1402cb61d
test rdi, rdi
je 0x1402cb61d
test rbx, rbx
je 0x1402cb61d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.140205410
test eax, eax
je 0x1402cb61d
mov rdx, qword [rsp + 0x40]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.140205450
test eax, eax
je 0x1402cb61d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x100]
call fcn.140205150
test eax, eax
je 0x1402cb61d
movzx eax, byte [rsp + 0x11f]
mov rdx, rdi
movzx r8d, byte [rsp + 0x238]
and al, 0x3f
and byte [rsp + 0x100], 0xf8
or al, 0x40
mov qword [rsp + 0x28], rsi
mov rcx, rbx
mov qword [rsp + 0x20], r15
movzx r15d, byte [rsp + 0x240]
movzx r9d, r15b
mov byte [rsp + 0x11f], al
call fcn.1402cb120
test eax, eax
je 0x1402cb61d
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x120]
mov rcx, rbx
call fcn.140205450
test eax, eax
je 0x1402cb61d
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov rcx, rbx
call fcn.140205450
test eax, eax
je 0x1402cb61d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x140]
call fcn.140205150
test eax, eax
je 0x1402cb61d
lea rcx, [rsp + 0x140]
call fcn.1402cdbe0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x60]
call fcn.1402ca460
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1402ca3d0
mov rax, qword [rsp + 0x48]
movzx r9d, r15b
movzx r8d, byte [rsp + 0x238]
mov rdx, rdi
mov qword [rsp + 0x28], rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1402cb120
test eax, eax
je 0x1402cb61d
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, r14
mov rcx, rbx
call fcn.140205450
test eax, eax
je 0x1402cb61d
mov rdx, qword [rsp + 0x50]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.140205450
test eax, eax
je 0x1402cb61d
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov rcx, rbx
call fcn.140205450
test eax, eax
je 0x1402cb61d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x180]
call fcn.140205150
test eax, eax
je 0x1402cb61d
lea rcx, [rsp + 0x180]
call fcn.1402cdbe0
lea rcx, [r14 + 0x20]
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x180]
call fcn.1402cbb90
mov r12d, 1
mov edx, 0x40
lea rcx, [rsp + 0x140]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0x100]
call fcn.140001240
mov rcx, rdi
call fcn.140205ee0
mov rcx, rbx
call fcn.140205d20
mov eax, r12d
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140397b20
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402cba10
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rbp + 0x60], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rsp + 0x50]
movups xmm1, xmmword [rdx + 0x10]
movd eax, xmm0
movups xmmword [rbp + 0x40], xmm0
and al, 0xf8
mov byte [rbp + 0x40], al
mov rax, qword [rdx + 0x18]
lea rdx, [rbp + 0x40]
shr rax, 0x38
and al, 0x3f
or al, 0x40
movups xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x5f], al
call fcn.1402ca460
mov ecx, dword [rsp + 0x78]
mov edx, dword [rbp - 0x60]
mov r8, qword [rbp - 0x3c]
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rsp + 0x7c]
mov dword [rbp + 0x18], edx
mov rdx, qword [rbp - 0x5c]
mov dword [rbp - 0x10], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rbp - 0x80]
mov dword [rbp + 0x1c], edx
mov rdx, qword [rbp - 0x58]
mov dword [rbp - 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rbp - 0x7c]
mov dword [rbp + 0x20], edx
mov rdx, qword [rbp - 0x54]
mov dword [rbp - 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rbp - 0x78]
mov dword [rbp + 0x24], edx
mov rdx, qword [rbp - 0x50]
mov dword [rbp - 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rbp - 0x74]
mov dword [rbp + 0x28], edx
mov rdx, qword [rbp - 0x4c]
mov dword [rbp], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rbp - 0x70]
mov dword [rbp + 0x2c], edx
mov rdx, qword [rbp - 0x48]
mov dword [rbp + 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rbp - 0x6c]
mov dword [rbp + 0x30], edx
mov rdx, qword [rbp - 0x44]
mov dword [rbp + 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov rcx, qword [rbp - 0x68]
mov dword [rbp + 0x34], edx
mov rdx, qword [rbp - 0x40]
mov dword [rbp + 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rbp + 0x38], edx
lea rcx, [rsp + 0x20]
mov rdx, qword [rbp - 0x64]
mov dword [rbp + 0x10], eax
lea eax, [rdx + r8]
sub r8d, edx
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x3c], r8d
mov dword [rbp + 0x14], eax
call fcn.1402c6e20
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.1402c70a0
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1402c8740
lea rcx, [rbp + 0x40]
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140001240
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140397b20
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
Function at 0x1402cfac0
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
movd xmm4, r8d
mov r10d, r8d
pshufd xmm4, xmm4, 0
lea rcx, [rdx + 0x3c]
lea rax, [r9 + 0x3c]
cmp rdx, rax
ja 0x1402cfb11
cmp rcx, r9
jb 0x1402cfb11
sub r9, rdx
mov r8d, reloc.WS2_32.dll_recv
nop dword [rax + rax]
mov ecx, dword [r9 + rdx]
lea rdx, [rdx + 4]
mov eax, ecx
xor eax, dword [rdx - 4]
and eax, r10d
xor ecx, eax
mov dword [r9 + rdx - 4], ecx
xor dword [rdx - 4], eax
sub r8, 1
jne 0x1402cfaf0
ret
sub r9, rdx
mov eax, 4
nop dword [rax]
movdqu xmm1, xmmword [r9 + rdx]
movdqu xmm2, xmmword [rdx]
lea rdx, [rdx + 0x10]
movdqa xmm3, xmm1
xorps xmm3, xmm2
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [r9 + rdx - 0x10], xmm0
movdqu xmmword [rdx - 0x10], xmm3
sub rax, 1
jne 0x1402cfb20
ret
Function at 0x1402d7ea0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, Ordinal_41
call fcn.1403983a0
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1402d7f99
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1402d7f99
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x1402d7f51
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x1402d7efa
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1402d7efa
cmp cl, 0xbb
jne 0x1402d7f3e
inc eax
cmp eax, ebx
jl 0x1402d7ee4
sub ebx, eax
test eax, eax
jne 0x1402d7f55
call fcn.140226cc0
lea r8, [0x140406bc8]
mov edx, 0x56
lea rcx, [0x140406bb0]
call fcn.140226de0
mov edx, 0x8a
xor r8d, r8d
mov ecx, 4
call fcn.140226f40
mov rbx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rsp, 0x28
ret
call fcn.140226cc0
lea r8, [0x140406bc8]
mov edx, Ordinal_79
jmp 0x1402d7f11
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1402d7f82
call fcn.140226cc0
lea r8, [0x140406bc8]
mov edx, 0x5f
lea rcx, [0x140406bb0]
call fcn.140226de0
mov edx, Ordinal_143
jmp 0x1402d7f22
mov r8d, ebx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.140226cc0
lea r8, [0x140406bc8]
mov edx, 0x43
lea rcx, [0x140406bb0]
call fcn.140226de0
xor r8d, r8d
mov edx, 0x89
mov ecx, 4
call fcn.140226f40
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x1402fc140
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x40
call fcn.1403983a0
sub rsp, rax
mov rsi, qword [rcx + 0x78]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea r13, [rsi + 0x70]
mov qword [rsp + 0x38], r13
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x1402fc1c6
test r9, r9
je 0x1402fc1a2
nop dword [rax]
cmp r8d, 0x40
jae 0x1402fc1a2
mov eax, r8d
inc r8d
movzx ecx, byte [rax + rsi + 0x30]
xor cl, byte [rbx]
inc rbx
mov byte [r14], cl
inc r14
sub rbp, 1
jne 0x1402fc180
mov dword [r13], r8d
test rbp, rbp
je 0x1402fc2f9
cmp r8d, 0x40
jne 0x1402fc1c6
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x1402fc1c6
inc dword [rsi + 0x24]
mov ecx, dword [rsi + 0x20]
lea rax, [rsi + 0x20]
mov qword [rsp + 0x80], r12
mov r12d, ebp
and r12d, 0x3f
mov qword [rsp + 0x88], r15
mov r15d, r12d
sub rbp, r15
mov dword [rsp + 0x30], r12d
cmp rbp, 0x40
jb 0x1402fc286
mov qword [rsp + 0x78], rdi
lea r13, [rsi + 0x20]
mov r12d, 0x10000000
mov r15d, ecx
nop dword [rax + rax]
mov rdx, rbp
mov qword [rsp + 0x20], r13
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
mov rdi, rdx
lea eax, [rdx + r15]
xor r15d, r15d
mov ecx, eax
cmp rcx, rdx
cmovae r15d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.14006fe00
sub rbp, rdi
mov dword [r13], r15d
add rbx, rdi
add r14, rdi
test r15d, r15d
jne 0x1402fc26a
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x1402fc210
mov r12d, dword [rsp + 0x30]
lea rax, [rsi + 0x20]
mov rdi, qword [rsp + 0x78]
mov r15d, r12d
mov r13, qword [rsp + 0x38]
test r12d, r12d
je 0x1402fc2e9
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov r9, rsi
movups xmmword [rcx], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
call fcn.14006fe00
test r12d, r12d
je 0x1402fc2e5
sub rsi, rbx
sub r14, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [rbx + r14], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x1402fc2d0
mov dword [r13], r12d
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov eax, 1
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x14030e640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.1403983a0
sub rsp, rax
mov rax, qword [0x14048bd00]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, qword [rbp + 0x60]
mov rdi, rcx
mov r13, qword [rbp + 0x68]
mov esi, r8d
mov qword [rbp - 0x28], r9
mov r12, rdx
xor r15d, r15d
mov qword [rbp - 0x20], r13
movzx r8d, byte [r14 + 3]
movzx edx, byte [r14 + 7]
movzx eax, byte [r14 + 1]
mov ecx, edx
movzx r10d, byte [r14]
movzx r9d, byte [r14 + 4]
mov ebx, dword [r13]
shl eax, 8
or r10d, eax
shl ecx, 8
movzx eax, byte [r14 + 2]
shl eax, 0x10
or r10d, eax
mov byte [rbp - 0x15], r8b
mov eax, r8d
mov byte [rbp - 0x11], dl
shl eax, 0x18
or r10d, eax
movzx eax, byte [r14 + 5]
shl eax, 8
or r9d, eax
mov dword [rbp - 0x30], r10d
movzx eax, byte [r14 + 6]
or ecx, eax
mov byte [rbp - 0x18], r10b
mov eax, ecx
mov byte [rbp - 0x12], cl
shl eax, 0x10
or r9d, eax
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x16], al
mov eax, r9d
shr eax, 8
mov dword [rbp - 0x2c], r9d
mov byte [rbp - 0x14], r9b
mov byte [rbp - 0x13], al
test esi, esi
je 0x14030e7ff
mov r13, qword [rbp - 0x28]
sub r12, rdi
movzx edx, r9b
movzx r8d, r10b
nop dword [rax + rax]
dec esi
test ebx, ebx
jne 0x14030e799
mov r8d, 1
lea rcx, [rbp - 0x30]
mov rdx, r13
call fcn.140298940
mov r10d, dword [rbp - 0x30]
mov eax, r10d
mov r9d, dword [rbp - 0x2c]
movzx r8d, byte [rbp - 0x30]
movzx edx, byte [rbp - 0x2c]
shr eax, 8
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x16], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0x15], al
mov eax, r9d
shr eax, 8
mov byte [rbp - 0x13], al
mov eax, r9d
shr eax, 0x10
mov byte [rbp - 0x12], al
mov eax, r9d
shr eax, 0x18
mov byte [rbp - 0x11], al
inc r15d
mov byte [rbp - 0x18], r8b
mov byte [rbp - 0x14], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x18]
xor cl, byte [rdi]
mov byte [rdi + r12], cl
inc rdi
inc ebx
and ebx, 7
test esi, esi
jne 0x14030e730
mov r13, qword [rbp - 0x20]
test r15d, r15d
je 0x14030e7ff
mov eax, r10d
mov byte [r14], r8b
shr eax, 8
mov byte [r14 + 1], al
mov eax, r10d
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, r9d
shr eax, 8
mov byte [r14 + 5], al
mov eax, r9d
shr eax, 0x10
shr r10d, 0x18
shr r9d, 0x18
mov byte [r14 + 7], r9b
mov byte [r14 + 3], r10b
mov byte [r14 + 4], dl
mov byte [r14 + 6], al
mov dword [r13], ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140397b20
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret