Function at 0x140024730
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1402cb8a0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ebx, 4
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1402e3440], eax
jle 0x1400247ac
lea rcx, [0x1402e3440]
call fcn.1401c4340
cmp dword [0x1402e3440], 0xffffffff
jne 0x1400247ac
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [0x1402e3440]
mov qword [0x1402d2708], rax
call fcn.1401c42d4
mov eax, dword [rbx]
cmp dword [0x1402d22b0], eax
jle 0x1400247f2
lea rcx, [0x1402d22b0]
call fcn.1401c4340
cmp dword [0x1402d22b0], 0xffffffff
jne 0x1400247f2
mov rcx, qword [0x1402d2708]
lea rdx, str.OpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1402d22b0]
mov qword [0x1402f38d0], rax
call fcn.1401c42d4
mov eax, dword [rbx]
cmp dword [0x1402e3310], eax
jle 0x140024838
lea rcx, [0x1402e3310]
call fcn.1401c4340
cmp dword [0x1402e3310], 0xffffffff
jne 0x140024838
mov rcx, qword [0x1402d2708]
lea rdx, str.CreateToolhelp32Snapshot
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1402e3310]
mov qword [0x1402e3880], rax
call fcn.1401c42d4
mov eax, dword [rbx]
cmp dword [0x1402e33b0], eax
jle 0x14002487e
lea rcx, [0x1402e33b0]
call fcn.1401c4340
cmp dword [0x1402e33b0], 0xffffffff
jne 0x14002487e
mov rcx, qword [0x1402d2708]
lea rdx, str.Process32FirstW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1402e33b0]
mov qword [0x1402e3080], rax
call fcn.1401c42d4
mov eax, dword [rbx]
cmp dword [0x1402e7890], eax
jle 0x1400248c4
lea rcx, [0x1402e7890]
call fcn.1401c4340
cmp dword [0x1402e7890], 0xffffffff
jne 0x1400248c4
mov rcx, qword [0x1402d2708]
lea rdx, str.Process32NextW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1402e7890]
mov qword [0x1402d2760], rax
call fcn.1401c42d4
mov eax, dword [rbx]
cmp dword [0x1402e3430], eax
jle 0x14002490a
lea rcx, [0x1402e3430]
call fcn.1401c4340
cmp dword [0x1402e3430], 0xffffffff
jne 0x14002490a
mov rcx, qword [0x1402d2708]
lea rdx, [0x140295a80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1402e3430]
mov qword [0x1402d2b18], rax
call fcn.1401c42d4
mov rax, qword [0x1402e3880]
xor edx, edx
lea ecx, [rdx + 2]
call rax
xor bpl, bpl
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140024a50
mov r8, qword [0x1402e3080]
lea rdx, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x40], 0x238
call r8
test eax, eax
je 0x140024a50
mov qword [rsp + 0x2a0], r14
xor r14d, r14d
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r14
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x140024980
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.14000b250
cmp qword [rdi + 0x18], 8
mov rax, rdi
jb 0x1400249a6
mov rax, qword [rdi]
cmp qword [rsp + 0x38], 8
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
cmovae r8, qword [rsp + 0x20]
cmp rdx, qword [rdi + 0x10]
jne 0x140024a24
test rdx, rdx
je 0x1400249e4
sub r8, rax
nop word [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140024a24
add rax, 2
sub rdx, 1
jne 0x1400249d0
lea rcx, [rsp + 0x20]
call fcn.1400090c0
mov rax, qword [0x1402f38d0]
xor edx, edx
mov r8d, dword [rsp + 0x48]
lea ecx, [rdx + 1]
call rax
mov r8, qword [0x1402d2b18]
xor edx, edx
mov rcx, rax
mov rbx, rax
call r8
test eax, eax
mov rcx, rbx
setne bpl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140024a2e
lea rcx, [rsp + 0x20]
call fcn.1400090c0
mov r8, qword [0x1402d2760]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call r8
test eax, eax
jne 0x140024960
mov r14, qword [rsp + 0x2a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bpl
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401c4270
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret