joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e4ab0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140169540]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1400e4af4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400e4b5a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400e4b91
test eax, eax
js 0x1400e4b6b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400e4b84
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400df9c0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400daa90
mov ecx, 7
int 0x29
ud2

Function at 0x1400e5510
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400e5548
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.1400e5560
nop
add rsp, 0x38
ret

Function at 0x1400e5560
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x1400e55a3
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x1400dd860]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400fc6a0
ud2
Function at 0x1400f43c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400f443a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400f4430
cmp r10, r11
jb 0x1400f44d3
cmp r10, rdx
ja 0x1400f44e7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400f4432
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400f4410
jmp 0x1400f44a7
ja 0x1400f443a
mov r11, r10
cmp rax, r8
jne 0x1400f43e2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400f44ab
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400f4480
mov r8, r10
sub ecx, r9d
jns 0x1400f449e
jmp 0x1400f44ad
cmp r10, rdx
je 0x1400f44b9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400f44ad
xor al, 1
cmp r8, rdx
jne 0x1400f4460
jmp 0x1400f44ad
xor eax, eax
jmp 0x1400f44ad
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400fc740
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400fcc80
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400fcc00
ud2

Function at 0x1400f6800
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f684a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f684a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f684a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f684a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f684a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f684c
xor al, al
add rsp, 0x28
ret
Function at 0x140004280
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, [0x140122ea8]
mov esi, r12d
lea r14, [0x1401229a0]
cmp byte [r15], r12b
je 0x140004354
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 0x140004354
mov eax, dword [rsp + 0x40]
mov ebp, eax
xor ebp, dword [r14]
mov dword [r14], eax
and ebp, eax
je 0x140004354
movzx edx, word [0x140122ed8]
mov ebx, r12d
cmp r12w, dx
jae 0x140004354
mov rdi, r12
nop
mov rax, qword [0x140122ec8]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x140004347
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x140004347
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x140004347
mov rcx, qword [0x140122a70]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x140122ed8]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140004300
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x1400042b2
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 0x140007680
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 0x14000769c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x14000777b
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.1400be350
test eax, eax
je 0x140007768
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400be170
test eax, eax
je 0x140007768
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400be170
test eax, eax
je 0x140007768
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400be170
test eax, eax
je 0x140007768
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400be170
test eax, eax
je 0x140007768
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400be170
test eax, eax
je 0x14000775d
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400be170
test eax, eax
jne 0x140007780
test rbx, rbx
je 0x140007768
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 0x1400077a0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
sub rsp, 0x28
cmp dword [0x140124d8c], 0
je 0x1400077b7
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 [0x140122a70]
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140007834
xor edi, edi
nop dword [rax]
mov ecx, dword [0x14011c19c]
cmp ecx, 0xffffffff
je 0x140007804
test ecx, ecx
je 0x140007852
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14011c19c]
add edx, ebx
sub edx, eax
cmp edx, 5
jle 0x140007852
mov edx, 1
mov dword [0x14011c180], edi
mov ecx, 0x8000012f
call fcn.140001710
mov rcx, qword [0x140122a70]
mov dword [0x14011c180], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400077e0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x20]
mov dword [0x140124d8c], 1
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140007da8
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
mov edi, 0x401
mov r8d, edi
lea rcx, [rsp + 0x20]
xor edx, edx
xor ebp, ebp
call fcn.1400ba590
mov r8d, edi
lea rcx, [rsp + 0x430]
xor edx, edx
call fcn.1400ba590
lea r9d, [rdi - 1]
mov r8, r13
mov edx, edi
lea rcx, [rsp + 0x20]
lea r12, [rsp + 0x20]
lea rbx, [rsp + 0x430]
call fcn.1400c3d60
mov r14, qword [rsp + 0x8a8]
and qword [r14], 0
mov rcx, r13
mov r15, r14
mov byte [rbx], 0
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x140007f36
cmp word [rax + 0x10], 2
jne 0x140007e8e
cmp word [rax + 0x12], 4
jne 0x140007e8e
mov rsi, qword [rax + 0x18]
jmp 0x140007e86
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x898]
mov edx, dword [rsp + 0x890]
mov ecx, dword [rsp + 0x888]
call fcn.140007d08
mov qword [r15], rax
test rax, rax
je 0x140007f2f
lea r15, [rax + 0x28]
add rsi, 8
mov rax, qword [rsi]
test rax, rax
jne 0x140007e53
mov r8, qword [rdi]
mov r9d, 0x400
mov rcx, rbx
lea edx, [r9 + 1]
call fcn.1400c3d60
cmp qword [r14], 0
jne 0x140007ee2
mov rcx, rbx
call fcn.1400c3c50
test rax, rax
je 0x140007f4f
mov rdx, rbx
mov rcx, r12
call fcn.1400c3e60
test eax, eax
je 0x140007f4f
inc ebp
cmp ebp, 0x10
je 0x140007f4f
mov rax, r12
mov r12, rbx
mov rbx, rax
jmp 0x140007e20
xor ecx, ecx
cmp dword [rsp + 0x8a0], ecx
je 0x140007f5b
mov rcx, rbx
call fcn.1400c3c50
mov ecx, 1
mov rsi, rax
lea rdx, [rax + 1]
call fcn.1400c3cf8
mov rdi, rax
test rax, rax
je 0x140007f1d
mov r8, rbx
lea rdx, [rsi + 1]
mov rcx, rax
call fcn.1400c3d00
mov rax, qword [r14]
xor ecx, ecx
mov qword [rax + 0x18], rdi
mov rax, qword [r14]
cmp qword [rax + 0x18], rcx
jne 0x140007f5b
mov ecx, 8
jmp 0x140007f5b
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x140007f5b
sub eax, 1
je 0x140007f56
sub eax, 1
jne 0x140007f5b
mov ecx, 0x2afb
jmp 0x140007f5b
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 0x1400085ac
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, [0x140007fc8]
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 [0x140122a18], ebx
lea rax, [0x14000838c]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x140007f78]
mov qword [rsp + 0x48], rax
je 0x140008634
lea rsi, str.getaddrinfo
jmp 0x14000874b
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rsi, str.getaddrinfo
test eax, eax
je 0x140008741
mov r15d, 0x10c
lea r8, [rbp + 0x60]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400c3d00
lea r8, str.ws2_32
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400c4f84
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400086aa
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400086f3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rbp + 0x60]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400c3d00
lea r8, str.wship6
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400c4f84
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140008741
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140008738
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 0x140008738
inc r15d
add r14, 0x10
cmp r15d, 3
jl 0x1400086fb
test rdi, rdi
je 0x140008741
mov rax, qword [rsp + rbx + 0x28]
mov qword [rbx + rsi + 8], rax
add rbx, 0x10
cmp rbx, 0x30
jl 0x140008722
jmp 0x140008741
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x140122a18], 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 0x140008878
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x20
mov qword [0x14011ea68], rdx
mov r8, rdx
mov r10, qword [rdx + 0x38]
mov r9d, 1
test r10, r10
je 0x14000894d
cmp byte [r10 + 5], r9b
jne 0x14000894d
cmp byte [r10 + 6], 0
je 0x140008935
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x14000891d
jmp 0x1400088c8
cmp byte [rax], 4
jne 0x14000891d
mov rcx, qword [rax + 0x30]
cmp byte [rcx], 3
jne 0x14000891d
cmp qword [rcx + 0x10], 0
je 0x14000891d
mov rdx, qword [rcx + 0x28]
test rdx, rdx
je 0x14000891d
mov eax, dword [rcx + 4]
cmp dword [rdx + 4], eax
jne 0x14000891d
movzx eax, word [rcx + 2]
cmp word [rdx + 2], ax
jne 0x14000891d
mov rax, qword [rcx + 0x18]
mov r8, rcx
test rax, rax
jne 0x1400088bf
jmp 0x14000891d
mov rax, qword [r8 + 0x20]
test rax, rax
je 0x140008928
and qword [rax + 0x38], 0
mov r8, qword [rax + 0x20]
test r8, r8
je 0x140008928
mov r8, qword [r8 + 0x20]
test r8, r8
je 0x140008928
cmp byte [r8], 3
je 0x1400088fd
and qword [r8 + 0x38], 0
mov edx, 8
mov rcx, r10
call fcn.1400b7abc
lea rdx, [0x1400f9edc]
lea rcx, [0x14011ea40]
add rsp, 0x20
pop rbp
jmp fcn.140008ad4
mov r10d, dword [0x14011eac0]
cmp r10d, 3
je 0x1400089c8
mov r11, qword [0x14011ea48]
movabs rbp, 0x2aaaaaaaaaaaaaab
cmp r10d, 4
jne 0x14000899b
mov rcx, r11
mov rax, rbp
sub rcx, qword [0x14011ea40]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp edx, dword [0x14011eacc]
jle 0x1400089c8
cmp r10d, 5
jne 0x1400089f9
sub r11, qword [0x14011ea40]
mov rax, rbp
add r11, 0x18
imul r11
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x14011eacc]
jge 0x1400089f9
mov al, byte [r8]
cmp al, 0x16
jb 0x1400089d7
cmp al, 0x18
jbe 0x1400089e9
cmp al, 0x1b
jmp 0x1400089e4
cmp al, 3
je 0x1400089e9
cmp al, 4
jne 0x1400089e6
cmp qword [r8 + 0x10], 0
je 0x1400089e9
xor r9d, r9d
test r9b, r9b
jne 0x1400089f9
cmp dword [r8 + 4], 0
jne 0x140008935
mov rcx, qword [0x14011ea60]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008a26
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008a26
xor edx, edx
jmp 0x14000893c
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x14000c7c0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
jne 0x14000c813
mov edx, dword [rcx + 0x80]
sub edx, 1
je 0x14000c80c
sub edx, 2
je 0x14000c803
sub edx, 1
je 0x14000c7fa
cmp edx, 1
je 0x14000c7f1
lea rdx, [0x1400f9f8e]
jmp 0x14000c813
lea rdx, str.step_out
jmp 0x14000c813
lea rdx, str.step_over
jmp 0x14000c813
lea rdx, str.step_into
jmp 0x14000c813
lea rdx, [0x1400fbec4]
mov rcx, qword [rcx + 0x98]
lea rax, [0x1400f9f8e]
test rcx, rcx
je 0x14000c82e
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.14000d26c
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000c85c

Function at 0x14000c85c
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.1400c3b04
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400b9f08
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x1400fcc90]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000e68c
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 0x14000c90d
mov r8d, 1
lea rdx, [0x1400f9b50]
lea rcx, [rdi + 0x60]
call fcn.14000d1f4
test eax, eax
jne 0x14000c90d
mov r8d, dword [rdi + 0x70]
xor r9d, r9d
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000c90d
and qword [rdi + 0x70], 0
and dword [rdi + 0x78], 0
xor eax, eax
jmp 0x14000c919
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000ce54
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000cea8
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 0x14000ced0
mov rcx, rdx
call fcn.1400c3c50
mov r8, rax
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r8, 2
jbe 0x14000cf6f
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 + 1]
movzx ecx, byte [rsi]
shl rcx, 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 0x14000cf0b
test r8, r8
je 0x14000cfce
movzx ecx, byte [rsi]
shl rcx, 0x10
cmp r8, 1
jbe 0x14000cf8c
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 0x14000cfbf
shr rcx, 6
and ecx, 0x3f
mov al, byte [rcx + r10]
jmp 0x14000cfc1
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 0x14000e444
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 0x14000e4a7
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e4da
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000e49c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e48f
call fcn.1400be2e0
mov edx, 0x28
mov rcx, rdi
call fcn.1400b7abc
and qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
jmp 0x14000e4da
xor edx, edx
mov rcx, rbx
call fcn.14000e8a0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14000e6e4
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 0x140012030
Capabilities:
Print debug messages

Disassembly:
test edx, edx
je 0x1400121b7
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
mov eax, 0x4040
call fcn.1400d7a10
sub rsp, rax
mov qword [rsp + 0x4060], rbx
mov r14, r9
mov rbx, qword [rsp + 0x4080]
mov r12, r8
mov qword [rsp + 0x4068], rbp
mov esi, edx
mov qword [rsp + 0x4070], r15
mov rdi, rcx
test rbx, rbx
jne 0x14001209a
mov rbx, qword [rcx + 0x6b0]
test rbx, rbx
jne 0x14001209a
mov ecx, dword [rcx + 0x2d0]
movzx eax, word [rdi + 0x2d4]
jmp 0x1400120a2
movzx ecx, word [rbx + 2]
movzx eax, word [rbx + 4]
mov r9, qword [0x140122ef8]
lea rdx, str.Warning:
movzx ecx, cx
lea r8, str._s___d__:____s_s_n
mov qword [rsp + 0x30], r12
mov r15d, 0x2000
mov qword [rsp + 0x28], rdx
mov edx, r15d
movzx eax, ax
mov r9, qword [r9 + rcx*8]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], eax
call fcn.14009a330
cmp word [r14], 0
movsxd rbp, eax
je 0x14001210c
lea rax, [rsp + 0x40]
sub r15d, ebp
lea rcx, [rax + rbp*2]
mov edx, r15d
mov r9, r14
lea r8, str._____Specifically:__s_n
call fcn.14009a330
add ebp, eax
mov r15, qword [rsp + 0x4070]
cmp esi, 3
jne 0x140012132
lea r9, [0x1400fdcac]
mov r8d, ebp
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000f3c0
jmp 0x140012193
mov eax, dword [0x14011eac4]
test eax, eax
je 0x14001215a
lea r8, str.stderr
lea rdx, [rsp + 0x40]
lea rcx, [0x14011ea40]
call fcn.14000c6cc
mov eax, dword [0x14011eac4]
cmp eax, 2
je 0x14001216a
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x140012193
mov qword [rsp + 0x28], 0
lea r8d, [rsi - 1]
mov r9, r14
mov qword [rsp + 0x20], rbx
mov rdx, r12
lea rcx, [0x140124530]
call fcn.1400106a0
mov rbx, qword [rsp + 0x4060]
mov rbp, qword [rsp + 0x4068]
mov rsi, qword [rsp + 0x4078]
add rsp, 0x4040
pop r14
pop r12
pop rdi
ret