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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14004f840]
lea rdx, [0x140043cf0]
mov r8d, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140010d27
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140010d13
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140010d18
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140022990
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140011760
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14004f840]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x1400117c0
cmp byte [rbx + 0x20d6], 0
jne 0x1400117c0
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400028c0
test dil, 1
je 0x1400118e6
jmp 0x14001184f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140048510]
mulss xmm1, dword [0x140048504]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14004847c]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.1400028c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400118a0
lea r11, [0x140043cf0]
nop
cmp r9b, 0x23
jne 0x140011883
cmp byte [r8], r9b
jne 0x140011883
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 0x140011870
not ecx
call fcn.14000a590
test rax, rax
je 0x1400118e6
cmp byte [rax + 0xcf], 0
je 0x1400118e6
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.1400028c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d160
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140041760
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a010
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001a24e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140043cf0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001a216
mov rcx, rbp
call fcn.140019660
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a0e1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a0d1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a0c9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a0cc
mov rdx, rcx
test rdx, rdx
jne 0x14001a0a0
cmp r8, r10
je 0x14001a0e1
cmp dword [r8], r9d
jne 0x14001a0e1
mov rcx, qword [r8 + 8]
jmp 0x14001a0e3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001a177
cmp qword [rcx + 0x18], 0
jne 0x14001a16c
mov qword [rcx + 0x18], rbx
jmp 0x14001a177
cmp qword [rcx + 0x20], 0
jne 0x14001a177
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001a1ac
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001a1a0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400028c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001a208
cmp r9b, 0x23
jne 0x14001a1eb
cmp byte [r8], r9b
jne 0x14001a1eb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001a1d8
not ecx
call fcn.14000a590
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a060
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.140041760
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400323d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x70
mov r8, rcx
movaps xmmword [rsp + 0x30], xmm9
movzx ecx, word [rsp + 0xa8]
movaps xmm9, xmm2
mov qword [rsp + 0x20], r9
mov rsi, rdx
mov r9d, dword [rsp + 0xa0]
movsxd rax, dword [r8 + 0x18]
cmp rcx, rax
jb 0x14003240e
mov rbx, qword [r8 + 0x38]
jmp 0x140032432
mov rax, qword [r8 + 0x20]
movzx ecx, word [rax + rcx*2]
mov eax, 0xffff
cmp cx, ax
jne 0x140032426
mov rbx, qword [r8 + 0x38]
jmp 0x140032432
mov rax, qword [r8 + 0x30]
lea rcx, [rcx + rcx*4]
lea rbx, [rax + rcx*8]
test rbx, rbx
je 0x1400325ea
mov eax, dword [rbx]
test al, 2
je 0x1400325ea
mov qword [rsp + 0x80], rdi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm6
mov edi, r9d
or edi, 0xffffff
movaps xmmword [rsp + 0x50], xmm7
test al, 1
movaps xmmword [rsp + 0x40], xmm8
cmove edi, r9d
comiss xmm9, xmm0
jb 0x14003247d
divss xmm9, dword [r8 + 0x14]
jmp 0x140032486
movss xmm9, dword [0x1400484b8]
cvttss2si eax, dword [rsp + 0x20]
mov edx, 6
mov rcx, rsi
lea r8d, [rdx - 2]
movd xmm6, eax
cvttss2si eax, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.14002b4a0
movzx edx, word [rsi + 0x34]
mov rax, qword [rsi + 0x50]
movss xmm8, dword [rbx + 0x24]
movaps xmm1, xmm9
mulss xmm1, dword [rbx + 0x10]
lea ecx, [rdx + 1]
movss xmm4, dword [rbx + 0x20]
movaps xmm3, xmm9
mulss xmm3, dword [rbx + 0x14]
movaps xmm2, xmm9
mulss xmm2, dword [rbx + 8]
addss xmm1, xmm6
mulss xmm9, dword [rbx + 0xc]
addss xmm3, xmm7
movss xmm5, dword [rbx + 0x18]
addss xmm2, xmm6
movss xmm0, dword [rbx + 0x1c]
mov word [rax], dx
addss xmm9, xmm7
mov rax, qword [rsi + 0x50]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rsi + 0x50]
mov word [rax + 4], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rsi + 0x50]
mov word [rax + 8], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 0xa], dx
mov rax, qword [rsi + 0x48]
movss dword [rax], xmm2
movss dword [rax + 4], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x10], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x1c], xmm4
movss dword [rax + 0x20], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x24], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x28], xmm1
movss dword [rax + 0x2c], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x30], xmm4
movss dword [rax + 0x34], xmm8
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x38], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x3c], xmm2
movss dword [rax + 0x40], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm8
mov rax, qword [rsi + 0x48]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rax + 0x4c], edi
add qword [rsi + 0x48], 0x50
add dword [rsi + 0x34], 4
add qword [rsi + 0x50], 0xc
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x70
pop rsi
ret
Function at 0x140042338
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14000810d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000811d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140008105
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140008135
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140008122
sub eax, 3
jb 0x14000814f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140008186
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140008176
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140008174
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140008163
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400080c2
jmp 0x14000810d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1000
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400081d2
cmp rsi, rcx
jae 0x1400081da
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400081b9
cmp al, 0x8f
ja 0x1400081b9
cmp byte [rsi - 2], 0xf
je 0x1400081bf
sub al, 0xe8
cmp al, 1
ja 0x1400081a3
cmp rsi, rcx
jae 0x1400081da
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400081a9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400081da
lodsb al, byte [rsi]
jmp 0x1400081b9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6000]
mov eax, dword [rdi]
or eax, eax
je 0x140008237
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x81dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400081e7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140008231
mov qword [rbx], rax
add rbx, 8
jmp 0x140008207
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140008271
cmp al, 0xef
ja 0x140008263
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140008243
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140008252
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400082c5
sub rsp, 0xffffffffffffff80
jmp 0x140001380
Function at 0x140a61000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140a6100a
jmp 0x140a6300f
jmp fcn.1406f5058
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400c8360]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400c8370]
mov dword [rax], 1
mov rax, qword [0x1400c8380]
mov dword [rax], 1
mov rax, qword [0x1400c8300]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400c8350]
mov dword [0x1400f1020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400c8440]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400c8420]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400c7740]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x1400105b0
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x140010620
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1400f1134]
mov r12, rcx
test ebx, ebx
jle 0x140010750
mov rax, qword [0x1400f1138]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x14001066b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x1400106f5
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140010650
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x140010772
mov rax, qword [0x1400f1138]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400f1138]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010757
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400106ee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140010700
add dword [0x1400f1134], 1
add rsp, 0x50
pop rbx
pop rsi
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 rbx, qword [0x1400f1138]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400106ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x140010678
mov rax, qword [0x1400f1138]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140010cf0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x1400f11a0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400f1180]
test rbx, rbx
je 0x140010d4c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140010d43
test r12, r12
je 0x140010d43
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140010d28
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140010f80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140010f98
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140010fa0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140010fb0
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 0x140010ff5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x140010fec
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140010ff7
add rax, 0x28
cmp rax, r9
jne 0x140010fd8
xor eax, eax
ret

Function at 0x140011000
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140011090
mov rdx, qword [0x1400c8300]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14001107e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14001107e
cmp word [rax + 0x18], 0x20b
jne 0x14001107e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140011090
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140011069
add r12, 0x28
cmp r12, rsi
je 0x140011090
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140011060
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

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

Disassembly:
mov rdx, qword [0x1400c8300]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400110c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400110c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400110c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140011115
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14001110c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400110c0
add rax, 0x28
cmp rax, r9
jne 0x1400110f8
xor eax, eax
ret

Function at 0x140011120
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c8300]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140011140
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140011148
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140011140
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x140011160
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400c8300]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140011180
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140011188
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140011180
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400111c8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400111bf
test rcx, rcx
je 0x140011180
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400111b0
xor eax, eax
ret

Function at 0x1400111d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c8300]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400111f0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400111f8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

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

Disassembly:
mov rdx, qword [0x1400c8300]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140011230
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140011238
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140011230
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140011230
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14001127c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140011290
add rdx, 0x28
cmp rdx, r9
jne 0x140011268
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400c8300]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400112c2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400112d0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400112c2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400112c2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1400112c2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14001131d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140011330
add rdx, 0x28
cmp r10, rdx
jne 0x140011308
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14001133f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14001134f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140011326
test ecx, ecx
jg 0x140011338
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret