joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015bf09
Capabilities:
Get common file path

Disassembly:
jmp 0x140359840
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x410], rax
mov dword [rbp + 0x3f4], 0
lea rcx, reloc.WS2_32.dll_accept
call fcn.140161373
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x1403598cd
cmp dword [rbp + 0x234], 0x105
jbe 0x140359926
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14015db97
mov qword [rbp + 0x408], rax
lea rdx, [0x14015d84a]
mov rcx, qword [rbp + 0x408]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x1404dcca0]
mov rcx, qword [rbp + 0x440]
call fcn.14015c6d4
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
jmp 0x140359998
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x140359972
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x14035995f
jmp 0x140359964
call fcn.14015f3ca
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x440]
call fcn.14015c6d4
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140160054
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x14015c373
Capabilities:
Move file

Disassembly:
jmp 0x1403c89e0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rbx, rdx
call fcn.14016086a
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
movups xmm6, xmmword [rax]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1403c8a70
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14016086a
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140161b52
cmp rax, 0x3e8
ja 0x1403c8a82
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1403c8a20
xor eax, eax
mov rbx, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 1
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret

Function at 0x14015c58a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1403704f0
sub rsp, 0xa8
xor eax, eax
cmp byte [0x14053e760], al
jne 0x1403705a1
movdqa xmm0, xmmword [0x1404e2b70]
movdqa xmm1, xmmword [0x1404e3270]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1404e29d0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x1404e2ad0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x1404e2dd0]
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x90], 0x100bca0
nop dword [rax]
lea ecx, [rax + 0x7e]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp rax, 0x52
jb 0x140370560
lea r9, [rsp + 0xb0]
mov byte [rsp + 0x93], 0
lea r8, [rsp + 0x92]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14015d46c
lea rcx, [rsp + 0x20]
call fcn.140161bed
add rsp, 0xa8
ret
Function at 0x14015c6e3
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1403596c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140161373
mov rcx, qword [rbp + 0x180]
call fcn.14015d3ea
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x14035973b
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x1403597e3
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.14015cb4d
test eax, eax
jne 0x1403597de
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.14015d3ea
cmp qword [rbp + 8], rax
jne 0x1403597de
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x1403597a8
xor eax, eax
jmp 0x1403597e5
cmp qword [rbp + 0x190], 0
je 0x1403597c5
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x1403597e5
jmp 0x140359733
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14015cb75
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140361a60
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x140361a94
mov eax, esi
lea ecx, [rax + 0x7e]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x140361a80
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14015d46c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140361ab9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161bcf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140361b33
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140361b2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140361b2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14015cc88
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1404033e4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140403471
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140403471
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140403471
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140403458
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140403452
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14040345a
add rdx, 0x28
jmp 0x140403437
xor edx, edx
test rdx, rdx
jne 0x140403463
xor al, al
jmp 0x140403477
cmp dword [rdx + 0x24], 0
jge 0x14040346d
xor al, al
jmp 0x140403477
mov al, 1
jmp 0x140403477
xor al, al
jmp 0x140403477
add rsp, 0x18
ret
Function at 0x14015ce8b
Capabilities:
Query environment variable

Disassembly:
jmp 0x1403cdc20
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [0x140534020]
mov rdi, rax
test rax, rax
je 0x1403cdc9d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1403cdcc8
cmp ebx, esi
je 0x1403cdcc8
cmp ebx, 0x8000
ja 0x1403cdcc8
cmp ebx, esi
jb 0x1403cdcc3
mov edx, ebx
mov rcx, rdi
call qword [0x140534020]
mov rdi, rax
test rax, rax
jne 0x1403cdc60
mov rcx, rbp
call qword [fcn.14015c8c8]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1403cdca8
mov rcx, rdi
jmp 0x1403cdca0
Function at 0x14015d138
Capabilities:
Check for debugger via api

Disassembly:
jmp 0x14030aec0
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_60
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14056741d]
call fcn.140161373
mov qword [rbp + 8], 0xffffffffffffffff
mov dword [rbp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp + 0x24], 0
je 0x14030af82
mov byte [0x14053d748], 1
mov dword [rbp + 0x124], 0
lea rdx, [rbp + 0x124]
lea rcx, [rbp + 0x104]
call fcn.14015f75d
mov dword [rbp + 0x164], 0
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x144]
call fcn.14015b563
lea rcx, [rbp + 0x184]
call fcn.14015ff41
mov dword [0], 0xdead
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140160054
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x14015d5d9
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1402f9fe0
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_45
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x140567420]
call fcn.140161373
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x104]
call fcn.1402ee4c0
mov rcx, rax
call fcn.14015a17c
mov qword [rbp + 0x148], rax
call fcn.14016082e
mov qword [rbp + 0x150], rax
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x150]
call fcn.14015de26
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1402fa0a3
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov edx, 4
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 8]
mov dword [rax], 0x1ee7c0de
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov edx, 4
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140160054
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14015d5e3
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140361660
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140361694
mov eax, esi
lea ecx, [rax + 0x7e]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140361680
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14015d46c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1403616b9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161bcf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140361733
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14036172e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14036172e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14015d840
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
jmp 0x1403b0a90
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x138
mov rax, qword [0x140534080]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r14, qword [rsp + 0x1a0]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x508]
mov rbp, qword [rsi + rcx*8 + 0x4c0]
add rbx, rax
mov rax, qword [rsi + 0x698]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x1403b0b97
lea rax, [0x14015ee98]
cmp qword [rsi + rcx*8 + 0x4e8], rax
jne 0x1403b0b97
cmp qword [rbx], r13
je 0x1403b0b1e
test rdi, rdi
je 0x1403b0b97
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.140161afd
cmp eax, 0xffffffff
je 0x1403b0b97
test al, 1
je 0x1403b0b97
mov rax, qword [rbx]
test rax, rax
jne 0x1403b0b70
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb70]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [fcn.14015e501]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x1403b0b93
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1403b0b97
add qword [rbx + 0x10], rcx
jmp 0x1403b0b97
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x1403b0c04
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x1403b0bd0
mov dword [r14], 0x51
mov rax, r13
jmp 0x1403b0c07
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.14015faf5
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140161d96
mov rcx, qword [rsi]
mov dword [rcx + 0x11b0], ebx
mov dword [r14], Ordinal_60
mov rax, rdi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14015d7aa
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14015d8c7
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140306810
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1405673db]
call fcn.140161373
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140306854
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1403068e5
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1403068aa
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1403068b4
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140306849
mov qword [rbp + 0x88], 0xe3
jmp 0x140306903
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x1403069ac
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140306968
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140306972
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1403068f2
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x140306a0c
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140306a16
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14015d93a
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x1403b0840
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1403b0882
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14015da48
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
jmp 0x140402660
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 [fcn.14015e501]
mov rdi, rax
test rax, rax
jne 0x1404026a2
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 0x1404026e9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
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 0x140402742
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.OLEAUT32.dll_VariantClear]
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.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x140402700
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140402783
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1404f2baf]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1404f2bb0]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140402750
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 0x14015ddf9
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14036d300
cmp byte [rcx + 5], 0
je 0x14036d323
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x14036d310
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x14015e092
Capabilities:
Terminate process

Disassembly:
jmp 0x140403bbc
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14015e46b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140361780
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r10, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
cmp byte [r8 + 0xb], bl
je 0x1403617b4
mov ecx, ebx
lea eax, [rcx + 0x7e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x1403617a0
mov byte [r8 + 0xb], bl
add r8, 0xa
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.14015d46c
nop
cmp byte [rdi + 0xb], 0
je 0x1403617e4
lea eax, [rbx + 0x7e]
xor byte [rbx + rdi], al
inc rbx
cmp rbx, 0xa
jb 0x1403617d1
mov byte [rdi + 0xb], 0
lea r8, [rdi + 0xa]
lea r9, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14015d46c
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov rcx, rsi
call fcn.14015a3ed
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140361854
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14036184e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14036184e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140361894
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14036188f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14036188f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret