Function at 0x41a450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x41a8b8
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
movzx eax, byte [0x0054ee54]
test al, al
je 0x41a89d
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x90]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x18]
mov rbx, qword [rsp + 0x60]
test rbx, 0x18
je 0x41a885
bt ebx, 3
jae 0x41a86c
lea rsi, [0x004c3ff8]
lea rdi, [rdx + 0x186a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov r8d, dword [0x005351a8]
mov r9d, dword [0x005351ac]
bt ebx, 0
bt ebx, 2
cmp r8d, r9d
jae 0x41a863
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rdi
bt ebx, 0
jmp 0x41a52c
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jae 0x41a53f
movzx r8d, byte [rax + 0xc0]
test r8b, r8b
jne 0x41a85a
mov r8d, 1
lea r9, [0x005351a8]
lock xadd dword [r9], r8d
mov r10d, dword [0x005351ac]
cmp r8d, r10d
jae 0x41a5f7
mov qword [rsp], rcx
mov dword [rsp + 8], r8d
call dbg.runtime.markroot
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x41a584
mov rax, qword [rsp + 0x60]
bt eax, 0
jmp 0x41a50e
mov rax, qword [rdx]
call rax
movzx eax, byte [rsp]
test al, al
jne 0x41a5a4
mov rax, qword [rsp + 0x60]
bt eax, 0
mov rdx, qword [rsp + 0x40]
jmp 0x41a50e
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x18]
test rdx, rdx
jle 0x41a5d6
lea rbx, [0x0054f180]
lock xadd qword [rbx], rdx
mov rdx, qword [rsp + 0x60]
bt edx, 2
jb 0x41a5e0
mov qword [rcx + 0x18], 0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rdx, qword [rcx + 0x18]
sub rdx, rax
mov qword [rsp], rdx
call dbg.runtime.gcFlushBgCredit
mov rcx, qword [rsp + 0x58]
jmp 0x41a5ce
bt ebx, 0
test rbx, 0x1b
bt ebx, 0
jmp 0x41a61f
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, rsi
mov rsi, qword [rsp + 0x40]
jae 0x41a632
movzx r8d, byte [rax + 0xc0]
test r8b, r8b
jne 0x41a852
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x18], rdi
mov r8, qword [0x00535120]
test r8, r8
je 0x41a81f
test rbx, 0x1b
je 0x41a7ee
mov r8, qword [rcx]
test r8, r8
je 0x41a7e6
mov r9, qword [r8 + 0x10]
test r9, r9
jne 0x41a7c7
xor r8d, r8d
test r8, r8
je 0x41a796
test r8, r8
je 0x41a78e
mov qword [rsp], r8
mov qword [rsp + 8], rcx
call dbg.runtime.scanobject
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x18]
cmp rcx, 0x7d0
jl 0x41a771
lea rbx, [0x0054f180]
lock xadd qword [rbx], rcx
mov rcx, qword [rsp + 0x60]
bt ecx, 2
jb 0x41a74b
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rax + 0x18]
mov qword [rax + 0x18], 0
mov rsi, qword [rsp + 0x18]
sub rsi, rbx
test rsi, rsi
jg 0x41a73d
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x41a6fe
add rsi, 0x186a0
bt ecx, 0
jmp 0x41a608
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdx
mov rax, qword [rbx]
mov rdx, rbx
call rax
movzx eax, byte [rsp]
test al, al
jne 0x41a733
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
jmp 0x41a6ee
mov rax, qword [rsp + 0x20]
jmp 0x41a5a9
bt ecx, 0
mov rbx, qword [rsp + 0x40]
jmp 0x41a608
mov rcx, qword [rax + 0x18]
mov rdx, qword [rsp + 0x30]
sub rcx, rdx
mov qword [rsp], rcx
call dbg.runtime.gcFlushBgCredit
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
xor edx, edx
jmp 0x41a6cb
mov rcx, qword [rsp + 0x60]
bt ecx, 0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x30]
jmp 0x41a608
mov rax, rdx
jmp 0x41a5a9
mov qword [rsp], rcx
call dbg.runtime.(*gcWork).tryGet
mov r8, qword [rsp + 8]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jmp 0x41a67e
lea r10, [r9 - 1]
mov qword [r8 + 0x10], r10
cmp r10, 0xfd
jae 0x41a896
mov r8, qword [r8 + r9*8 + 0x10]
jmp 0x41a675
xor r8d, r8d
jmp 0x41a675
mov qword [rsp], rcx
call dbg.runtime.(*gcWork).get
mov r8, qword [rsp + 8]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jmp 0x41a67e
mov qword [rsp], rcx
call dbg.runtime.(*gcWork).balance
mov rbx, qword [rsp + 0x60]
test rbx, 0x1b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jmp 0x41a653
mov rax, rdx
jmp 0x41a5a9
bt ebx, 0
jmp 0x41a5fb
bt ebx, 0
jmp 0x41a5fb
bt ebx, 4
jae 0x41a87e
lea rsi, [0x004c3ff0]
jmp 0x41a4ce
xor esi, esi
jmp 0x41a4ce
movabs rdi, 0x7fffffffffffffff
xor esi, esi
jmp 0x41a4d5
call dbg.runtime.panicindex
ud2
lea rax, [0x004bf2ab]
mov qword [rsp], rax
mov qword [rsp + 8], 0x17
call dbg.runtime.throw
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.gcDrain