joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400326a0
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
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x1400326ed
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x1400326f2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14003271d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14003271d
mov rax, qword [rax + 0x388]
test rax, rax
je 0x14003271d
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140032722
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14003273c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140032741
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x1400327c3
inc ecx
test r8d, r8d
je 0x1400327ae
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400327b3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14003ca00
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140032802
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.1400326a0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140032812
inc esi
jmp 0x1400326d0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140084cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx + 0x190]
mov r10, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x140084d2c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0x118]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0x130], xmm0
subss xmm0, dword [r9 + 0x48]
movss dword [r9 + 0x11c], xmm1
subss xmm0, dword [r9 + 0x158]
movss dword [r9 + 0x15c], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x16c], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1d4], eax
cmp byte [rbx + 0x5a], 0
jne 0x140084dc7
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0x11c], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0xd0], al
cmp byte [rbx + 0x60], 0
je 0x140084ded
mov rax, qword [0x1400df108]
xor ecx, ecx
mov dword [rax + 0x40b0], ecx
mov dword [rax + 0x40b8], ecx
test dword [r10 + 4], 0x100000
je 0x140084e02
mov r8d, 2
jmp 0x140084e82
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2b8]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2b8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x2b8]
mov rcx, qword [r10 + 0x1a8]
call fcn.140076bf0
mov rdi, qword [0x1400df108]
cmp byte [rdi + 0x55c4], 0
je 0x140084ec7
cmp byte [rbx + 0x60], 0
jne 0x140084ec7
xor r8d, r8d
lea rdx, [0x1400cb140]
mov rcx, rsi
call fcn.1400264f0
mov dword [rdi + 0x55f8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140087360
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400df108]
mov rdx, qword [rax + 0x44b8]
cmp ecx, 0xffffffff
jne 0x14008737a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x1400873f9
mov r10d, dword [rdx]
lea r8, [0x1400cb131]
movzx eax, word [rdx + 0x80]
lea r11, [0x1400b4350]
not r10d
mov byte [rdx + 0x1f0], cl
mov ecx, r10d
mov byte [rdx + 0x1fe], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x1400873d3
cmp byte [r8], r9b
jne 0x1400873d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400873c0
not ecx
xor edx, edx
jmp fcn.140020a20
ret
Function at 0x1400a7d50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov r11, qword [0x1400df108]
mov r8, rcx
mov rbx, qword [r11 + 0x4520]
test rbx, rbx
je 0x1400a7dde
test dword [rbx + 0x10], 0x100000
jne 0x1400a7dde
mov rdx, rcx
mov rcx, qword [r11 + 0x3fe0]
call fcn.140010ec0
test eax, eax
je 0x1400a7e8a
movsxd rcx, dword [rbx]
xor r8d, r8d
test ecx, ecx
jle 0x1400a7e8a
mov r10, qword [rbx + 8]
mov r9, rcx
mov rcx, r10
mov edx, r8d
cmp dword [rcx], eax
je 0x1400a7dc0
inc r8d
inc rdx
add rcx, 0x30
cmp rdx, r9
jl 0x1400a7da7
add rsp, 0x20
pop rbx
ret
movsxd rax, r8d
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r10
je 0x1400a7e8a
mov byte [rcx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
movzx r9d, byte [r8]
mov r10d, 0xffffffff
inc r8
mov ecx, r10d
test r9b, r9b
je 0x1400a7e2f
lea rbx, [0x1400b4350]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400a7e13
cmp byte [r8], r9b
jne 0x1400a7e13
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400a7e00
not ecx
call fcn.140017880
mov rbx, rax
test rax, rax
je 0x1400a7e8a
test byte [rax + 0x3f9], 1
je 0x1400a7e8a
mov rcx, qword [rax + 0x418]
test rcx, rcx
je 0x1400a7e8a
mov edx, dword [rax + 0x90]
cmp dword [r11 + 0x4034], edx
jne 0x1400a7e69
mov dword [r11 + 0x4038], edx
cmp dword [r11 + 0x4080], edx
jne 0x1400a7e7a
mov byte [r11 + 0x4084], 1
mov rcx, qword [rcx + 0x40]
call fcn.1400a6440
or byte [rbx + 0x3f9], 8
add rsp, 0x20
pop rbx
ret
Function at 0x1400af630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400af670
cmp al, 0x25
jne 0x1400af664
cmp byte [r8 + 1], al
jne 0x1400af670
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400af657
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400af7da
cmp byte [r8 + 1], dl
je 0x1400af7da
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400af6ad
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400af6d5
sub dl, 0x61
cmp dl, 0x19
ja 0x1400af6c7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400af6d5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400af690
jmp 0x1400af6d8
inc r9
cmp r8, r9
jae 0x1400af70f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400af704
bt rdx, rax
jb 0x1400af70a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400af6f0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14000c470
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400af748
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1400af740
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400af7c8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400af76a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x1400af778
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x1400af7b6
movss xmm2, dword [0x1400cbe3c]
nop
cmp al, 0x39
ja 0x1400af7b6
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1400af790
cmp r9b, 0x2d
jne 0x1400af7d5
xorps xmm1, xmmword [0x1400cc1d0]
movaps xmm0, xmm1
jmp 0x1400af7dd
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400af7dd
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400b0080
add rsp, 0x90
pop rbx
ret
Function at 0x1400afe20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400afe60
cmp al, 0x25
jne 0x1400afe54
cmp byte [r8 + 1], al
jne 0x1400afe60
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400afe47
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400affc4
cmp byte [r8 + 1], dl
je 0x1400affc4
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400afe9d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400afec5
sub dl, 0x61
cmp dl, 0x19
ja 0x1400afeb7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400afec5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400afe80
jmp 0x1400afec8
inc r9
cmp r8, r9
jae 0x1400afeff
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400afef4
bt rdx, rax
jb 0x1400afefa
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400afee0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14000c470
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400aff38
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400aff30
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400affb6
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400aff5a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x1400aff68
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x1400affa4
movsd xmm2, qword [0x1400cbde0]
nop
cmp al, 0x39
ja 0x1400affa4
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400aff80
cmp r9b, 0x2d
jne 0x1400affbf
xorps xmm1, xmmword [0x1400cc1c0]
movaps xmm0, xmm1
jmp 0x1400affc7
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400affc7
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400b0080
add rsp, 0x90
pop rbx
ret

Function at 0x1400b0d38
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, [0x140001930]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140009700
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rsi, rcx
xor edi, edi
lea rbx, [0x14010bd40]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x140009881
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], dil
jne 0x140009760
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140002120
nop
mov r8d, 0x12
lea rdx, str.wannacryconfigs_
lea rcx, [rsp + 0x58]
call fcn.140002030
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x38], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm7
mov qword [rax + 0x10], rdi
mov edi, 0xf
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rbx, qword [rsi]
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x1400097ff
mov rdx, qword [rbx + 0x18]
cmp rdx, rdi
jbe 0x1400097f1
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400097ec
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009834
mov rcx, r8
call fcn.14005ef2c
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
mov byte [rsp + 0x38], 0
jmp 0x140009804
mov rdi, qword [rsp + 0x50]
cmp rdi, 0xf
jbe 0x140009841
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000983b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000983b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ef2c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140009881
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000987c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000987c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ef2c
mov rcx, qword [rsi]
cmp qword [rcx + 0x18], 0xf
jbe case.default.0x1400098ae
mov rcx, qword [rcx]
xor edx, edx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
Function at 0x140009c50
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 case.default.0x140009c71
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 0x140009c9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140009ca0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009cf9
test ecx, ecx
jle 0x140009cd9
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 0x140009cf9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009cf9
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
add byte [rax], al
add byte [rax], al
add byte [rax + rax], cl
add byte [rax], al
add byte [rax], al
add eax, dword [rax]
add eax, dword [rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
sub byte [rax], al
invalid
Function at 0x140009d20
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 0x140009d42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140009d51
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 0x140009d74
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009d76
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009db2
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 0x140009e4e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140009ded
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 0x140009e2e
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 0x140009e4e
cmp rbx, rax
ja 0x140009e00
test rbx, rbx
je 0x140009e4e
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax + rax], dl
or eax, dword [rax]
add byte [rax], al
add byte [rax], al
or byte [rax], al
add byte [rax], al
add bh, bh
stc
add byte [rax], al
add byte [rax], al
add byte [rdx], dh
add byte [rdx], dh
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rbx], bl
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], cl
or byte [rax], al
or al, byte [rax]
add byte cs:[rbx], bl
add byte [rax], al
add byte [rdx], cl
add byte [rax], al
add byte [rax], al
add byte [0x1400d8bc4], bl
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x14000a2b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000a2dd
xor eax, eax
jmp 0x14000a449
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a317
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000a317
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 0x14000a449
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000a43c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000a35a
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 0x14000a385
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 0x14000a441
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 0x14000a3f4
sub eax, 1
je 0x14000a3f4
cmp eax, 2
jne 0x14000a43c
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 0x14000a441
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000a422
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 0x14000a43c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a441
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005ec90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000c290
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000c363
cmp byte [rcx + 0x71], 0
je 0x14000c363
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000c35f
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 0x14000c324
sub eax, 1
je 0x14000c328
cmp eax, 2
jne 0x14000c35f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005ec90
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000c356
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 0x14000c35f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000c30c
xor al, al
jmp 0x14000c30c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005ec90
add rsp, 0x60
pop rbx
ret