joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e1d8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140050880
sub rsp, rax
mov rax, qword [0x1400a9020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14006b090
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005e227
mov rax, rbp
jmp 0x14005e32f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xae5f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400716ac
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xae5f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005e32b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005e32b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400716ac
test rax, rax
js 0x14005e32b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005e32b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005e31d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005e31d
cmp byte [rcx], 0xd
jne 0x14005e303
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005e312
cmp byte [rcx + 1], 0xa
jne 0x14005e312
inc rcx
jmp 0x14005e312
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xa95d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005e2e5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005e32f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14004fbe0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006b1b0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14006b1c6
mov al, 1
jmp 0x14006b226
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14006b1d7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14006b224
mov ecx, dword [rcx + 0x18]
nop
call fcn.140075830
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006b224
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14006b224
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006b224
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14006b226
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140070a4c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400ae5f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140070aa3
cmp word [rdx], r13w
jne 0x140070aa3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140070aa8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140070bcd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140070bee
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140070ae1
mov rdx, r9
mov word [rbx], cx
jmp 0x140070b08
cmp r9, r8
jae 0x140070b18
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140070ac2
jmp 0x140070bcd
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140070bc2
cmp dword [rsp + 0x80], esi
je 0x140070bc2
lea r8, [0x1400ae5f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140070b9a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140070b6a
mov word [rbx], r13w
jmp 0x140070bca
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140070b77
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140070bca
cmp word [rsp + 0x70], r13w
jne 0x140070ba7
cmp rbx, r14
je 0x140070b64
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400716b4
cmp word [rsp + 0x70], r13w
je 0x140070bcd
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400ae5f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140070bc7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140070bcd
Function at 0x140074b04
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140074b34
xor eax, eax
jmp 0x140074bf7
mov rbp, rbx
cmp word [rax], si
je 0x140074b59
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140074b40
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140074b3c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400702e8
movsxd r14, eax
test eax, eax
jne 0x140074b97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140074b2d
mov rcx, r14
call fcn.14006dea0
mov rdi, rax
test rax, rax
jne 0x140074bb0
xor ecx, ecx
call fcn.14006da1c
jmp 0x140074b8c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400702e8
test eax, eax
jne 0x140074be1
mov rcx, rdi
call fcn.14006da1c
jmp 0x140074beb
xor ecx, ecx
call fcn.14006da1c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140074c14
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140074c9b
mov rsi, rbx
cmp word [rax], bp
je 0x140074c5a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140074c44
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140074c40
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14006dea0
mov rdi, rax
test rax, rax
je 0x140074c88
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140052040
mov rbp, rdi
xor ecx, ecx
call fcn.14006da1c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140077d84
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14006b670
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140077e25
cmp ebx, dword [rsp + 0x30]
je 0x140077e1e
test esi, esi
je 0x140077e1e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140077df9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140077e06
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140077de3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140077e0a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140077e27
mov eax, 1
jmp 0x140077e27
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007c650
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400716b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400716b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14007c7a0
cmp rax, 0xffffffffffffffff
je 0x14007c7a0
xor edi, edi
test rbp, rbp
jle 0x14007c74b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14006bc44
mov rbx, rax
test rax, rax
jne 0x14007c6d8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14007c741
mov edx, 0x8000
mov ecx, r14d
call fcn.140068a6c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14006d714
cmp eax, 0xffffffff
je 0x14007c721
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14007c6e8
mov edx, r15d
mov ecx, r14d
call fcn.140068a6c
jmp 0x14007c741
cmp byte [rsi + 0x38], dil
je 0x14007c738
cmp dword [rsi + 0x34], 5
jne 0x14007c738
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14007c741
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14006da1c
jmp 0x14007c7b4
jns 0x14007c7b4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400716b4
cmp rax, 0xffffffffffffffff
jne 0x14007c76c
cmp byte [rsi + 0x30], dil
je 0x14007c7b4
mov edi, dword [rsi + 0x2c]
jmp 0x14007c7b4
mov ecx, r14d
call fcn.140075830
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14007c7b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14007c7b4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14007c7ad
mov eax, dword [rsi + 0x2c]
jmp 0x14007c7b2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400716b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14003b110
Capabilities:
Persist via run registry key

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rsi, rcx
mov edx, 1
call fcn.14005b7b8
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3d0]
lea r8, str.MainWndStartHidden
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3d4]
lea r8, str.DaphneAutoStart
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3e0]
lea r8, str.DaphneCheckUpdates
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3d8]
lea r8, str.DaphneAlternateBackground
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3dc]
lea r8, str.DaphneHideZombies
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3f8]
lea r8, str.MainFastRefresh
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3f4]
lea r8, str.DaphneProxy
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
call fcn.14005b7e2
mov rbx, qword [rax + 8]
mov rdi, qword [rbx]
lea rcx, [rsi + 0x3e8]
call qword [0x1400693b8]
mov r9, rax
lea r8, str.DaphneProxyAddress
lea rdx, [0x14006ae50]
mov rcx, rbx
call qword [rdi + 0x120]
call fcn.14005b7e2
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov r9d, dword [rsi + 0x3f0]
lea r8, str.DaphneProxyPort
lea rdx, [0x14006ae50]
call qword [rax + 0x110]
mov r11, qword [rsi + 0x140]
mov eax, dword [rsi + 0x3d8]
mov dword [r11 + 0x118], eax
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x48], rbp
mov r9d, 0x2001f
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x38]
call fcn.14003a690
mov rbx, qword [rsp + 0x38]
test eax, eax
jne 0x14003b36e
cmp dword [rsi + 0x3d4], eax
je 0x14003b344
lea rcx, [0x1400a02c0]
call qword [0x1400693b8]
mov rdi, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x14003b354
mov rcx, rax
call qword [0x140068488]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9d, [rbp + 1]
xor r8d, r8d
lea rdx, str.LHFDaphne
mov rcx, rbx
call qword [0x140068090]
jmp 0x14003b354
lea rdx, str.LHFDaphne
mov rcx, rbx
call qword [0x140068088]
test rbx, rbx
je 0x14003b36a
mov rcx, rbx
call qword [0x1400680c8]
mov rbx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebp
mov rcx, rsi
call fcn.14005bd9a
nop
test rbx, rbx
je 0x14003b385
mov rcx, rbx
call qword [0x1400680c8]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140054b70
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14009fd50]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
call qword [0x1400683f8]
lea r8, [rsp + 0x30]
mov rcx, rax
mov edx, 0x28
call qword [0x1400680e8]
test eax, eax
je 0x140054c1b
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400680d8]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140054c15
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], 0
call qword [0x1400680e0]
test eax, eax
je 0x140054c2f
call qword [0x1400684c0]
test eax, eax
je 0x140054c2f
mov rcx, qword [rsp + 0x30]
call qword [0x1400683f0]
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005c460
add rsp, 0x68
ret
mov rcx, qword [rsp + 0x30]
call qword [0x1400683f0]
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005c460
add rsp, 0x68
ret
Function at 0x14000ab30
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x68
lea rdx, [rsp + 0x30]
lea rcx, [0x14005d480]
call fcn.14000ae40
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000ac8f
mov edx, 0xfffe
mov ecx, 0x40
call qword [0x140063768]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000ac84
lea rax, [0x140061918]
mov qword [rsp + 0x28], rax
lea rax, [0x14005d6f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, [0x1400345a8]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x40]
call qword [0x140063e90]
mov dword [rsp + 0x50], eax
cmp dword [0x14005f130], 1
jne 0x14000ac14
lea r8, [rsp + 0x48]
lea rdx, [0x1400345d0]
mov rcx, 0xffffffff80000001
call qword [0x140063cf8]
test eax, eax
jne 0x14000ac14
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005f2b4]
mov rcx, qword [rsp + 0x48]
call qword [0x140063cf0]
mov rcx, qword [rsp + 0x48]
call qword [0x140063d00]
cmp dword [0x14005f12c], 1
jne 0x14000ac79
lea r8, [rsp + 0x48]
lea rdx, [0x140034630]
mov rcx, 0xffffffff80000002
call qword [0x140063cf8]
test eax, eax
jne 0x14000ac79
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005f302]
mov rcx, qword [rsp + 0x48]
call qword [0x140063cf0]
mov rcx, qword [rsp + 0x48]
call qword [0x140063d00]
mov rcx, qword [rsp + 0x40]
call qword [fcn.140063780]
mov rcx, qword [rsp + 0x38]
call qword [fcn.140063780]
mov eax, 1
add rsp, 0x68
ret

Function at 0x14000aca0
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x38
cmp dword [0x14005f130], 1
jne 0x14000ace7
lea r8, [rsp + 0x20]
lea rdx, [0x140034690]
mov rcx, 0xffffffff80000001
call qword [0x140063cf8]
test eax, eax
jne 0x14000ace7
lea rdx, [0x14005f2b4]
mov rcx, qword [rsp + 0x20]
call qword [0x140063d48]
mov rcx, qword [rsp + 0x20]
call qword [0x140063d00]
cmp dword [0x14005f12c], 1
jne 0x14000ad2a
lea r8, [rsp + 0x20]
lea rdx, [0x1400346f0]
mov rcx, 0xffffffff80000002
call qword [0x140063cf8]
test eax, eax
jne 0x14000ad2a
lea rdx, [0x14005f302]
mov rcx, qword [rsp + 0x20]
call qword [0x140063d48]
mov rcx, qword [rsp + 0x20]
call qword [0x140063d00]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1403bc598
Capabilities:
Encode data using xor

Disassembly:
invalid
js 0x1403bc579
sbb bh, byte [rbx + 0x7f]
invalid
fist word [rdi - 0x32]
jae 0x1403bc4a9
sal byte [rdx], cl
sbb esp, dword [rcx - 0x1ea94be6]
int1
mov cl, 0xb6
sbb dh, byte [rsi + rdx*2 - 0x494e0e1f]
in al, 0x97
enter 0xffffffffffffd47a, 0xffffffffffffffce
cmp dl, byte [rbx - 0x2865ce64]
js 0x1403bc540
jmp 0x1403bc4ff
ja 0x1403bc507
xlatb
push rbp
int3
loopne 0x1403bc511
and byte [rdi - 0x20], bl
wait
and byte [rdi - 0x20], bl
wait
and byte [rdi], bl
outsb dx, byte [rsi]
adc byte [rdx - 0x35], dl
mov dl, 0x41
fnsave dword [rsi - 0x9832084]
sbb ch, ch
and ebx, dword [rdx]
mov ah, 0x9e
sti
push rsi
mov esp, 0x209be119
loope 0x1403bc535
and byte [rdi], bl
jg 0x1403bc5d7
sbb ah, byte [rax + 0x784f3531]
sbb dh, byte [rbp + 0x1ba29c6b]
invalid
sub rsp, 8
sub rsp, 8
jmp 0x1403bc574

Function at 0x1403bfc74
Capabilities:
Encode data using xor

Disassembly:
push rdx
js 0x1403bfc67
movsd dword [rdi], dword [rsi]
jp 0x1403bfc9a
invalid
in eax, dx
mov ah, 0x63
or al, 0xd
sbb al, 0x5f
test al, 2
sbb esp, esp
xor eax, 0x8ebf31a5
leave
push rbp
mov eax, 0x37088e54
add esp, dword [rbx + rsi*2 + 0x196644d2]
jp 0x1403bfcd8
jae 0x1403bfc61
sbb word [rdx + 0x44], di
sub edx, edx
test dword [rdi - 0x6b3b4767], eax
xor edi, dword [rax - 0x20cb6b3c]
cdq
loope 0x1403bfc8d
mov eax, 0xb83394c4
invalid
jp 0x1403bfcfc
xor al, 0x36
wait
mov esp, 0x293cef04
cmp al, 0x29
out 0x32, al
pop rbp
stosb byte [rdi], al
mov ecx, 0x75accdc3
movabs al, byte [0x7aa4036c0c8efb]
sbb cl, cl
sbb cl, byte [rbx]
mov eax, 0x84c031a4
wait
jp 0x1403bfcae
out 0xf7, eax
cmp dword [rdi - 0x11c81a43], 0x3e
movsd dword [rdi], dword [rsi]
xor dword [rdi + 3], esi
mov ss, ebx
pop rcx
add esp, dword [rsi + rcx*4 + 0xc5f27df]
pushfq
wait
imul ecx, ebx, 0x59
jle 0x1403bfd05
in eax, dx
mov edx, 0xa30d277b
mov dl, 0x60
scasd eax, dword [rdi]
sbb dh, byte [rcx + rdx*2 - 0x7340ce5b]
leave
push rbp
mov edi, 0x7f55a986
xor byte [r14], dil
movsd dword [rdi], dword [rsi]
xor dword [rdi - 0x40aa3674], edi
xchg byte [rcx + 0x304b7f55], ch
wait
push rbp
jg 0x1403bfd53
xor byte [rsi], bh
wait
invalid
in al, 0xd4
invalid
Function at 0x140011620
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14003a730], rbx
je 0x14001166c
cmp rax, rbx
jne 0x14001165f
mov ebx, 1
mov esi, ebx
jmp 0x140011671
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140011644
mov ebx, 1
mov eax, dword [0x14003a738]
cmp eax, ebx
jne 0x140011687
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400116ec
mov eax, dword [0x14003a738]
test eax, eax
jne 0x1400116e6
mov dword [0x14003a738], ebx
lea r15, [0x1400132f8]
lea rdi, [0x1400132e0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400116d8
test eax, eax
jne 0x1400116dc
cmp qword [rdi], 0
je 0x1400116cd
mov rax, qword [rdi]
mov rcx, qword [case.0x140007fd3.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400116ae
test eax, eax
je 0x1400116ec
mov eax, 0xff
jmp 0x1400117c8
mov dword [0x14003a180], ebx
mov eax, dword [0x14003a738]
cmp eax, ebx
jne 0x140011713
lea rdx, [0x1400132d8]
lea rcx, [0x1400132b0]
call sub.msvcrt.dll__initterm
mov dword [0x14003a738], 2
test esi, esi
jne 0x140011720
xor eax, eax
xchg qword [0x14003a730], rax
cmp qword [0x14003a750], 0
je 0x140011754
lea rcx, [0x14003a750]
call fcn.140011b60
test eax, eax
je 0x140011754
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14003a750]
mov r9, qword [case.0x140007fd3.0]
call r9
mov r8, qword [0x14003a198]
mov rdx, qword [0x14003a190]
mov ecx, dword [0x14003a188]
call fcn.14000210c
mov dword [0x14003a17c], eax
cmp dword [0x14003a1a0], 0
jne 0x140011784
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14003a180], 0
jne 0x140011799
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14003a17c]
jmp 0x1400117c8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140156000
add rsp, 0x28
jmp 0x140011620

Function at 0x140011a4c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140011a98
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011a90
cmp dword [rcx + 0x3c], edx
jl 0x140011a90
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140011a90
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140011a98
mov rax, rdx
add rsp, 0x18
ret