joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180038cb0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x180038d02
lea r11, [0x180072c60]
cmp r9b, 0x23
jne 0x180038ce5
cmp byte [r8], r9b
jne 0x180038ce5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180038cd2
mov r11, qword [0x180087fb0]
mov r10, qword [r11 + 0x5598]
test r10, r10
je 0x180038d49
lea r9, [r10 + 4]
test r9, r9
je 0x180038d49
not eax
cmp dword [r9], eax
je 0x180038d52
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x5590]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x180038d20
mov rcx, rbx
pop rbx
jmp fcn.180038bc0
mov rax, r9
pop rbx
ret

Function at 0x180038d60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180087fb0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180038dc3
mov qword [rsp], rbx
lea rbx, [0x180072c60]
nop dword [rax]
cmp r9b, 0x23
jne 0x180038da3
cmp byte [r8], r9b
jne 0x180038da3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180038d90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180038df7
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180038dfe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180038de4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x180039080
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180087fb0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x556c], ecx
test rbx, rbx
je 0x1800390ef
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180039100
lea rdx, [0x1800771c4]
mov rcx, rbx
mov rdi, rax
call fcn.1800232d0
mov rbx, rax
test rax, rax
je 0x1800390ea
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18003c0e0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x18003c2e4
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x180086020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x180072c60]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x18003c2ac
mov rcx, rbp
call fcn.18003b7b0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x18003c15e
lea rcx, [rbp + 0x5530]
call fcn.1800238f0
mov rcx, rax
jmp 0x18003c160
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xc4], 0xfffffe49
or dword [rbx + 0xc4], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x58], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x18003c1f1
cmp qword [rcx + 0x20], 0
jne 0x18003c1e6
mov qword [rcx + 0x20], rbx
jmp 0x18003c1f1
cmp qword [rcx + 0x28], 0
jne 0x18003c1f1
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rcx, rbx
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x18003c230
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18003c224
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.180023110
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x18003c290
nop dword [rax]
cmp r9b, 0x23
jne 0x18003c273
cmp byte [r8], r9b
jne 0x18003c273
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x18003c260
mov rcx, qword [0x180087fb0]
not edx
add rcx, 0x3fc0
call fcn.1800238f0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x18003c130
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18006b680
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x180043190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x1800431dd
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x1800431e2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x18004320d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x18004320d
mov rcx, qword [rax + 0x390]
test rcx, rcx
je 0x18004320d
mov eax, dword [rcx + 8]
mov dword [rsp + 0x28], eax
jmp 0x180043212
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x18004322c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x180043231
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov word [rsp + 0x42], ax
mov eax, dword [rbp + 0x20]
cmp eax, r8d
jne 0x1800432b7
lea ecx, [rax + 1]
test r8d, r8d
je 0x18004329f
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800432a4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.1800213b0
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
cdqe
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1800432f4
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.180043190
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x180043304
inc esi
jmp 0x1800431c0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x180067b40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180067d90
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180067c5a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180067ba4
mov rax, qword [0x180086008]
cmp qword [rsp + 0x20], rax
ja 0x180067ba4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180067b66
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180067bd5
jmp 0x180067c5a
cmp dword [rsp + 0x50], 0x10000
jne 0x180067c3d
cmp qword [rsp + 0x48], 0x10000
jb 0x180067c3d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180067c1b
mov rax, qword [rsp + 0x28]
jmp 0x180067c5c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180067c2b
xor eax, eax
jmp 0x180067c5c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180067c55
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180067d90
mov qword [rsp + 0x20], rax
jmp 0x180067b66
xor eax, eax
add rsp, 0x68
ret

Function at 0x180067c70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180067dd0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180067d86
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180067ccb
mov rax, qword [0x180086008]
cmp qword [rsp + 0x20], rax
ja 0x180067ccb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180067c8d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180067cfc
jmp 0x180067d86
cmp dword [rsp + 0x50], 0x10000
jne 0x180067d64
cmp qword [rsp + 0x48], 0x10000
jb 0x180067d64
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180067d42
mov rax, qword [rsp + 0x28]
jmp 0x180067d88
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180067d52
xor eax, eax
jmp 0x180067d88
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180067d81
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180067dd0
mov qword [rsp + 0x20], rax
jmp 0x180067c8d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180067e20
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800683b0
mov qword [rsp + 0x28], 0
cmp qword [0x1800877f8], 0
jne 0x180067e68
cmp qword [0x1800877f0], 0
je 0x180067e68
mov rax, qword [0x1800877f0]
mov qword [0x1800877f8], rax
cmp qword [0x1800877f8], 0
je 0x180067f0e
mov rax, qword [0x1800877f8]
cmp qword [rax + 0x10], 0
je 0x180067f0e
mov rax, qword [0x1800877f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180067f0e
mov rax, qword [0x1800877f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180067f0e
mov rax, qword [0x1800877f8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180067ed4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180067edb
xor eax, eax
jmp 0x180068089
mov rax, qword [0x1800877f8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180068089
mov rax, qword [0x1800877f0]
mov qword [0x1800877f8], rax
jmp 0x180067f30
mov rax, qword [0x1800877f8]
mov rax, qword [rax + 8]
mov qword [0x1800877f8], rax
cmp qword [0x1800877f8], 0
je 0x180067f7d
cmp qword [0x1800877f8], 0
je 0x180067f7b
mov rax, qword [0x1800877f8]
cmp qword [rax + 0x10], 0
je 0x180067f7b
mov rax, qword [0x1800877f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180067f7b
mov rax, qword [0x1800877f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180067f7b
jmp 0x180067eac
jmp 0x180067f1e
mov rcx, qword [rsp + 0x60]
call fcn.18006a000
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180068090
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180068087
mov rax, qword [rsp + 0x48]
mov qword [0x1800877f8], rax
mov rax, qword [0x1800877f8]
mov dword [rax], 0x52727464
mov rax, qword [0x1800877f8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800877f8]
mov rcx, qword [0x1800877f0]
mov qword [rax + 8], rcx
mov rax, qword [0x1800877f8]
mov qword [0x1800877f0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800877f8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180068038
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180068072
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18006802e
mov rax, qword [0x1800877f8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180067eac
xor eax, eax
add rsp, 0x58
ret
Function at 0x180068da0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180068de7
xor al, al
jmp 0x180068e89
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180068e11
xor al, al
jmp 0x180068e89
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180068e81
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180068e81
mov al, 1
jmp 0x180068e89
jmp 0x180068e87
xor al, al
add rsp, 0x78
ret

Function at 0x180069190
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800877f0]
mov qword [rsp + 0x28], rax
jmp 0x1800691b0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800691df
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800691dd
call sub.KERNEL32.dll_GetLastError
jmp 0x1800691e1
jmp 0x1800691a2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800698a0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180087808], eax
je 0x1800698bb
mov eax, 0x10dd
jmp 0x1800699e0
mov rax, qword [0x180087820]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180069965
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180069930
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180069930
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800684f0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18006b6a0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800698c7
mov qword [0x180087820], 0
call fcn.180068f50
mov rax, qword [0x180087818]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800699c9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.18006b6a0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180069981
mov qword [0x180087818], 0
mov dword [0x180087808], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180069f10
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18008780c], 0
je 0x180069f2d
mov eax, dword [0x18008780c]
jmp 0x180069ff3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180069f40
xor eax, eax
jmp 0x180069ff3
mov ecx, 0x10
call fcn.18006b6a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180069fae
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180069f93
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.18006b6a0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18008780c], eax
mov qword [0x180087810], 0
mov eax, dword [rsp + 0x20]
jmp 0x180069ff3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180069fc8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180069f69
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180087818]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180087818], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x140002362
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140002381
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140018a00

Function at 0x140005096
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov ecx, 2
call qword [fcn.140018430]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140018a00

Function at 0x1400050d5
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x1400830f0], 0
jne 0x1400050ed
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140005096
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005034
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x1400830f0]
test rbx, rbx
je 0x14000511e
test byte [rbx + 7], 0x40
jne 0x14000511e
mov rcx, rbx
call fcn.1400033ec
lea rcx, [0x140019320]
call fcn.140013210
cmp byte [rax], 0
je 0x140005156
mov byte [rax], 0
lea rcx, [0x140019220]
call fcn.140013210
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003958
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x14000578b
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x1400830c0]
xor ebx, ebx
lea r14, [0x140019320]
mov rsi, rcx
mov rdi, rdx
lea r13, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [fcn.140018430]
mov ecx, 1
cmp rbx, rdi
jl 0x140005811
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14001a31b]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.140018a00
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movups xmmword [rsp + 0x20], xmm0
call fcn.140005665
mov rcx, r14
call fcn.140013210
cmp byte [rax], 0
jne 0x140005843
inc rbx
jmp 0x1400057c4
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14000f068
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14000f0a6
cmp word [rcx], 0x5a4d
jne 0x14000f0a6
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x14000f0a6
call fcn.140006f0e
mov rcx, qword [0x14007e8d0]
mov rbx, rax
call fcn.140013210
cmp byte [rax], 0
jne 0x14000f0a6
cmp dword [rbx], 0x4550
je 0x14000f0a8
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400122e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.140018430
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140018430
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140012350
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140083ab4]
mov rbx, rcx
test esi, esi
jle 0x140012480
mov rax, qword [0x140083ab8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001239b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140012425
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140012380
mov rcx, rbx
call fcn.140012da0
mov rdi, rax
test rax, rax
je 0x1400124a2
mov rax, qword [0x140083ab8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140012ee0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140083ab8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140012487
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001241e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140012430
add dword [0x140083ab4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140083ab8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001241e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400122e0
nop dword [rax]
xor esi, esi
jmp 0x1400123a8
mov rax, qword [0x140083ab8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400122e0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400122e0
nop
nop word cs:[rax + rax]
nop dword [rax]