joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180057828
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x1800ea010]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov r14d, dword [rsp + 0x398]
mov rdi, rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x390]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3a0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r14d
mov esi, dword [rbx + 0x1c]
mov ecx, esi
mov ebp, dword [rbx + 4]
cmp esi, ebp
mov r8d, dword [rbx + 0x14]
mov eax, r8d
mov edx, dword [rbx + 0xc]
cmovg ecx, ebp
cmp r8d, edx
cmovg eax, edx
cmp eax, ecx
jl 0x180057978
cmp esi, ebp
mov eax, ebp
cmovg eax, esi
cmp r8d, edx
cmovg edx, r8d
cmp edx, eax
jg 0x180057978
cmp esi, ebp
jne 0x1800578de
sub rbx, 0x18
jmp 0x180057984
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, ebp
setg r9b
inc r9d
cmp edx, r9d
je 0x18005793c
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, ebp
jg 0x18005790a
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x180057910
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18005792a
mov dl, r10b
mov rcx, rdi
call fcn.180056f04
test al, al
jne 0x180057974
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.180056e38
test al, al
jne 0x180057974
mov ecx, dword [rdi + 0x60]
lea r9, [fcn.180057078]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, ebp
jg 0x180057967
call fcn.1800572c4
jmp 0x18005796c
call fcn.180057438
test al, al
je 0x1800578d5
mov al, 1
jmp 0x18005799f
mov rcx, rbx
call fcn.180057078
add rbx, 0x18
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x180057996
mov r14d, dword [rbx]
jmp 0x180057896
mov dword [rdi + 0x58], r14d
xor al, al
mov dword [rdi + 0x5c], ebp
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1800a42b0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180057cd0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
lea r15d, [r14 + 1]
mov dword [rcx + 0x3c], r14d
mov esi, r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x180057e1e
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.1800579c8
test al, al
jne 0x180057eb6
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x180057dad
cmp edx, dword [rbx + 0x60]
jl 0x180057dad
cmp edx, dword [rbx + 0x64]
jg 0x180057dad
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x180057dad
mov rax, qword [rbx + 0x70]
mov cl, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x180057dad
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x180057dd0
test byte [r9 + 0x18], 8
je 0x180057dd0
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x180057de1
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.180056f04
test al, al
jne 0x180057eb6
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x180057e04
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
add esi, r15d
add rdi, 2
add r10w, r15w
cmp esi, eax
jl 0x180057d36
movzx r11d, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp r11w, r15w
jbe 0x180057ebb
test rdx, rdx
je 0x180057ebb
lea rdi, [rdx + 8]
cmp r11w, r15w
jbe 0x180057e52
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x180057e55
mov r10, r14
mov qword [rdi], r10
test byte [rdx + 0x18], 8
mov r10d, dword [rdx + 0x20]
mov r8d, r10d
mov eax, dword [rdx + 0x1c]
je 0x180057e70
dec r10d
add r10d, eax
jmp 0x180057e87
sub r8d, eax
add r8d, r15d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.180056f98
test al, al
jne 0x180057eb6
lea edx, [r10 + 1]
mov rcx, rbx
call fcn.180056f98
test al, al
jne 0x180057eb6
mov rdx, qword [rdi]
mov eax, 0xffff
add r11w, ax
je 0x180057ebf
jmp 0x180057e3a
mov al, r15b
jmp 0x180057eca
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1800a30c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
je 0x1800a3149
lea rdi, [0x1800cc3e0]
not r9d
cmp r8d, 8
jb 0x1800a3120
mov edx, r8d
shr rdx, 3
add r8d, 0xfffffff8
mov ebx, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
sub rbx, 1
jne 0x1800a30fc
sub rdx, 1
jne 0x1800a30f3
test r8d, r8d
je 0x1800a3143
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
add r8d, 0xffffffff
jne 0x1800a3125
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rdi, qword [rsp + 0x10]
ret
Function at 0x6da92580
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6dab35e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6da92708
mov rax, qword [0x6dab35e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6da925cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6da92655
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6da925b0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6da9273d
mov rax, qword [0x6dab35e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6dab35e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6da92720
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6da9264e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6da926b0
add dword [0x6dab35e4], 1
cmp edi, 8
jae 0x6da92683
test dil, 4
jne 0x6da926f4
test edi, edi
je 0x6da92678
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6da9270f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6da92678
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6da9269c
jmp 0x6da92678
add rsi, qword [0x6dab35e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6da9264e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6da92678
xor esi, esi
jmp 0x6da925d7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6da92678
mov rax, qword [0x6dab35e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6da92e90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6dab38c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6dab38a0]
test rbx, rbx
je 0x6da92ee4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6da92edb
test rsi, rsi
je 0x6da92edb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6da92ec0
lea rcx, [0x6dab38c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6da93120
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6da93130
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6da93140
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6da93181
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6da93178
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6da93183
add rax, 0x28
cmp rax, r9
jne 0x6da93164
xor eax, eax
ret

Function at 0x6da93220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dab01f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6da9328d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da9328d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da9328d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da93284
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da9328f
add rax, 0x28
cmp rax, r9
jne 0x6da93270
xor eax, eax
add rsp, 0x28
ret

Function at 0x6da93390
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dab01f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6da933b0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da933a8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da9340d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da93404
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da93414
add rax, 0x28
cmp rax, r9
jne 0x6da933f0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6da93430
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6dab01f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6da9349e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da9349e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6da9349e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6da9349e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6da93495
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6da934a5
add rcx, 0x28
cmp rcx, rax
jne 0x6da93480
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6da934b8
jmp 0x6da9349e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6da934c6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6da9349e
test r9d, r9d
jg 0x6da934b0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6da93800
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x6d9f1e40
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6da135e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d9f1fc8
mov rax, qword [0x6da135e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d9f1e8c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d9f1f15
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d9f1e70
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d9f1ffd
mov rax, qword [0x6da135e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6da135e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d9f1fe0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d9f1f0e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d9f1f70
add dword [0x6da135e4], 1
cmp edi, 8
jae 0x6d9f1f43
test dil, 4
jne 0x6d9f1fb4
test edi, edi
je 0x6d9f1f38
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d9f1fcf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d9f1f38
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d9f1f5c
jmp 0x6d9f1f38
add rsi, qword [0x6da135e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d9f1f0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d9f1f38
xor esi, esi
jmp 0x6d9f1e97
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d9f1f38
mov rax, qword [0x6da135e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d9f2750
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6da138c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6da138a0]
test rbx, rbx
je 0x6d9f27a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d9f279b
test rsi, rsi
je 0x6d9f279b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d9f2780
lea rcx, [0x6da138c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d9f29e0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d9f29f0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d9f2a00
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d9f2a41
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d9f2a38
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d9f2a43
add rax, 0x28
cmp rax, r9
jne 0x6d9f2a24
xor eax, eax
ret

Function at 0x6d9f2ae0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6da101f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d9f2b4d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d9f2b4d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d9f2b4d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d9f2b44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d9f2b4f
add rax, 0x28
cmp rax, r9
jne 0x6d9f2b30
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d9f2c50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6da101f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d9f2c70
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d9f2c68
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d9f2ccd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d9f2cc4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d9f2cd4
add rax, 0x28
cmp rax, r9
jne 0x6d9f2cb0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d9f2cf0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6da101f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d9f2d5e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d9f2d5e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d9f2d5e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d9f2d5e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d9f2d55
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d9f2d65
add rcx, 0x28
cmp rcx, rax
jne 0x6d9f2d40
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d9f2d78
jmp 0x6d9f2d5e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d9f2d86
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d9f2d5e
test r9d, r9d
jg 0x6d9f2d70
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d9f30e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [0x140006408]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140001054
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [0x140006400]
test eax, eax
je 0x1400010ea
lea rdx, [rsp + 0x6c]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400010e5
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x2000000
call qword [0x140006410]
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x2000000
call qword [0x140006410]
test rax, rax
jne 0x1400010b7
jmp 0x14000105c
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, qword [rsp + 0x38]
call qword [0x140006468]
test eax, eax
jne 0x1400010db
jmp 0x14000105c
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x1400010ea
jmp 0x14000105c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
jne 0x140001107
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [rsp + 0x20]
add rsp, 0x170
pop rdi
ret
Function at 0x140001120
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1a0
mov byte [rsp + 0x40], 0x39
mov byte [rsp + 0x41], 0x32
mov byte [rsp + 0x42], 0x33
mov byte [rsp + 0x43], 0x31
mov byte [rsp + 0x44], 0x34
mov byte [rsp + 0x45], 0x36
mov byte [rsp + 0x46], 0x39
mov byte [rsp + 0x47], 0x36
mov byte [rsp + 0x48], 0x32
mov byte [rsp + 0x49], 0x33
mov byte [rsp + 0x4a], 0x34
mov byte [rsp + 0x4b], 0x39
mov byte [rsp + 0x4c], 0x34
mov byte [rsp + 0x4d], 0x32
mov byte [rsp + 0x4e], 0x33
mov byte [rsp + 0x4f], 0x31
mov byte [rsp + 0x50], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x1400012bf
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14000122d
mov rax, qword [rsp + 0x68]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x90]
call fcn.1400016c0
lea rcx, [rsp + 0x40]
call fcn.140004140
mov eax, eax
mov ecx, dword [rsp + 0x58]
mov r9d, eax
lea r8, [rsp + 0x40]
mov edx, ecx
lea rcx, [rsp + 0x90]
call fcn.140004310
mov eax, dword [rsp + 0x58]
mov r8d, eax
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x90]
call fcn.140003ee0
test eax, eax
jne 0x1400012ad
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
jmp 0x1400012c1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400011ac
xor eax, eax
add rsp, 0x1a0
pop rdi
ret
Function at 0x140001ba0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x28], 0x55
mov byte [rsp + 0x29], 0x5d
mov byte [rsp + 0x2a], 0x52
mov byte [rsp + 0x2b], 0x55
mov byte [rsp + 0x2c], 0x51
mov byte [rsp + 0x2d], 0x44
mov byte [rsp + 0x2e], 0x49
mov byte [rsp + 0x2f], 0x44
mov byte [rsp + 0x30], 0x5d
mov byte [rsp + 0x31], 0x59
mov byte [rsp + 0x32], 0x51
mov byte [rsp + 0x33], 0x5a
mov byte [rsp + 0x34], 0x40
mov byte [rsp + 0x35], 0x1c
mov byte [rsp + 0x36], 0x56
mov byte [rsp + 0x37], 0x49
mov byte [rsp + 0x38], 0x5c
lea rcx, [rsp + 0x28]
call fcn.140001120
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001c1b
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
add rsp, 0x48
ret
Function at 0x140023d90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x52325032
lea r9, [0x1400bd780]
mov r8, rcx
lea r10, [rcx + 0x1fc]
nop word cs:[rax + rax]
mov edx, dword [r8]
add r8, 4
mov ecx, edx
xor ecx, eax
shl eax, 8
shr ecx, 0x18
xor eax, dword [r9 + rcx*4]
mov ecx, edx
mov r11d, eax
shr ecx, 0x10
shr r11d, 0x18
shl eax, 8
xor ecx, r11d
movzx ecx, cl
xor eax, dword [r9 + rcx*4]
movzx ecx, dh
mov r11d, eax
shl eax, 8
shr r11d, 0x18
xor ecx, r11d
xor eax, dword [r9 + rcx*4]
mov ecx, eax
shl eax, 8
shr ecx, 0x18
xor edx, ecx
movzx edx, dl
xor eax, dword [r9 + rdx*4]
cmp r8, r10
jne 0x140023db0
ret