joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007f584
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov r14, qword [0x14025a228]
test r14, r14
jne 0x14007f6bb
lea rcx, [0x1401b4485]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14007f5ee
mov rbx, rax
lea rdx, [0x1401b44a6]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007f5ee
mov rdi, rax
lea rdx, [0x1401b44b4]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007f5ee
mov r15, rax
xor ebx, ebx
jmp 0x14007f673
lea rcx, [0x1401b4440]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14007f6cf
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007f6cf
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007f6cf
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007f6cf
mov rdi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x14007f6cf
mov r15, qword [rsp + 0x20]
mov ecx, 0x18
call fcn.14007c68e
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x14025a228], r14
je 0x14007f6bb
mov rdi, rax
cmp qword [r14], 0
je 0x14007f6ab
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 8
mov rcx, r14
call fcn.140028f50
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, [0x14024c278]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.8Ee_
call fcn.140158310
int3
Function at 0x140082e6e
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test r12, r12
je 0x140082efe
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call rbp
cmp eax, 0xc0000000
jb 0x140082e9b
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x140082e9b
and ebx, 0x7fffffff
je 0x140082efe
mov al, byte [0x14025a380]
mov edx, 4
xor ecx, ecx
call fcn.1401437f0
test rax, rax
je 0x140082f11
mov dword [rax], ebx
jmp 0x140082f00
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.140157f40
int3
Function at 0x140093fcc
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
mov rbx, r9
mov rsi, r8
mov r11, rdx
movabs rdi, 0x100000001b3
mov r15, qword [r9 + 8]
mov r8, qword [r9 + 0x10]
lea rdx, [r8*8]
movabs rax, 0xcbf29ce484222325
mov r9, r15
test rdx, rdx
je 0x140094040
movzx r10d, byte [r9 + 4]
xor rax, r10
imul rax, rdi
movzx r10d, byte [r9 + 5]
xor r10, rax
mov eax, dword [r9]
add r9, 8
imul r10, rdi
xor rax, r10
imul rax, rdi
add rdx, 0xfffffffffffffff8
jmp 0x14009400f
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400941c2
xor edx, edx
div r9
mov rdi, rdx
mov rax, qword [rsi + 8]
mov r12, rdx
shl r12, 5
movzx edx, word [rax + r12 + 0x1c]
cmp dx, word [rsi + 0x20]
jne 0x1400940ad
add rax, r12
cmp qword [rax + 0x10], r8
jne 0x1400940ad
mov r14, qword [rax + 8]
xor edx, edx
cmp r8, rdx
je 0x1400941ad
mov r9b, byte [r14 + rdx*8 + 4]
cmp r9b, byte [r15 + rdx*8 + 4]
jne 0x1400940ad
mov r9b, byte [r14 + rdx*8 + 5]
cmp r9b, byte [r15 + rdx*8 + 5]
jne 0x1400940ad
mov r9d, dword [r14 + rdx*8]
lea r10, [rdx + 1]
cmp r9d, dword [r15 + rdx*8]
mov rdx, r10
je 0x14009407b
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
movabs r14, 0x8000000000000008
lea r13, [rsp + 0x38]
mov rcx, r13
mov rdx, r15
mov rbx, r11
call fcn.1400941ea
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, rbx
mov rbx, r14
mov r8, r13
call fcn.140093801
mov rdx, qword [rbp]
mov ebp, dword [rbp + 8]
cmp rdx, r14
jne 0x14009415a
mov rdx, qword [rsi + 0x10]
cmp rdx, rdi
jbe 0x1400941da
movzx edi, word [rsi + 0x20]
mov rsi, qword [rsi + 8]
mov rcx, qword [rsi + r12]
mov rdx, qword [rsi + r12 + 8]
call fcn.140093a65
mov r14, qword [rsp + 0x28]
mov rax, qword [r14 + 0x10]
mov qword [rsi + r12 + 0x10], rax
movups xmm0, xmmword [r14]
movups xmmword [rsi + r12], xmm0
mov dword [rsi + r12 + 0x18], ebp
mov word [rsi + r12 + 0x1c], di
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], ebp
mov qword [rax], rbx
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x5c]
lea rax, [rsp + 0xd4]
mov ecx, 0x1d
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
mov rdi, qword [rsp + 0x30]
mov qword [rdi], rdx
mov dword [rdi + 8], ebp
add rdi, 0xc
mov ecx, 0x1d
mov rsi, rax
rep movsd dword [rdi], dword [rsi]
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx]
mov rdx, r15
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140093a65
mov eax, dword [rax + 0x18]
mov dword [rcx + 8], eax
movabs rax, 0x8000000000000008
mov qword [rcx], rax
jmp 0x14009418f
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zerothere_is_no_such_thing_as_a_release_load
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_src_nfa_thompsonmap.rs
mov edx, 0x39
call fcn.1401583f0
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_src_nfa_thompsonmap.rs
mov rcx, rdi
call fcn.140158360
int3
Function at 0x1400b5548
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x808
movaps xmmword [rsp + 0x7f0], xmm6
invalid
invalid
add byte [rax], al
mov rdi, r9
mov rbx, rcx
cmp r9, 0x7fffffff
jbe 0x1400b5590
movabs rax, 0x8000000000000003
mov qword [rbx], rax
mov rsi, r8
mov r14, rdx
test byte [rdx + 0x13], 1
je 0x1400b55a7
cmp byte [r14 + 0x15], 2
jne 0x1400b57ac
lea r15, [r14 + 0x28]
lea rdx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_src_nfa_thompsoncompiler.rs
mov rcx, r15
call fcn.1400cf092
movabs rax, 0x8000000000000007
mov qword [rbx], rax
jmp 0x1400b5fb4
Function at 0x1400e8842
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x138], r8
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400e8ad7
mov eax, dword [rbx]
cmp eax, 2
je 0x1400e8a65
test eax, eax
je 0x1400e8a18
mov rdx, qword [rsi + 0x198]
cmp rdx, qword [rsi + 0x190]
jne 0x1400e8a4f
mov rcx, qword [rsp + 0xf0]
mov r14, qword [rsp + 0x38]
mov eax, r14d
shr r14, 0x20
cmp rcx, r14
cmovb r14, rcx
mov r13d, dword [rsp + 0x34]
lea r15, [r14 + r13]
add rax, r15
cmp rdx, rax
jae 0x1400e88db
lea rcx, [rsi + 0x180]
mov rdx, rax
call fcn.1400ea7cf
mov rdx, qword [rsi + 0x190]
mov rcx, qword [rsi + 0x188]
lea rax, [0x14021a378]
mov qword [rsp + 0x20], rax
mov r8, r13
mov r9, r15
call fcn.1400ea820
lea rcx, [0x14021a390]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r14
call fcn.14012a2af
mov rcx, qword [rsi + 0x188]
mov rdx, qword [rsi + 0x190]
lea r9, [0x14021a3a8]
mov r8, r13
call fcn.1400ea837
mov qword [rsp + 0x70], rax
mov rbp, rdx
xor ecx, ecx
test rax, rax
cmove ebp, ecx
mov rcx, qword [rsi + 0x188]
mov rdx, qword [rsi + 0x190]
lea rax, [0x14021a3c0]
mov qword [rsp + 0x20], rax
mov r8, r13
mov r9, r15
call fcn.1400ea820
mov r13, rax
mov r12, rdx
test rax, rax
mov eax, 0
cmove r12d, eax
mov rcx, qword [rsi + 0x188]
mov rdx, qword [rsi + 0x190]
lea r9, [0x14021a3d8]
mov r8, r15
call fcn.1400e97d6
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], 7
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x78]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0x1f0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400e8a24
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x1400e8a6a
movabs rbx, 0x8009031700000002
jmp 0x1400e8a6a
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
cmp qword [rsi + 0x190], rax
jb 0x1400e8a40
mov qword [rsi + 0x190], rax
and qword [rsi + 0x198], 0
mov qword [rsi + 0x218], r14
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400e96ff
cmp qword [rbx], 0
je 0x1400e8ac6
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 1
mov rcx, rbx
call fcn.14005e2ea
cmp al, 0xd
jne 0x1400e8a9f
lea rcx, [rsp + 0x38]
mov qword [rdi], 2
and qword [rsi + 0x138], 0
call fcn.14006e70c
jmp 0x1400e8ab2
mov qword [rdi], 1
mov qword [rdi + 8], rbx
and qword [rsi + 0x138], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x218]
and qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x1400e8aaa
Function at 0x1400e9822
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x38], r8
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400e9aae
mov eax, dword [rbx]
cmp eax, 2
je 0x1400e9a42
test eax, eax
je 0x1400e99f5
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x1400e9a2c
mov rcx, qword [rsp + 0xf0]
mov r14, qword [rsp + 0x38]
mov eax, r14d
shr r14, 0x20
cmp rcx, r14
cmovb r14, rcx
mov r13d, dword [rsp + 0x34]
lea r15, [r14 + r13]
add rax, r15
cmp rdx, rax
jae 0x1400e98b8
lea rcx, [rsi + 0x80]
mov rdx, rax
call fcn.1400ea7cf
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, [0x14021a378]
mov qword [rsp + 0x20], rax
mov r8, r13
mov r9, r15
call fcn.1400ea820
lea rcx, [0x14021a390]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r14
call fcn.14012a2af
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x14021a3a8]
mov r8, r13
call fcn.1400ea837
mov qword [rsp + 0x70], rax
mov rbp, rdx
xor ecx, ecx
test rax, rax
cmove ebp, ecx
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea rax, [0x14021a3c0]
mov qword [rsp + 0x20], rax
mov r8, r13
mov r9, r15
call fcn.1400ea820
mov r13, rax
mov r12, rdx
test rax, rax
mov eax, 0
cmove r12d, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x14021a3d8]
mov r8, r15
call fcn.1400e97d6
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], 7
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x78]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400e9a01
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x1400e9a47
movabs rbx, 0x8009031700000002
jmp 0x1400e9a47
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
cmp qword [rsi + 0x90], rax
jb 0x1400e9a1d
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], r14
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400ea6e8
cmp qword [rbx], 0
je 0x1400e9a9d
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 1
mov rcx, rbx
call fcn.14005e2ea
cmp al, 0xd
jne 0x1400e9a79
lea rcx, [rsp + 0x38]
mov qword [rdi], 2
and qword [rsi + 0x38], 0
call fcn.14006e70c
jmp 0x1400e9a89
mov qword [rdi], 1
mov qword [rdi + 8], rbx
and qword [rsi + 0x38], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x118]
and qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x1400e9a84
Function at 0x1400eab4b
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, [0x14021a348]
call fcn.1400ea837
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xf0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400eac9a
test eax, eax
je 0x1400eac27
cmp eax, 0x90317
je 0x1400eac94
cmp eax, 0x90321
jne 0x1400eacb8
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400eaaf5
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1400eacc6
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.1400eacda
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14012862b
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400eaaf5
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
add dword [rax], r8d
mov byte [rsi + 1], 1
jmp 0x1400eacb4
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400eacc6
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
Function at 0x1400eb1ca
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, [0x14021a348]
call fcn.1400ea837
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400eb33a
test eax, eax
je 0x1400eb2b2
cmp eax, 0x90317
je 0x1400eb334
cmp eax, 0x90321
jne 0x1400eb358
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
add dword [rax], eax
add byte [rax], al
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
stc
call fcn.1400eb16b
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400eb366
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
xchg edi, eax
jo 0x1400eb2c4
add byte [rax], al
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
lea ebx, [rdi + 0x140]
mov byte [rsi + 1], 1
jmp 0x1400eb354
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400eb366
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
Function at 0x1400f01f7
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x338
mov rbx, rdx

Function at 0x1400f0ec7
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
add byte [rcx + rcx*4 - 0x3d], cl
Function at 0x140102f13
Capabilities:
Load assembly via iassembly

Disassembly:
push r15
push r14
push r13
push r12
push rsp

Function at 0x14010d0a1
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x2af8
call fcn.1401568e0
sub rsp, rax
movaps xmmword [rsp + 0x2ae0], xmm9
movaps xmmword [rsp + 0x2ad0], xmm8
movaps xmmword [rsp + 0x2ac0], xmm7
movaps xmmword [rsp + 0x2ab0], xmm6
mov r8, rcx
cmp dword [rcx + 0x198], 2
je 0x14010f890
mov rdi, rdx
lea rsi, [r8 + 0x198]
mov rcx, rsi
mov qword [rsp + 0x28], r8
call fcn.1400df471
mov r8, qword [rsp + 0x28]
test al, al
je 0x14010f890
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x130], rsi
lea rax, [r8 + 0xf0]
mov qword [rsp + 0x238], rax
lea rcx, [r8 + 0xe1]
call fcn.140110caf
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rdx]
mov qword [rsp + 0x230], rax
mov rsi, qword [rdx + 8]
mov al, byte [rdx + 0xe8]
mov byte [rsp + 0x36], al
mov al, byte [rdx + 0xea]
mov byte [rsp + 0x37], al
lea rax, [rdx + 0x170]
mov qword [rsp + 0x138], rax
lea rax, [rdx + 0x28]
mov qword [rsp + 0x220], rax
mov rdi, rsi
shl rdi, 5
cmp rsi, 1
mov rax, rsi
adc rax, 0
mov qword [rsp + 0x228], rax
movss xmm6, dword [0x14015f8d0]
xorps xmm7, xmm7
lea rbp, [rsp + 0xf50]
lea rbx, [rsp + 0x2d0]
movabs r15, 0x100003600
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x178], rdi

Function at 0x1401195f1
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov rdi, rdx
mov rsi, rcx
lea r15, [rsp + 0x58]
mov r8d, 0xb
mov rcx, r15
mov rdx, rax
call fcn.1401194c1
lea r12, [rsp + 0x38]
mov dword [r12], 0x800
lea rbx, [rsp + 0x3c]
and dword [rbx], 0
mov ecx, 0x800
call fcn.140128dc0
lea r14, [rsp + 0x40]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov r15, qword [r15 + 8]
mov r13, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdx
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9, rbx
call r13
cmp eax, 0xea
jne 0x14011968d
mov edx, dword [rsp + 0x38]
mov rcx, r14
call fcn.14012866f
mov rdx, qword [rsp + 0x48]
jmp 0x14011965a
test eax, eax
jne 0x1401196af
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1401196d9
movabs rax, 0xde00000002
jmp 0x1401196b7
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.14007fe3e
jmp 0x1401196ed
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call fcn.1401279ff
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140124310
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
cmp rdx, 0x20
jb fcn.140052c10
jmp fcn.14004d1a0
Function at 0x14012a47a
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14012a4a7
xor eax, eax
jmp 0x14012a4ac
call fcn.14007d993
nop
add rsp, 0x38
ret

Function at 0x14012bc10
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx

Function at 0x14012dba0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
add byte [rax], al
lea rbp, [rsp + 0x80]
add byte [rax], 0
add byte [rax - 0x39], cl
mov dword [rbp + 0x410], 0xfffffffe
add dh, bh
invalid
invalid
invalid
Function at 0x140134680
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov eax, edx
mov rdx, rcx
lea rcx, [rsp + 0x28]
sub al, ch
jmp 0x189134616
mov eax, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
and al, 0x30
movabs rbx, 0x8000000000000000
cmp rax, rbx
cmp eax, ebx

Function at 0x140136bf0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rsp + 0x2e], ax
mov rax, qword [0x14025a2d8]
cmp rax, 3
jne 0x140136da1
lea rax, [rsp + 0x2e]
mov qword [rsp + 0x38], rax
cmp rdi, 0x17f
ja 0x140136db1
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x70], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x140136c78
xor edx, edx
nop dword [rax]
cmp byte [rsp + rdx + 0x70], 0
je 0x140136d14
inc rdx
cmp rax, rdx
jne 0x140136c60
jmp 0x140136d70
lea rcx, [rsp + 0x77]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x140136caa
xor edx, edx
nop dword [rax + rax]
cmp byte [rsp + rdx + 0x70], 0
je 0x140136d14
inc rdx
cmp rcx, rdx
jne 0x140136c90
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x140136cae
jmp 0x140136cee
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x14015f890]
movabs r8, 0x8080808080808080
movdqu xmm1, xmmword [rsp + rcx + 0x70]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x140136cee
add rcx, 0x10
cmp rcx, rdx
jbe 0x140136cc0
sub rax, rcx
je 0x140136d70
lea r8, [rsp + rcx]
add r8, 0x70
xor edx, edx
nop dword [rax]
cmp byte [r8 + rdx], 0
je 0x140136d11
inc rdx
cmp rax, rdx
jne 0x140136d00
jmp 0x140136d70
add rdx, rcx
cmp rdx, rdi
jne 0x140136d70
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140136d84
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140136d98
lea rax, str._t__
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140136dc1
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x2e]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x140136dc1
mov rbx, rdx
call fcn.14015d4e0
mov rdx, rbx
jmp 0x140136c21
lea r9, [rsp + 0x38]
mov rcx, rsi
mov r8, rdi
call fcn.14015d540
nop
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
ret