Function at 0x417ec0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx]
ja 0x417ee3
xor edi, edi
mov eax, 4
call fcn.0042a440
jmp fcn.00417ec0
sub esp, 0x88
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.0040fcc0
mov eax, dword [0x76cde0]
cmp eax, 0
jne 0x417f27
mov eax, dword [0x76cde4]
cmp eax, 0
jne 0x417f27
lea ecx, [0x76cde0]
mov eax, dword [esp + 0x80]
mov dword [ecx], eax
mov eax, dword [esp + 0x84]
mov dword [ecx + 4], eax
mov eax, 0x76d220
mov dword [esp], eax
call fcn.00406310
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [0x76cde0]
mov ecx, dword [esp + 0x80]
sub ecx, dword [eax]
mov edx, dword [esp + 0x84]
sbb edx, dword [eax + 4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], 0
call fcn.0041c8a0
mov eax, str.SCHED__Dms:_gomaxprocs_d_idleprocs_d_threads_d_idlethreads_d_runqueue_d
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [0x76c860]
mov dword [esp + 0xc], eax
mov eax, dword [0x76d244]
mov dword [esp + 0x10], eax
mov eax, dword [0x76d238]
mov dword [esp + 0x14], eax
mov eax, dword [0x76d230]
mov dword [esp + 0x18], eax
mov eax, dword [0x76d254]
mov dword [esp + 0x1c], eax
call fcn.00412350
cmp byte [esp + 0x8c], 0
je 0x418009
mov eax, str._gcwaiting_d_nmidlelocked_d_nmspinning_d_stopwait_d_sysmonwait_d_n
mov dword [esp], eax
mov eax, dword [0x76d260]
mov dword [esp + 4], eax
mov eax, dword [0x76d234]
mov dword [esp + 8], eax
mov eax, dword [0x76d248]
mov dword [esp + 0xc], eax
mov eax, dword [0x76d264]
mov dword [esp + 0x10], eax
mov eax, dword [0x76d26c]
mov dword [esp + 0x14], eax
call fcn.00412350
xor ebx, ebx
cmp ebx, dword [0x76c860]
jge 0x418034
mov ecx, ebx
mov dword [esp + 0x64], ebx
mov edx, dword [0x76c848]
mov edx, dword [edx + ebx*4]
cmp edx, 0
jne 0x41822e
inc ebx
cmp ebx, dword [0x76c860]
jl 0x418013
cmp byte [esp + 0x8c], 0
jne 0x418052
mov eax, 0x76d220
mov dword [esp], eax
call fcn.004064e0
add esp, 0x88
ret
mov edx, dword [0x76c844]
cmp edx, 0
je 0x418182
mov ecx, dword [edx + 0x54]
mov ebp, dword [edx + 0x4c]
mov ebx, dword [edx + 0x138]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
cmp ecx, 0
je 0x418090
mov ecx, dword [ecx + 4]
mov dword [esp + 0x78], ecx
sar ecx, 0x1f
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
cmp ebp, 0
je 0x4180b5
mov ecx, ebp
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
cmp ebx, 0
je 0x4180da
mov ecx, ebx
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x6c], eax
mov eax, str.__M_d:_p_D_curg_D_mallocing_d_throwing_d_gcing_d_locks_d_dying_d_helpgc_d_spinning_d_blocked_d_lockedg_D_n
mov dword [esp], eax
mov eax, dword [edx + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x74]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x7c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], edx
movzx eax, byte [edx + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + 0x81]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
call fcn.00412350
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x9c]
cmp edx, 0
jne 0x418061
mov eax, 0x76c3d8
mov dword [esp], eax
call fcn.00406310
xor edx, edx
cmp edx, dword [0x76c840]
jae 0x4181ff
mov ecx, edx
mov dword [esp + 0x58], edx
mov edx, dword [0x76c83c]
mov edx, dword [edx + ecx*4]
mov ebp, dword [edx + 0x70]
mov ebx, dword [edx + 0x74]
mov eax, str.__G_D:_status_d__s__m_d_lockedm_d_n
mov dword [esp], eax
mov ecx, edx
mov eax, dword [edx + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 8], eax
movsx eax, word [edx + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x60]
mov dword [esp + 0x10], eax
cmp ebp, 0
je 0x418227
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x14], eax
cmp ebx, 0
je 0x418220
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x18], eax
call fcn.00412350
mov edx, dword [esp + 0x58]
inc edx
cmp edx, dword [0x76c840]
jb 0x418199
mov eax, 0x76c3d8
mov dword [esp], eax
call fcn.004064e0
mov eax, 0x76d220
mov dword [esp], eax
call fcn.004064e0
add esp, 0x88
ret
mov eax, 0xffffffff
jmp 0x4181e9
mov eax, 0xffffffff
jmp 0x4181dd
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov ecx, edx
mov dword [esp + 0x40], edx
add ecx, 0x44
mov dword [esp], ecx
call fcn.00405fb0
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x40]
add ecx, 0x48
mov dword [esp], ecx
call fcn.00405fb0
mov edi, dword [0x76c860]
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov edx, eax
cmp byte [esp + 0x8c], 0
je 0x4182cf
mov eax, str.__P_d:_status_d_schedtick_d_syscalltick_d_m_d_runqsize_d_gfreecnt_d_n
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [ecx + 8]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
cmp esi, 0
je 0x4182c8
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x14], eax
mov eax, edx
sub eax, ebp
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x450]
mov dword [esp + 0x1c], eax
call fcn.00412350
mov ebx, dword [esp + 0x64]
jmp 0x41802b
mov eax, 0xffffffff
jmp 0x4182a4
mov ecx, 0x76c163
cmp edi, 1
jne 0x4182f7
mov ecx, str.___d__n
mov dword [esp], ecx
mov eax, edx
sub eax, ebp
mov dword [esp + 4], eax
call fcn.00412350
mov ebx, dword [esp + 0x64]
jmp 0x41802b
cmp ebx, 0
jne 0x418303
mov ecx, str.___d
jmp 0x4182de
mov eax, edi
dec eax
cmp ebx, eax
jne 0x4182de
mov ecx, str.__d__n
jmp 0x4182de