joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403d94e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.14039cba0
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1403d9686
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1403d9570
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
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 esi, esi
test r15, r15
je 0x1403d95d2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1403d9590
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1403d9613
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1403f4580]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1403f4581]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1403d95e0
mov rcx, qword [rsp + 0x70]
call fcn.14039cba0
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1403d9642
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.1403db950]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, reloc.WLDAP32.dll_Ordinal_27
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret

Function at 0x1403daf20
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1403daf85
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 0x1403daf30
ret
Function at 0x140004d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
lea r15, [0x140135168]
mov esi, r12d
lea r14, [0x140134020]
cmp byte [r15], r12b
je 0x140004e44
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WSOCK32.dll_gethostbyname
mov ecx, esi
mov dword [rsp + 0x24], 0x80
call qword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x140004e44
mov eax, dword [rsp + 0x40]
mov ebp, eax
xor ebp, dword [r14]
mov dword [r14], eax
and ebp, eax
je 0x140004e44
movzx edx, word [0x14013441c]
mov ebx, r12d
cmp r12w, dx
jae 0x140004e44
mov rdi, r12
nop
mov rax, qword [0x140135188]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x140004e37
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x140004e37
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x140004e37
mov rcx, qword [0x140134240]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x14013441c]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140004df0
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x140004da2
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140007260
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ecx, ecx
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14000727c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x14000735b
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
call fcn.1400d2a10
test eax, eax
je 0x140007348
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400d0944
test eax, eax
je 0x140007348
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400d0944
test eax, eax
je 0x140007348
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400d0944
test eax, eax
je 0x140007348
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400d0944
test eax, eax
je 0x140007348
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400d0944
test eax, eax
je 0x14000733d
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400d0944
test eax, eax
jne 0x140007360
test rbx, rbx
je 0x140007348
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x140007380
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
je 0x14000739a
mov eax, 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140134240]
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140007414
xor esi, esi
nop
mov ecx, dword [0x14012fc14]
cmp ecx, 0xffffffff
je 0x1400073e4
test ecx, ecx
je 0x140007430
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14012fc14]
add edx, ebx
sub edx, eax
cmp edx, 4
jle 0x140007430
mov edx, 1
mov dword [0x14012fc00], esi
mov ecx, 0x80000539
call fcn.140001940
mov rcx, qword [0x140134240]
mov dword [0x14012fc00], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400073c0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
mov dword [rdi + 0x2c], 1
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140007590
Capabilities:
Resolve dns

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov r14, rcx
xor ebp, ebp
lea rcx, [rsp + 0x31]
mov byte [rsp + 0x30], bpl
xor edx, edx
mov r8d, 0x400
mov r12d, ebp
call fcn.1400cc200
xor edx, edx
mov byte [rsp + 0x440], bpl
mov r8d, 0x400
lea rcx, [rsp + 0x441]
call fcn.1400cc200
mov r9d, 0x400
lea rbx, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x30]
lea rdi, [rsp + 0x440]
lea edx, [r9 + 1]
call fcn.1400d7604
mov r13, qword [rsp + 0x8c8]
lea r15, [rbp - 1]
nop dword [rax + rax]
mov rcx, r14
mov qword [r13], rbp
mov rsi, r13
mov byte [rdi], bpl
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x14000778e
cmp word [rax + 0x10], 2
jne 0x1400076b0
cmp word [rax + 0x12], 4
jne 0x1400076b0
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x1400076ab
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x8b8]
mov edx, dword [rsp + 0x8b0]
mov ecx, dword [rsp + 0x8a8]
call fcn.1400074f0
mov qword [rsi], rax
test rax, rax
je 0x140007787
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x140007670
mov rbx, qword [rsp + 0x20]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.1400d7604
cmp qword [r13], rbp
jne 0x140007733
mov rax, r15
nop
inc rax
cmp byte [rdi + rax], bpl
jne 0x1400076d0
test rax, rax
je 0x1400077a8
mov r8, rdi
mov rax, rbx
sub r8, rbx
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007703
inc rax
test ecx, ecx
jne 0x1400076f0
test edx, edx
je 0x1400077a8
inc r12d
cmp r12d, 0x10
je 0x1400077a8
mov r14, qword [rsp + 0x8a0]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x20], rbx
jmp 0x140007630
cmp dword [rsp + 0x8c0], ebp
je 0x1400077bb
nop dword [rax]
cmp byte [rdi + r15 + 1], bpl
lea r15, [r15 + 1]
jne 0x140007740
lea rdx, [r15 + 1]
mov ecx, 1
call fcn.1400d759c
mov rbx, rax
test rax, rax
jne 0x140007766
mov rbx, rbp
jmp 0x140007775
mov r8, rdi
lea rdx, [r15 + 1]
mov rcx, rax
call fcn.1400d75a4
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], rbp
jne 0x1400077bb
mov ebp, 8
jmp 0x1400077bb
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x1400077b6
sub ecx, 1
je 0x1400077af
sub ecx, 1
jne 0x1400077b6
mov ebp, 0x2afb
jmp 0x1400077bb
mov ebp, 0x2afa
jmp 0x1400077bb
mov ebp, 0x2af9
mov eax, ebp
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007eb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x140134078], 0
lea rax, [0x140007830]
mov qword [rsp + 0x28], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140007c80]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x1400077e0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
jne 0x14000806a
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140008060
lea r8, [rsp + 0x160]
mov qword [rsp + 0x280], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400d75a4
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400d76f4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140007f92
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140007ff2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400d75a4
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400d76f4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008058
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140007ff2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140008058
mov qword [rsp + 0x288], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x140008047
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008001
mov rax, qword [rsp + 0x28]
mov qword [0x140132560], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140132570], rax
mov rax, qword [rsp + 0x48]
mov qword [0x140132580], rax
jmp 0x140008050
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x140134078], 1
mov rbx, qword [rsp + 0x290]
lea rcx, str.getaddrinfo
mov rax, rbp
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x140008090
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov qword [0x140132058], rdx
mov r8, rdx
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x1400080fc
cmp byte [rcx + 5], 1
jne 0x1400080fc
xor ebx, ebx
cmp byte [rcx + 6], bl
je 0x1400080c6
mov qword [rdx + 0x38], rbx
lea edx, [rbx + 8]
call fcn.1400c9e40
cmp dword [0x1401320b0], 2
je 0x1400080f4
lea rdx, [0x1400fbc1c]
lea rcx, [0x140132030]
call fcn.140008240
test eax, eax
jne 0x1400080f2
lea rcx, [0x140132030]
call fcn.140008370
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov r9, qword [0x1401320b0]
mov qword [rsp + 0x38], rdi
cmp r9d, 3
je 0x140008180
mov r11, qword [0x1401320bc]
movabs rdi, 0x2aaaaaaaaaaaaaab
mov r10, qword [0x140132038]
mov rbx, qword [0x140132030]
cmp r9d, 4
jne 0x140008156
mov rcx, r10
mov rax, rdi
sub rcx, rbx
add rcx, 0x18
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp edx, r11d
jle 0x140008180
cmp r9d, 5
jne 0x1400081eb
sub r10, rbx
mov rax, rdi
add r10, 0x18
imul r10
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, r11d
jge 0x1400081eb
movzx ecx, byte [r8]
lea eax, [rcx - 0x6f]
cmp al, 7
ja 0x1400081a1
cmp cl, 0x71
jbe 0x1400081eb
cmp cl, 0x74
jb 0x1400081a1
cmp cl, 0x76
jne 0x1400081eb
cmp qword [r8 + 0x10], 0
je 0x1400081eb
cmp dword [r8 + 4], 0
je 0x1400081eb
cmp r9d, 2
jne 0x1400081bd
mov rdi, qword [rsp + 0x38]
xor ebx, ebx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
lea rdx, [0x1400fbc1c]
lea rcx, [0x140132030]
call fcn.140008240
test eax, eax
jne 0x1400081e0
lea rcx, [0x140132030]
call fcn.140008370
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rcx, qword [0x140132050]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008227
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008227
lea rcx, [0x140132030]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp fcn.140008370
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000a310
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x20
cmp byte [rdx + 0x23], 0
mov r15, r9
mov rdi, r8
mov rbx, rdx
jne 0x14000a33c
mov rax, qword [rdx + 0x10]
movzx ecx, byte [rax + 0x21]
jmp 0x14000a340
movzx ecx, byte [rdx + 0x21]
and cl, 1
mov byte [r8 + 0x5b], cl
movzx ecx, byte [rdx + 0x23]
test cl, cl
jne 0x14000a357
mov rax, qword [rdx + 0x10]
movzx ecx, byte [rax + 0x23]
cmp cl, 1
mov qword [rsp + 0x48], rsi
setne al
mov byte [r8 + 0x59], al
movzx eax, byte [rdx + 0x23]
je 0x14000a4a4
xor esi, esi
mov ecx, eax
test al, al
je 0x14000a3f7
sub ecx, 1
je 0x14000a3aa
sub ecx, 1
je 0x14000a392
cmp ecx, 1
je 0x14000a3e9
mov rdx, qword [rdx + 0x28]
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x14000a402
xor edx, edx
call fcn.140006cb0
mov edx, 0xffffffff
mov rcx, rsi
cmp rax, rdx
cmovne rcx, rax
jmp 0x14000a405
mov rcx, rbx
call fcn.140001550
cmp dword [0x140134fb4], esi
jne 0x14000a3ee
cmp qword [rbx + 0x10], rsi
jne 0x14000a3ee
mov rcx, qword [rbx + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000a3e2
mov qword [0x140138d38], rsi
lea ecx, [rax - 1]
jmp 0x14000a405
mov qword [0x140138d38], rbx
mov rcx, rsi
jmp 0x14000a405
mov rcx, qword [rbx + 0x10]
shr rcx, 1
jmp 0x14000a405
mov rcx, qword [rbx + 0x10]
xor edx, edx
call fcn.1400b0dc0
mov rcx, rax
lea r14, [rcx + 1]
mov rcx, qword [r15]
test rcx, rcx
je 0x14000a41f
call fcn.1400d78fc
lea rcx, [r14 + r14]
cmp rax, rcx
jae 0x14000a44e
mov rcx, qword [r15]
call fcn.1400d29a8
mov eax, 0x104
cmp r14, rax
cmovb r14, rax
lea rcx, [r14 + r14]
call fcn.1400d29a0
mov qword [r15], rax
test rax, rax
jne 0x14000a44e
mov eax, 0x3e6
jmp 0x14000a527
mov rdx, qword [r15]
mov rcx, rbx
call fcn.1400b0dc0
mov rax, qword [r15]
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x30], esi
cmp dword [0x1401372d4], esi
je 0x14000a525
cmp qword [0x1401372b8], rsi
je 0x14000a48c
mov rcx, qword [0x1401372a8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x1401372b8], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x1401372d4], esi
mov qword [0x1401372a8], rsi
jmp 0x14000a525
test al, al
jne 0x14000a4ae
mov rcx, qword [rdx + 0x10]
jmp 0x14000a4b1
mov rcx, rbx
test byte [rcx + 0x21], 4
je 0x14000a4c8
mov dword [r8 + 0x30], 3
lea rax, [0x1400fb87c]
jmp 0x14000a521
test al, al
jne 0x14000a4d0
mov rbx, qword [rdx + 0x10]
movzx ecx, byte [rbx + 0x21]
mov eax, ecx
and eax, 0x70
cmp eax, 0x10
je 0x14000a516
cmp eax, 0x20
je 0x14000a50c
test cl, 2
je 0x14000a4f2
mov dword [r8 + 0x30], 6
jmp 0x14000a51e
xor esi, esi
mov rcx, rbx
mov dword [r8 + 0x30], esi
xor r8d, r8d
lea edx, [rsi + 1]
call fcn.1400016b0
mov qword [rdi + 0x20], rax
jmp 0x14000a525
mov dword [r8 + 0x30], 2
jmp 0x14000a51e
mov dword [r8 + 0x30], 1
mov rax, qword [rbx]
mov qword [r8 + 0x20], rax
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000d420
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x70]
mov r8d, 0xa
add rcx, 0x26
call fcn.1400d0710
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400cbba0
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x1400fcdc0]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000efa0
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x20]
movsxd r8, eax
xor r9d, r9d
add r8, rbx
lea rax, [rsp + 0x20]
sub r8d, eax
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000d4ef
cmp dword [rdi + 0x78], 0
jne 0x14000d4ef
mov rdx, qword [rdi + 0x70]
lea rcx, [rdi + 0x60]
inc rdx
call fcn.14000e5f0
test eax, eax
jne 0x14000d4ef
mov rcx, qword [rdi + 0x70]
xor r9d, r9d
mov r8, qword [rdi + 0x60]
movzx eax, word [0x1400fb87c]
mov byte [r8 + rcx], al
inc qword [rdi + 0x70]
mov r8d, dword [rdi + 0x70]
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000d4ef
xor eax, eax
mov qword [rdi + 0x70], rax
mov dword [rdi + 0x78], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, [0x140132030]
call fcn.14000da30
mov r8, qword [0x1401371c0]
lea rdx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
mov rcx, qword [0x140134240]
mov r9d, 0x10014
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x14000d533
xor r8d, r8d
lea edx, [rax - 3]
lea rcx, [0x140136640]
call fcn.140029c80
mov rbx, qword [rsp + 0x70]
mov eax, 0x3e6
add rsp, 0x60
pop rdi
ret
Function at 0x14000e340
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
je 0x14000e4d8
movabs rbp, 0xaaaaaaaaaaaaaaab
test r9b, r9b
jne 0x14000e3a1
lea rdx, [r8 - 1]
mov rax, rbp
mul rdx
shr rdx, 1
lea rdx, [rdx*4 + 5]
add rdx, qword [rcx + 0x10]
call fcn.14000e5f0
test eax, eax
je 0x14000e3a1
mov eax, 0x3e6
jmp 0x14000e4da
test rdi, rdi
je 0x14000e4d8
mov r10, qword [rsi + 0x10]
xor r8d, r8d
add r10, qword [rsi]
cmp rbx, 0xffffffffffffffff
jne 0x14000e3c9
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], r8b
jne 0x14000e3c0
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp rbx, 2
jbe 0x14000e469
lea rcx, [rbx - 3]
mov rax, rbp
mul rcx
lea r9, [r10 + 2]
shr rdx, 1
inc rdx
imul rax, rdx, 0xfffffffffffffffd
lea r8, [rdx*4]
add rbx, rax
nop dword [rax]
movzx eax, byte [rdi + 1]
lea r9, [r9 + 4]
movzx ecx, byte [rdi]
shl rcx, 8
or rcx, rax
movzx eax, byte [rdi + 2]
shl rcx, 8
add rdi, 3
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [r9 - 6], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r9 - 5], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r9 - 4], al
movzx eax, byte [rcx + r11]
mov byte [r9 - 3], al
sub rdx, 1
jne 0x14000e400
test rbx, rbx
je 0x14000e4cf
movzx ecx, byte [rdi]
shl rcx, 0x10
cmp rbx, 1
jbe 0x14000e486
movzx eax, byte [rdi + 1]
shl rax, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r11]
mov byte [r8 + r10], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r8 + r10 + 1], al
cmp rbx, 1
jbe 0x14000e4be
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r11]
jmp 0x14000e4c0
mov al, 0x3d
mov byte [r8 + r10 + 2], al
mov byte [r8 + r10 + 3], 0x3d
add r8, 4
mov byte [r8 + r10], 0
add qword [rsi + 0x10], r8
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ecb0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
mov rcx, rbp
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdi, qword [rbx + 8]
mov esi, eax
test eax, eax
jne 0x14000ed1f
test rdi, rdi
je 0x14000eddd
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000ed11
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000ed04
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rdi
call fcn.1400c9e40
xor ecx, ecx
mov qword [rbx + 8], rcx
mov byte [rbx + 0x10], cl
jmp 0x14000eddd
test rdi, rdi
jne 0x14000ed4f
lea ecx, [rdi + 0x28]
call fcn.1400c9e74
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov dword [rax + 0x20], 1
mov qword [rbx + 8], rax
jmp 0x14000edb4
mov eax, dword [rdi + 0x20]
mov rdi, qword [rbx + 8]
cmp eax, 1
jbe 0x14000edae
mov ecx, 0x28
call fcn.1400c9e74
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov dword [rax + 0x20], 1
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000edb4
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000ed9f
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rdi
call fcn.1400c9e40
jmp 0x14000edb4
xor ecx, ecx
mov qword [rdi + 0x10], rcx
mov rcx, qword [rbx + 8]
mov rdx, rsi
call fcn.14000f000
mov rax, qword [rbx + 8]
mov r8d, esi
mov rcx, rbp
mov rdx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400185f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
movzx r8d, byte [0x1401343f6]
or r8b, 2
cmp qword [0x140134260], 0
mov byte [0x1401343f6], r8b
jne 0x140018628
movzx edx, word [0x14013441c]
movzx r9d, byte [0x1401343f7]
mov rcx, qword [0x140135188]
jmp fcn.140013590
ret