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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000ce7e
mov word [rbp + 0x50], 0x654e
mov word [rbp + 0x58], 0x654e
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000cd04
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000ccf0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000cd35
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000cd20
cmp rdi, rbx
jne 0x14000ce52
mov r13, rsi
mov word [rbp - 0x50], 0x654e
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000cd76
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000cd62
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000ce78
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x65002f
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000cde8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x650034
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000cde8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x65002f
mov dword [rbp - 0x42], 0x65000f
call fcn.140002490
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x65002f
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x14000ce45
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x650034
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000ce45
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x65002f
mov dword [rbp - 0x32], 0x65000f
call fcn.140002490
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000ce52
inc r14
jmp 0x14000cd50
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000ce7e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000ccc0
mov rax, qword [rbp - 8]
jmp 0x14000ce80
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000c7f2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cf90
test al, al
jne 0x14000c804
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000c7c0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x65
mov dword [rbp - 0x20], 0x200005
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2d0025
mov dword [rbp - 0x18], 0x3f0036
mov dword [rbp - 0x14], 0x20004b
mov dword [rbp - 0x10], 0x2b0030
call fcn.140004fd0
mov rcx, rax
call 0x14000c790
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x63
mov dword [rbp - 0x20], 0x200005
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2d0025
mov dword [rbp - 0x18], 0x3f0036
mov dword [rbp - 0x14], 0x53003a
call fcn.1400022a0
mov rcx, rax
call 0x14000c790
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x110020
mov dword [rbp - 0x1c], 0xf0013
mov dword [rbp - 0x18], 0x73001f
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000c790
Function at 0x40d689
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov ecx, dword [0x00415070]
test ecx, ecx
je 0x40d791
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x40d6c1
mov rbx, rax
cmp qword [rax + 8], 0
je 0x40d6c1
add rbx, 0x10
jmp 0x40d786
mov ecx, dword [0x00415070]
test ecx, ecx
je 0x40d7a4
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x40d784
mov rdi, rax
test rax, rax
jne 0x40d733
mov al, byte [0x0041a0c8]
mov ecx, 0x18
mov edx, 8
call fcn.004018e0
test rax, rax
je 0x40d7ca
mov rdi, rax
lea rax, [0x00415058]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x00415070]
test ecx, ecx
je 0x40d7b7
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x40d75f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rsi], 0
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
test rcx, rcx
jne 0x40d761
lea rcx, [rsp + 0x20]
call fcn.0040d893
xor eax, eax
movups xmm0, xmmword [rdi + 8]
lea rbx, [rdi + 0x10]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
lea rcx, [rsp + 0x20]
movups xmmword [rcx], xmm0
call fcn.0040d893
jmp 0x40d786
xor ebx, ebx
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x00415058]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40d6a3
lea rcx, [0x00415058]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40d6d1
lea rcx, [0x00415058]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40d72b
ud2

Function at 0x40d7ce
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx], 0
je 0x40d848
lea r8, [rsp + 0x2c]
mov dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x40d88f
cmp dword [rsp + 0x2c], 0
je 0x40d870
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40d87f
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x0041a0b8]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x0041a0b8], rsi
jne 0x40d823
mov byte [0x0041a0b0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x40d875
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40d88f
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x40d875
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x40d875
mov edi, dword [rsi + 0x18]
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2
Function at 0x40d97e
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x00415090]
test ecx, ecx
je 0x40da43
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x40d9b1
cmp byte [rax + 8], 0
je 0x40d9b1
add rax, 9
jmp 0x40da3c
mov ecx, dword [0x00415090]
test ecx, ecx
je 0x40da56
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x40da3a
mov rdi, rax
test rax, rax
jne 0x40da17
mov al, byte [0x0041a0c8]
mov ecx, 0x10
mov edx, 8
call fcn.004018e0
test rax, rax
je 0x40da79
mov rdi, rax
lea rax, [0x00415078]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x00415090]
test ecx, ecx
je 0x40da69
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test rsi, rsi
je 0x40da2d
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x40da3c
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x00415078]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40d997
lea rcx, [0x00415078]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40d9c1
lea rcx, [0x00415078]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40da0f
ud2

Function at 0x40da7d
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x40daa9
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
sub byte [rax - 0x7d], cl
invalid
cmp bl, al
call fcn.0040b8f6
ud2

Function at 0x40dbd9
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov ecx, dword [0x00415030]
test ecx, ecx
je 0x40dce1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x40dc11
mov rbx, rax
cmp qword [rax + 8], 0
je 0x40dc11
add rbx, 0x10
jmp 0x40dcd6
mov ecx, dword [0x00415030]
test ecx, ecx
je 0x40dcf4
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x40dcd4
mov rdi, rax
test rax, rax
jne 0x40dc83
mov al, byte [0x0041a0c8]
mov ecx, 0x18
mov edx, 8
call fcn.004018e0
test rax, rax
je 0x40dd1a
mov rdi, rax
lea rax, [0x00415018]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x00415030]
test ecx, ecx
je 0x40dd07
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x40dcaf
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rsi], 0
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
test rcx, rcx
jne 0x40dcb1
lea rcx, [rsp + 0x20]
call fcn.0040d95f
xor eax, eax
movups xmm0, xmmword [rdi + 8]
lea rbx, [rdi + 0x10]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
lea rcx, [rsp + 0x20]
movups xmmword [rcx], xmm0
call fcn.0040d95f
jmp 0x40dcd6
xor ebx, ebx
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x00415018]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40dbf3
lea rcx, [0x00415018]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40dc21
lea rcx, [0x00415018]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40dc7b
ud2
Function at 0x40de22
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x004150b0]
test ecx, ecx
je 0x40df3a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x40de59
mov rcx, rax
cmp qword [rax + 8], 0
je 0x40de59
add rcx, 0x10
jmp 0x40df30
mov ecx, dword [0x004150b0]
test ecx, ecx
je 0x40df4d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x40df13
mov rdi, rax
test rax, rax
jne 0x40decb
mov al, byte [0x0041a0c8]
mov ecx, 0x20
mov edx, 8
call fcn.004018e0
test rax, rax
je 0x40df73
mov rdi, rax
lea rax, [0x00415098]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x004150b0]
test ecx, ecx
je 0x40df60
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x40dee5
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
cmp qword [rsi], 0
mov qword [rsi], 0
jne 0x40df1c
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x40df17
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x40df1c
xor ecx, ecx
jmp 0x40df30
call case.0x409e90.28
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x00415098]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40de3b
lea rcx, [0x00415098]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40de69
lea rcx, [0x00415098]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40dec3
ud2
Function at 0x40e7dc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rsi, rcx
mov ecx, dword [0x004150f8]
test ecx, ecx
je 0x40e91a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x40e817
mov rbx, rax
cmp qword [rax + 8], 0
je 0x40e817
add rbx, 0x10
jmp 0x40e90c
mov ecx, dword [0x004150f8]
test ecx, ecx
je 0x40e92d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x40e8aa
mov rbx, rax
test rax, rax
jne 0x40e885
mov al, byte [0x0041a0c8]
mov ecx, 0x60
mov edx, 8
call fcn.004018e0
test rax, rax
je 0x40e953
mov rbx, rax
lea rax, [0x004150e0]
mov qword [rbx], rax
mov qword [rbx + 8], 0
mov ecx, dword [0x004150f8]
test ecx, ecx
je 0x40e940
dec ecx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
lea rax, [rbx + 8]
test rsi, rsi
je 0x40e8ae
lea rcx, [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
lea rsi, [0x00416e78]
cmovne rsi, rcx
jmp 0x40e8b5
xor ebx, ebx
jmp 0x40e90c
lea rsi, [0x00416e78]
lea rdx, [rsp + 0x80]
mov ecx, 0xa
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea r8, [rsp + 0x28]
mov ecx, 0xb
mov rdi, r8
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rbx + 8], 1
add rbx, 0x10
mov ecx, 0xa
mov rdi, rbx
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
cmp qword [r8], 0
je 0x40e90c
cmp dword [rsp + 0x38], 2
je 0x40e90c
lea rcx, [rsp + 0x38]
call fcn.0040e06e
mov rax, rbx
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x004150e0]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40e7f9
lea rcx, [0x004150e0]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40e827
lea rcx, [0x004150e0]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40e87d
ud2

Function at 0x40e957
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x004150d8]
test ecx, ecx
je 0x40ea2e
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x40e98b
mov rdi, rax
cmp qword [rax + 8], 0
je 0x40e98b
add rdi, 8
jmp 0x40ea24
mov ecx, dword [0x004150d8]
test ecx, ecx
je 0x40ea41
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x40ea22
mov rsi, rax
test rax, rax
jne 0x40e9f5
mov al, byte [0x0041a0c8]
mov ecx, 0x10
mov edx, 8
call fcn.004018e0
test rax, rax
je 0x40ea64
mov rsi, rax
lea rax, [0x004150c0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x004150d8]
test ecx, ecx
je 0x40ea54
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 8]
call fcn.0040e796
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rax
mov qword [rsp + 0x20], rcx
test rcx, rcx
je 0x40ea24
lock dec qword [rcx]
jne 0x40ea24
lea rcx, [rsp + 0x20]
call fcn.0040e3c1
jmp 0x40ea24
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x004150c0]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40e96d
lea rcx, [0x004150c0]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40e99b
lea rcx, [0x004150c0]
call fcn.0040d7ce
mov ecx, eax
jmp 0x40e9ed
ud2
Function at 0x4139c0
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
mov rsi, rcx
mov ecx, dword [0x0041a6e4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x413ae0
mov rax, qword [0x0041a6e8]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x413a0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x413ac6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x4139f0
mov rcx, rsi
call fcn.00414600
test rax, rax
mov r12, rax
je 0x413b18
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x0041a6e8]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00414750
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x0041a6e8]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x413afb
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x413abf
sub eax, 0x40
and eax, 0xffffffbf
je 0x413abf
add rbx, qword [0x0041a6e8]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x413ae7
add dword [0x0041a6e4], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.ntdll.dll_memcpy
xor ebx, ebx
jmp 0x413a17
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00413950
mov rax, qword [0x0041a6e8]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00413950
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00413950
nop
nop dword [rax + rax]

Function at 0x414270
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0041a9c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0041a9a0]
test rbx, rbx
je 0x4142c4
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 0x4142bb
test rsi, rsi
je 0x4142bb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4142a0
lea rcx, [0x0041a9c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x414600
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00417370]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x414620
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.004144e0
test eax, eax
je 0x414618
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x41467d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x414674
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x414618
add rdx, 0x28
cmp rdx, r9
jne 0x414660
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140003f20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003f7d
lea rbx, [0x14014a9e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003f64
cmp r10, 2
jb 0x140003f64
cmp byte [r9], r8b
jne 0x140003f64
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003f40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003fbf
lea rbx, [0x14014a9e0]
cmp r8b, 0x23
jne 0x140003fa3
cmp byte [r9], r8b
jne 0x140003fa3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003f90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004180
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1400041af
mov r8d, 0x7bc
lea rdx, str.C:UsersAngelDesktopBypassDh___Copyimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400041bb
mov qword [rdi], 0
lea rdx, [0x14014a208]
mov rcx, rbx
call fcn.140003fd0
mov rbx, rax
test rax, rax
jne 0x1400041dd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400042b4
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400042b4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400042b4
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400042b4
cmp rsi, 0xffffffffffffffff
je 0x1400042b4
mov rax, qword [0x14024aad0]
test rax, rax
je 0x140004251
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400042b4
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x1400042a1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14024aad0]
test rax, rax
je 0x140004296
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400042bd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400042af
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400042bf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400079f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140007a2c
mov r8d, 0x70b
lea rdx, str.C:UsersAngelDesktopBypassDh___Copyimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x14014a9e0]
movsxd r8, dword [rsi + 0xf0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f38], ebx
jne 0x140007aa7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e320
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret