joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1eabc18e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1eabc7064]
mov rbx, rcx
test esi, esi
jle 0x1eabc1a10
mov rax, qword [0x1eabc7068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1eabc192b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1eabc19b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1eabc1910
mov rcx, rbx
call fcn.1eabc2150
mov rdi, rax
test rax, rax
je 0x1eabc1a32
mov rax, qword [0x1eabc7068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1eabc2290
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1eabc7068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1eabc1a17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1eabc19ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1eabc19c0
add dword [0x1eabc7064], 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 [0x1eabc7068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1eabc19ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1eabc1870
nop dword [rax]
xor esi, esi
jmp 0x1eabc1938
mov rax, qword [0x1eabc7068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1eabc1870
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1eabc1870
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1eabc1dc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1eabc70a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1eabc7080]
test rbx, rbx
je 0x1eabc1e1c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1eabc1e13
test eax, eax
jne 0x1eabc1e13
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1eabc1df8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x1eabc46c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1eabc2170
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1eabc2178
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eabc2170
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1eabc21cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1eabc21c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1eabc2170
add rax, 0x28
cmp rax, r9
jne 0x1eabc21b0
xor eax, eax
ret

Function at 0x1eabc21d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eabc46c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1eabc21ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1eabc21f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1eabc21ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1eabc2290
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eabc46c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1eabc22af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1eabc22b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400043f0
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 0x14000444d
lea rbx, [0x1401601f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004434
cmp r10, 2
jb 0x140004434
cmp byte [r9], r8b
jne 0x140004434
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 0x140004410
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000448f
lea rbx, [0x1401601f0]
cmp r8b, 0x23
jne 0x140004473
cmp byte [r9], r8b
jne 0x140004473
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 0x140004460
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004660
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 0x14000468f
mov r8d, 0x7d7
lea rdx, str.C:UsersedsonMusicDARCY_XImgui_Personalizadoimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000469b
mov qword [rdi], 0
lea rdx, [0x14015f9f8]
mov rcx, rbx
call fcn.1400044a0
mov rbx, rax
test rax, rax
jne 0x1400046bd
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 0x1400047a8
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 0x1400047a8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400047a8
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 0x1400047a8
cmp rsi, 0xffffffffffffffff
je 0x1400047a8
mov rax, qword [0x140370dd0]
test rax, rax
je 0x140004739
inc dword [rax + 0xf4]
mov rdx, qword [0x140370dc0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbp, rax
test rax, rax
je 0x1400047a8
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 0x140004795
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140370dd0]
test rax, rax
je 0x140004784
dec dword [rax + 0xf4]
mov rdx, qword [0x140370dc0]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x1400047b1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400047a3
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400047b3
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 0x140007fc0
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 0x140007ffc
mov r8d, 0x71a
lea rdx, str.C:UsersedsonMusicDARCY_XImgui_Personalizadoimgui.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, [0x1401601f0]
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 + 0x3f50], ebx
jne 0x140008077
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140020520
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140008090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xf0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1400080c3
mov r8d, 0x71a
lea rdx, str.C:UsersedsonMusicDARCY_XImgui_Personalizadoimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x110]
lea r9, [0x1401601f0]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0xf0]
subss xmm0, xmm2
mov rax, qword [rbx + 0xf8]
movss xmm3, dword [rbx + 0x114]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x140018710
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140370dd0]
mov edi, ecx
cmp byte [rbx + 0x4aad], 0
jne 0x140018762
cmp byte [rbx + 0x4aae], 0
jne 0x140018762
movsx r9d, word [rbx + 0x5bde]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004240
test dil, 1
je 0x14001888f
jmp 0x1400187eb
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14016dd3c]
xor eax, eax
mulss xmm1, dword [0x14016dd20]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47f8], rax
mov dword [rbx + 0x47e4], 1
movss dword [rbx + 0x47f0], xmm0
movss dword [rbx + 0x47f4], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x14016dc2c]
or dword [rbx + 0x47e0], 0x41
movss dword [rbx + 0x4840], xmm0
movsx r9d, word [rbx + 0x5bde]
call fcn.140004240
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018840
lea r11, [0x1401601f0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140018823
cmp byte [r8], r9b
jne 0x140018823
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 0x140018810
not ecx
call fcn.14000d0d0
test rax, rax
je 0x14001888f
cmp byte [rax + 0xb6], 0
je 0x14001888f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bde]
movsx r9d, word [rbx + 0x5bde]
call fcn.140004240
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000fce0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001ea50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cc0], 0
lea rbx, [rcx + 0x5cc8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001eaf7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001eaaa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400212d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004f60
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cd0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140370dc8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001eaff
mov rcx, rbx
call fcn.140004f60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001eed0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x140370dd0]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001ef34
lea r10, [0x1401601f0]
cmp r8b, 0x23
jne 0x14001ef17
cmp byte [rdx], r8b
jne 0x14001ef17
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001ef04
mov eax, dword [r14 + 0x5c38]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001ef95
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001ef5a
cmp edi, eax
jl 0x14001ef74
mov r8d, 0x711
lea rdx, str.C:UsersedsonMusicDARCY_XImgui_Personalizadoimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5c40]
cmp dword [rax + rbp + 8], ebx
je 0x14001efb2
mov eax, dword [r14 + 0x5c38]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001ef51
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001efbf
cmp edi, dword [r14 + 0x5c38]
jl 0x14001efd9
mov r8d, 0x711
lea rdx, str.C:UsersedsonMusicDARCY_XImgui_Personalizadoimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5c40]
lea rax, [rax + rcx*8]
jmp 0x14001ef97
Function at 0x140049af0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], 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
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor r13d, r13d
mov qword [rbp - 0x10], r13
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049b3e
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rbp + 0x40], rax
mov dword [rax + 8], r13d
mov qword [0x140370f18], rax
mov dword [rsp + 0x30], 6
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x140168548]
mov rcx, rax
call fcn.14005fd70
mov r12d, r13d
mov r15, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x20]
sub r15, rdi
sar r15, 3
test r15, r15
je 0x140049c8f
mov rbx, rdi
nop dword [rax + rax]
mov dword [rbp - 0x30], 0xe3a00000
mov dword [rbp - 0x2c], 0xe12fff1e
mov dword [rbp - 0x28], 0xe31070
mov word [rbp - 0x24], 0xa040
mov byte [rbp - 0x22], 0xe1
mov rsi, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049bd5
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rbp + 0x48], rax
mov dword [rax + 8], r13d
mov qword [0x140370f18], rax
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rsi, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049c1a
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rbp + 0x48], rax
mov dword [rax + 8], r13d
mov qword [0x140370f18], rax
mov qword [rsp + 0x20], r13
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, [rbp - 0x30]
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, dword [rbp + 0x40]
mov r14, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049c5e
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rbp + 0x48], rax
mov dword [rax + 8], r13d
mov qword [0x140370f18], rax
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov r8d, 8
mov rdx, r14
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc r12d
add rbx, 8
movsxd rax, r12d
cmp rax, r15
jb 0x140049b90
test rdi, rdi
je 0x140049ccf
mov rdx, qword [rbp - 0x10]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, rdi
cmp rdx, 0x1000
jb 0x140049cc7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049cc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14012abd8
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140049cf0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049d43
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa0], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
mov dword [rsp + 0x30], 0x64
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x140168570]
mov rcx, rax
call fcn.14005fd70
mov r15d, r12d
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
sub r14, rdi
sar r14, 3
test r14, r14
je 0x140049ea0
mov rbx, rdi
mov dword [rsp + 0x40], 0xe585001d
mov dword [rsp + 0x44], 0x7000e587
mov word [rsp + 0x48], 0xe594
mov rsi, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049dd1
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa8], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rsi, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049e1e
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa8], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
mov qword [rsp + 0x20], r12
mov r9d, 0xa
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, dword [rsp + 0xa0]
mov rbp, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049e6b
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa8], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov r8d, 8
mov rdx, rbp
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc r15d
add rbx, 8
movsxd rax, r15d
cmp rax, r14
jb 0x140049d90
test rdi, rdi
je 0x140049ee1
mov rdx, qword [rsp + 0x60]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, rdi
cmp rdx, 0x1000
jb 0x140049ed9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049ed9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14012abd8
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140049f00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049f53
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa0], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
mov dword [rsp + 0x30], 0x64
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, str.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
mov qword [rsp + 0x20], rcx
lea r9, [0x140168598]
mov rcx, rax
call fcn.14005fd70
mov r15d, r12d
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
sub r14, rdi
sar r14, 3
test r14, r14
je 0x14004a0ae
mov rbx, rdi
mov dword [rsp + 0x40], 0xe585001d
mov dword [rsp + 0x44], 0x8750fceb
mov byte [rsp + 0x48], 0xe5
mov rsi, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x140049fdf
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa8], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rsi, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x14004a02c
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa8], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
mov qword [rsp + 0x20], r12
mov r9d, 9
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, dword [rsp + 0xa0]
mov rbp, qword [rbx]
mov rax, qword [0x140370f18]
test rax, rax
jne 0x14004a079
lea ecx, [rax + 0x10]
call fcn.14012a87c
mov qword [rsp + 0xa8], rax
mov dword [rax + 8], r12d
mov qword [0x140370f18], rax
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov r8d, 8
mov rdx, rbp
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc r15d
add rbx, 8
movsxd rax, r15d
cmp rax, r14
jb 0x140049fa0
test rdi, rdi
je 0x14004a0ef
mov rdx, qword [rsp + 0x60]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004a0e7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a0e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14012abd8
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret