joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002194c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140061028]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400049f0
mov rcx, qword [0x1400622c8]
lea rdx, [rbp - 0x28]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x20]
sub ecx, dword [rbp - 0x28]
movd xmm1, ecx
mov ecx, dword [rbp - 0x1c]
sub ecx, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x10]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x10]
xorps xmm1, xmm1
sub rax, qword [0x1400622d0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400622d8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x10]
mov qword [0x1400622d0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.1400049f0
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140021a75
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x18]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x18], ecx
mov rcx, qword [0x1400622c8]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400622c8]
jne 0x140021aca
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140021aca
mov rcx, qword [0x1400622c8]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140021aca
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140021ad8
or eax, 0xffffffff
jmp 0x140021ae5
mov rax, qword [0x140062190]
mov eax, dword [rax + 0x1d70]
cmp dword [0x1400615b8], eax
je 0x140021af8
mov dword [0x1400615b8], eax
call fcn.1400218a0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140032840
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14002f084
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140061028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
lea r8, [0x14002efc4]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x98], rdi
call qword [sym.imp.GDI32.dll_GetStockObject]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea rsi, str.notepad.exe
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x60]
lea rax, [0x140031524]
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 3
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x14002f14c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rsi
call fcn.1400321f8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], rdi
mov r9d, 0x80000000
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
mov rdx, rsi
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x140062320], rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140062320]
lea rdx, [0x140059580]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140062320]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140062320]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140032840
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400335cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140033616
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140033616
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140033616
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140033616
cmp dword [rcx + 0x84], 0xe
jbe 0x140033616
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140033618
xor al, al
add rsp, 0x28
ret
Function at 0x140004e00
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, [0x140128a68]
mov esi, r12d
lea r14, [0x140127820]
cmp byte [r15], r12b
je 0x140004ed4
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WSOCK32.dll_gethostbyname
mov ecx, esi
mov dword [rsp + 0x24], pe_nt_image_headers64
call qword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x140004ed4
mov eax, dword [rsp + 0x40]
mov ebp, eax
xor ebp, dword [r14]
mov dword [r14], eax
and ebp, eax
je 0x140004ed4
movzx edx, word [0x140128a9c]
mov ebx, r12d
cmp r12w, dx
jae 0x140004ed4
mov rdi, r12
nop
mov rax, qword [0x140128a88]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x140004ec7
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x140004ec7
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x140004ec7
mov rcx, qword [0x140127a60]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x140128a9c]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140004e80
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x140004e32
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 0x1400075e0
Capabilities:
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
jne 0x14000760c
call fcn.140007900
test eax, eax
jne 0x14000760c
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140007730
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14000765a
cmp dword [rbx + 0x2c], eax
je 0x140007641
xor edi, edi
cmp qword [rbx + 0x10], rdi
je 0x140007635
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, [0x1400efef8]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x140007730
mov rdx, qword [rbx + 8]
xor edi, edi
test rdx, rdx
je 0x1400076a8
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x30], rsi
xor sil, sil
test rax, rax
je 0x140007691
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 0x1400076dc
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp dword [rbx + 0x2c], edi
je 0x1400076cc
cmp qword [rbx + 0x10], rdi
je 0x1400076c0
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 0x1400076f2
mov qword [rbx + 8], rdi
jmp 0x1400076a8
cmp dword [rbx + 0x2c], edi
je 0x140007716
cmp qword [rbx + 0x10], rdi
je 0x14000770a
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, [0x1400eff18]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x140007730
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 0x14000776b
cmp qword [rcx + 0x10], rsi
je 0x14000775f
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 0x140007782
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 0x140007795
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x1400077bf
lea r8, [0x1400ef7e4]
mov rdx, rdi
lea rcx, [0x14012afc0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005fed0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400077e0
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 0x1400077fc
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x1400078e2
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 qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x1400078cf
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400078cf
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400078cf
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400078cf
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400078cf
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400078c4
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400078e7
test rbx, rbx
je 0x1400078cf
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 0x140007900
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x14000791a
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 [0x140127a60]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140007994
xor esi, esi
nop
mov ecx, dword [0x140124210]
cmp ecx, 0xffffffff
je 0x140007964
test ecx, ecx
je 0x1400079b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140124210]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x1400079b0
mov edx, 1
mov dword [0x1401241f4], esi
mov ecx, 0x8000012f
call fcn.140001a20
mov rcx, qword [0x140127a60]
mov dword [0x1401241f4], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007940
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 0x140007b90
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 sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x440]
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
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 qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
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 0x140007d82
cmp word [rax + 0x10], 2
jne 0x140007ca0
cmp word [rax + 0x12], 4
jne 0x140007ca0
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x140007c9b
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x8b8]
mov edx, dword [rsp + 0x8b0]
mov ecx, dword [rsp + 0x8a8]
call fcn.140007af0
mov qword [rsi], rax
test rax, rax
je 0x140007d7a
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x140007c60
mov rbx, qword [rsp + 0x20]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp qword [r13], r15
jne 0x140007d23
mov rax, rbp
nop
inc rax
cmp byte [rdi + rax], r15b
jne 0x140007cc0
test rax, rax
je 0x140007d9c
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 0x140007cf3
inc rax
test ecx, ecx
jne 0x140007ce0
test edx, edx
je 0x140007d9c
inc r12d
cmp r12d, 0x10
je 0x140007d9c
mov r14, qword [rsp + 0x8a0]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x20], rbx
jmp 0x140007c20
cmp dword [rsp + 0x8c0], r15d
je 0x140007db2
cmp byte [rdi + rbp + 1], r15b
lea rbp, [rbp + 1]
jne 0x140007d31
lea rdx, [rbp + 1]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x140007d58
mov rbx, r15
jmp 0x140007d68
mov r8, rdi
lea rdx, [rbp + 1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], r15
jne 0x140007db2
mov r15d, 8
jmp 0x140007db2
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x140007dac
sub ecx, 1
je 0x140007da4
sub ecx, 1
jne 0x140007dac
mov r15d, 0x2afb
jmp 0x140007db2
mov r15d, 0x2afa
jmp 0x140007db2
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 0x1400084c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x14012d5b0], 0
lea rax, [0x140007e30]
mov qword [rsp + 0x28], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140008290]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x140007dd0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
jne 0x140008689
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14000867f
lea r8, [rsp + 0x160]
mov qword [rsp + 0x280], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400085a4
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008606
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008677
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008606
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140008677
mov qword [rsp + 0x288], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
nop word [rax + rax]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x140008666
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008620
mov rax, qword [rsp + 0x28]
mov qword [0x140126fa0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140126fb0], rax
mov rax, qword [rsp + 0x48]
mov qword [0x140126fc0], rax
jmp 0x14000866f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x14012d5b0], 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 0x1400086b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov qword [0x140126988], rdx
mov r8, rdx
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140008715
cmp byte [rcx + 5], 1
jne 0x140008715
xor ebx, ebx
cmp byte [rcx + 6], bl
je 0x1400086e6
mov qword [rdx + 0x38], rbx
lea edx, [rbx + 8]
call fcn.1400ec0a0
cmp dword [0x1401269d0], 2
je 0x14000870d
lea rcx, [0x140126960]
call fcn.140008820
test eax, eax
jne 0x14000870b
lea rcx, [0x140126960]
call fcn.140008950
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov r9d, dword [0x1401269d0]
cmp r9d, 3
je 0x1400087db
cmp r9d, 4
jne 0x1400087a0
mov rcx, qword [0x140126968]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x140126960]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1401269dc]
jle 0x1400087db
mov rcx, qword [0x140126980]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008815
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008815
lea rcx, [0x140126960]
add rsp, 0x20
pop rbx
jmp fcn.140008950
cmp r9d, 5
jne 0x140008761
mov rcx, qword [0x140126968]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x140126960]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1401269dc]
jge 0x140008761
movzx eax, byte [r8]
cmp al, 0x77
je 0x140008761
cmp al, 0x78
jne 0x1400087f6
cmp qword [r8 + 0x10], 0
je 0x140008761
cmp dword [r8 + 4], 0
je 0x140008761
cmp r9d, 2
jne 0x1400086ef
xor ebx, ebx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000d080
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
jne 0x14000d0d0
mov edx, dword [rcx + 0x70]
sub edx, 1
je 0x14000d0c9
sub edx, 2
je 0x14000d0c0
sub edx, 1
je 0x14000d0b7
cmp edx, 1
je 0x14000d0ae
lea rdx, [0x1400efd8e]
jmp 0x14000d0d0
lea rdx, str.step_out
jmp 0x14000d0d0
lea rdx, str.step_over
jmp 0x14000d0d0
lea rdx, str.step_into
jmp 0x14000d0d0
lea rdx, [0x1400f0058]
mov rax, qword [rcx + 0x88]
lea rcx, [0x1400efd8e]
test rax, rax
je 0x14000d0ed
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rbx + 0x50]
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.14000db70
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000d120

Function at 0x14000d120
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 qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__i64toa]
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x1400f0df0]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000ed30
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 0x14000d1f1
cmp dword [rdi + 0x68], 0
jne 0x14000d1f1
mov rdx, qword [rdi + 0x60]
lea rcx, [rdi + 0x50]
inc rdx
call fcn.14000e280
test eax, eax
jne 0x14000d1f1
mov r8, qword [rdi + 0x60]
xor r9d, r9d
mov rcx, qword [rdi + 0x50]
movzx eax, byte [0x1400ef7e4]
mov byte [r8 + 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 0x14000d1f1
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.14000d850
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000dfd0
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 0x14000e168
movabs rbp, 0xaaaaaaaaaaaaaaab
test r9b, r9b
jne 0x14000e031
lea rdx, [r8 - 1]
mov rax, rbp
mul rdx
shr rdx, 1
lea rdx, [rdx*4 + 5]
add rdx, qword [rcx + 0x10]
call fcn.14000e280
test eax, eax
je 0x14000e031
mov eax, 0x3e6
jmp 0x14000e16a
test rdi, rdi
je 0x14000e168
mov r10, qword [rsi + 0x10]
xor r8d, r8d
add r10, qword [rsi]
cmp rbx, 0xffffffffffffffff
jne 0x14000e059
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], r8b
jne 0x14000e050
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp rbx, 2
jbe 0x14000e0f9
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 0x14000e090
test rbx, rbx
je 0x14000e15f
movzx ecx, byte [rdi]
shl rcx, 0x10
cmp rbx, 1
jbe 0x14000e116
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 0x14000e14e
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r11]
jmp 0x14000e150
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