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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0xb1e], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x18013ebe6
cmp qword [rcx + 0x278], 0
je 0x18013eb9b
mov dl, 1
call fcn.180138890
mov rax, qword [rdi + 0x1d8]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x278]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.180138890
mov eax, ebx
jmp 0x18013ebe8
mov edx, ebx
test ebx, ebx
je 0x18013ebab
sub edx, 1
je 0x18013ebab
cmp edx, 1
jne 0x18013ebe6
mov r9, qword [rdi + 0x1d0]
lea rax, [0x1801c8930]
mov edx, 2
lea rcx, [rbx + rbx*2]
add rcx, rax
lea r8d, [rdx - 1]
call fcn.1800fc6e0
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.1800fc6e0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18013ec00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x160
mov rax, qword [0x180295fe0]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xb1e], 0
mov rbx, rcx
jne 0x18013ec43
cmp qword [rcx + 0x1e0], 0
je 0x18013ed10
mov r8, rdx
mov qword [rsp + 0x158], rdi
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.18012bdd0
mov rdx, qword [rbx + 0x1e0]
movsxd rdi, eax
test rdx, rdx
je 0x18013eca8
cmp byte [rbx + 0x12d4], 0
jne 0x18013eca8
lea rcx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18013ec90
mov byte [rbx + 0x12d4], 1
mov byte [rsp + rdi + 0x30], 0xa
inc rdi
cmp rdi, 0x102
jae 0x18013ed61
cmp byte [rbx + 0xb1e], 0
mov byte [rsp + rdi + 0x30], 0
je 0x18013ed08
cmp qword [rbx + 0x278], 0
je 0x18013ed29
mov dl, 1
mov rcx, rbx
call fcn.180138890
mov rax, qword [rbx + 0x1d8]
lea r8, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [rbx + 0x278]
xor edx, edx
mov rcx, rbx
call fcn.180138890
mov rdi, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800f2280
add rsp, 0x160
pop rbx
ret
mov r9, qword [rbx + 0x1d0]
lea rcx, [0x1801c8930]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1800fc6e0
mov r9, qword [rbx + 0x1d0]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.1800fc6e0
jmp 0x18013ed08
call fcn.1800f2a14
int3
Function at 0x18013f9e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x180295fe0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rax, rdx
mov rdi, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, r9
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x18013fa88
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1801477e0
mov r8d, ebx
lea rdx, str.getsockname___failed_with_errno__d:__s
jmp 0x18013fb11
movzx eax, word [rsp + 0x30]
cmp eax, 2
je 0x18013fac3
cmp eax, 0x17
jne 0x18013facf
lea rdx, [rsp + 0x38]
mov ecx, eax
mov r8, rdi
mov r9d, 0x2e
call fcn.18016bc60
test rax, rax
je 0x18013facf
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbx], eax
jmp 0x18013fb1c
lea rdx, [rsp + 0x34]
mov ecx, 2
jmp 0x18013fa9e
mov byte [rdi], 0
mov dword [rbx], 0
call fcn.1800f8bf0
mov dword [rax], 0x273f
call fcn.1800f8bf0
mov ebx, dword [rax]
call fcn.1800f8bf0
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1801477e0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.18013ec00
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1800f2280
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x180145bb0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
lea r9, str.C:dev_vcpkg_buildtreescurl_src7a634d33bf_24fa6e04fd.cleanlibgetenv.c
xor ebp, ebp
mov ebx, 1
mov edx, ebx
xor ecx, ecx
lea r8d, [rbp + 0x2d]
call fcn.180129570
mov rdi, rax
test rax, rax
je 0x180145c39
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x180145c6f
cmp ebx, esi
je 0x180145c6f
cmp ebx, 0x8000
ja 0x180145c6f
cmp ebx, esi
jb 0x180145c6a
mov edx, ebx
lea r9, str.C:dev_vcpkg_buildtreescurl_src7a634d33bf_24fa6e04fd.cleanlibgetenv.c
mov r8d, 0x2d
mov rcx, rdi
call fcn.180129570
mov rdi, rax
test rax, rax
jne 0x180145bf0
mov edx, 0x2f
mov rcx, rbp
lea r8, str.C:dev_vcpkg_buildtreescurl_src7a634d33bf_24fa6e04fd.cleanlibgetenv.c
call fcn.180129370
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x180145c4f
mov edx, 0x3a
mov rcx, rdi
jmp 0x180145c41

Function at 0x180149330
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x180149345
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.180148e90

Function at 0x180149ee0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.18013bdc0
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.18017c6f0
mov rcx, rdi
mov rsi, rax
call fcn.18017c6f0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x180149f90
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.18013bdc0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.18013be50
cmp rax, 0x3e8
ja 0x180149fc1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x180149f40
test rsi, rsi
je 0x180149f9d
mov rcx, rsi
call fcn.1800f8b24
test rbx, rbx
je 0x180149faa
mov rcx, rbx
call fcn.1800f8b24
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x180149fce
mov rcx, rsi
call fcn.1800f8b24
test rbx, rbx
je 0x180149fdb
mov rcx, rbx
call fcn.1800f8b24
mov eax, 1
jmp 0x180149fac
Function at 0x180150400
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x180295fe0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, qword [rcx + 0x18]
lea r8, [rsp + 0x30]
mov rdi, rcx
lea rdx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsi + 0x1f0]
mov rcx, rbp
mov dword [rsp + 0x30], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x18015048c
lea rax, str.C:dev_vcpkg_buildtreescurl_src7a634d33bf_24fa6e04fd.cleanlib_ftp.c
mov dword [rsp + 0x30], 0x80
mov r9d, 0x11c
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call fcn.180129150
mov rbx, rax
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.18013f620
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x1801504b4
lea rdx, str.Error_accept__ing_server_connect
call fcn.18013ec00
lea eax, [rbx + 0x1f]
jmp 0x180150530
lea rdx, str.Connection_accepted_from_server
call fcn.18013ed70
mov edx, 1
mov byte [rsi + 0x3da], 0
mov rcx, rbx
mov qword [rsi + 0x1f0], rbx
call fcn.18016bc30
mov byte [rsi + 0x3ed], 1
cmp qword [rdi + 0x288], 0
je 0x18015052e
mov dl, 1
mov rcx, rdi
call fcn.180138890
mov rcx, qword [rdi + 0x290]
mov r8d, 1
mov rdx, rbx
call qword [rdi + 0x288]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.180138890
test ebx, ebx
je 0x18015052e
mov rdx, rsi
mov rcx, rdi
call fcn.180150a30
mov eax, 0x2a
jmp 0x180150530
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800f2280
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180152100
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
mov rbx, rcx
mov rdx, qword [rcx + 0x18]
cmp dword [rax + 0x10], 0
je 0x180152136
mov dword [rdx + 0x7d0], 0xd
mov r8d, reloc.WS2_32.dll_listen
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.180152220
cmp byte [rcx + 0xb0e], 0
je 0x18015214b
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.180152cf0
cmp byte [rcx + 0xb11], 0
je 0x1801521cc
mov r9, qword [rdx + 0x790]
test r9, r9
jne 0x18015218e
mov r9, qword [rcx + 0x7b8]
test r9, r9
jne 0x180152185
cmp byte [rbx + 0x12e2], 0
lea rcx, str.NLST
lea r9, str.LIST
cmovne r9, rcx
lea r8, str.PRET__s
jmp 0x1801521a5
cmp byte [rcx + 0xb1d], 0
lea r8, str.PRET_STOR__s
jne 0x1801521a5
lea r8, str.PRET_RETR__s
add rdx, 0x700
mov rcx, rbx
call fcn.180173b80
test eax, eax
jne 0x1801521d6
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7d0], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.180152c40
add rsp, 0x20
pop rbx
ret
Function at 0x180152510
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
add rdx, 0x700
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x18015255e
cmp qword [rdx + 0x90], 0
je 0x18015255e
xor r9d, r9d
lea r8, str.REST__d
call fcn.180173b80
test eax, eax
jne 0x180152568
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7d0], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.180152100
add rsp, 0x20
pop rbx
ret

Function at 0x180152830
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
mov esi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x18015286f
lea rdx, str.Couldnt_set_desired_mode
call fcn.18013ec00
lea eax, [rdi + 0x11]
jmp 0x1801529fc
cmp edx, 0xc8
je 0x180152886
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.18013ed70
cmp esi, 0x13
jne 0x18015289b
mov rdx, rbp
mov rcx, rbx
call fcn.180152730
jmp 0x1801529f8
cmp esi, 0x14
jne 0x1801529da
cmp dword [rbx + 0x750], 2
mov rbp, qword [rbx + 0x18]
jne 0x180152929
mov rax, qword [rbx + 0x1b0]
mov rdx, qword [rax]
test rdx, rdx
je 0x180152929
mov dword [rsp + 0x28], 3
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov qword [rsp + 0x40], rdi
call fcn.180126440
test eax, eax
jne 0x1801529f8
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + 0x1b]
call fcn.1800f4e58
test rax, rax
je 0x180152913
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x180152929
mov rcx, qword [rsp + 0x40]
lea r8, str.C:dev_vcpkg_buildtreescurl_src7a634d33bf_24fa6e04fd.cleanlib_ftp.c
mov edx, 0x5cc
call fcn.180129370
mov rdx, qword [rbx + 0x7b8]
test rdx, rdx
jne 0x18015294e
cmp byte [rbx + 0x12e2], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x180185bc8]
test rdi, rdi
mov r9, r8
lea rax, [0x180199108]
cmovne r9, rdi
lea rcx, [0x1801c7c54]
cmovne r8, rax
call fcn.18012bbd0
lea r8, str.C:dev_vcpkg_buildtreescurl_src7a634d33bf_24fa6e04fd.cleanlib_ftp.c
mov edx, 0x5d5
mov rcx, rdi
mov rsi, rax
call fcn.180129370
test rsi, rsi
jne 0x180152997
lea edi, [rsi + 0x1b]
jmp 0x1801529fa
lea rdx, [rbp + 0x700]
mov r9, rsi
lea r8, [0x1801880cc]
mov rcx, rbx
call fcn.180173b80
lea r8, str.C:dev_vcpkg_buildtreescurl_src7a634d33bf_24fa6e04fd.cleanlib_ftp.c
mov edx, 0x5db
mov rcx, rsi
mov edi, eax
call fcn.180129370
test edi, edi
jne 0x1801529fa
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7d0], 0x1f
jmp 0x1801529fa
cmp esi, 0x15
jne 0x1801529e5
lea r8d, [rsi - 8]
jmp 0x1801529ee
cmp esi, 0x16
jne 0x1801529fa
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rbx
call fcn.180152220
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180160ee0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x180295fe0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x18]
mov rsi, rcx
xor r9d, r9d
mov rdi, qword [rax + 0x700]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, dword [rdi + 0x144]
mov rdx, qword [rdi + 0x150]
add r8d, 4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rdi + 0x138], 0
mov dword [rdi + 0x13c], eax
jne 0x180160f77
movsxd r8, dword [rsp + 0x30]
lea rcx, [rdi + 0xb8]
lea rdx, [rsp + 0x40]
call fcn.1800f3e50
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x138], eax
mov r8d, dword [rdi + 0x13c]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbp
cmp r8d, 4
jge 0x180160fdd
lea rdx, str.Received_too_short_packet
mov rcx, rsi
call fcn.18013ec00
mov dword [rdi + 0xc], 7
xor eax, eax
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800f2280
mov rsi, qword [rsp + 0xf8]
add rsp, 0xd0
pop rdi
ret
mov rdx, qword [rdi + 0x150]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rdi + 0xc], ecx
dec ecx
cmp ecx, 5
ja case.0x180161013.1
movsxd rax, ecx
lea r9, [0x180000000]
mov ecx, dword [r9 + rax*4 + 0x16112c]
add rcx, r9
jmp rcx
cmp r8d, 4
jle case.0x180161013.4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rdi + 0x14c]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x180161013.4
lea eax, [r8 - 4]
mov rcx, rsi
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.18013eb20
mov ebx, eax
test eax, eax
je 0x180161072
mov edx, 5
mov rcx, rdi
call fcn.180161b70
mov eax, ebx
jmp 0x180160fac
mov eax, dword [rdi + 0x13c]
mov rcx, rsi
sub eax, 4
cdqe
add qword [rsi + 0xf8], rax
mov rdx, qword [rsi + 0xf8]
call fcn.180145ec0
jmp case.0x180161013.4
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbx, eax
lea rbp, [rdx + 4]
movzx eax, byte [rdx + 3]
mov rdx, rbx
shl ecx, 8
or ecx, eax
mov dword [rdi + 8], ecx
mov rcx, rbp
call fcn.180161be0
cmp rax, rbx
jae case.0x180161013.4
mov r8, rbp
lea rdx, str.TFTP_error:__s
mov rcx, rsi
call fcn.18013ed70
jmp case.0x180161013.4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rdi
call fcn.180160c10
test eax, eax
je case.0x180161013.4
jmp 0x180160fac
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rsi
lea rdx, [0x1801880cc]
call fcn.18013ec00
mov rcx, rsi
call fcn.1801461d0
test eax, eax
je 0x180160faa
mov edx, 5
mov rcx, rdi
call fcn.180161b70
mov eax, 0x2a
jmp 0x180160fac
Function at 0x18017ce70
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18017ce90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800f8b80
or eax, 0xffffffff
jmp 0x18017ce92
xor eax, eax
add rsp, 0x28
ret
Function at 0x140017740
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 8
call fcn.140023b44
lea rcx, [0x1400164d0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140018de0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400177bd
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140023710
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140018740
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140018771
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x40], rdi
mov rdi, qword [0x14006b248]
or rax, rbx
bsr rcx, rax
mov r8, rdi
inc ecx
shl rbx, cl
lea rcx, [0x14006b258]
lea rdx, [rbx + rbx]
call fcn.1400189e0
mov rdx, qword [0x14006b248]
lea r9, [rbx - 1]
mov qword [0x14006b270], r9
mov qword [0x14006b278], rbx
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x140018916
mov qword [rsp + 0x30], rsi
mov rcx, rdx
movabs rsi, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x14]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x15]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x16]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x17]
imul r11, rbx
xor r11, rax
imul r11, rbx
and r11, r9
shl r11, 4
add r11, qword [0x14006b258]
mov r10, qword [r11]
cmp r10, rdi
jne 0x14001885c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400188d7
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x140018899
mov r10, qword [rax]
cmp r10, rcx
je 0x140018893
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400188d7
mov r8, rax
cmp r10, rax
je 0x1400188b3
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x1400188eb
cmp r10, rax
jne 0x1400188a1
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
je 0x140018911
mov r9, qword [0x14006b270]
jmp 0x1400187e1
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400188d7
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
Function at 0x140019dd0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, dword [0x14006a138]
xor esi, esi
mov ebx, esi
nop
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rsp + 0x20], edi
jne 0x140019e54
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140019e54
cmp word [rsp + 0x30], si
jne 0x140019e5c
test rbx, rbx
jne 0x140019e00
mov rbx, rsi
test rbx, rbx
mov qword [0x14006a140], rbx
sete al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140023710
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14001ede0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov esi, r9d
mov r14d, r8d
mov rbx, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rbx
mov rbp, qword [rsp + 0xe0]
movsxd rdi, edx
lea rax, [0x14006a448]
add rdi, rax
mov ecx, dword [0x14006a318]
mov r15d, dword [rsp + 0xc0]
cmp ecx, r8d
jl 0x14001ef1e
lea eax, [r8 + r15]
cmp ecx, eax
jg 0x14001ef1e
mov ecx, dword [0x14006a31c]
cmp ecx, r9d
jl 0x14001ef1e
lea eax, [r9 + 0x14]
cmp ecx, eax
jg 0x14001ef1e
mov r12b, 1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001ef21
cmp byte [rdi], 0
jne 0x14001ef21
mov byte [rdi], r12b
test rbp, rbp
je 0x14001ee9c
lea rcx, [0x14006a2a0]
call rbp
cmp byte [rdi], 0
je 0x14001ee9e
inc esi
mov eax, 0x14
mov dword [rsp + 0x30], 0xff4c5844
mov word [rsp + 0x28], ax
mov word [rsp + 0x20], ax
movzx r9d, r15w
movzx r8d, si
movzx edx, r14w
call fcn.14001f230
mov rcx, qword [rbx + 0x10]
shl rcx, 3
shr rcx, 1
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
add eax, r14d
mov dword [rsp + 0x48], eax
lea eax, [rsi + 2]
mov dword [rsp + 0x4c], eax
mov r10, qword [0x14006a2f0]
mov rax, qword [r10]
mov r11, qword [rax + 0x70]
mov rax, 0xffffffffffffffff
cmp qword [rbx + 0x18], 0x10
jb 0x14001ef40
mov rcx, qword [rbx]
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14001ef10
mov r8, rcx
jmp 0x14001ef4c
xor r12b, r12b
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14001ee97
mov byte [rdi], al
jmp 0x14001ee9e
inc rax
cmp byte [rbx + rax], 0
jne 0x14001ef40
mov r8, rbx
mov edx, 0xfff1f9ee
mov ecx, 0xff9a8b2c
test r12b, r12b
cmovne edx, ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], 0x100
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor edx, edx
mov rcx, r10
call r11
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001efb4
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001efaf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001efe3
mov rcx, r8
call fcn.140023dd8
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140023710
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3