joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012400
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x14003e050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbx, rcx
and edi, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x14001243d
mov rcx, qword [rcx]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140012450
mov al, 1
jmp 0x1400124f7
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140012b30
test al, al
je 0x1400124a1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400124a1
mov bl, 1
jmp 0x1400124a3
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400124e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400124dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012514
call fcn.140018450
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400183f0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14001c674
int3

Function at 0x140012520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x14003e050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140012555
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400125ff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140035c40]
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140012b30
test al, al
je 0x1400125ae
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400125ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400125e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001261e
call fcn.140018450
movdqa xmm0, xmmword [0x140035c40]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400183f0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.14001c674
int3
Function at 0x1400172b0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x880
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x14003e050]
xor rax, rsp
mov qword [rsp + 0x870], rax
call fcn.140007c60
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400172fd
mov rcx, rax
call fcn.140005c30
nop
mov ecx, dword [0x14003f138]
lea rsi, [0x14003ed10]
xor ebp, ebp
test cl, 1
jne 0x140017345
or ecx, 1
mov dword [0x14003f138], ecx
xor edx, edx
mov r8d, 0x412
mov rcx, rsi
call fcn.140019e30
mov qword [0x14003f128], rbp
mov byte [0x14003f130], bpl
lea rcx, [0x14002b840]
call fcn.140018c04
nop
cmp byte [0x14003f130], 0
jne 0x140017500
mov byte [0x14003f130], 1
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call fcn.140019e30
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1400173b1
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400173ac
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400173b1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400173b1
mov word [rsp + 0x40], bp
lea rcx, [rsp + 0x40]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400173c0
mov eax, dword [0x140034848]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
sub rax, 2
nop dword [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1400173e0
movups xmm0, xmmword [0x140034980]
movups xmmword [rax], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140017409
mov word [rsp + 0x40], bp
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x450]
call fcn.140019e30
lea rcx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140017430
test rax, rax
je 0x1400174ca
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call fcn.14001dea8
lea rcx, [rsp + 0x450]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140017466
test rax, rax
je 0x1400174ca
lea rcx, [rsp + 0x450]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140017481
mov eax, dword [0x140034848]
mov dword [rcx], eax
lea rcx, [rsp + 0x450]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400174a0
movups xmm0, xmmword [str.2345Image.hzv]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x14002c4f8]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x14002c500]
mov dword [rcx + 0x18], eax
call fcn.140006630
lea rcx, [rsp + 0x450]
nop word [rax + rax]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x1400174e0
test rbx, rbx
je 0x140017500
lea rdx, [rsp + 0x450]
mov rcx, rax
call fcn.140006720
nop
test rdi, rdi
je 0x140017512
mov rcx, rdi
call fcn.140005c40
mov qword [rsp + 0x28], rbp
mov rax, rsi
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.1400183f0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140017550
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140017596
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140017596
test al, 0x10
jne 0x140017596
call fcn.140006630
mov rdx, rbx
mov rcx, rax
call fcn.1400069b0
test al, al
jne 0x1400175a3
mov rdx, rbx
mov rcx, rdi
call fcn.140017610
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
Function at 0x14001eb00
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001e864
Function at 0x1400075f0
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 0x14000760c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x1400076eb
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.1400c5128
test eax, eax
je 0x1400076d8
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400c4f3c
test eax, eax
je 0x1400076d8
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400c4f3c
test eax, eax
je 0x1400076d8
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400c4f3c
test eax, eax
je 0x1400076d8
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400c4f3c
test eax, eax
je 0x1400076d8
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400c4f3c
test eax, eax
je 0x1400076cd
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400c4f3c
test eax, eax
jne 0x1400076f0
test rbx, rbx
je 0x1400076d8
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 0x140007710
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
sub rsp, 0x28
cmp dword [0x14012cedc], 0
je 0x140007727
mov eax, 1
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012ab78]
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400077a4
xor edi, edi
nop dword [rax]
mov ecx, dword [0x1401241ec]
cmp ecx, 0xffffffff
je 0x140007774
test ecx, ecx
je 0x1400077c2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1401241ec]
add edx, ebx
sub edx, eax
cmp edx, 5
jle 0x1400077c2
mov edx, 1
mov dword [0x1401241d0], edi
mov ecx, 0x8000012f
call fcn.1400016f0
mov rcx, qword [0x14012ab78]
mov dword [0x1401241d0], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007750
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x20]
mov dword [0x14012cedc], 1
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140007d04
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov word [rax + 0x20], r9w
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x840
mov r13, rcx
xor edi, edi
mov r14d, 0x400
mov byte [rsp + 0x20], dil
mov r8d, r14d
lea rcx, [rsp + 0x21]
xor edx, edx
mov ebp, edi
call fcn.1400e2790
mov r8d, r14d
mov byte [rsp + 0x430], dil
xor edx, edx
lea rcx, [rsp + 0x431]
call fcn.1400e2790
mov r9d, r14d
lea edx, [r14 + 1]
mov r8, r13
lea rcx, [rsp + 0x20]
lea r12, [rsp + 0x20]
lea rbx, [rsp + 0x430]
call fcn.1400ca8b0
mov r14, qword [rsp + 0x8a8]
mov rcx, r13
mov qword [r14], rdi
mov r15, r14
mov byte [rbx], dil
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x140007ea3
cmp word [rax + 0x10], 2
jne 0x140007dfa
cmp word [rax + 0x12], 4
jne 0x140007dfa
mov rsi, qword [rax + 0x18]
jmp 0x140007df2
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x898]
mov edx, dword [rsp + 0x890]
mov ecx, dword [rsp + 0x888]
call fcn.140007c64
mov qword [r15], rax
test rax, rax
je 0x140007e9c
lea r15, [rax + 0x28]
add rsi, 8
mov rax, qword [rsi]
test rax, rax
jne 0x140007dbf
mov r8, qword [rdi]
mov r9d, 0x400
mov rcx, rbx
lea edx, [r9 + 1]
call fcn.1400ca8b0
xor edi, edi
cmp qword [r14], rdi
jne 0x140007e4f
mov rcx, rbx
call fcn.1400ca7a0
test rax, rax
je 0x140007ebc
mov rdx, rbx
mov rcx, r12
call fcn.1400ca9b0
test eax, eax
je 0x140007ebc
inc ebp
cmp ebp, 0x10
je 0x140007ebc
mov rax, r12
mov r12, rbx
mov rbx, rax
jmp 0x140007d8d
mov ecx, edi
cmp dword [rsp + 0x8a0], edi
je 0x140007ec8
mov rcx, rbx
call fcn.1400ca7a0
mov ecx, 1
mov rsi, rax
lea rdx, [rax + 1]
call fcn.1400ca848
mov rdi, rax
test rax, rax
je 0x140007e8a
mov r8, rbx
lea rdx, [rsi + 1]
mov rcx, rax
call fcn.1400ca850
mov rax, qword [r14]
xor ecx, ecx
mov qword [rax + 0x18], rdi
mov rax, qword [r14]
cmp qword [rax + 0x18], rcx
jne 0x140007ec8
mov ecx, 8
jmp 0x140007ec8
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x140007ec8
sub eax, 1
je 0x140007ec3
sub eax, 1
jne 0x140007ec8
mov ecx, 0x2afb
jmp 0x140007ec8
mov ecx, 0x2afa
mov rbx, qword [rsp + 0x880]
mov eax, ecx
add rsp, 0x840
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000851c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
lea rax, [0x140007f38]
movzx r12d, cx
mov qword [rsp + 0x28], rax
lea r14, str.getaddrinfo
lea rax, str.getnameinfo
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], rax
xor ebx, ebx
cmp dword [0x14012ab18], ebx
lea rax, [0x1400082fc]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x140007ee8]
mov qword [rsp + 0x48], rax
je 0x1400085a4
lea rsi, str.getaddrinfo
jmp 0x1400086bb
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rsi, str.getaddrinfo
test eax, eax
je 0x1400086b1
mov r15d, 0x10c
lea r8, [rbp + 0x60]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400ca850
lea r8, str.ws2_32
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400cbb00
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14000861a
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008663
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rbp + 0x60]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400ca850
lea r8, str.wship6
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400cbb00
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400086b1
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400086a8
mov r15d, ebx
lea r14, [rsp + 0x28]
mov rdx, qword [r14 - 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14], rax
test rax, rax
je 0x1400086a8
inc r15d
add r14, 0x10
cmp r15d, 3
jl 0x14000866b
test rdi, rdi
je 0x1400086b1
mov rax, qword [rsp + rbx + 0x28]
mov qword [rbx + rsi + 8], rax
add rbx, 0x10
cmp rbx, 0x30
jl 0x140008692
jmp 0x1400086b1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x14012ab18], 1
lea r11, [rsp + 0x270]
mov rax, r12
mov rbx, qword [r11 + 0x20]
add rax, rax
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rax, qword [rsi + rax*8 + 8]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400087c4
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x20
cmp byte [0x140126b55], 0
mov r8, rdx
mov qword [0x140126ac8], rdx
jne 0x140008953
mov r10, qword [rdx + 0x38]
mov r9d, 1
test r10, r10
je 0x14000887a
cmp byte [r10 + 5], r9b
jne 0x14000887a
cmp byte [r10 + 6], 0
je 0x140008862
mov rcx, qword [rdx + 0x18]
jmp 0x140008826
mov eax, dword [r8 + 4]
cmp dword [rcx + 4], eax
jne 0x14000882b
movzx eax, word [r8 + 2]
cmp word [rcx + 2], ax
jne 0x14000882b
mov r8, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14000880b
mov eax, dword [r8 + 4]
movzx ecx, word [r8 + 2]
cmp byte [r8], 3
je 0x14000883f
and qword [r8 + 0x38], 0
mov r8, qword [r8 + 0x20]
test r8, r8
je 0x140008855
cmp dword [r8 + 4], eax
jne 0x140008855
cmp word [r8 + 2], cx
je 0x140008834
mov edx, 8
mov rcx, r10
call fcn.1400be28c
lea rdx, [0x140100f6c]
lea rcx, [0x140126aa0]
add rsp, 0x20
pop rbp
jmp fcn.140008a00
mov r10d, dword [0x140126b20]
cmp r10d, 3
je 0x1400088f5
mov r11, qword [0x140126aa8]
movabs rbp, 0x2aaaaaaaaaaaaaab
cmp r10d, 4
jne 0x1400088c8
mov rcx, r11
mov rax, rbp
sub rcx, qword [0x140126aa0]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp edx, dword [0x140126b2c]
jle 0x1400088f5
cmp r10d, 5
jne 0x140008926
sub r11, qword [0x140126aa0]
mov rax, rbp
add r11, 0x18
imul r11
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x140126b2c]
jge 0x140008926
mov al, byte [r8]
cmp al, 0x16
jb 0x140008904
cmp al, 0x18
jbe 0x140008916
cmp al, 0x1b
jmp 0x140008911
cmp al, 3
je 0x140008916
cmp al, 4
jne 0x140008913
cmp qword [r8 + 0x10], 0
je 0x140008916
xor r9d, r9d
test r9b, r9b
jne 0x140008926
cmp dword [r8 + 4], 0
jne 0x140008862
mov rcx, qword [0x140126ac0]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008953
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008953
xor edx, edx
jmp 0x140008869
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x14000c740
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
jne 0x14000c793
mov edx, dword [rcx + 0x80]
sub edx, 1
je 0x14000c78c
sub edx, 2
je 0x14000c783
sub edx, 1
je 0x14000c77a
cmp edx, 1
je 0x14000c771
lea rdx, [0x14010101e]
jmp 0x14000c793
lea rdx, str.step_out
jmp 0x14000c793
lea rdx, str.step_over
jmp 0x14000c793
lea rdx, str.step_into
jmp 0x14000c793
lea rdx, [0x140102f54]
mov rcx, qword [rcx + 0x98]
lea rax, [0x14010101e]
test rcx, rcx
je 0x14000c7ae
cmp qword [rcx], 0
cmovne rax, qword [rcx]
mov qword [rsp + 0x28], rax
lea rcx, [rbx + 0x60]
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
lea rdx, str._response_command__s__status__s__reason__s__transaction_id__e___
call fcn.14000d1f8
xor edx, edx
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000c7e0

Function at 0x14000c7e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov r8, qword [rcx + 0x70]
mov rsi, rdx
mov rax, qword [rcx + 0x60]
mov rbp, r8
sub rbp, rdx
mov rdi, rcx
lea rdx, [r11 - 0x48]
mov byte [r8 + rax], 0
mov r8d, 0xa
lea rcx, [rbp + 0x26]
call fcn.1400ca650
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400c0040
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x140103c80]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000e5dc
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 0x14000c890
mov rdx, qword [rdi + 0x60]
lea r8d, [rbp + 1]
mov rcx, qword [rdi + 0x20]
add rdx, rsi
xor r9d, r9d
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000c890
mov qword [rdi + 0x70], rsi
xor eax, eax
jmp 0x14000c89c
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000cde8
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000ce3c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
cmp r8, 0xffffffffffffffff
jne 0x14000ce64
mov rcx, rdx
call fcn.1400ca7a0
mov r8, rax
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r8, 2
jbe 0x14000cf03
lea rcx, [r8 - 3]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
lea r9, [rdi + 2]
shr rdx, 1
inc rdx
imul rax, rdx, 0xfffffffffffffffd
lea rbx, [rdx*4]
add r8, rax
movzx eax, byte [rsi]
movzx ecx, byte [rsi + 1]
shl rax, 8
or rcx, rax
movzx eax, byte [rsi + 2]
shl rcx, 8
add rsi, 3
or rcx, rax
mov rax, rcx
shr rax, 0x12
mov al, byte [rax + r10]
mov byte [r9 - 2], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r10]
mov byte [r9 - 1], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
mov al, byte [rax + r10]
mov byte [r9], al
lea r9, [r9 + 4]
mov al, byte [rcx + r10]
mov byte [r9 - 3], al
sub rdx, 1
jne 0x14000ce9f
test r8, r8
je 0x14000cf62
movzx ecx, byte [rsi]
shl rcx, 0x10
cmp r8, 1
jbe 0x14000cf20
movzx eax, byte [rsi + 1]
shl rax, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
mov al, byte [rax + r10]
mov byte [rbx + rdi], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r10]
mov byte [rbx + rdi + 1], al
cmp r8, 1
jbe 0x14000cf53
shr rcx, 6
and ecx, 0x3f
mov al, byte [rcx + r10]
jmp 0x14000cf55
mov al, 0x3d
mov byte [rbx + rdi + 2], al
mov byte [rbx + rdi + 3], 0x3d
add rbx, 4
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e394
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
mov rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x14000e3f7
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e42a
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000e3ec
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e3df
call fcn.1400c50b8
mov edx, 0x28
mov rcx, rdi
call fcn.1400be28c
and qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
jmp 0x14000e42a
xor edx, edx
mov rcx, rbx
call fcn.14000e7f4
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14000e634
mov rax, qword [rbx + 8]
mov r8d, edi
mov rcx, rsi
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 rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f150
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdi, r9
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov eax, dword [0x140126b28]
test eax, eax
je 0x14000f1a3
lea r8, str.stdout
lea rcx, [0x140126aa0]
call fcn.14000c640
mov eax, dword [0x140126b28]
cmp eax, 2
je 0x14000f33c
lea r12, vtable.TextStream.0
mov qword [rbp - 0x19], r12
xor r15d, r15d
mov qword [rbp - 0x11], r15
mov dword [rbp - 9], r15d
mov dword [rbp - 5], 0xffffffff
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
mov ecx, dword [0x14012d060]
cmp ecx, 0xffffffff
je 0x14000f1f1
mov dword [rbp - 5], ecx
lea rdx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x14000f1f1
mov byte [rbp + 5], r15b
lea r13, vtable.TextFile.0
mov qword [rbp - 0x19], r13
mov qword [rbp + 0x27], 0xffffffffffffffff
mov r9d, dword [r14 + 0x7a0]
mov r8d, 2
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.14009de50
mov r8d, esi
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.14009e5f0
mov r8d, dword [rbp - 0xd]
test r8d, r8d
je 0x14000f27b
cmp qword [rbp + 0x17], 0
jne 0x14000f27b
mov rax, qword [rbp - 0x19]
mov r9, qword [rax + 0x20]
lea rax, [fcn.14009eae0]
mov rdx, qword [rbp + 0x1f]
cmp r9, rax
jne 0x14000f26d
mov dword [rbp - 0x29], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x29]
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14000f274
lea rcx, [rbp - 0x19]
call r9
mov r8d, r15d
mov dword [rbp - 0xd], r15d
mov word [rbp + 0x13], r15w
mov rax, qword [rbp - 0x19]
mov rdx, qword [rax + 0x10]
lea rax, [fcn.14009ea70]
cmp rdx, rax
jne 0x14000f2c4
mov rcx, qword [rbp + 0x27]
cmp rcx, 0xffffffffffffffff
je 0x14000f2d2
mov eax, dword [rbp - 0x11]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x14000f2b7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp - 0xd]
mov rcx, 0xffffffffffffffff
mov qword [rbp + 0x27], rcx
jmp 0x14000f2d2
lea rcx, [rbp - 0x19]
call rdx
mov rcx, qword [rbp + 0x27]
mov r8d, dword [rbp - 0xd]
mov qword [rbp - 0x19], r13
test r8d, r8d
je 0x14000f301
cmp qword [rbp + 0x17], 0
jne 0x14000f301
mov dword [rbp - 0x29], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x29]
mov rdx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0xd], r15d
mov rcx, qword [rbp + 0x27]
mov word [rbp + 0x13], r15w
cmp rcx, 0xffffffffffffffff
je 0x14000f329
mov eax, dword [rbp - 0x11]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x14000f321
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x27], 0xffffffffffffffff
mov qword [rbp - 0x19], r12
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14000f33c
call fcn.1400c50b8
nop
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret