joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
sub rsp, 0xb0
xor eax, eax
movsxd r13, r9d
mov dword [rsp + 0xe8], eax
mov r14, rdx
mov qword [rsp + 0x60], r13
mov rbp, rcx
test r9d, r9d
jle 0x14001485e
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
mov r11d, 0x100
movss xmm8, dword [0x140025610]
nop dword [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x1400146cc
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x1400146eb
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
movzx eax, byte [rbp + 0x20]
xor edi, edi
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
movzx eax, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x140014806
mov r15, qword [rsp + 0xf0]
mov rax, r12
mov r13d, dword [rsp + 0xe8]
add r15, 6
shl rax, 4
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x140014740
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x140014743
mov edx, dword [rax + rsi]
mov rcx, r14
call fcn.14000f670
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.1400122a0
movzx eax, word [rbp + 0x20]
inc r13d
sub ax, word [rsp + 0x50]
inc r12
dec ax
inc edi
add ax, word [rbp + 0x1c]
add rsi, 4
add ax, word [rsp + 0x54]
mov word [r15 - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x58]
dec ax
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x5c]
mov word [r15], ax
add r15, 0x10
cmp edi, dword [rbx - 0x10]
jl 0x140014730
mov dword [rsp + 0xe8], r13d
mov r11d, 0x100
mov r13, qword [rsp + 0x60]
add rbx, 0x28
sub r13, 1
mov qword [rsp + 0x60], r13
jne 0x140014680
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0xe8]
add rsp, 0xb0
pop r14
pop r13
pop rbp
ret
Function at 0x14001f564
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x1409ee268
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409ee3ef
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 0x1409ee299
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ee27f
add dl, dl
jne 0x1409ee2a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ee306
xor eax, eax
add dl, dl
jne 0x1409ee2b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ee3bd
add dl, dl
jne 0x1409ee2c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ee2d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ee2e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ee2ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409ee2fa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409ee28e
mov eax, 1
add dl, dl
jne 0x1409ee316
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ee323
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ee30b
sub eax, ebx
mov ebx, 1
jne 0x1409ee35c
mov ecx, 1
add dl, dl
jne 0x1409ee33e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ee34b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ee333
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ee28e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409ee378
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ee385
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ee36d
cmp eax, 0x7d00
jae 0x1409ee3ab
cmp eax, 0x500
jb 0x1409ee3a6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ee28e
cmp eax, 0x7f
ja 0x1409ee3ae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ee28e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409ee3e2
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 0x1409ee28e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004fa0
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.0x140004fc1
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 0x140004fee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004ff0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005049
test ecx, ecx
jle 0x140005029
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 0x140005049
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005049
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 dword [rax + rsi], ebp
or eax, 0x862a0906
xchg dil, sil
or eax, 0x50b0101
add byte [rax], dh
jl 0x1400126e7
or esi, dword [rax]
or dword [rsi], eax
add edx, dword [rbp + 4]
invalid
outsb dx, byte [rsi]
xor dword fs:[rsi], ebx
xor byte [rsi + rax], bl
Function at 0x140005070
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 0x140005092
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400050a1
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 0x1400050c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400050c6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005102
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 0x14000519e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000513d
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 0x14000517e
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 0x14000519e
cmp rbx, rax
ja 0x140005150
test rbx, rbx
je 0x14000519e
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
xor r14d, dword [0x17732538b]
xor byte [rcx], dh
xor dword [0x14307498d], esp
push rbp
add al, 3
adc ebx, dword [rcx*2 + 0x6f726369]
jae 0x1400126d8
je 0x14001268c
push rsp
imul ebp, dword [rbp + 0x65], 0x6174532d
insd dword [rdi], dx
jo 0x140012697
push rbx
jb 0x1400126f1
imul esp, dword [rbx + 0x65], 0x440e82a0
xor byte [rdx - 0x7dcf0afc], al
add ebx, ebp
movabs al, byte [0x33130202010203]
add byte [rcx], al
add al, byte [rcx]
add al, byte [rdx]
adc esi, dword [rbx]
add byte [rax], al
add dword [rdx + riz], ebp
sub al, 0x22
scasd eax, dword [rdi]
xchg r15d, eax
jne 0x140012695
sbb ebp, esi
adc byte [rax], dh
invalid
Function at 0x1400055d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400055fd
xor eax, eax
jmp 0x140005769
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005637
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005637
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 0x140005769
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000575c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000567a
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 0x1400056a5
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 0x140005761
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 0x140005714
sub eax, 1
je 0x140005714
cmp eax, 2
jne 0x14000575c
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 0x140005761
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005742
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 0x14000575c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140005761
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006420
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005ad0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005ba3
cmp byte [rcx + 0x71], 0
je 0x140005ba3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005b9f
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 0x140005b64
sub eax, 1
je 0x140005b68
cmp eax, 2
jne 0x140005b9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006420
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005b96
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 0x140005b9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005b4c
xor al, al
jmp 0x140005b4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006420
add rsp, 0x60
pop rbx
ret

Function at 0x140006db4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006dfe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006dfe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006dfe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006dfe
cmp dword [rcx + 0x84], 0xe
jbe 0x140006dfe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006e00
xor al, al
add rsp, 0x28
ret
Function at 0x140002ab0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov r10, rcx
mov ecx, 0x5a4d
mov ebx, edx
cmp word [r10], cx
jne 0x140002b44
cmp dword [rax + r10], 0x4550
jne 0x140002b44
cmp dword [rax + r10 + 0x8c], 0
je 0x140002b44
mov eax, dword [rax + r10 + 0x88]
xor r8d, r8d
add rax, r10
mov r9d, dword [rax + 0x20]
mov edi, dword [rax + 0x1c]
add r9, r10
mov esi, dword [rax + 0x24]
add rdi, r10
mov r11d, dword [rax + 0x18]
add rsi, r10
test r11d, r11d
je 0x140002b44
mov edx, dword [r9]
xor eax, eax
add rdx, r10
movzx ecx, byte [rdx]
test cl, cl
je 0x140002b34
ror eax, 0xd
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140002b21
cmp ebx, eax
je 0x140002b56
inc r8d
add r9, 4
cmp r8d, r11d
jb 0x140002b12
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
movsxd rax, r8d
movzx ecx, word [rsi + rax*2]
mov rsi, qword [rsp + 0x10]
mov eax, dword [rdi + rcx*4]
mov rdi, qword [rsp + 0x18]
add rax, r10
ret

Function at 0x140003520
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140056a60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140056a6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140056a7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140056a65
lea eax, [rcx + 1]
jmp 0x140056a8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140056a9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140056a84
sub eax, 3
jb 0x140056abe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140056b0d
sar eax, 1
movsxd rbp, eax
jb 0x140056af4
jmp 0x140056acc
add ebx, ebx
jne 0x140056aca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140056af4
inc ecx
add ebx, ebx
jne 0x140056ada
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140056af4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140056aed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140056adc
add ecx, 2
jmp 0x140056af9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140056a22
jmp 0x140056a6d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b400
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140056b59
cmp rsi, rcx
jae 0x140056b61
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140056b40
cmp al, 0x8f
ja 0x140056b40
cmp byte [rsi - 2], 0xf
je 0x140056b46
sub al, 0xe8
cmp al, 1
ja 0x140056b2a
cmp rsi, rcx
jae 0x140056b61
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140056b30
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140056b61
lodsb al, byte [rsi]
jmp 0x140056b40
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x54000]
mov eax, dword [rdi]
or eax, eax
je 0x140056bca
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x82074]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140056b6e
jns 0x140056ba3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140056bad
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140056bc4
mov qword [rbx], rax
add rbx, 8
jmp 0x140056b8e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140056c22
sub rsp, 0xffffffffffffff80
jmp 0x14001bce0
Function at 0x140003a30
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a64
cmp word [rcx], 0x5a4d
jne 0x140003a64
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a64
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a64
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003970
test eax, eax
jne 0x140003a80
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039e0
test rax, rax
je 0x140003a75
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.14000422c
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret
Function at 0x140003e60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov ebx, dword [0x14052f900]
test ebx, ebx
je 0x140003e90
mov eax, 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x24], 0xe9d09b91
mov dword [rsp + 0x28], 0xe9d0558f
mov dword [rsp + 0x2c], 0x7d6c9e7d
mov dword [rsp + 0x30], 0x7d6c275f
mov dword [rsp + 0x34], 0x7d6c273f
mov dword [rsp + 0x38], 0x7d6c2743
mov dword [rsp + 0x3c], 0x7d6c2747
call fcn.140003e50
mov rax, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx + 0x30]
test rax, rax
je 0x1400040c0
xor r10d, r10d
nop dword [rax]
mov ecx, dword [rsp + 0x30]
mov r8, rax
lea eax, [rcx - 0x7d6c2723]
mov eax, dword [r8 + rax]
mov eax, dword [r8 + rax + 0x88]
test eax, eax
je 0x140003f43
lea r10, [r8 + rax]
mov ecx, dword [rsp + 0x24]
mov eax, dword [r10 + 0xc]
sub ecx, 0x7d6c2723
add rax, r8
mov r9d, dword [rax]
or r9d, 0x20202020
cmp r9d, ecx
jne 0x140003f43
mov r9d, dword [rax + 4]
mov ecx, dword [rsp + 0x28]
or r9d, 0x20202020
lea eax, [rcx - 0x7d6c2723]
cmp r9d, eax
je 0x140003f4f
mov rdx, qword [rdx]
mov rax, qword [rdx + 0x30]
test rax, rax
jne 0x140003ee8
test r10, r10
je 0x1400040c0
mov eax, dword [rsp + 0x34]
mov edi, dword [r10 + 0x18]
sub eax, 0x7d6c2723
mov ebp, dword [rax + r10]
mov eax, dword [rsp + 0x38]
sub eax, 0x7d6c2723
add rbp, r8
mov r9d, dword [rax + r10]
mov eax, dword [rsp + 0x3c]
sub eax, 0x7d6c2723
add r9, r8
mov r11d, dword [rax + r10]
add r11, r8
test edi, edi
je 0x140004096
lea r13, [0x14052f904]
xor r10d, r10d
lea r12, [r13 - 4]
lea rsi, [r12 - 4]
jmp 0x140003fd1
add r10d, 1
add r9, 4
add r11, 2
cmp r10d, edi
jae 0x1400040a0
cmp ebx, 0x1f3
ja 0x1400040a0
mov edx, dword [r9]
mov eax, dword [rsp + 0x2c]
add rdx, r8
lea ecx, [rax - 0x7d6c2723]
movzx r14d, word [rdx]
cmp r14d, ecx
jne 0x140003fb0
cmp byte [rdx], 0
je 0x1400040b0
sub eax, 0x1d55ba6e
cmp byte [rdx + 1], 0
mov ecx, 1
mov r15d, 1
je 0x140004030
nop dword [rax]
movzx r15d, word [rdx + r15]
mov r14d, eax
ror r14d, 8
add eax, r15d
lea r15d, [rcx + 1]
add eax, r14d
cmp byte [rdx + r15], 0
mov rcx, r15
jne 0x140004010
mov edx, ebx
shl rdx, 3
lea rcx, [rdx + r13]
mov dword [rcx], eax
movzx eax, word [r11]
mov eax, dword [rbp + rax*4]
mov dword [rcx + 4], eax
test ebx, ebx
je 0x14000408e
lea eax, [rbx - 1]
add rdx, r12
lea rax, [r12 + rax*8 + 4]
jmp 0x140004086
movd xmm0, dword [rdx + 4]
movd xmm1, ecx
mov rcx, qword [rax]
sub rax, 8
sub rdx, 8
punpckldq xmm0, xmm1
mov qword [rdx + 0xc], rcx
movq qword [rax + 8], xmm0
cmp rsi, rax
je 0x14000408e
mov ecx, dword [rdx + 8]
cmp ecx, dword [rax + 4]
jb 0x140004060
add ebx, 1
jmp 0x140003fb0
xor ebx, ebx
nop dword [rax + rax]
mov dword [0x14052f900], ebx
jmp 0x140003e7a
mov eax, 0x8293d8dd
jmp 0x140004030
xor eax, eax
jmp 0x140003e7f