joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002710
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a7a0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002730
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002738
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002730
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002780
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002777
test rcx, rcx
je 0x140002730
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002768
xor eax, eax
ret

Function at 0x140002790
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a7a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400027af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400027b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400027d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a7a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400027f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400027f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400027f0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400027f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002844
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002850
add rdx, 0x28
cmp r9, rdx
jne 0x140002830
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002860
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a7a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002882
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002890
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002882
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002882
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002882
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400028e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400028f8
add rdx, 0x28
cmp rdx, r10
jne 0x1400028d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002907
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002917
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400028ee
test ecx, ecx
jg 0x140002900
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140c05058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c051df
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 0x140c05089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c0506f
add dl, dl
jne 0x140c05096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c050f6
xor eax, eax
add dl, dl
jne 0x140c050a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c051ad
add dl, dl
jne 0x140c050b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c050c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c050d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c050dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c050ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c0507e
mov eax, 1
add dl, dl
jne 0x140c05106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c05113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c050fb
sub eax, ebx
mov ebx, 1
jne 0x140c0514c
mov ecx, 1
add dl, dl
jne 0x140c0512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c0513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c05123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c05168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c05175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c0515d
cmp eax, 0x7d00
jae 0x140c0519b
cmp eax, 0x500
jb 0x140c05196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0507e
cmp eax, 0x7f
ja 0x140c0519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c051d2
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 0x140c0507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
mov rdx, qword gs:[rdx + 0x60]
push rsi
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x1428b0138
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1428b0142
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1428b016b
pop rbp
sub rbp, 0x33
sub rbp, 0x28b0138
sub rsp, 0x20
jmp 0x1428b018a
mov rax, 0x28b0138
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffbec791cc
xor byte [rax], dl
inc rax
dec rcx
jne 0x1428b01a9
jmp 0x1428b01c0
test byte [rbp + 0x25], al
invalid
Function at 0x4017f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00407054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x40190a
mov rax, qword [0x00407058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x40183e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4018f0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x401822
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401942
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00407058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x00407058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401925
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4018e9
sub eax, 0x40
and eax, 0xffffffbf
je 0x4018e9
mov r9, rbp
add r9, qword [0x00407058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401911
add dword [0x00407054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x40184b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00407058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]

Function at 0x402520
Capabilities:
Parse pe header

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

Function at 0x402540
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 0x402581
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 0x402578
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402583
add rax, 0x28
cmp rax, r9
jne 0x402564
xor eax, eax
repz ret

Function at 0x402630
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x00404310]
cmp word [rbx], 0x5a4d
je 0x402650
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402644
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x29d5d2430
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [fcn.29d5f6200]
xor ebx, ebx
mov rbp, rcx
mov rsi, rdx
test rdx, rdx
jle 0x29d5d2473
nop
mov r12, qword [rbp + rbx*8]
mov ecx, 1
add rbx, 1
call rdi
xor r8d, r8d
mov rcx, rax
mov rdx, r12
call fcn.29d5d2300
cmp rsi, rbx
jne 0x29d5d2450
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x29d5f813c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rdi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_fflush

Function at 0x29d5d2840
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x29d5d2861
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x29d5d28e0
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.29d5f6200]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__gjdltzslbkkprurtmnimwrounirzsorsqutriofqggqylpwkqjbgmmfiefignvpzxtefjx
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
ret
Function at 0x29d5dd2f0
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
push r12
push rsi
push rbx
sub rsp, 0x148
cmp qword [0x29d67e7b8], 0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 0x131], 1
je 0x29d5dd3e7
mov rax, qword [0x29d67e7a8]
lea rcx, [rbp - 0x120]
mov rdx, rbp
mov qword [rbp - 0x130], rax
lea rax, [rbp - 0x130]
mov qword [0x29d67e7a8], rax
call sub.msvcrt.dll__setjmp
cdqe
mov qword [rbp - 0x128], rax
test rax, rax
jne 0x29d5dd408
xor r12d, r12d
cmp qword [rbp + 0x10], 0
je 0x29d5dd3b8
mov rcx, qword [rbp + 0x10]
mov esi, 7
call sub.msvcrt.dll_strlen
lea r8, [0x29d67bbc0]
lea rcx, [0x29d5f7020]
cmp rax, 7
mov rbx, rax
cmovge rsi, rax
lea rdx, [rsi + 0x11]
call fcn.29d5dadb0
movq xmm0, rbx
movq xmm1, rsi
mov rdx, qword [rbp + 0x10]
punpcklqdq xmm0, xmm1
lea rcx, [rax + 0x10]
lea r8, [rbx + 1]
mov r12, rax
movups xmmword [rax], xmm0
call sub.msvcrt.dll_memcpy
mov rcx, r12
call qword [0x29d67e7b8]
mov rax, qword [0x29d67e7a8]
cmp qword [rbp - 0x128], 0
mov byte [rbp - 0x131], 0
mov rax, qword [rax]
mov qword [0x29d67e7a8], rax
jne 0x29d5dd47f
movzx eax, byte [rbp - 0x131]
test al, al
jne 0x29d5dd498
add rsp, 0x148
pop rbx
pop rsi
pop r12
pop rbp
ret
mov rax, qword [0x29d67e7a8]
mov rax, qword [rax]
mov qword [rbp - 0x128], 0
mov qword [0x29d67e7a8], rax
mov rax, qword [0x29d67e7a0]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x29d5dd445
add qword [rbx - 0x10], 8
mov rax, qword [0x29d67e7a0]
test rax, rax
je 0x29d5dd46a
mov rsi, qword [rax - 0x10]
lea r8, [rax - 0x10]
lea rdx, [rsi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x29d5dd46a
mov rdx, r8
lea rcx, [0x29d67bbd8]
call fcn.29d5d5e70
cmp qword [rbp - 0x128], 0
mov qword [0x29d67e7a0], rbx
je 0x29d5dd3e7
mov rcx, qword [0x29d67e7a0]
test rcx, rcx
je 0x29d5dd4c8
call fcn.29d5dd870
jmp 0x29d5dd3e7
mov ecx, 2
call qword [fcn.29d5f6200]
mov rcx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov edx, 1
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
jmp 0x29d5dd3f6
call fcn.29d5ddca0
nop
nop

Function at 0x29d5e7dc0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9, rcx
test rcx, rcx
je 0x29d5e7e32
mov rcx, qword [0x29d682d00]
mov r8, qword [0x29d682d08]
cmp r9, 0xffffffffffffffff
je 0x29d5e7e40
mov rax, 0xffffffffffffffff
xor edx, edx
div r9
not rdx
nop
lea rax, [rcx + r8]
xor r8, rcx
ror rcx, 9
mov r10, r8
xor rcx, r8
ror r8, 0x1c
shl r10, 0xe
xor rcx, r10
cmp rax, rdx
ja 0x29d5e7df0
add r9, 1
movq xmm1, r8
movq xmm0, rcx
xor edx, edx
div r9
punpcklqdq xmm0, xmm1
movups xmmword [0x29d682d00], xmm0
mov r8, rdx
mov rax, r8
ret
mov rax, rcx
mov rdx, rcx
xor rax, r8
ror rdx, 9
add r8, rcx
mov r9, rax
xor rdx, rax
ror rax, 0x1c
shl r9, 0xe
mov qword [0x29d682d08], rax
mov rax, r8
xor rdx, r9
mov qword [0x29d682d00], rdx
ret
Function at 0x29d5e9c00
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rbx
sub rsp, 0x48
mov r12, rcx
test edx, edx
je 0x29d5e9038
mov edx, 0x76c4a1e6
lea rcx, [0x29d5fbc60]
lea rbx, [rsp + 0x30]
call fcn.29d5e7eb0
mov edx, 0x676523a6
mov rcx, rax
call fcn.29d5e8e10
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x29d682ea0]
lea r9, [rsp + 0x28]
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [0x29d682e78]
mov edx, 0x5d8add02
lea rcx, [0x29d5fbc20]
mov r12d, eax
call fcn.29d5e7eb0
mov edx, 0x6a371e42
mov rcx, rax
call fcn.29d5e8e10
test r12d, r12d
mov eax, 0
cmove rax, qword [rsp + 0x28]
add rsp, 0x48
pop rbx
pop r12
ret
mov edx, 0x6a371e42
lea rcx, [0x29d5fbd20]
call fcn.29d5e7eb0
mov edx, 0xedcad82
mov rcx, rax
call fcn.29d5e8e10
xor eax, eax
add rsp, 0x48
pop rbx
pop r12
ret
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov edx, 0x351b4ea6
lea rdi, [0x29d5fbd60]
mov r12, rcx
lea rcx, [0x29d5fbda0]
lea rbx, [rsp + 0x28]
call fcn.29d5e7eb0
mov edx, 0x36815266
mov rcx, rax
call fcn.29d5e8e10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rsi, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop
movzx eax, word [r12]
mov qword [rsp + 0x28], r12
mov rdx, r12
test ax, ax
je 0x29d5e9c91
nop word [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x29d5e9c77
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.29d5e7ea0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x29d5e9c68
mov r13, qword [rsi + 0x50]
mov qword [rsp + 0x28], r13
movzx eax, word [r13]
test ax, ax
je 0x29d5e9cd9
mov rdx, r13
nop word [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x29d5e9cbf
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.29d5e7ea0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x29d5e9cb0
mov rdx, r13
mov rcx, r12
call fcn.29d5e9b50
mov edx, 0x676523a6
mov rcx, rdi
mov r13, rax
call fcn.29d5e7eb0
mov edx, 0x1cafdf66
mov rcx, rax
call fcn.29d5e8e10
test r13, r13
je 0x29d5e9d2b
mov rsi, qword [rsi]
cmp rbp, rsi
jne 0x29d5e9c50
mov edx, 1
mov rcx, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x29d5e8f90
mov rax, qword [rsi + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x29d5e9da0
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdi, [0x29d5fbd60]
mov r13, rcx
mov r14d, edx
lea rcx, [0x29d5fbda0]
mov edx, 0x351b4ea6
call fcn.29d5e7eb0
mov edx, 0x36815266
lea rbx, [rsp + 0x28]
mov rcx, rax
call fcn.29d5e8e10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rsi, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop dword [rax + rax]
movzx eax, word [r13]
mov qword [rsp + 0x28], r13
mov rdx, r13
test ax, ax
je 0x29d5e9e39
nop word [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x29d5e9e1f
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.29d5e7ea0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x29d5e9e10
mov r12, qword [rsi + 0x50]
mov qword [rsp + 0x28], r12
movzx eax, word [r12]
test ax, ax
je 0x29d5e9e79
mov rdx, r12
nop
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x29d5e9e5f
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.29d5e7ea0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x29d5e9e50
mov rdx, r12
mov rcx, r13
call fcn.29d5e9b50
mov edx, 0x676523a6
mov rcx, rdi
mov r12, rax
call fcn.29d5e7eb0
mov edx, 0x1cafdf66
mov rcx, rax
call fcn.29d5e8e10
test r12, r12
je 0x29d5e9ecb
mov rsi, qword [rsi]
cmp rbp, rsi
jne 0x29d5e9df8
mov edx, r14d
mov rcx, r13
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x29d5e8f90
mov rax, qword [rsi + 0x20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x29d5f02b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.29d5f6200
mov r8d, 0x1b
mov edx, 1
lea rcx, str.flrwggxntskfbcczcagmtqqnkm_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.29d5f6200
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x29d5f0320
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x29d683774]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x29d5f04d0
mov rax, qword [0x29d683778]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x29d5f036c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x29d5f03f7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x29d5f0350
mov rcx, r12
call fcn.29d5f0bc0
mov rbp, rax
test rax, rax
je 0x29d5f052d
mov rax, qword [0x29d683778]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.29d5f0cf0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x29d683778]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x29d5f0512
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x29d5f03f0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x29d5f0480
add dword [0x29d683774], 1
cmp ebx, 8
jae 0x29d5f0428
test bl, 4
jne 0x29d5f04e0
test ebx, ebx
je 0x29d5f0419
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x29d5f0500
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x29d5f0419
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x29d5f045a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x29d683778]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x29d5f03f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.yqwxeswudypliobxzxdhnugobqhepyytf_0x_x
mov edx, eax
call fcn.29d5f02b0
xor edi, edi
jmp 0x29d5f0377
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x29d5f0419
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x29d5f0419
mov rax, qword [0x29d683778]
mov edx, dword [rbp + 8]
lea rcx, str.__syiygfaqtrjlhxrkkhq_for__d_yogmkhndbgfrzyki__p
mov r8, qword [rax + rdi + 0x18]
call fcn.29d5f02b0
mov rdx, r12
lea rcx, str.nymfumrdegdsgnnebrkdaodzgyghcbc
call fcn.29d5f02b0
nop
nop dword [rax]
Function at 0x29d5f0830
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x29d6837a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x29d683780]
test rbx, rbx
je 0x29d5f0884
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x29d5f087b
test r12, r12
je 0x29d5f087b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x29d5f0860
lea rcx, [0x29d6837a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x29d5f0bc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x29d669770]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x29d5f0c39
mov rcx, r10
call fcn.29d5f0a90
test eax, eax
je 0x29d5f0c39
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x29d5f0c36
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x29d5f0c2d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x29d5f0c39
add r8, 0x28
cmp r8, r9
jne 0x29d5f0c18
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x14000215c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rbx, rcx
test dl, dl
je 0x140002246
lea rcx, [rbp + 0x20]
call fcn.140012288
nop
mov dl, reloc.WS2_32.dll_WSASetLastError
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x67
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x61
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x6d
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x69
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x66
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, reloc.WS2_32.dll_WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x2e
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x63
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140011cf0
mov dl, 0x6d
lea rcx, [rbp + 0x20]
call fcn.140011cf0
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.140011a50
nop
lea rcx, [rbp + 0x20]
call fcn.140011d08
jmp 0x140002267
mov dword [rbp - 0x10], 0x616f7373
mov dword [rbp - 0xc], 0x632e6d70
mov word [rbp - 7], WSASetLastError
mov byte [rbp - 8], reloc.WS2_32.dll_WSAGetLastError
lea rdx, [rbp - 0x10]
call fcn.14001193c
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret