Function at 0x4afbe0
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4aff7d
push rbp
mov rbp, rsp
sub rsp, 0x90
movups xmmword [rsp + 0x80], xmm15
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x2b], 0
mov qword [rsp + 0x40], 0
movups xmmword [rsp + 0x60], xmm15
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov ebx, 0xffffffff
mov rax, rcx
call sym.syscall.WaitForSingleObject
test eax, eax
je 0x4afd29
nop dword [rax]
cmp eax, 0xffffffff
jne 0x4afcd7
test rbx, rbx
jne 0x4afc54
xor eax, eax
xor ecx, ecx
jmp 0x4afcb0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rcx
lea rax, [0x005b1160]
call sym.runtime.newobject
mov qword [rax + 8], 0x13
lea rcx, [0x005e1beb]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x10], rcx
cmp dword [0x007c4ac0], 0
jne 0x4afc95
mov rdx, qword [rsp + 0x48]
jmp 0x4afca2
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x48]
mov qword [r11], rdx
mov qword [rax + 0x18], rdx
mov rcx, rax
lea rax, [0x00637320]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov rdx, qword [rsp + 0x40]
mov rbx, rax
mov rax, rdx
add rsp, 0x90
pop rbp
ret
lea rax, [0x005a9cc0]
nop
call sym.runtime.newobject
mov qword [rax + 8], 0x2e
lea rcx, [0x005eb033]
mov qword [rax], rcx
mov qword [rsp + 0x40], 0
lea rcx, [0x006371c0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
add rsp, 0x90
pop rbp
ret
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x38]
lea rbx, [rsp + 0x2c]
nop dword [rax + rax]
call sym.syscall.GetExitCodeProcess
test rax, rax
je 0x4afdcf
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
lea rax, [0x005b1160]
nop
call sym.runtime.newobject
mov qword [rax + 8], 0x12
lea rcx, [0x005e14cd]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
cmp dword [0x007c4ac0], 0
jne 0x4afd90
mov rdx, qword [rsp + 0x48]
jmp 0x4afd9d
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x48]
mov qword [r11], rdx
mov qword [rax + 0x18], rdx
mov qword [rsp + 0x40], 0
lea rbx, [0x00637320]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x40]
mov rcx, rax
mov rax, rdx
add rsp, 0x90
pop rbp
ret
lea rax, [0x005c1240]
call sym.runtime.newobject
mov qword [rsp + 0x58], rax
lea rcx, [rax + 8]
lea rdi, [rax + 0x10]
lea rsi, [rax + 0x18]
mov rbx, rax
mov rax, qword [rsp + 0x38]
call sym.syscall.GetProcessTimes
nop dword [rax]
test rax, rax
je 0x4afe89
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
lea rax, [0x005b1160]
call sym.runtime.newobject
mov qword [rax + 8], 0xf
lea rcx, [0x005e0303]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
cmp dword [0x007c4ac0], 0
jne 0x4afe4a
mov rdx, qword [rsp + 0x48]
jmp 0x4afe57
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x48]
mov qword [r11], rdx
mov qword [rax + 0x18], rdx
mov qword [rsp + 0x40], 0
lea rbx, [0x00637320]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x40]
mov rcx, rax
mov rax, rdx
add rsp, 0x90
pop rbp
ret
nop
nop
mov ecx, 1
mov rdx, qword [rsp + 0xa0]
xchg dword [rdx + 0x10], ecx
lea rcx, sym.os._Process_.wait.func1
mov qword [rsp + 0x88], rcx
mov byte [rsp + 0x2b], 1
movups xmmword [rsp + 0x70], xmm15
lea rcx, [sym.os._Process_.wait.func2]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x80], rcx
mov byte [rsp + 0x2b], 3
lea rax, [0x005b7ac0]
nop
call sym.runtime.newobject
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 8], ecx
cmp dword [0x007c4ac0], 0
jne 0x4aff0a
mov rcx, qword [rsp + 0x58]
jmp 0x4aff17
call sym.runtime.gcWriteBarrier1
mov rcx, qword [rsp + 0x58]
mov qword [r11], rcx
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x60], xmm15
mov byte [rsp + 0x2b], 1
mov rdx, qword [rsp + 0x80]
mov rax, qword [rdx]
call rax
mov byte [rsp + 0x2b], 0
nop dword [rax]
call sym.os._Process_.wait.func1
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
add rsp, 0x90
pop rbp
ret
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.os._Process_.wait