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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
xor r14d, r14d
mov rbx, rdx
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140075fe2
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rbx]
mov dword [rsp + 0x70], r14d
test rcx, rcx
je 0x140075ff6
call fcn.1400b0840
jmp 0x140075ff9
mov eax, r14d
lea r9, [rsp + 0x70]
mov dword [rsp + 0x78], eax
mov r8d, 4
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140076089
cmp dword [rsp + 0x70], 4
jne 0x140076089
mov rcx, qword [rbx]
mov qword [rsp + 0x60], rsi
mov esi, dword [rsp + 0x78]
test rcx, rcx
je 0x14007603e
call fcn.1400b06e0
jmp 0x140076041
mov rax, r14
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r14
mov r8d, esi
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rsi, qword [rsp + 0x60]
test eax, eax
je 0x140076089
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jne 0x140076089
mov rcx, rdi
mov bl, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rcx, rdi
xor bl, bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, bl
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140076cb0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
lea rcx, [0x14013c870]
call fcn.140028000
test eax, eax
jne 0x140076ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400278e0
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140076d63
mov rcx, qword [rax]
test rcx, rcx
je 0x140076d63
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140076d63
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140076d20
mov rcx, qword [rax]
jmp 0x140076d22
xor ecx, ecx
lea r8, [0x14013c870]
mov rdx, rbx
call fcn.140027cd0
mov ebx, eax
test eax, eax
je 0x140076dce
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140076d48
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp ebx, 0x800704d6
mov ecx, 4
je 0x140076d5d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140076dc1
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140076dc1
test rbx, rbx
je 0x140076dc1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140076d9e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140076db4
call fcn.1400b56bc
mov qword [rbx + 8], 0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400b56bc
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140076de5
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
jmp 0x140076d6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
jmp 0x140076d6b
Function at 0x140078f70
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
add rdi, rdx
cmp rdx, rdi
jae 0x140078fbb
nop dword [rax + rax]
mov rcx, qword [0x14013c878]
mov r8d, edi
sub r8d, ebx
xor r9d, r9d
mov rdx, rbx
call qword [sym.imp.WS2_32.dll_recv]
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140078fc8
cdqe
add rbx, rax
cmp rbx, rdi
jb 0x140078f90
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x140079210
Capabilities:
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rbx, rcx
lea edx, [r8 + 1]
lea ecx, [rdx + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140079268
lea rcx, str.Unable_to_create_socket
call fcn.1400b0640
lea rcx, str.Unable_to_create_socket
jmp 0x140079373
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_gethostbyname]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movzx ecx, word [rax + 0x10]
mov word [rsp + 0x38], cx
lea rcx, [rsp + 0x3c]
mov rdx, qword [rax + 0x18]
movsx r8, word [rax + 0x12]
mov rdx, qword [rdx]
call fcn.1400b9c80
mov ecx, 0x5ab3
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1400792f2
lea rcx, str.Unable_to_bind_socket
call fcn.1400b0640
lea rcx, str.Unable_to_bind_socket
jmp 0x140079373
lea r8, [rsp + 0x28]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140079326
lea rcx, str.Unable_to_query_the_port
call fcn.1400b0640
lea rcx, str.Unable_to_query_the_port
jmp 0x140079373
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [0x14013c878], rax
cmp rax, 0xffffffffffffffff
jne 0x140079361
lea rcx, str.Accept_failed
call fcn.1400b0640
lea rcx, str.Accept_failed
jmp 0x140079373
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor ecx, ecx
call fcn.1400b0640
xor ecx, ecx
mov rdx, rax
call fcn.1400b0780
mov qword [rbx], rax
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b5660
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
Function at 0x140081c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r8d, r8d
jle 0x140081d4e
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
sub rsp, 0x70
mov qword [rax + 8], rdi
mov ebp, r8d
mov qword [rax + 0x10], r14
lea rdi, [rdx + 0xc]
mov r14d, 0x4001
mov rsi, rcx
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi - 0xc]
mov r8d, 0x60
mov edx, dword [0x140141f28]
mov ecx, dword [rdi - 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
call qword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [rdi], 0
lea r9, [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov edx, 0x120a
mov eax, 0x4000
cmovne eax, r14d
mov dword [rsp + 0x3c], eax
test ebx, ebx
jne 0x140081d13
mov rcx, qword [rsi + 0x18]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [rsp + 0x24]
mov rcx, rsi
call fcn.140083d50
jmp 0x140081d23
mov rcx, qword [rsi + 0x28]
lea eax, [rbx - 1]
movsxd r8, eax
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
add rdi, 0x10
cmp ebx, ebp
jl 0x140081cb0
mov r14, qword [rsp + 0x88]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rdi, qword [rsp + 0x80]
mov rsp, r11
pop rsi
ret

Function at 0x140084250
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x28]
mov edx, 0x1200
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
mov rcx, 0xffffffffffffffff
lea r12d, [rax + 1]
mov eax, 4
lea r9d, [r12 + r12]
movsxd r14, r9d
mul r14
cmovo rax, rcx
mov rcx, rax
call fcn.1400b5c60
mov r15, rax
mov dword [rsp + 0xc0], 0xffffffff
lea ecx, [r12*8]
xor r8d, r8d
lea rax, [rsp + 0xd8]
mov dword [rsp + 0xd8], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0xc0]
mov rcx, rdi
mov qword [rsp + 0x20], r15
mov rdx, rbx
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400843aa
cmp dword [rsp + 0xc0], 3
jne 0x1400843aa
mov eax, dword [rsp + 0xd8]
lea rcx, [r14*4]
cmp rax, rcx
jne 0x1400843aa
mov rcx, qword [rbp + 0x28]
mov edx, 0x1212
movsxd r14, r12d
movsxd r8, r13d
lea r9, [r14 + 1]
lea r9, [r15 + r9*4]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
test r12d, r12d
jle 0x1400843a7
mov edi, ebx
nop dword [rax + rax]
cmp dword [r15 + rdi*4], 0
jle 0x14008439d
mov esi, dword [r15 + rdi*4]
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, eax
jge 0x14008439d
mov dword [rsp + 0x30], 1
lea r9, [rsp + 0x30]
mov dword [rsp + 0x34], esi
mov edx, 0x120c
test ebx, ebx
jne 0x14008438d
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
jmp 0x140084397
mov rcx, qword [rbp + 0x28]
lea eax, [rbx - 1]
movsxd r8, eax
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
inc rdi
cmp rdi, r14
jl 0x140084350
mov sil, 1
mov rcx, r15
call fcn.1400b56bc
mov rbx, qword [rsp + 0xc8]
movzx eax, sil
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400843e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x28]
mov edx, 0x1200
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
lea r15d, [rax + 1]
mov eax, 4
lea ecx, [r15 + r15]
movsxd rdx, ecx
mov rcx, 0xffffffffffffffff
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.1400b5c60
movsxd r8, edi
xor esi, esi
lea rbp, [r8 + 1]
mov edx, 0x1211
mov r14, rax
lea r9, [rax + 4]
mov dword [rax + rbp*4], esi
mov rcx, qword [rbx + 0x28]
lea r9, [r9 + rbp*4]
call qword [sym.imp.USER32.dll_SendMessageW]
test rbp, rbp
jle 0x1400844e0
mov edi, esi
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x1207
test esi, esi
jne 0x1400844a1
mov rcx, qword [rbx + 0x18]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x18]
jmp 0x1400844b5
mov rcx, qword [rbx + 0x28]
lea eax, [rsi - 1]
movsxd r8, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0x30]
mov r9d, 2
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rsp + 0x38]
inc esi
sub eax, dword [rsp + 0x30]
mov dword [r14 + rdi*4], eax
inc rdi
cmp rdi, rbp
jl 0x140084480
lea eax, [r15*8]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r13
mov qword [rsp + 0x20], r14
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r14
call fcn.1400b56bc
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400b5660
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140091be0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov edx, 0x44b
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov rcx, qword [rdi + 8]
mov edx, 0x44c
cmp eax, 1
sete byte [rsp + 0x50]
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov rcx, qword [0x1401430d8]
lea rdx, str.ProcessTree.ShowRunningOnly
cmp eax, 1
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x50]
mov r9d, 3
setne byte [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [0x1401430d8]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 1
lea rdx, str.ProcessTree.ShowAllHistory
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rdi + 8]
mov edx, 0x414
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.1400806f0
mov rdx, qword [0x1401430d8]
lea r8, str.ProcessTreeDialog
mov rcx, qword [rdi + 8]
mov rbx, rax
call fcn.14009cb90
mov rdx, qword [0x1401430d8]
lea r8, str.ProcessTreeColumns
mov rcx, rbx
call fcn.1400843e0
mov rcx, rbx
call fcn.140080cf0
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rbx, qword [rsp + 0x58]
xor eax, eax
mov qword [0x1401430e8], 0
add rsp, 0x40
pop rdi
ret
Function at 0x140099df0
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
lea rcx, [0x140143598]
call fcn.14009c680
mov rcx, qword [0x140142c20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor edx, edx
xor ecx, ecx
call fcn.140078280
cmp byte [0x140143308], 0
jne 0x140099e97
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x40
xor eax, eax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x24], xmm0
mov qword [rsp + 0x54], rax
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x5c], eax
movups xmmword [rsp + 0x44], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r8, rbx
lea rdx, str.Out_of_memory:_Unable_to_allocate_a_memory_block_of_size__Iu
lea rcx, [rsp + 0x60]
call fcn.140003120
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1400f7478]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14009c830
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x4f]
sub rsp, 0x98
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov dword [rbp - 0x19], 0x2c
xor ecx, ecx
mov r10, r8
mov qword [rbp + 0xf], rcx
mov rax, rdx
mov dword [rbp + 0x17], ecx
xorps xmm0, xmm0
lea rcx, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
lea rcx, [rbp - 0x11]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rax
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14009ca56
cmp dword [rbp - 0x11], 0x2c
jne 0x14009ca56
mov qword [rsp + 0xc8], rbx
lea edx, [rax - 0x10]
mov qword [rsp + 0x90], rsi
mov rcx, rdi
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r15
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov eax, dword [rbp - 9]
sub eax, 2
je 0x14009c8ef
cmp eax, 1
jne 0x14009c90a
btr rbx, 0x1d
bts rbx, 0x18
jmp 0x14009c8f9
btr rbx, 0x18
bts rbx, 0x1d
mov r8, rbx
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rdx, [rbp + 0x1f]
shr rbx, 0x12
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rbp + 0xf]
mov edx, dword [rbp + 0x2b]
mov r10d, dword [rbp + 0x23]
mov r11d, dword [rbp + 0xb]
mov r8d, dword [rbp + 0x27]
mov esi, dword [rbp + 0x1f]
and bl, 1
je 0x14009c945
mov eax, dword [rbp + 0x13]
mov ecx, r8d
sub ecx, esi
sub eax, r11d
cmp eax, ecx
jge 0x14009c953
sub r8d, esi
add r8d, r11d
mov dword [rbp + 0x13], r8d
test bl, bl
je 0x14009c962
mov eax, dword [rbp + 0x17]
mov ecx, edx
sub ecx, r10d
sub eax, r9d
cmp eax, ecx
jge 0x14009c96b
sub edx, r10d
add edx, r9d
mov dword [rbp + 0x17], edx
mov ecx, 0x4c
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4d
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4e
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4c
mov r14d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4f
add r14d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4d
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea r8d, [rbx + rax]
mov eax, dword [rbp + 0x17]
mov rbx, qword [rsp + 0xc8]
cmp eax, r8d
jle 0x14009c9dd
sub r8d, eax
lea rcx, [rbp + 0xb]
xor edx, edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [rbp + 0xf]
cmp eax, r15d
jge 0x14009c9f7
sub r15d, eax
lea rcx, [rbp + 0xb]
mov r8d, r15d
xor edx, edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [rbp + 0x13]
mov r15, qword [rsp + 0x80]
cmp eax, r14d
jle 0x14009ca1a
sub r14d, eax
lea rcx, [rbp + 0xb]
mov edx, r14d
xor r8d, r8d
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [rbp + 0xb]
mov r14, qword [rsp + 0x88]
cmp eax, esi
jge 0x14009ca3a
sub esi, eax
lea rcx, [rbp + 0xb]
mov edx, esi
xor r8d, r8d
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdx, [rbp - 0x11]
mov dword [rbp - 9], 0
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPlacement]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400b5660
add rsp, 0x98
pop rdi
pop rbp
ret
Function at 0x14009cb90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov dword [rsp + 0x30], gethostbyaddr
mov rbx, rdx
xor eax, eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x54], rax
movups xmmword [rsp + 0x34], xmm0
mov rdi, r8
movups xmmword [rsp + 0x44], xmm0
call qword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x14009cc01
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], gethostbyaddr
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b5660
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret
Function at 0x1400a6aa0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x2b8
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r10, qword [0x140143658]
mov r12, r9
mov r13, qword [rsp + 0x310]
mov r15, r8
mov r14d, edx
mov rbp, rcx
test r10, r10
jne 0x1400a6ca7
cmp dword [0x140143650], r10d
lea rax, [0x1400a6d60]
mov qword [rsp + 0x48], rax
lea rbx, str.getaddrinfo
lea rax, str.getnameinfo
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rax
lea rax, [0x1400a7190]
mov qword [rsp + 0x58], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x60], rax
lea rax, [0x1400a6d10]
mov qword [rsp + 0x68], rax
jne 0x1400a6c99
mov edx, 0x104
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400a6c8f
lea r8, [rsp + 0x180]
mov qword [rsp + 0x2b0], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x70]
call fcn.1400d39b8
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x70]
call fcn.1400d3a18
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400a6bba
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400a6c1a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x180]
mov edx, 0x10c
lea rcx, [rsp + 0x70]
call fcn.1400d39b8
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x70]
call fcn.1400d3a18
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400a6c87
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400a6c1a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400a6c87
mov qword [rsp + 0x2a8], rdi
lea rbx, [rsp + 0x48]
xor edi, edi
nop dword [rax]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x1400a6c76
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x1400a6c30
mov rax, qword [rsp + 0x48]
mov qword [str._m_n_], rax
mov rax, qword [rsp + 0x58]
mov qword [0x14013d070], rax
mov rax, qword [rsp + 0x68]
mov qword [0x14013d080], rax
jmp 0x1400a6c7f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x2a8]
mov rsi, qword [rsp + 0x2b0]
mov dword [0x140143650], 1
mov r10, qword [0x14013d070]
mov qword [0x140143658], r10
mov eax, dword [rsp + 0x320]
mov r9, r12
mov dword [rsp + 0x30], eax
mov r8, r15
mov rax, qword [rsp + 0x318]
mov edx, r14d
mov qword [rsp + 0x28], rax
mov rcx, rbp
mov qword [rsp + 0x20], r13
call r10
mov ecx, eax
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400b5660
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x1400a73d0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x870
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r13, qword [rsp + 0x8c8]
mov r14, rcx
mov dword [rsp + 0x24], r8d
xor ebp, ebp
mov dword [rsp + 0x28], edx
mov r8d, 0x401
mov qword [rsp + 0x38], rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x20], r9w
mov r12d, ebp
call fcn.1400b88a0
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x401
call fcn.1400b88a0
mov r9d, 0x400
lea rbx, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea rdi, [rsp + 0x450]
lea edx, [r9 + 1]
call fcn.1400d3894
lea r15, [rbp - 1]
nop dword [rax]
mov rcx, r14
mov qword [r13], rbp
mov rsi, r13
mov byte [rdi], bpl
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x1400a75ce
cmp word [rax + 0x10], 2
jne 0x1400a74f7
cmp word [rax + 0x12], 4
jne 0x1400a74f7
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x1400a74f2
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
call fcn.1400a7630
mov qword [rsi], rax
test rax, rax
je 0x1400a75c7
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x1400a74c0
mov rbx, qword [rsp + 0x30]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.1400d3894
cmp qword [r13], rbp
jne 0x1400a7570
mov rax, r15
inc rax
cmp byte [rdi + rax], bpl
jne 0x1400a7515
test rax, rax
je 0x1400a75e8
mov r8, rdi
mov rax, rbx
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400a7543
inc rax
test ecx, ecx
jne 0x1400a7530
test edx, edx
je 0x1400a75e8
inc r12d
cmp r12d, 0x10
je 0x1400a75e8
mov r14, qword [rsp + 0x38]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x30], rbx
jmp 0x1400a7480
cmp dword [rsp + 0x8c0], ebp
je 0x1400a75fb
nop dword [rax]
cmp byte [rdi + r15 + 1], bpl
lea r15, [r15 + 1]
jne 0x1400a7580
lea rdx, [r15 + 1]
mov ecx, 1
call fcn.1400c6900
mov rbx, rax
test rax, rax
jne 0x1400a75a6
mov rbx, rbp
jmp 0x1400a75b5
mov r8, rdi
lea rdx, [r15 + 1]
mov rcx, rax
call fcn.1400d39b8
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], rbp
jne 0x1400a75fb
mov ebp, 8
jmp 0x1400a75fb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x1400a75f6
sub ecx, 1
je 0x1400a75ef
sub ecx, 1
jne 0x1400a75f6
mov ebp, 0x2afb
jmp 0x1400a75fb
mov ebp, 0x2afa
jmp 0x1400a75fb
mov ebp, 0x2af9
mov eax, ebp
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400b5660
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret