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

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x14000282f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140010358

Function at 0x140007b10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rsi, qword [0x1400160f0]
mov rbx, rcx
mov rdi, rdx
test rsi, rsi
je 0x140007be0
pxor xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
test rcx, rcx
je 0x140007b49
call sub.msvcrt.dll_strlen
mov rdi, rax
test rax, rax
jne 0x140007b80
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], 0
call rsi
lea rcx, [0x140011160]
call fcn.14000ac80
cmp byte [rax], 0
jne 0x140007c18
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, [0x140011180]
call fcn.14000ac80
lea rdx, [rdi + 9]
mov rcx, rax
mov rbp, rax
call fcn.140003aa0
lea r8, [rdi + 1]
mov rdx, rbx
mov qword [rax], rdi
mov rsi, rax
lea rcx, [rax + 8]
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rsi
call qword [0x1400160f0]
test byte [rsi + 7], 0x40
jne 0x140007b62
mov rdx, rsi
mov rcx, rbp
call fcn.140004920
jmp 0x140007b62
mov ecx, 2
call qword [fcn.14000fd50]
mov rcx, rbx
mov r8, rdi
mov edx, 1
mov rsi, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140010358
mov byte [rax], 0
lea rcx, [0x140011060]
call fcn.14000ac80
mov rbx, qword [rax]
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x140007c38
add qword [rdx - 0x10], 0x10
mov qword [rax], rdx
mov rax, qword [rbx - 0x10]
lea rdx, [rbx - 0x10]
cmp rax, 0xf
jbe 0x140007c68
mov r8, qword [rbx]
sub rax, 0x10
xor ecx, ecx
mov qword [rbx - 0x10], rax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140006b40
mov r8, qword [rbx]
mov ecx, 1
call fcn.140006b40
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140006bd0

Function at 0x1400086a0
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r13, [0x1400160c0]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x14000872f
mov rdi, qword [fcn.14000fd50]
xor r14d, r14d
lea r12, [rsp + 0x20]
lea rbp, [0x140011160]
jmp 0x1400086f5
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x140008736
mov ecx, 1
call rdi
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
movups xmmword [rsp + 0x20], xmm0
call fcn.1400085b0
mov rcx, rbp
call fcn.14000ac80
cmp byte [rax], 0
je 0x1400086e8
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [fcn.14000fd50]
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x140012201]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rdi
mov rcx, rax
call fcn.140010358
mov rcx, r13
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140009d60
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call fcn.14000fd50
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rbp - 8]
mov ecx, 2
call fcn.14000fd50
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140009dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x1400161b4]
mov rbx, rcx
test esi, esi
jle 0x140009f00
mov rax, qword [0x1400161b8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140009e1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140009ea3
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140009e00
mov rcx, rbx
call fcn.14000a880
mov rdi, rax
test rax, rax
je 0x140009f22
mov rax, qword [0x1400161b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000a9c0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400161b8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140009f07
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140009e9c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140009eb0
add dword [0x1400161b4], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400161b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140009e9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140009d60
nop word [rax + rax]
xor esi, esi
jmp 0x140009e28
mov rax, qword [0x1400161b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140009d60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140009d60
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14000a4b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x140016220]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140016200]
test rbx, rbx
je 0x14000a515
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000a50c
test eax, eax
jne 0x14000a50c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000a4f0
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000a880
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140012be0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000a8a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000a8a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000a8a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000a8fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000a8f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000a8a0
add rax, 0x28
cmp rax, r9
jne 0x14000a8e0
xor eax, eax
ret

Function at 0x14000a900
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140012be0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000a91f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000a928
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000a91f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000a9c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140012be0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000a9df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000a9e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000ac80
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x140012b70]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14000acb8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000ad20
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14000ad30
mov esi, dword [0x1400162a8]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000ad88
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14000add0
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14000aca7
mov rcx, rbx
call fcn.14000abe0
mov qword [rsi + r12*8 + 8], rax
jmp 0x14000aca7
call fcn.14000abe0
mov qword [rbx + 0x10], rax
jmp 0x14000aca7
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000ae61
mov r9d, dword [0x140011230]
test r9d, r9d
je 0x14000ae89
lea rcx, [0x1400162c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14000ae6e
mov eax, dword [rsi]
test eax, eax
je 0x14000acc1
lea rcx, [0x1400162c0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000acc1
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x14000aec4
mov qword [rax], rdi
mov ecx, dword [0x1400162a8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000acfb
call r13
jmp 0x14000acfb
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sub.msvcrt.dll_realloc
mov rsi, rax
test rax, rax
je 0x14000aec4
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call fcn.140010398
jmp 0x14000adab
lea rcx, [0x1400162c0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000aebc
lea rdx, [0x14000ab90]
mov ecx, eax
mov dword [0x1400162a8], eax
call fcn.140010490
test eax, eax
jne 0x14000aec4
mov dword [0x140011230], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000ad4c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14000acc1
mov rax, qword [0x1400162a0]
lea r12, [rax + 1]
mov qword [0x1400162a0], r12
mov qword [rbx + 0x10], r12
jmp 0x14000ad66
lock add dword [0x140011234], 1
je 0x14000ae19
mov r8d, dword [0x140011230]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x140011230]
test r8d, r8d
jne 0x14000ae57
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14000aeb0
jmp 0x14000ae57
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ae49
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
cmp qword [rcx], rdx
jae 0x14000aee0
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x14000aeea
mov qword [rcx + 8], r8
test r9, r9
je 0x14000aef4
cmp qword [rcx], rdx
je 0x14000aef8
ret
mov qword [rcx + 0x18], r9
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
push r9
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
push rax
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140007750
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 0x14000776c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x14000784b
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.1400c06f0
test eax, eax
je 0x140007838
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400c0504
test eax, eax
je 0x140007838
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400c0504
test eax, eax
je 0x140007838
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400c0504
test eax, eax
je 0x140007838
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400c0504
test eax, eax
je 0x140007838
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400c0504
test eax, eax
je 0x14000782d
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400c0504
test eax, eax
jne 0x140007850
test rbx, rbx
je 0x140007838
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 0x140007870
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
sub rsp, 0x28
cmp dword [0x140127e84], 0
je 0x140007887
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 [0x140125b28]
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140007904
xor edi, edi
nop dword [rax]
mov ecx, dword [0x14011f19c]
cmp ecx, 0xffffffff
je 0x1400078d4
test ecx, ecx
je 0x140007922
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14011f19c]
add edx, ebx
sub edx, eax
cmp edx, 5
jle 0x140007922
mov edx, 1
mov dword [0x14011f180], edi
mov ecx, 0x8000012f
call fcn.1400016f0
mov rcx, qword [0x140125b28]
mov dword [0x14011f180], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400078b0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x20]
mov dword [0x140127e84], 1
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140007e74
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.1400bc940
mov r8d, r14d
mov byte [rsp + 0x430], dil
xor edx, edx
lea rcx, [rsp + 0x431]
call fcn.1400bc940
mov r9d, r14d
lea edx, [r14 + 1]
mov r8, r13
lea rcx, [rsp + 0x20]
lea r12, [rsp + 0x20]
lea rbx, [rsp + 0x430]
call fcn.1400c5e80
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 0x140008013
cmp word [rax + 0x10], 2
jne 0x140007f6a
cmp word [rax + 0x12], 4
jne 0x140007f6a
mov rsi, qword [rax + 0x18]
jmp 0x140007f62
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x898]
mov edx, dword [rsp + 0x890]
mov ecx, dword [rsp + 0x888]
call fcn.140007dd4
mov qword [r15], rax
test rax, rax
je 0x14000800c
lea r15, [rax + 0x28]
add rsi, 8
mov rax, qword [rsi]
test rax, rax
jne 0x140007f2f
mov r8, qword [rdi]
mov r9d, 0x400
mov rcx, rbx
lea edx, [r9 + 1]
call fcn.1400c5e80
xor edi, edi
cmp qword [r14], rdi
jne 0x140007fbf
mov rcx, rbx
call fcn.1400c5d70
test rax, rax
je 0x14000802c
mov rdx, rbx
mov rcx, r12
call fcn.1400c5f80
test eax, eax
je 0x14000802c
inc ebp
cmp ebp, 0x10
je 0x14000802c
mov rax, r12
mov r12, rbx
mov rbx, rax
jmp 0x140007efd
mov ecx, edi
cmp dword [rsp + 0x8a0], edi
je 0x140008038
mov rcx, rbx
call fcn.1400c5d70
mov ecx, 1
mov rsi, rax
lea rdx, [rax + 1]
call fcn.1400c5e18
mov rdi, rax
test rax, rax
je 0x140007ffa
mov r8, rbx
lea rdx, [rsi + 1]
mov rcx, rax
call fcn.1400c5e20
mov rax, qword [r14]
xor ecx, ecx
mov qword [rax + 0x18], rdi
mov rax, qword [r14]
cmp qword [rax + 0x18], rcx
jne 0x140008038
mov ecx, 8
jmp 0x140008038
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x140008038
sub eax, 1
je 0x140008033
sub eax, 1
jne 0x140008038
mov ecx, 0x2afb
jmp 0x140008038
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 0x14000868c
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, [0x1400080a8]
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 [0x140125ac8], ebx
lea rax, [0x14000846c]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x140008058]
mov qword [rsp + 0x48], rax
je 0x140008714
lea rsi, str.getaddrinfo
jmp 0x14000882b
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rsi, str.getaddrinfo
test eax, eax
je 0x140008821
mov r15d, 0x10c
lea r8, [rbp + 0x60]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400c5e20
lea r8, str.ws2_32
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400c70d0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14000878a
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400087d3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rbp + 0x60]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400c5e20
lea r8, str.wship6
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400c70d0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140008821
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140008818
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 0x140008818
inc r15d
add r14, 0x10
cmp r15d, 3
jl 0x1400087db
test rdi, rdi
je 0x140008821
mov rax, qword [rsp + rbx + 0x28]
mov qword [rbx + rsi + 8], rax
add rbx, 0x10
cmp rbx, 0x30
jl 0x140008802
jmp 0x140008821
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x140125ac8], 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 0x1400089c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x20
mov qword [0x140121a78], rdx
mov r9, rdx
mov r10, qword [rdx + 0x38]
mov r8d, 1
test r10, r10
je 0x140008a48
cmp byte [r10 + 5], r8b
jne 0x140008a48
cmp byte [r10 + 6], 0
je 0x140008a30
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x140008a19
jmp 0x140008a04
cmp byte [rax], 4
jne 0x140008a19
mov rcx, qword [rax + 0x30]
call fcn.1400088cc
test al, al
je 0x140008a19
mov rax, qword [rcx + 0x18]
mov r9, rcx
test rax, rax
jne 0x1400089fb
xor edx, edx
mov rcx, r9
call fcn.14000897c
mov rcx, r10
mov edx, 8
call fcn.1400b9e5c
lea rdx, [0x1400fbf5c]
lea rcx, [0x140121a50]
add rsp, 0x20
pop rbp
jmp fcn.140008bd0
mov r10d, dword [0x140121ad0]
cmp r10d, 3
je 0x140008ac3
mov r11, qword [0x140121a58]
movabs rbp, 0x2aaaaaaaaaaaaaab
cmp r10d, 4
jne 0x140008a96
mov rcx, r11
mov rax, rbp
sub rcx, qword [0x140121a50]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp edx, dword [0x140121adc]
jle 0x140008ac3
cmp r10d, 5
jne 0x140008af4
sub r11, qword [0x140121a50]
mov rax, rbp
add r11, 0x18
imul r11
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x140121adc]
jge 0x140008af4
mov al, byte [r9]
cmp al, 0x16
jb 0x140008ad2
cmp al, 0x18
jbe 0x140008ae4
cmp al, 0x1b
jmp 0x140008adf
cmp al, 3
je 0x140008ae4
cmp al, 4
jne 0x140008ae1
cmp qword [r9 + 0x10], 0
je 0x140008ae4
xor r8d, r8d
test r8b, r8b
jne 0x140008af4
cmp dword [r9 + 4], 0
jne 0x140008a30
mov rcx, qword [0x140121a70]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
test eax, eax
jne 0x140008b21
cmp dword [rsp + 0x30], eax
seta al
test al, al
je 0x140008b21
xor edx, edx
jmp 0x140008a37
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x14000c8a0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
jne 0x14000c8f3
mov edx, dword [rcx + 0x80]
sub edx, 1
je 0x14000c8ec
sub edx, 2
je 0x14000c8e3
sub edx, 1
je 0x14000c8da
cmp edx, 1
je 0x14000c8d1
lea rdx, [0x1400fc00e]
jmp 0x14000c8f3
lea rdx, str.step_out
jmp 0x14000c8f3
lea rdx, str.step_over
jmp 0x14000c8f3
lea rdx, str.step_into
jmp 0x14000c8f3
lea rdx, [0x1400fdf44]
mov rcx, qword [rcx + 0x98]
lea rax, [0x1400fc00e]
test rcx, rcx
je 0x14000c90e
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.14000d34c
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14000c93c

Function at 0x14000c93c
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.1400c5c20
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400bc2b0
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x1400fed10]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.14000e76c
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 0x14000c9ed
mov r8d, 1
lea rdx, [0x1400fbbd0]
lea rcx, [rdi + 0x60]
call fcn.14000d2d4
test eax, eax
jne 0x14000c9ed
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 0x14000c9ed
and qword [rdi + 0x70], 0
and dword [rdi + 0x78], 0
xor eax, eax
jmp 0x14000c9f9
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000cf34
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret