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

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

Disassembly:
mov rax, qword [0x1400f90d8]
mov rdx, qword [rax + 0x44b8]
cmp ecx, 0xffffffff
jne 0x14008339a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140083419
mov r10d, dword [rdx]
lea r8, [0x1400e4d01]
movzx eax, word [rdx + 0x80]
lea r11, [0x1400cdf40]
not r10d
mov byte [rdx + 0x1f0], cl
mov ecx, r10d
mov byte [rdx + 0x1fe], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x1400833f3
cmp byte [r8], r9b
jne 0x1400833f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400833e0
not ecx
xor edx, edx
jmp fcn.1400203e0
ret
Function at 0x1400a3c30
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov r11, qword [0x1400f90d8]
mov r8, rcx
mov rbx, qword [r11 + 0x4520]
test rbx, rbx
je 0x1400a3cbe
test dword [rbx + 0x10], 0x100000
jne 0x1400a3cbe
mov rdx, rcx
mov rcx, qword [r11 + 0x3fe0]
call fcn.140010940
test eax, eax
je 0x1400a3d6a
movsxd rcx, dword [rbx]
xor r8d, r8d
test ecx, ecx
jle 0x1400a3d6a
mov r10, qword [rbx + 8]
mov r9, rcx
mov rcx, r10
mov edx, r8d
cmp dword [rcx], eax
je 0x1400a3ca0
inc r8d
inc rdx
add rcx, 0x30
cmp rdx, r9
jl 0x1400a3c87
add rsp, 0x20
pop rbx
ret
movsxd rax, r8d
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r10
je 0x1400a3d6a
mov byte [rcx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
movzx r9d, byte [r8]
mov r10d, 0xffffffff
inc r8
mov ecx, r10d
test r9b, r9b
je 0x1400a3d0f
lea rbx, [0x1400cdf40]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400a3cf3
cmp byte [r8], r9b
jne 0x1400a3cf3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400a3ce0
not ecx
call fcn.140017290
mov rbx, rax
test rax, rax
je 0x1400a3d6a
test byte [rax + 0x3f9], 1
je 0x1400a3d6a
mov rcx, qword [rax + 0x418]
test rcx, rcx
je 0x1400a3d6a
mov edx, dword [rax + 0x90]
cmp dword [r11 + 0x4034], edx
jne 0x1400a3d49
mov dword [r11 + 0x4038], edx
cmp dword [r11 + 0x4080], edx
jne 0x1400a3d5a
mov byte [r11 + 0x4084], 1
mov rcx, qword [rcx + 0x40]
call fcn.1400a2310
or byte [rbx + 0x3f9], 8
add rsp, 0x20
pop rbx
ret
Function at 0x1400ab6c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400f4028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x1400ab706
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x1400ab6f6
cmp byte [rax], cl
jne 0x1400ab706
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x1400ab6e7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400ab86a
cmp byte [r8 + 1], dl
je 0x1400ab86a
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400ab742
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400ab76a
sub dl, 0x61
cmp dl, 0x19
ja 0x1400ab75c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400ab76a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400ab725
jmp 0x1400ab76d
inc r9
cmp r8, r9
jae 0x1400ab79f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400ab794
bt rdx, rax
jb 0x1400ab79a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400ab780
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14000bcd0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400ab7d8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1400ab7d0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400ab858
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400ab7f3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400ab809
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400ab846
movss xmm2, dword [0x1400e5a04]
cmp al, 0x39
ja 0x1400ab846
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1400ab820
cmp r9b, 0x2d
jne 0x1400ab865
xorps xmm1, xmmword [0x1400e6550]
movaps xmm0, xmm1
jmp 0x1400ab86d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400ab86d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ac100
add rsp, 0x90
pop rbx
ret
Function at 0x1400abeb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400f4028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x1400abef6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x1400abee6
cmp byte [rax], cl
jne 0x1400abef6
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x1400abed7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400ac054
cmp byte [r8 + 1], dl
je 0x1400ac054
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400abf32
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400abf5a
sub dl, 0x61
cmp dl, 0x19
ja 0x1400abf4c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400abf5a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400abf15
jmp 0x1400abf5d
inc r9
cmp r8, r9
jae 0x1400abf8f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400abf84
bt rdx, rax
jb 0x1400abf8a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400abf70
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14000bcd0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400abfc8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400abfc0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400ac046
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400abfe3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400abff9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400ac034
movsd xmm2, qword [0x1400e59a8]
cmp al, 0x39
ja 0x1400ac034
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400ac010
cmp r9b, 0x2d
jne 0x1400ac04f
xorps xmm1, xmmword [0x1400e6540]
movaps xmm0, xmm1
jmp 0x1400ac057
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400ac057
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ac100
add rsp, 0x90
pop rbx
ret

Function at 0x1400acfc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ad00a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ad00a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ad00a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ad00a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ad00a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400ad00c
xor al, al
add rsp, 0x28
ret
Function at 0x6d7d5300
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d7f65e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d7d5488
mov rax, qword [0x6d7f65e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d7d534c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d7d53d5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d7d5330
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d7d54bd
mov rax, qword [0x6d7f65e8]
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 [0x6d7f65e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d7d54a0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d7d53ce
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d7d5430
add dword [0x6d7f65e4], 1
cmp edi, 8
jae 0x6d7d5403
test dil, 4
jne 0x6d7d5474
test edi, edi
je 0x6d7d53f8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d7d548f
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 0x6d7d53f8
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 0x6d7d541c
jmp 0x6d7d53f8
add rsi, qword [0x6d7f65e8]
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 0x6d7d53ce
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 0x6d7d53f8
xor esi, esi
jmp 0x6d7d5357
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d7d53f8
mov rax, qword [0x6d7f65e8]
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 0x6d7d5c10
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d7f68c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d7f68a0]
test rbx, rbx
je 0x6d7d5c64
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 0x6d7d5c5b
test rsi, rsi
je 0x6d7d5c5b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d7d5c40
lea rcx, [0x6d7f68c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d7d5ea0
Capabilities:
Parse pe header

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

Function at 0x6d7d5ec0
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 0x6d7d5f01
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 0x6d7d5ef8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7d5f03
add rax, 0x28
cmp rax, r9
jne 0x6d7d5ee4
xor eax, eax
ret

Function at 0x6d7d5fa0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f31f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7d600d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d600d
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 0x6d7d600d
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 0x6d7d6004
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d600f
add rax, 0x28
cmp rax, r9
jne 0x6d7d5ff0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7d6110
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f31f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7d6130
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d6128
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 0x6d7d618d
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 0x6d7d6184
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d6194
add rax, 0x28
cmp rax, r9
jne 0x6d7d6170
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7d61b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7f31f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7d621e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d621e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7d621e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7d621e
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 0x6d7d6215
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7d6225
add rcx, 0x28
cmp rcx, rax
jne 0x6d7d6200
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7d6238
jmp 0x6d7d621e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7d6246
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7d621e
test r9d, r9d
jg 0x6d7d6230
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7d6580
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 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013000
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]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140015bc0
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d048]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400230f9]
call fcn.140011389
lea rdx, [0x14001aca8]
lea rcx, str.GxWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp + 8], rax
mov dword [rbp + 0x24], 0
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x24], 0
jne 0x140015c3f
lea rcx, str.pid_0_
call fcn.1400111a9
mov r8d, dword [rbp + 0x24]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140015c67
lea rcx, [0x14001ace0]
call fcn.1400111a9
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x300
lea r8, str.E:gitwow_classicx64Debugwow_classic.dll
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ac80]
call fcn.140011325
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014350
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014370
xor al, al
jmp 0x1400143f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014383
xor al, al
jmp 0x1400143f1
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 0x1400143ad
xor al, al
jmp 0x1400143f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400143c1
xor al, al
jmp 0x1400143f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400143d3
xor al, al
jmp 0x1400143f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400143ef
xor al, al
jmp 0x1400143f1
mov al, 1
add rsp, 0x38
ret
Function at 0x14002eb70
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rax, qword [0x140280e50]
xor esi, esi
mov rdi, r8
mov r12, rdx
mov ebp, ecx
test rax, rax
jne 0x14002ebb9
lea rcx, str.Setupapi.dll
xor edx, edx
call fcn.14002dd50
mov qword [0x140280e50], rax
test rax, rax
je 0x14002ec96
cmp qword [0x140280e58], rsi
jne 0x14002ebe9
lea rdx, str.SetupDiGetClassDevsW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140280e58], rax
test rax, rax
je 0x14002ec96
mov rax, qword [0x140280e50]
cmp qword [0x140280e60], rsi
jne 0x14002ec19
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140280e60], rax
test rax, rax
je 0x14002ec96
mov rax, qword [0x140280e50]
cmp qword [0x140280e70], rsi
jne 0x14002ec45
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140280e70], rax
test rax, rax
je 0x14002ec96
mov rax, qword [0x140280e50]
cmp qword [0x140280e68], rsi
jne 0x14002ec71
lea rdx, str.SetupDiGetDeviceInterfaceDetailW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140280e68], rax
test rax, rax
je 0x14002ec96
mov rax, qword [0x140280e50]
cmp qword [0x140280e80], rsi
jne 0x14002ec9d
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140280e80], rax
test rax, rax
jne 0x14002ec9d
xor eax, eax
jmp 0x14002ed3d
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
call qword [0x140280e58]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002ed36
xor eax, eax
mov r8, rdi
xor edx, edx
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov rcx, rbx
mov dword [rdi], 0x20
call qword [0x140280e60]
test eax, eax
je 0x14002ed2d
nop word [rax + rax]
mov r8, rdi
mov rdx, rbx
mov ecx, ebp
call fcn.14002d420
cmp eax, 1
je 0x14002ed53
xor eax, eax
inc esi
mov r8, rdi
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov edx, esi
mov rcx, rbx
mov dword [rdi], 0x20
call qword [0x140280e60]
test eax, eax
jne 0x14002ecf0
mov rcx, rbx
call qword [0x140280e80]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov qword [r12], rbx
mov eax, 1
jmp 0x14002ed38