joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400049e0
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, [0x140143738]
mov esi, r12d
lea r14, [0x1401424f0]
cmp byte [r15], r12b
je 0x140004ab4
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 0x140004ab4
mov eax, dword [rsp + 0x40]
mov ebp, dword [r14]
xor ebp, eax
mov dword [r14], eax
and ebp, eax
je 0x140004ab4
movzx edx, word [0x14014376c]
mov ebx, r12d
cmp r12w, dx
jae 0x140004ab4
mov rdi, r12
nop
mov rax, qword [0x140143758]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x140004aa7
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x140004aa7
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x140004aa7
mov rcx, qword [0x140142730]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x14014376c]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140004a60
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x140004a12
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 0x140004fa0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x14013dbe0]
movzx edi, r9b
mov r9d, ecx
movzx esi, dl
test r8b, r8b
je 0x140004fd9
inc dword [0x14014259c]
add rbx, 0x150
mov qword [0x14013dbe0], rbx
mov rax, rbx
lea rcx, [0x1401425a0]
mov edx, 2
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax + 0x60], xmm0
sub rax, 0xffffffffffffff80
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140004ff0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
mov dword [rbx + 0x3c], r9d
test r8b, r8b
je 0x14000507a
lea rcx, [0x140145c90]
call fcn.140035340
cmp dword [0x14014272c], 0
mov qword [0x140146880], 0
je 0x1400050b1
mov rax, qword [0x1401403f0]
lea rcx, [0x140103554]
test rax, rax
je 0x1400050ab
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x14000513e
movzx eax, byte [rbx + 0x12e]
test al, al
jne 0x1400050e2
cmp dil, 0x65
sete al
mov byte [rbx + 0x12e], al
jne 0x1400050e2
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14014688c], 0
je 0x1400050f4
cmp dword [0x140146888], 0
jne 0x1400050f8
test al, al
je 0x14000513e
mov byte [rbx + 0x12c], 0
test al, al
jne 0x14000513e
cmp dword [0x14014688c], 0
jge 0x140005126
mov dword [rbx + 0x120], 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14014688c]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400070a0
Capabilities:
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
jne 0x1400070cc
call fcn.1400073c0
test eax, eax
jne 0x1400070cc
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400071f0
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14000711a
cmp dword [rbx + 0x2c], eax
je 0x140007101
xor edi, edi
cmp qword [rbx + 0x10], rdi
je 0x1400070f5
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x140103c68]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400071f0
mov rdx, qword [rbx + 8]
xor edi, edi
test rdx, rdx
je 0x140007168
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x30], rsi
xor sil, sil
test rax, rax
je 0x140007151
cmp word [rax], di
mov rcx, rdx
sete sil
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x28], edi
test sil, sil
mov rsi, qword [rsp + 0x30]
je 0x14000719c
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp dword [rbx + 0x2c], edi
je 0x14000718c
cmp qword [rbx + 0x10], rdi
je 0x140007180
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov ecx, ntohs
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400071b2
mov qword [rbx + 8], rdi
jmp 0x140007168
cmp dword [rbx + 0x2c], edi
je 0x1400071d6
cmp qword [rbx + 0x10], rdi
je 0x1400071ca
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x140103c88]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400071f0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x2c], esi
je 0x14000722b
cmp qword [rcx + 0x10], rsi
je 0x14000721f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], esi
mov qword [rbx], rsi
cmp qword [rbx + 0x18], rsi
je 0x140007242
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], esi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140007255
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000727f
lea r8, [0x140103554]
mov rdx, rdi
lea rcx, [0x140145c90]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400570c0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400072a0
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 0x1400072bc
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x14000739b
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.1400dc1dc
test eax, eax
je 0x140007388
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400da874
test eax, eax
je 0x140007388
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400da874
test eax, eax
je 0x140007388
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400da874
test eax, eax
je 0x140007388
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400da874
test eax, eax
je 0x140007388
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400da874
test eax, eax
je 0x14000737d
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400da874
test eax, eax
jne 0x1400073a0
test rbx, rbx
je 0x140007388
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 0x1400073c0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400073da
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140142730]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140007454
xor esi, esi
nop
mov ecx, dword [0x14013dbf0]
cmp ecx, 0xffffffff
je 0x140007424
test ecx, ecx
je 0x140007470
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14013dbf0]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140007470
mov edx, 1
mov dword [0x14013dbd4], esi
mov ecx, 0x8000012f
call fcn.140001b10
mov rcx, qword [0x140142730]
mov dword [0x14013dbd4], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007400
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140007730
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 r15d, r15d
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x401
mov r12d, r15d
call fcn.1400d8190
xor edx, edx
lea rcx, [rsp + 0x440]
mov r8d, 0x401
call fcn.1400d8190
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.1400df478
mov r13, qword [rsp + 0x8c8]
lea rbp, [r15 - 1]
nop dword [rax]
mov rcx, r14
mov qword [r13], r15
mov rsi, r13
mov byte [rdi], r15b
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x140007930
cmp word [rax + 0x10], 2
jne 0x140007840
cmp word [rax + 0x12], 4
jne 0x140007840
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x14000783b
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x8b8]
mov edx, dword [rsp + 0x8b0]
mov ecx, dword [rsp + 0x8a8]
call fcn.140007690
mov qword [rsi], rax
test rax, rax
je 0x1400078c3
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x140007800
mov rbx, qword [rsp + 0x20]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.1400df478
cmp qword [r13], r15
jne 0x1400078ce
mov rax, rbp
nop
inc rax
cmp byte [rdi + rax], r15b
jne 0x140007860
test rax, rax
je 0x14000794a
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 0x140007893
inc rax
test ecx, ecx
jne 0x140007880
test edx, edx
je 0x14000794a
inc r12d
cmp r12d, 0x10
je 0x14000794a
mov r14, qword [rsp + 0x8a0]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x20], rbx
jmp 0x1400077c0
mov r15d, 8
jmp 0x140007960
cmp dword [rsp + 0x8c0], r15d
je 0x140007960
nop dword [rax]
cmp byte [rdi + rbp + 1], r15b
lea rbp, [rbp + 1]
jne 0x1400078e0
lea rdx, [rbp + 1]
mov ecx, 1
call fcn.1400df410
mov rbx, rax
test rax, rax
jne 0x140007906
mov rbx, r15
jmp 0x140007915
mov r8, rdi
lea rdx, [rbp + 1]
mov rcx, rax
call fcn.1400df418
mov rax, qword [r13]
mov ecx, 8
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], r15
cmove r15d, ecx
jmp 0x140007960
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x14000795a
sub ecx, 1
je 0x140007952
sub ecx, 1
jne 0x14000795a
mov r15d, 0x2afb
jmp 0x140007960
mov r15d, 0x2afa
jmp 0x140007960
mov r15d, 0x2af9
mov eax, r15d
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007ff0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x140148280], 0
lea rax, [0x1400079d0]
mov qword [rsp + 0x28], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rax
movzx ebp, cx
lea rax, [0x140007dc0]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [fcn.140007980]
mov qword [rsp + 0x48], rax
jne 0x1400081aa
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400081a0
lea r8, [rsp + 0x160]
mov qword [rsp + 0x280], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df418
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df54c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400080d2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008132
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df418
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.1400df54c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008198
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008132
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140008198
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 0x140008187
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008141
mov rax, qword [rsp + 0x28]
mov qword [0x140140980], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140140990], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.140007980], rax
jmp 0x140008190
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x140148280], 1
mov rbx, qword [rsp + 0x290]
lea rcx, str.getaddrinfo
movzx eax, bp
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x1400081d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov qword [0x140140368], rdx
mov r8, rdx
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140008235
cmp byte [rcx + 5], 1
jne 0x140008235
xor ebx, ebx
cmp byte [rcx + 6], bl
je 0x140008206
mov qword [rdx + 0x38], rbx
lea edx, [rbx + 8]
call fcn.1400d62f0
cmp dword [0x1401403b0], 2
je 0x14000822d
lea rcx, [0x140140340]
call fcn.140008340
test eax, eax
jne 0x14000822b
lea rcx, [0x140140340]
call fcn.140008470
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov r9d, dword [0x1401403b0]
cmp r9d, 3
je 0x1400082fb
cmp r9d, 4
jne 0x1400082c0
mov rcx, qword [0x140140348]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x140140340]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1401403bc]
jle 0x1400082fb
mov rcx, qword [0x140140360]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008335
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008335
lea rcx, [0x140140340]
add rsp, 0x20
pop rbx
jmp fcn.140008470
cmp r9d, 5
jne 0x140008281
mov rcx, qword [0x140140348]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x140140340]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1401403bc]
jge 0x140008281
movzx eax, byte [r8]
cmp al, 0x77
je 0x140008281
cmp al, 0x78
jne 0x140008316
cmp qword [r8 + 0x10], 0
je 0x140008281
cmp dword [r8 + 4], 0
je 0x140008281
cmp r9d, 2
jne 0x14000820f
xor ebx, ebx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000c8b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov r10, r8
mov rbx, rcx
test rdx, rdx
jne 0x14000c903
mov edx, dword [rcx + 0x70]
sub edx, 1
je 0x14000c8fc
sub edx, 2
je 0x14000c8f3
sub edx, 1
je 0x14000c8ea
cmp edx, 1
je 0x14000c8e1
lea rdx, [0x140103afe]
jmp 0x14000c903
lea rdx, str.step_out
jmp 0x14000c903
lea rdx, str.step_over
jmp 0x14000c903
lea rdx, str.step_into
jmp 0x14000c903
lea rdx, [0x140103dc8]
mov rax, qword [rcx + 0x88]
lea r8, [0x140103afe]
test rax, rax
je 0x14000c920
mov rax, qword [rax]
test rax, rax
cmovne r8, rax
mov qword [rsp + 0x28], r8
add rcx, 0x50
mov qword [rsp + 0x20], r9
mov r8, rdx
mov r9, r10
lea rdx, str._response_command__s__status__s__reason__s__transaction_id__e___
call fcn.14000d320
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000c950

Function at 0x14000c950
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 + 0x60]
mov r8d, 0xa
add rcx, 0x26
call fcn.1400da68c
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400d7ae4
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x140104b60]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000e4d0
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 0x14000ca1d
cmp dword [rdi + 0x68], 0
jne 0x14000ca1d
mov rdx, qword [rdi + 0x60]
lea rcx, [rdi + 0x50]
inc rdx
call fcn.14000da20
test eax, eax
jne 0x14000ca1d
mov rcx, qword [rdi + 0x50]
xor r9d, r9d
add rcx, qword [rdi + 0x60]
movzx eax, byte [0x140103554]
mov byte [rcx], al
inc qword [rdi + 0x60]
mov r8d, dword [rdi + 0x60]
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000ca1d
xor eax, eax
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x68], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d020
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000d770
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 0x14000d8fc
movabs rbp, 0xaaaaaaaaaaaaaaab
test r9b, r9b
jne 0x14000d7d1
lea rdx, [r8 - 1]
mov rax, rbp
mul rdx
shr rdx, 1
lea rdx, [rdx*4 + 5]
add rdx, qword [rcx + 0x10]
call fcn.14000da20
test eax, eax
je 0x14000d7d1
mov eax, 0x3e6
jmp 0x14000d8fe
test rdi, rdi
je 0x14000d8fc
mov r9, qword [rsi + 0x10]
xor r8d, r8d
add r9, qword [rsi]
cmp rbx, 0xffffffffffffffff
jne 0x14000d7f9
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], r8b
jne 0x14000d7f0
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp rbx, 2
jbe 0x14000d88d
lea rcx, [rbx - 3]
mov rax, rbp
mul rcx
shr rdx, 1
inc rdx
imul rax, rdx, 0xfffffffffffffffd
add rbx, rax
movzx eax, byte [rdi + 1]
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 + r10]
mov byte [r9 + r8], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r9 + r8 + 1], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r9 + r8 + 2], al
movzx eax, byte [rcx + r10]
mov byte [r9 + r8 + 3], al
add r8, 4
sub rdx, 1
jne 0x14000d821
test rbx, rbx
je 0x14000d8f3
movzx ecx, byte [rdi]
shl rcx, 0x10
cmp rbx, 1
jbe 0x14000d8aa
movzx eax, byte [rdi + 1]
shl rax, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [r8 + r9], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r8 + r9 + 1], al
cmp rbx, 1
jbe 0x14000d8e2
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r10]
jmp 0x14000d8e4
mov al, 0x3d
mov byte [r8 + r9 + 2], al
mov byte [r8 + r9 + 3], 0x3d
add r8, 4
mov byte [r8 + r9], 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 0x14000e090
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 0x14000e107
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e13a
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000e0e8
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e0db
call fcn.1400dc1c0
mov edx, 0x28
mov rcx, rdi
call fcn.1400d62f0
mov qword [rbx + 8], 0
mov rax, rbx
mov byte [rbx + 0x10], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov rcx, rbx
call fcn.14000e730
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14000e530
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 0x14000f020
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp byte [0x140146870], 0
mov rbp, rdx
mov rdi, rcx
je 0x14000f0fa
mov esi, dword gs:[0x48]
cmp dword [0x140145c60], esi
je 0x14000f05c
mov rcx, qword [0x140145c68]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000f063
cmp word [rdi], 0
je 0x14000f109
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov rdx, rdi
mov dword [rsp + 0x20], 3
lea rcx, [0x140145c90]
call fcn.140048200
test rax, rax
jne 0x14000f0ce
cmp byte [rsp + 0x60], al
lea rcx, [0x140145c90]
mov r9d, dword [rsp + 0x68]
mov r8, rbx
setne al
mov rdx, rdi
inc eax
mov dword [rsp + 0x20], eax
call fcn.140048730
test rax, rax
je 0x14000f109
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rbp
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400be640
cmp dword [0x140145c60], esi
je 0x14000f0fa
mov rcx, qword [0x140145c68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp dword [0x140145c60], esi
je 0x14000f11e
mov rcx, qword [0x140145c68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018ee0
Capabilities:
Create thread

Disassembly:
or byte [0x1401436a6], 2
cmp qword [0x140142758], 0
jne 0x140018efd
movzx edx, word [0x14014376c]
jmp fcn.1400147f0
ret