Function at 0x140047360
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
xor r14d, r14d
mov edi, r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400473dc
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400473dc
lea rdx, [0x14017fcd8]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400473d9
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400473b1
jmp 0x1400473dc
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x140047686
lea rdx, [0x14017fcd8]
mov ecx, edi
call fcn.140043f40
mov r13, rax
mov r8d, dword [0x1403af7f0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rsp + 0x48], 0x60
mov dword [rsp + 0x4c], 0x138
mov dword [rsp + 0x50], Ordinal_46
mov dword [rsp + 0x54], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x58], reloc.WS2_32.dll_recv
mov dword [rsp + 0x5c], 0xcac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov edx, 6
lea rcx, [rsp + 0x78]
call fcn.140074fc0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + 0x18]
mov qword [rbp - 0x80], rbx
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x138
mov dword [rsp + 0x38], Ordinal_46
mov dword [rsp + 0x3c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
mov dword [rsp + 0x44], 0xc14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 6
lea rcx, [rsp + 0x60]
call fcn.140074fc0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0x18]
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004753b
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140074fc0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
lea rdx, [r13 + 0x2f32010]
mov rcx, r12
call fcn.140043fe0
mov qword [rbp + 0x210], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x1400475a0
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140074fc0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
lea rdx, [r13 + 0x2f32010]
mov rcx, r12
call fcn.140043fe0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, qword [rbp + 0x210]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140047641
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140047638
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x140047686
mov rax, qword [rbp - 0x78]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004767e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047f86
mov rcx, rsi
call fcn.140141f7c
mov edi, r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400476e0
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400476e0
lea rdx, [0x14017fd78]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400476dd
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400476b5
jmp 0x1400476e0
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004798a
lea rdx, [0x14017fcd8]
mov ecx, edi
call fcn.140043f40
mov r13, rax
mov r8d, dword [0x1403af7f0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x138
mov dword [rsp + 0x38], Ordinal_46
mov dword [rsp + 0x3c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
mov dword [rsp + 0x44], 0xcac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 6
lea rcx, [rsp + 0x60]
call fcn.140074fc0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + 0x18]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], 0x60
mov dword [rsp + 0x4c], 0x138
mov dword [rsp + 0x50], Ordinal_46
mov dword [rsp + 0x54], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x58], reloc.WS2_32.dll_recv
mov dword [rsp + 0x5c], 0xc14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov edx, 6
lea rcx, [rsp + 0x78]
call fcn.140074fc0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0x18]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004783f
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r13 + 0x2ea03c0]
mov rcx, r12
call fcn.140043fe0
mov qword [rbp + 0x210], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x1400478a4
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r13 + 0x2ea03c0]
mov rcx, r12
call fcn.140043fe0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, qword [rbp + 0x210]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140047944
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004793b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004793b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x14004798a
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047982
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047f86
mov rcx, rsi
call fcn.140141f7c
mov edi, r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400479eb
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400479eb
nop dword [rax]
lea rdx, [0x14017ff30]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400479e8
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400479c0
jmp 0x1400479eb
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x140047c95
lea rdx, [0x14017ff30]
mov ecx, edi
call fcn.140043f40
mov r13, rax
mov r8d, dword [0x1403af7f0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x138
mov dword [rsp + 0x38], Ordinal_46
mov dword [rsp + 0x3c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
mov dword [rsp + 0x44], 0xcac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 6
lea rcx, [rsp + 0x60]
call fcn.140074fc0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + 0x18]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], 0x60
mov dword [rsp + 0x4c], 0x138
mov dword [rsp + 0x50], Ordinal_46
mov dword [rsp + 0x54], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x58], reloc.WS2_32.dll_recv
mov dword [rsp + 0x5c], 0xc14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov edx, 6
lea rcx, [rsp + 0x78]
call fcn.140074fc0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0x18]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x140047b4a
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r13 + 0x2e18bb0]
mov rcx, r12
call fcn.140043fe0
mov qword [rbp + 0x210], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x140047baf
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rdx, [r13 + 0x2e18bb0]
mov rcx, r12
call fcn.140043fe0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, qword [rbp + 0x210]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140047c4f
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140047c46
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047c46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x140047c95
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047c8d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047f86
mov rcx, rsi
call fcn.140141f7c
mov edi, r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140047cef
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140047cef
lea rdx, [0x14017ff88]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140047cec
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140047cc4
jmp 0x140047cef
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x140047f95
lea rdx, [0x14017ff88]
mov ecx, edi
call fcn.140043f40
mov rbx, rax
mov r8d, dword [0x1403af7f0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
lea r13, [rbx + 0x2ef5850]
lea rax, [rbx + 0x2749160]
mov qword [rbp + 0x210], rax
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x138
mov dword [rsp + 0x38], Ordinal_46
mov dword [rsp + 0x3c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
mov dword [rsp + 0x44], 0xcac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 6
lea rcx, [rsp + 0x60]
call fcn.140074fc0
mov r8d, Ordinal_26
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + 0x18]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], reloc.WS2_32.dll_recv
mov dword [rsp + 0x4c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x50], gethostname
mov dword [rsp + 0x54], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x58], 0x4f4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov edx, 5
lea rcx, [rsp + 0x78]
call fcn.140074fc0
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0x14]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x140047e5b
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r12
call fcn.140043fe0
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x140047eb8
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x210]
mov rcx, r12
call fcn.140043fe0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211f80]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140047f54
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140047f4b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047f4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x140047f95
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047f8d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047f8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140141f7c
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret