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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x170], 0
je 0x14017e3c5
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x170]
call fcn.1400a9ff0
mov r11, qword [rsp + 0x90]
mov qword [r11 + 0x170], 0
mov rcx, qword [rsp + 0x90]
add rcx, 0x168
call fcn.140007b70
movzx eax, al
test eax, eax
jne 0x14017e475
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x90]
add rcx, 0x168
call fcn.1400012c0
mov rcx, qword [rsp + 0x90]
add rcx, 0x170
lea r8, [0x14023d824]
mov rdx, rax
call fcn.1400a9d5c
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x170], 0
je 0x14017e46b
cmp dword [rsp + 0x24], 0
jne 0x14017e46b
mov eax, 0xfeff
mov word [rsp + 0x28], ax
mov r9, qword [rsp + 0x90]
mov r9, qword [r9 + 0x170]
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.1400ac434
jmp 0x14017e475
mov eax, 0x22
jmp 0x14017e5a6
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x98], 1
jne 0x14017e4d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x90]
add rdx, 0x90
mov rcx, qword [rsp + 0x38]
call fcn.140001440
mov qword [rsp + 0x60], rax
lea r8, [fcn.14017b2f0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.140177df0
mov dword [rsp + 0x20], eax
jmp 0x14017e569
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x98], 4
jne 0x14017e528
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x90]
add rdx, 0x90
mov rcx, qword [rsp + 0x48]
call fcn.140001440
mov qword [rsp + 0x68], rax
lea r8, [fcn.14017b2f0]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x90]
call fcn.140177960
mov dword [rsp + 0x20], eax
jmp 0x14017e569
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x90]
add rdx, 0x90
mov rcx, qword [rsp + 0x58]
call fcn.140001440
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
call fcn.14017b2f0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x170], 0
je 0x14017e5a2
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x170]
call fcn.1400a9ff0
mov r11, qword [rsp + 0x90]
mov qword [r11 + 0x170], 0
mov eax, dword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1401825e0
Capabilities:
Timestomp file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140182636
xor al, al
jmp 0x140182756
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
jne 0x14018265f
mov dword [rsp + 0x78], 1
jmp 0x140182667
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1401826b9
mov eax, dword [rsp + 0xa8]
shr eax, 0x10
lea r8, [rsp + 0x40]
movzx edx, word [rsp + 0xa8]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
jne 0x1401826a8
mov dword [rsp + 0x7c], 1
jmp 0x1401826b0
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x7c]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1401826fb
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
jne 0x1401826e4
mov dword [rsp + 0x80], 1
jmp 0x1401826ef
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140182747
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
jne 0x140182730
mov dword [rsp + 0x84], 1
jmp 0x14018273b
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x50], al
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [rsp + 0x50]
add rsp, 0x98
ret

Function at 0x140182860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
mov rcx, qword [rsp + 0x2b8]
call fcn.1400a8070
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x288], eax
cmp dword [rsp + 0x288], 0xffffffff
jne 0x1401828c0
xor al, al
jmp 0x140182933
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x280], rax
cmp qword [rsp + 0x280], 0xffffffffffffffff
jne 0x1401828ea
xor al, al
jmp 0x140182933
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r11, qword [rsp + 0x44]
mov qword [rsp + 0x20], r11
movzx eax, byte [rsp + 0x2c0]
test eax, eax
je 0x14018291e
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
mov rdx, qword [rsp + 0x2b8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov al, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x2a8
ret
Function at 0x140182a70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
je 0x140182a90
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x140182a97
xor al, al
jmp 0x140182b45
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x140182ad1
mov eax, dword [rsp + 0x30]
and eax, 0x10
cmp eax, 0x10
jne 0x140182ac3
mov dword [rsp + 0x34], 1
jmp 0x140182acb
mov dword [rsp + 0x34], 0
mov al, byte [rsp + 0x34]
jmp 0x140182b45
mov rcx, qword [rsp + 0x50]
call fcn.1400abd3c
mov qword [rsp + 0x28], rax
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x28]
call fcn.14000d0b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140182b43
xor ecx, ecx
mov rax, qword [rsp + 0x20]
mov word [rax], cx
mov rcx, qword [rsp + 0x28]
call fcn.140182a70
movzx eax, al
test eax, eax
jne 0x140182b24
mov rcx, qword [rsp + 0x28]
call fcn.1400a8710
xor al, al
jmp 0x140182b45
mov rcx, qword [rsp + 0x28]
call fcn.1400a8710
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140182b43
xor al, al
jmp 0x140182b45
mov al, 1
add rsp, 0x48
ret
Function at 0x140183990
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov qword [rsp + 0x280], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rcx, qword [rsp + 0x2b0]
call fcn.140183180
cmp qword [rsp + 0x2b8], 0
je 0x1401839f3
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1401839fa
xor al, al
jmp 0x140183bde
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x140183a20
xor al, al
jmp 0x140183bde
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x140183a44
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140183a44
mov byte [rsp + 0x2c8], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call fcn.140183250
nop
movzx eax, byte [rsp + 0x2c8]
test eax, eax
je 0x140183a70
mov dword [rsp + 0x288], 1
jmp 0x140183a7b
mov dword [rsp + 0x288], 0
lea rcx, [rsp + 0x250]
call fcn.14000dc90
mov edx, dword [rsp + 0x288]
mov rcx, rax
call fcn.14005e080
mov r11, rax
mov rax, qword [rsp + 0x2b0]
mov qword [rax + 8], r11
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 8], 0
je 0x140183b94
cmp qword [rsp + 0x2c0], 0
jne 0x140183ae0
mov rdx, qword [rsp + 0x2b0]
add rdx, 0x10
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x140183b94
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140183b94
mov rax, qword [rsp + 0x2c0]
movzx eax, word [rax + 2]
cmp eax, 0x3a
je 0x140183b69
mov rdx, qword [rsp + 0x2b0]
add rdx, 0x10
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
lea rdx, [0x14023fe44]
call fcn.1400a9434
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
mov rdx, qword [rsp + 0x2c0]
call fcn.1400a9434
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
lea rdx, [0x14023fe74]
call fcn.1400a9434
jmp 0x140183b94
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x10
mov qword [rsp + 0x20], 0
lea r9, [0x14023feb4]
mov r8, qword [rsp + 0x2c0]
xor edx, edx
call fcn.1400ab9dc
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 8], 0
je 0x140183bb0
mov dword [rsp + 0x28c], 1
jmp 0x140183bbb
mov dword [rsp + 0x28c], 0
movzx eax, byte [rsp + 0x28c]
mov byte [rsp + 0x278], al
lea rcx, [rsp + 0x250]
call fcn.14000e680
mov al, byte [rsp + 0x278]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x2a8
ret
Function at 0x140184580
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov qword [rsp + 0x260], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x288], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140002090
nop
mov r8w, 0x2f
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x20]
call fcn.1400061a0
mov dx, 0x2f
lea rcx, [rsp + 0x20]
call fcn.140006840
mov dword [rsp + 0x240], eax
cmp dword [rsp + 0x240], 0
jg 0x14018463e
lea rdx, [0x14023fef4]
mov rcx, qword [rsp + 0x2a8]
call fcn.140002060
jmp 0x1401846ec
mov r9d, dword [rsp + 0x240]
xor r8d, r8d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x20]
call fcn.140002230
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rdx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x2a8]
call fcn.140002d20
nop
lea rcx, [rsp + 0x250]
call fcn.140001470
mov r8d, dword [rsp + 0x240]
add r8d, 1
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x20]
call fcn.1400069a0
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x20]
call fcn.140002d20
nop
lea rcx, [rsp + 0x258]
call fcn.140001470
mov dword [rsp + 0x240], 0
lea r9, [rsp + 0x240]
lea r8, [0x14023ff3c]
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x20]
call fcn.140006540
nop
lea rdx, [0x140240014]
lea rcx, [rsp + 0x248]
call fcn.140006cf0
movzx eax, al
test eax, eax
je 0x140184743
lea rcx, [rsp + 0x248]
call fcn.140001470
jmp 0x140184770
lea rcx, [rsp + 0x248]
call fcn.140012fc0
mov rdx, rax
mov rcx, qword [rsp + 0x2b0]
call fcn.14008d90c
nop
lea rcx, [rsp + 0x248]
call fcn.140001470
jmp 0x1401846f7
mov rcx, qword [rsp + 0x2b0]
call fcn.14000dcd0
test rax, rax
jne 0x140184797
lea rdx, [0x140240968]
mov rcx, qword [rsp + 0x2b0]
call fcn.14008da54
nop
lea rcx, [rsp + 0x20]
call fcn.140001470
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x290
pop rdi
ret
Function at 0x1401859e0
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov qword [rsp + 0x128], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x120], 0
lea rcx, [rsp + 0x118]
call fcn.140001000
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea r8, [0x140242c20]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x110]
call fcn.1400010b0
nop
lea rcx, [rsp + 0x118]
call fcn.140001470
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
lea rcx, [rsp + 0x110]
call fcn.1400012c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x40]
lea r8, [0x140240d84]
lea rdx, [0x140242c38]
lea rcx, [0x140242c48]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140002090
mov eax, dword [rsp + 0x120]
or eax, 1
mov dword [rsp + 0x120], eax
lea rcx, [rsp + 0x110]
call fcn.140001470
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x150
pop rdi
ret

Function at 0x140185b10
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov qword [rsp + 0x128], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x120], 0
lea rcx, [rsp + 0x118]
call fcn.140001000
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea r8, [0x140242be8]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x110]
call fcn.1400010b0
nop
lea rcx, [rsp + 0x118]
call fcn.140001470
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
lea rcx, [rsp + 0x110]
call fcn.1400012c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x40]
lea r8, [0x140240cd4]
lea rdx, [0x140242c00]
lea rcx, [0x140242c10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140002090
mov eax, dword [rsp + 0x120]
or eax, 1
mov dword [rsp + 0x120], eax
lea rcx, [rsp + 0x110]
call fcn.140001470
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x150
pop rdi
ret
Function at 0x1401a0b00
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov qword [rsp + 0x2f8], 0xfffffffffffffffe
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x300], rax
cmp qword [rsp + 0x300], 0x800d
je 0x1401a0b8d
cmp qword [rsp + 0x300], 0x8030
je 0x1401a0c6b
cmp qword [rsp + 0x300], 0x8034
je 0x1401a0d5a
cmp qword [rsp + 0x300], 0x8071
je 0x1401a0d06
cmp qword [rsp + 0x300], 0x80b1
je 0x1401a0d80
jmp 0x1401a0db9
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8033
xor edx, edx
lea rcx, [0x1403adbe0]
call fcn.1400d5e50
test rax, rax
je 0x1401a0bd3
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x89
call fcn.1400f0ec0
cmp eax, 7
jne 0x1401a0bd3
xor eax, eax
jmp 0x1401a0dbe
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x75
call fcn.1400f0ec0
cmp eax, 6
jne 0x1401a0c64
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8003
xor edx, edx
lea rcx, [0x1403adbe0]
call fcn.1400d5e50
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800c
call fcn.14000f350
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x800d
call fcn.14000f350
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x8030
call fcn.14000f350
xor eax, eax
jmp 0x1401a0dbe
mov r8d, 0xffffffff
mov edx, 0x124
mov ecx, 0x8b
call fcn.1400f0ec0
cmp eax, 6
jne 0x1401a0cff
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8037
xor edx, edx
lea rcx, [0x1403adbe0]
call fcn.1400d5e50
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800c
call fcn.14000f350
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
mov r8d, 1
mov edx, 0x800d
call fcn.14000f350
mov rcx, qword [rsp + 0x320]
add rcx, 0x220
xor r8d, r8d
mov edx, 0x8030
call fcn.14000f350
xor eax, eax
jmp 0x1401a0dbe
lea rcx, [rsp + 0x2f0]
call fcn.140001000
mov qword [rsp + 0x308], rax
mov rcx, qword [rsp + 0x308]
call fcn.1400012c0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x2f0]
call fcn.140001470
xor eax, eax
jmp 0x1401a0dbe
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140162920
nop
lea rcx, [rsp + 0x30]
call fcn.1400819f8
nop
lea rcx, [rsp + 0x30]
call fcn.1401628d0
xor eax, eax
jmp 0x1401a0dbe
mov rax, qword [rsp + 0x320]
mov dword [rax + 0x8e8], 1
mov rcx, qword [rsp + 0x320]
call fcn.14000f570
test eax, eax
je 0x1401a0db5
mov edx, 2
mov rcx, qword [rsp + 0x320]
call fcn.1400784a0
xor eax, eax
jmp 0x1401a0dbe
mov eax, 1
add rsp, 0x318
ret
Function at 0x1401b9a30
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401b9b12
mov qword [rsp + 0x28], 0
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call sub.IPHLPAPI.DLL_NotifyAddrChange
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401b9aa2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1401b9aa2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, [0x14021a0a8]
mov ecx, 1
call fcn.1400dc5d0
jmp 0x1401b9b12
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401b9ad8
cmp dword [rsp + 0x20], 0x102
jne 0x1401b9ad8
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x1401b9aaa
cmp dword [rsp + 0x20], 0
jne 0x1401b9b02
mov rax, qword [rsp + 0x70]
add rax, 0x314
mov ecx, 1
xchg dword [rax], ecx
lea rdx, [0x14021a0e0]
mov ecx, 1
call fcn.1400dc5d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x1401b9a39
add rsp, 0x68
ret
Function at 0x1401bbdb0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10b0
call fcn.1401d5c30
sub rsp, rax
mov qword [rsp + 0x1090], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x10a8], rax
mov dword [rsp + 0x1088], 0
mov byte [rsp + 0x70], 0
lea rdi, [rsp + 0x71]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
mov dword [rsp + 0x1070], 0
jmp 0x1401bbe22
mov eax, dword [rsp + 0x1070]
add eax, 2
mov dword [rsp + 0x1070], eax
mov rcx, qword [rsp + 0x10c8]
call fcn.1400a81f4
cmp dword [rsp + 0x1070], eax
jge 0x1401bbf07
cmp dword [rsp + 0x1070], 0x1000
jge 0x1401bbf07
mov rdx, qword [rsp + 0x10c8]
lea rcx, [rsp + 0x1080]
call fcn.140002090
mov qword [rsp + 0x1098], rax
mov rax, qword [rsp + 0x1098]
mov qword [rsp + 0x10a0], rax
mov r9d, 2
mov r8d, dword [rsp + 0x1070]
lea rdx, [rsp + 0x1078]
mov rcx, qword [rsp + 0x10a0]
call fcn.140002230
nop
lea rcx, [rsp + 0x1080]
call fcn.140001470
mov dword [rsp + 0x1074], 0
lea rcx, [rsp + 0x1078]
call fcn.1400012c0
lea r8, [rsp + 0x1074]
lea rdx, [0x140213494]
mov rcx, rax
call fcn.1400aa430
mov eax, dword [rsp + 0x1070]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
movzx eax, byte [rsp + 0x1074]
mov byte [rsp + rcx + 0x70], al
lea rcx, [rsp + 0x1078]
call fcn.140001470
jmp 0x1401bbe11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x10c8]
call fcn.1400a81f4
mov eax, eax
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x1401bbf8f
lea rdx, [0x14021301c]
mov rcx, qword [rsp + 0x10c0]
call fcn.140002090
mov eax, dword [rsp + 0x1088]
or eax, 1
mov dword [rsp + 0x1088], eax
mov rax, qword [rsp + 0x10c0]
jmp 0x1401bbfe9
lea rcx, [rsp + 0x50]
call fcn.140002d50
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140002060
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x10c0]
call fcn.140001440
mov eax, dword [rsp + 0x1088]
or eax, 1
mov dword [rsp + 0x1088], eax
lea rcx, [rsp + 0x50]
call fcn.140001470
mov rax, qword [rsp + 0x10c0]
mov rcx, qword [rsp + 0x10a8]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x10b0
pop rdi
ret
Function at 0x1401bc010
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400a81f4
add rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call fcn.140002d50
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x1401bc0de
lea rdx, [0x140212f9c]
mov rcx, qword [rsp + 0xa0]
call fcn.140002090
mov eax, dword [rsp + 0x7c]
or eax, 1
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x60]
call fcn.140001470
mov rax, qword [rsp + 0xa0]
jmp 0x1401bc159
mov dword [rsp + 0x78], 0
jmp 0x1401bc0f3
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x78], eax
jge 0x1401bc11f
movsxd rcx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
movzx r8d, byte [rax + rcx]
lea rdx, [0x140213488]
lea rcx, [rsp + 0x60]
call fcn.14000f8d0
jmp 0x1401bc0e8
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.140001440
mov eax, dword [rsp + 0x7c]
or eax, 1
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x60]
call fcn.140001470
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret