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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x1405bdaa0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x140073081
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140073045
mov dword [rsi], 0x51
jmp 0x14007307a
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140050fc0
mov rcx, qword [rdi + 8]
lea rdx, str.Recv_failure:__s
mov r8, rax
call fcn.14003cc10
mov rax, qword [rdi + 8]
mov dword [rax + 0xd7c], ebx
mov dword [rsi], gethostname
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, str.nw_in_read_len_zu______d__err_d
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.14003cda0
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401c4160
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400730c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1405bdaa0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x2e8]
test dword [rcx + 0x84], 0x800
jne 0x140073203
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140073191
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140050fc0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.14003cc10
mov eax, 2
jmp 0x140073205
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.14003dfc0
test al, al
jne 0x140073203
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.140050fc0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14003cc10
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x140073205
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401c4160
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x1400816f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140081733
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x140081780
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x1400817e2
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x1400817a0
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x140081821
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1401db201]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401db202]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x1400817f0
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x140081a10
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1405bdaa0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140081a5c
mov eax, 0x1b
jmp 0x140081b2e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140081aa0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x140081b2e
mov rcx, rbp
call fcn.14003f200
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x140081b0a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140081b1a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140081b2c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401c4160
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400828f0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x140082955
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x140082900
ret
Function at 0x1400d3110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.1400d2b60
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1400d3160
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x1400d31e3
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x1400d3185
mov dword [rsp + 0x28], 1
jmp 0x1400d318d
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x1400d319e
mov dword [rsp + 0x2c], 0
jmp 0x1400d31a6
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400d31c9
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.1400d2fa0
jmp 0x1400d31de
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.1400d2fa0
jmp 0x1400d3156
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.1400d2fa0
add rsp, 0x48
ret
Function at 0x1401c4fa8
Capabilities:
Parse pe header

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

Function at 0x140001070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov rsi, rcx
mov edx, dword [rax + rcx + 0x88]
mov r14d, dword [rdx + rcx + 0x1c]
mov r15d, dword [rdx + rcx + 0x24]
add r14, rcx
mov edi, dword [rdx + rcx + 0x20]
add r15, rcx
mov ebp, dword [rdx + rcx + 0x18]
add rdi, rcx
test ebp, ebp
je 0x1400010df
nop word [rax + rax]
mov edx, dword [rdi]
lea rcx, [0x1400022d0]
add rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400010fa
inc ebx
add rdi, 4
cmp ebx, ebp
jb 0x1400010c0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
movzx ecx, word [r15 + rbx*2]
mov eax, dword [r14 + rcx*4]
add rax, rsi
jmp 0x1400010e1

Function at 0x140001ab8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b02
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b02
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b02
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b02
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b04
xor al, al
add rsp, 0x28
ret
Function at 0x1414d31b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1414d333f
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 0x1414d31e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414d31cf
add dl, dl
jne 0x1414d31f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414d3256
xor eax, eax
add dl, dl
jne 0x1414d3205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414d330d
add dl, dl
jne 0x1414d3216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414d3223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414d3230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414d323d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414d324a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1414d31de
mov eax, 1
add dl, dl
jne 0x1414d3266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414d3273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414d325b
sub eax, ebx
mov ebx, 1
jne 0x1414d32ac
mov ecx, 1
add dl, dl
jne 0x1414d328e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414d329b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414d3283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414d31de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1414d32c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414d32d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414d32bd
cmp eax, 0x7d00
jae 0x1414d32fb
cmp eax, 0x500
jb 0x1414d32f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414d31de
cmp eax, 0x7f
ja 0x1414d32fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414d31de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414d3332
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 0x1414d31de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000114a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400e0088
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401f69b8]
mov ecx, 5
lea r8, [0x1401f69b0]
lea rdx, str.FlsGetValue
call fcn.1400df680
mov ecx, ebx
test rax, rax
je 0x1400e00c2
add rsp, 0x20
pop rbx
jmp qword [case.0x14008d9d2.0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14000160e
Capabilities:
Check if file exists
Get common file path

Disassembly:
jmp 0x140059598
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test eax, eax
jne 0x1400595c9
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140059625
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005961c
test al, 0x10
je 0x14005961c
bt eax, 0xa
jae 0x140059615
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140007a40
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140059611
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140059635
test edi, edi
jne 0x14005961c
and dword [rsp + 0x3c], 0
jmp 0x140059621
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140001645
int3
Function at 0x140001681
Capabilities:
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
jmp 0x1400496c0
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
movups xmm0, xmmword [r8]
xor r10d, r10d
mov rbp, r8
mov rsi, rdx
mov r15, rcx
movaps xmmword [rsp + 0x30], xmm0
movabs r9, 0xcbf29ce484222325
psrldq xmm0, 8
movq rax, xmm0
lea r11, [rax + rax]
test r11, r11
je 0x140049725
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r10]
inc r10
xor r9, rax
imul r9, rdx
cmp r10, r11
jb 0x140049711
mov rax, qword [r15 + 0x18]
mov rcx, qword [r15 + 0x30]
mov rdi, qword [r15 + 8]
and rcx, r9
add rcx, rcx
mov r10, qword [rax + rcx*8]
lea r11, [rax + rcx*8]
mov rbx, r10
cmp r10, rdi
jne 0x14004974c
mov rax, rdi
jmp 0x140049753
mov rax, qword [r11 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400497ea
movups xmm1, xmmword [rbx + 0x10]
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
psrldq xmm1, 8
psrldq xmm0, 8
movq r8, xmm1
movq rax, xmm0
cmp r8, rax
jne 0x1400497c5
mov rcx, qword [rsp + 0x30]
test r8, r8
je 0x1400497cd
mov r9, qword [rsp + 0x40]
movzx eax, word [rcx]
movzx edx, word [r9]
cmp dx, ax
jb 0x1400497c5
sub r9, rcx
cmp dx, ax
ja 0x1400497c5
cmp r8, 1
je 0x1400497cd
movzx edx, word [rcx + r9 + 2]
add rcx, 2
dec r8
movzx eax, word [rcx]
cmp dx, ax
jae 0x1400497a8
mov rbx, qword [rbx]
jmp 0x140049742
lea r8, [rbx + 0x10]
mov rdx, rbp
mov rcx, r15
call fcn.140003562
test al, al
mov rcx, rdi
cmove rcx, rbx
mov rax, rcx
jmp 0x1400497f0
mov rcx, rdi
mov rax, rdi
cmp rax, rdi
jne 0x140049874
mov rbx, qword [rdi]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea r9, [0x1401c8518]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x90], rbp
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rdi, qword [rbx + 8]
lea rcx, [r15 + 8]
mov r8, rdi
call fcn.1400050e2
mov rdx, rax
movabs rcx, 0x555555555555554
mov rax, qword [r15 + 0x10]
sub rcx, rax
cmp rcx, 1
jb 0x140049892
inc rax
mov rcx, r15
mov qword [r15 + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
mov rdx, rsi
mov r9, qword [r15 + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.1400022b1
jmp 0x14004987b
mov qword [rsi], rcx
mov byte [rsi + 8], 0
mov rbx, qword [rsp + 0x88]
mov rax, rsi
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.140008283
int3
Function at 0x140001af0
Capabilities:
Terminate process

Disassembly:
jmp 0x14008e6e8
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 0x140001d6b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400ff728
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140232d98]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x14023ba08]
test r9, r9
lea rdi, [0x1401fe2be]
mov rax, rdx
mov r15, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1400ff791
mov rax, 0xfffffffffffffffe
jmp 0x1400ff8e3
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x1400ff801
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x1400ff7bd
test rsi, rsi
je 0x1400ff7af
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x1400ff8e3
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x1400ff7ca
mov r8b, 2
jmp 0x1400ff7e6
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x1400ff7d7
mov r8b, 3
jmp 0x1400ff7e6
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x1400ff8cf
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov r9b, r8b
sub edx, ebp
movzx eax, bl
and edx, eax
jmp 0x1400ff826
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400ff8cf
cmp r9b, bpl
jb 0x1400ff8cf
cmp r9b, r8b
jae 0x1400ff8cf
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x1400ff855
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400ff8cf
mov eax, edx
movzx ecx, cl
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, rbx
jb 0x1400ff835
cmp rbx, rbp
jae 0x1400ff882
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400ff785
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400ff8cf
cmp edx, 0x110000
jae 0x1400ff8cf
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400ff8cf
test rsi, rsi
je 0x1400ff8c0
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x1400ff8e3
xor eax, eax
mov qword [r10], rax
call fcn.14000611d
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140005ff6
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001e6a
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400e00e0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401f69d8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1401f69d0]
call fcn.1400df680
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400e0120
call qword [case.0x14008d9d2.0]
jmp 0x1400e0126
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002720
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ef2c0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400ef392
mov rsi, rax
cmp word [rax], r14w
je 0x1400ef313
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400ef2fb
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400ef2f7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.140008116
movsxd rbp, eax
test eax, eax
je 0x1400ef392
mov rcx, rbp
call fcn.1400071df
mov rdi, rax
test rax, rax
je 0x1400ef385
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140008116
test eax, eax
je 0x1400ef385
mov rsi, rdi
mov rdi, r14
jmp 0x1400ef388
mov rsi, r14
mov rcx, rdi
call fcn.140002d83
jmp 0x1400ef395
mov rsi, r14
test rbx, rbx
je 0x1400ef3a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140003206
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140027560
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x40
mov rax, qword [0x140232d98]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x90]
xor r12d, r12d
mov rbp, r8
movzx r15d, r9b
sub rbp, rdx
mov rbx, rdx
inc rbp
mov esi, r12d
shr rbp, 1
cmp rdx, r8
cmova rbp, r12
test rbp, rbp
je 0x140027604
mov qword [rsp + 0x80], r14
lea r14, [rcx + 0x30]
nop dword [rax + rax]
movzx edx, word [rbx]
lea r8, [rsp + 0x20]
mov r9, r14
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x28]
call fcn.140007e3c
movzx edx, byte [rsp + 0x28]
lea rdi, [rdi + 1]
cmp eax, 1
movzx ecx, r15b
cmovne edx, ecx
add rbx, 2
inc rsi
mov byte [rdi - 1], dl
cmp rsi, rbp
jne 0x1400275c0
mov r14, qword [rsp + 0x80]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140005ff6
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400033e6
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14007fa0c
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14007fa45
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14007fa27
mov eax, ecx
ret

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

Disassembly:
jmp 0x14008d1f0
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14008d27e
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14008d27e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008d27e
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14008d265
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14008d25f
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14008d267
add rdx, 0x28
jmp 0x14008d244
xor edx, edx
test rdx, rdx
jne 0x14008d270
xor al, al
jmp 0x14008d284
cmp dword [rdx + 0x24], 0
jge 0x14008d27a
xor al, al
jmp 0x14008d284
mov al, 1
jmp 0x14008d284
xor al, al
jmp 0x14008d284
add rsp, 0x18
ret

Function at 0x140003b0c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140096574
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401f01e8]
mov edi, ecx
lea rdx, [0x1401e8f68]
mov ecx, 3
lea r8, [0x1401f01e0]
call fcn.140095ecc
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400965b4
call qword [case.0x14008d9d2.0]
jmp 0x1400965ba
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003e7c
Capabilities:
Create directory

Disassembly:
jmp 0x1400589a8
push rbx
sub rsp, 0x20
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ebx, ebx
test eax, eax
je 0x1400589c7
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x3c], ebx
jmp 0x1400589dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov byte [rsp + 0x38], bl
cmove eax, ebx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret