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

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14027d738]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1401ad688
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1401ad6e6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1401ad713
test eax, eax
js 0x1401ad6f2
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1401ad709
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x14027d7a0]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1401a4dd0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14019a830
mov ecx, 7
int 0x29
ud2

Function at 0x1401adcc0
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov r14d, 0x17
cmove r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401adda1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1401add28
mov esi, eax
cmp eax, 0x2726
jne 0x1401add94
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401add8c
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1401adda1
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1401adda1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1401b47b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
mov esi, ecx

Function at 0x1401b5d60
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1402ea381]
mov ecx, 0x10
mov edx, 8
call fcn.14000eb70

Function at 0x1401b8750
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov eax, dword [0x1402ea4e0]
cmp eax, 4
jne 0x1401b8880
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1401b88a6
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.1401c4950
cmp qword [rbp + 0x158], 0
je 0x1401b87ef
lea rax, [0x14027cad0]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401b8871
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1401b8852
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401b886a
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.1401d6010
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1401b87a5
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call fcn.1401d6060
jmp 0x1401b8871
Function at 0x1401b89f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm0
mov dword [rbp + 0x34], 0x80
lea rdx, [rbp - 0x60]
lea r8, [rbp + 0x34]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1401b8a7a
mov eax, dword [rbp + 0x34]
movzx ecx, word [rbp - 0x60]
cmp ecx, 0x17
je 0x1401b8a8a
cmp ecx, 2
jne 0x1401b8ac8
cmp eax, 0xf
jbe 0x1401b8ae2
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
jmp 0x1401b8ad8
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x1401b8acf
cmp eax, 0x1b
jbe 0x1401b8afa
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x48]
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp + 0x24], xmm0
mov word [rsi], 1
movups xmm0, xmmword [rbp + 0x22]
movups xmmword [rsi + 2], xmm0
movzx r8d, word [rbp + 0x32]
mov word [rsi + 0x12], r8w
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
jmp 0x1401b8ad8
lea rax, str.invalid_argument
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x14027e478]
mov edx, 0x39
call fcn.1401d7a80
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x14027e4d0]
mov edx, 0x3a
call fcn.1401d7a80
int3
Function at 0x1401cc1e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1401cc26a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1401cc260
cmp r10, r11
jb 0x1401cc2e6
cmp r10, rdx
ja 0x1401cc2f8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1401cc262
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1401cc240
jmp 0x1401cc2c7
ja 0x1401cc26a
mov r11, r10
cmp rax, r8
jne 0x1401cc207
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1401cc2cb
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1401cc2a0
mov r8, r10
sub ecx, r9d
jns 0x1401cc2be
jmp 0x1401cc2cd
cmp r10, rdx
je 0x1401cc2da
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1401cc2cd
xor al, 1
cmp r8, rdx
jne 0x1401cc280
jmp 0x1401cc2cd
xor eax, eax
jmp 0x1401cc2cd
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1401d7960
lea r8, str.0___
mov rcx, r11
mov rdx, r10
call fcn.1401d7f80
lea r8, str.0___
mov rcx, r10
call fcn.1401d7f10
int3

Function at 0x1401cef04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cef4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cef4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cef4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cef4e
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cef4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401cef50
xor al, al
add rsp, 0x28
ret
Function at 0x1401d5408
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x14027a7d5]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401d5466
mov rdi, rax
lea rdx, [0x14027a7f6]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401d5466
mov rsi, rax
lea rdx, [0x14027a804]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401d5466
xor edi, edi
jmp 0x1401d54e8
lea rcx, [0x14027a790]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401d5544
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401d5544
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401d5544
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401d5544
mov rsi, rax
lea rcx, [rbp - 0x30]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1401d5544
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rax
push 0x18
pop rcx
call fcn.14000d716
mov rsi, rax
mov rax, qword [rbp - 0x20]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rsi], xmm0
xor eax, eax
lock cmpxchg qword [0x1402ea3f0], rsi
je 0x1401d5538
mov rdi, rax
mov rcx, rsi
call fcn.1401973ac
push 0x18
pop rdx
push 8
pop r8
mov rcx, rsi
call fcn.14000eb80
mov rsi, rdi
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
lea rcx, [rbp - 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:UsersMiko.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
call fcn.1401d79e0
int3
Function at 0x140003fc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140003c50
mov rcx, qword [rsp + 0x98]
call fcn.140004c90
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x90]
call fcn.140004c90
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x88]
call fcn.140004c90
mov rcx, qword [rsp + 0x30]
mov r9, rcx
mov rcx, qword [rsp + 0x38]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400065b0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400045f0
nop
lea rcx, [rsp + 0x48]
call fcn.140007660
lea rax, [0x140005430]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.1400031e0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call fcn.1401ecc58
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x1400040d2
lea rcx, [rsp + 0x60]
call fcn.14000ac50
jmp 0x1400040ec
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401babdc
nop
lea rcx, [rsp + 0x60]
call fcn.140007660
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x78
ret

Function at 0x140004110
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edx, 8
lea rcx, [rsp + 0x58]
call fcn.140003c50
mov rcx, qword [rsp + 0x90]
call fcn.140004c90
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x88]
call fcn.140004c90
mov rcx, qword [rsp + 0x30]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006690
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400045f0
nop
lea rcx, [rsp + 0x40]
call fcn.1400076a0
lea rax, [0x140005500]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.1400031e0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call fcn.1401ecc58
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x140004203
lea rcx, [rsp + 0x58]
call fcn.14000ac50
jmp 0x14000421d
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401babdc
nop
lea rcx, [rsp + 0x58]
call fcn.1400076a0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x78
ret
Function at 0x140004250
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.140003c50
mov rcx, qword [rsp + 0x78]
call fcn.140004c90
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140006740
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400045f0
nop
lea rcx, [rsp + 0x38]
call fcn.1400076e0
lea rax, [0x1400055b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.1400031e0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1401ecc58
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x140004318
lea rcx, [rsp + 0x50]
call fcn.14000ac50
jmp 0x14000432f
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401babdc
nop
lea rcx, [rsp + 0x50]
call fcn.1400076e0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x68
ret

Function at 0x14000a4f0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov eax, 0x202
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x40]
movzx ecx, word [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000a533
lea rcx, [0x140242308]
call fcn.14000aa10
call fcn.14000a590
lea r8, [0x1402422e8]
lea rdx, [0x14002daa0]
lea rcx, [rsp + 0x28]
call fcn.140004110
nop
lea rcx, [rsp + 0x28]
call fcn.14000a220
mov ecx, 0x1b59
call fcn.14002b8d0
call fcn.14000ab50
nop
lea rcx, [rsp + 0x28]
call fcn.140007850
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x1f8
ret

Function at 0x14000ab50
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov edx, 0x80
lea rcx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x20], rax
lea rdx, [0x14054b7c0]
lea rcx, [rsp + 0x48]
call fcn.140006d80
nop
lea rcx, [0x14054b7a8]
call fcn.140009f80
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140006bb0
nop
lea rdx, [rsp + 0x28]
lea rcx, [0x14054b7a8]
call fcn.1400079a0
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400078b0
nop
lea rcx, [rsp + 0x28]
call fcn.140007490
nop
lea rcx, [rsp + 0x48]
call fcn.140007570
lea r8, [0x1402422e8]
lea rdx, [0x14002d640]
lea rcx, [rsp + 0x50]
call fcn.140004110
nop
lea rcx, [rsp + 0x50]
call fcn.14000a220
nop
lea rcx, [rsp + 0x50]
call fcn.140007850
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0xf8
ret
Function at 0x14001a650
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x14001a68d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001a694
mov al, 1
jmp 0x14001a7dc
call fcn.14001cd20
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.14001cd20
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.14001cde0
movzx eax, al
test eax, eax
je 0x14001a6e5
xor al, al
jmp 0x14001a7dc
mov qword [rsp + 0x50], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.14001ffd0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14001a74a
cmp dword [rsp + 0x30], 1
je 0x14001a756
cmp dword [rsp + 0x30], 3
je 0x14001a7ca
jmp 0x14001a7da
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x14001a7a1
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1401ede8c
cmp qword [rsp + 0x40], rax
je 0x14001a7a1
xor al, al
jmp 0x14001a7dc
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001a7bb
mov dword [rsp + 0x34], 1
jmp 0x14001a7c3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14001a7dc
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001a7dc
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x98
ret
Function at 0x14001d6f0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor r8d, r8d
mov dl, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x260]
call fcn.14001cf50
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
dec rax
mov r9, rax
mov r8d, 1
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x260]
call fcn.14001f480
nop
mov edx, 0x78
lea rcx, [rsp + 0xb0]
call fcn.140003c50
lea rcx, [rsp + 0xb0]
call fcn.140018850
nop
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb0]
call fcn.14001d0b0
nop
lea rcx, [rsp + 0x68]
call fcn.14001bb40
mov r9, rax
xor r8d, r8d
mov edx, 0x452
mov rcx, qword [0x14054b188]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [0x14054ae98]
call fcn.1400136d0
movzx eax, al
test eax, eax
je 0x14001d7e7
lea rcx, [rsp + 0x68]
call fcn.1400074c0
nop
lea rcx, [rsp + 0xb0]
call fcn.140019360
nop
lea rcx, [rsp + 0x88]
call fcn.140007490
jmp 0x14001d8a7
mov edx, 0x108
lea rcx, [rsp + 0x130]
call fcn.140003c50
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x22
lea rdx, [0x14054ae98]
lea rcx, [rsp + 0x130]
call fcn.140017e10
nop
mov rax, qword [rsp + 0x30]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.14001f480
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x130]
call fcn.140016060
nop
lea rcx, [rsp + 0x48]
call fcn.140007490
nop
lea rcx, [rsp + 0x130]
call fcn.140019d70
nop
lea rcx, [rsp + 0x68]
call fcn.1400074c0
nop
lea rcx, [rsp + 0xb0]
call fcn.140019360
nop
lea rcx, [rsp + 0x88]
call fcn.140007490
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x258
ret
Function at 0x140020100
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x140020134
xor eax, eax
jmp 0x1400202e0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14002015c
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140020300
jmp 0x1400202e0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.14001abc0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400201f8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140006830
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.14001d6d0
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.14000a0a0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.14001d4b0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400202d0
mov rcx, qword [rsp + 0x70]
call fcn.14001b340
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x140020298
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1401ed924
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140020296
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400202e0
jmp 0x14002021e
cmp qword [rsp + 0x40], 0
jbe 0x1400202d0
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1401ed924
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x68
ret

Function at 0x140022760
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140541e58]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400227a2
xor eax, eax
jmp 0x1400227ca
mov dword [rsp + 0x20], 8
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400227c8
xor eax, eax
jmp 0x1400227ca
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401b8dc0
add rsp, 0x48
ret