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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x141e9ba00]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140114d25
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140114d86
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400ef490
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401288b0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140114e41
sub ecx, 1
je 0x140114eb4
sub ecx, 1
je 0x140114df0
cmp ecx, 1
je 0x140114dd3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140146640]
call fcn.1400ef490
jmp 0x140114eb4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1401149c0
test eax, eax
je 0x140114eb4
jmp 0x140114d5a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140114eb4
sub rax, rsi
cmp rax, rbp
jae 0x140114eb4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400ef610
jmp 0x140114eb4
cmp r8d, 4
jle 0x140114eb4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140114eb4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400ef3b0
mov esi, eax
test eax, eax
je 0x140114e93
mov edx, 5
mov rcx, rbx
call fcn.140115980
mov eax, esi
jmp 0x140114d5a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400fddb0
mov rcx, r14
call fcn.1400fe090
test eax, eax
je 0x140114d58
mov edx, 5
mov rcx, rbx
call fcn.140115980
mov eax, Ordinal_46
jmp 0x140114d5a
Function at 0x140127c50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140127c92
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 0x140127cd9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140127d32
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140127cf0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140127d73
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14014bd6b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14014bd6c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140127d40
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 0x140128f88
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1402130e0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140213108
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140213152
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1402130fd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x140114793
Capabilities:
Write file on windows

Disassembly:
jmp 0x14012bee0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x1403d71c0]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140442064]
call fcn.14011b3f9
nop
cmp qword [rbp + 0x150], 0
jne 0x14012bf45
mov al, 1
jmp 0x14012c031
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14012bf78
mov eax, dword [section..data]
add eax, 5
mov r8d, eax
lea rdx, str.C:Users_voidlDownloads_bloxshade_args_2.4.0_bloxshade_args_2.4.0_bloxshade_args_srcDiscord_SDK_srcconnection_win.cpp
lea rcx, str.self
call fcn.140113802
xor eax, eax
cmp qword [rbp + 8], 0
jne 0x14012bf86
xor al, al
jmp 0x14012c031
mov rax, qword [rbp + 8]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x14012bf98
xor al, al
jmp 0x14012c031
cmp qword [rbp + 0x148], 0
jne 0x14012bfc3
mov eax, dword [section..data]
add eax, 0xc
mov r8d, eax
lea rdx, str.C:Users_voidlDownloads_bloxshade_args_2.4.0_bloxshade_args_2.4.0_bloxshade_args_srcDiscord_SDK_srcconnection_win.cpp
lea rcx, [0x140359988]
call fcn.140113802
xor eax, eax
cmp qword [rbp + 0x148], 0
jne 0x14012bfd1
xor al, al
jmp 0x14012c031
mov eax, dword [rbp + 0x150]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x14012c020
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
jne 0x14012c020
mov dword [rbp + 0x114], 1
jmp 0x14012c02a
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140359710]
call fcn.140119cf2
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140116f4d
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140115076
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140132e00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140442178]
call fcn.14011b3f9
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x138
jne 0x140132e3e
mov rcx, qword [rbp + 0x100]
call fcn.1401146d0
nop
jmp 0x140132e5a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jb 0x140132e5a
mov rcx, qword [rbp + 0x100]
call fcn.1401171e1
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shr rax, 0x1d
mov rcx, qword [rbp + 0x100]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shr rax, 0x2b
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140115df5
Capabilities:
Get geographical location

Disassembly:
jmp 0x140240110
push rdi
sub rsp, 0x30
call fcn.140117ca4
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14024013c
mov eax, 2
jmp 0x1402401a9
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov r9d, 2
lea r8, [rsp + 0x24]
mov edx, 0x22
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x30
je 0x140240192
cmp dword [rsp + 0x20], 0x31
je 0x140240199
cmp dword [rsp + 0x20], 0x32
je 0x1402401a0
jmp 0x1402401a7
mov eax, 2
jmp 0x1402401a9
mov eax, 1
jmp 0x1402401a9
mov eax, 3
jmp 0x1402401a9
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140115e36
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140196160
mov dword [rsp + 8], ecx
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 ecx, dword [rsp + 0x468]
mov rax, qword [0x1403d71c0]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14044250d]
call fcn.14011b3f9
nop
mov byte [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.140116e4e
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x140196208
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140117f92
test eax, eax
je 0x1401961fd
mov eax, dword [rbp + 0x440]
cmp dword [rbp + 0x58], eax
jne 0x1401961ec
mov byte [rbp + 4], 1
jmp 0x1401961fd
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14011a0b2
test eax, eax
jne 0x1401961db
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movzx eax, byte [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1403652a0]
call fcn.140119cf2
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.140116f4d
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x140116aac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1402b81b0
mov rax, rcx
neg rcx
test rax, 7
je 0x1402b81cd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1402b8228
test al, 7
jne 0x1402b81c0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1402b81e1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1402b8252
test dh, dh
je 0x1402b824c
shr rdx, 0x10
test dl, dl
je 0x1402b8246
test dh, dh
je 0x1402b8240
shr rdx, 0x10
test dl, dl
je 0x1402b823a
test dh, dh
je 0x1402b8234
shr edx, 0x10
test dl, dl
je 0x1402b822e
test dh, dh
jne 0x1402b81e1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x140116b01
Capabilities:
Query environment variable

Disassembly:
jmp 0x140315e40
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1403159c0
lea rcx, [rsp + 0x20]
call fcn.140315a10
movzx eax, al
test eax, eax
jne 0x140315e85
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1403159f0
mov rax, qword [rsp + 0x40]
jmp 0x140315f7f
lea rcx, [rsp + 0x20]
call fcn.140315b10
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140315ab0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1401170c4
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1401160b1
lea rcx, [rsp + 0x28]
call fcn.1401178da
movzx eax, al
test eax, eax
jne 0x140315f1f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140119946
lea rcx, [rsp + 0x20]
call fcn.1403159f0
mov rax, qword [rsp + 0x50]
jmp 0x140315f7f
lea rcx, [rsp + 0x20]
call fcn.140315b10
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.14011b24b
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140116f9d
lea rcx, [rsp + 0x28]
call fcn.14011c1be
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140119946
lea rcx, [rsp + 0x20]
call fcn.1403159f0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1401171e1
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1401357b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x140442178]
call fcn.14011b3f9
nop
mov qword [rbp + 8], 0x137
mov qword [rbp + 0x28], 0x9c
mov qword [rbp + 0x48], 0
jmp 0x1401357f5
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x9c
jae 0x14013589e
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
and rax, 1
test rax, rax
je 0x14013585d
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x140135868
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0x68]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1401357ea
mov qword [rbp + 0x88], 0x9c
jmp 0x1401358bc
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x137
jae 0x14013597d
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
and rax, 1
test rax, rax
je 0x140135933
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x14013593e
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0xa8]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1401358ab
mov qword [rbp + 0xc8], 0x137
mov eax, 8
imul rax, rax, 0x26f
mov rcx, qword [rbp + 0x1e0]
mov rax, qword [rcx + rax + 8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
and rax, 1
test rax, rax
je 0x1401359ef
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x1401359fa
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0xe8]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rbp + 0x1e0]
xor rax, qword [rdx + rcx + 8]
mov ecx, 8
imul rcx, rcx, 0x137
mov rdx, qword [rbp + 0x1e0]
mov qword [rdx + rcx + 8], rax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140117254
Capabilities:
Read file on windows
Read pipe

Disassembly:
jmp 0x14012bc80
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x1403d71c0]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x140442064]
call fcn.14011b3f9
nop
cmp qword [rbp + 0x168], 0
jne 0x14012bcfe
mov eax, dword [0x1403d7004]
inc eax
mov r8d, eax
lea rdx, str.C:Users_voidlDownloads_bloxshade_args_2.4.0_bloxshade_args_2.4.0_bloxshade_args_srcDiscord_SDK_srcconnection_win.cpp
lea rcx, [0x140359988]
call fcn.140113802
xor eax, eax
cmp qword [rbp + 0x168], 0
jne 0x14012bd0f
xor al, al
jmp 0x14012be2d
mov rax, qword [rbp + 0x160]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14012bd42
mov eax, dword [0x1403d7004]
add eax, 6
mov r8d, eax
lea rdx, str.C:Users_voidlDownloads_bloxshade_args_2.4.0_bloxshade_args_2.4.0_bloxshade_args_srcDiscord_SDK_srcconnection_win.cpp
lea rcx, str.self
call fcn.140113802
xor eax, eax
cmp qword [rbp + 8], 0
jne 0x14012bd50
xor al, al
jmp 0x14012be2d
mov rax, qword [rbp + 8]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x14012bd62
xor al, al
jmp 0x14012be2d
mov dword [rbp + 0x24], 0
mov qword [rsp + 0x28], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14012be1e
mov eax, dword [rbp + 0x24]
cmp rax, qword [rbp + 0x170]
jb 0x14012be1c
mov eax, dword [rbp + 0x170]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x64], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x168]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x14012be0f
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0x44], eax
je 0x14012be09
mov eax, dword [0x1403d7004]
add eax, 0x13
mov r8d, eax
lea rdx, str.C:Users_voidlDownloads_bloxshade_args_2.4.0_bloxshade_args_2.4.0_bloxshade_args_srcDiscord_SDK_srcconnection_win.cpp
lea rcx, str.bytesToRead__bytesRead
call fcn.140113802
xor eax, eax
mov al, 1
jmp 0x14012be2d
mov rcx, qword [rbp + 0x160]
call fcn.1401178bc
nop
jmp 0x14012be2b
mov rcx, qword [rbp + 0x160]
call fcn.1401178bc
nop
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1403597e0]
call fcn.140119cf2
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140116f4d
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140117362
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140261320
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140260ca0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14026135f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140444020]
jmp 0x140261369
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14011779f
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140261250
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140260c20
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140261291
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140444020]
jmp 0x140261297
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1401178e4
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402fa060
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1402f8f90
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1402fa0c7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140444030]
jmp 0x1402fa0e9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140116313
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140117916
Capabilities:
Terminate process

Disassembly:
jmp 0x1401cb6a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140117ec0
Capabilities:
Print debug messages

Disassembly:
jmp 0x14032a970
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1403d71c0]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14032a996
jmp 0x14032aa13
mov rcx, qword [rbp + 0x30]
call fcn.140116aac
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14032a9af
jmp 0x14032aa13
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14032a9cc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14011477a
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.14011510c
test eax, eax
jne 0x14032aa13
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140116f4d
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140118528
Capabilities:
Set environment variable

Disassembly:
jmp 0x140317cf0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret