Function at 0x436510
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x436a94
sub esp, 0x38
mov eax, dword [esp + 0x44]
test byte [eax], al
mov ecx, dword [0x74e1b0]
mov edx, dword fs:[0x14]
mov edx, dword [edx]
lea ebx, [eax + 0x10]
lea ebp, [eax + 8]
mov dword [esp + 0x34], ebp
lea esi, [eax + 0xc]
mov dword [esp + 0x30], esi
test ecx, ecx
jne 0x436a19
mov dword [eax], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov edx, dword [esp + 0x3c]
lea ebx, [edx + 4]
test byte [ebx], al
mov edi, dword [edx + 4]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
jmp 0x4365a4
mov ebp, dword [ecx]
mov dword [esp + 0x18], edi
mov edi, ebp
mov ebp, dword [esp + 0x34]
mov ebp, ecx
mov ecx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x34]
test edi, edi
je 0x436927
mov ebp, dword [edi + 0x10]
cmp ecx, ebp
je 0x4365c3
mov ebx, ecx
cmp ecx, ebp
jae 0x4365be
lea ecx, [edi + 0xc]
jmp 0x43658e
lea ecx, [edi + 8]
jmp 0x43658e
mov dword [esp + 0x10], edi
movzx ecx, byte [esp + 0x48]
test cl, cl
je 0x43687b
test byte [ebx], al
mov ecx, dword [0x74e1b0]
test ecx, ecx
jne 0x43685e
mov dword [ebx], eax
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [0x74e1b0]
lea edx, [eax + 0x28]
mov ebx, dword [edi + 0x28]
lea ebp, [edi + 0x28]
mov dword [esp + 0x2c], ebp
test ecx, ecx
jne 0x43683d
mov dword [eax + 0x28], ebx
mov ecx, dword [0x74e1b0]
mov edx, dword [edi + 0xc]
lea ebx, [edi + 0xc]
mov dword [esp + 0x30], ebx
test ecx, ecx
jne 0x43681c
mov dword [eax + 0xc], edx
mov ecx, dword [0x74e1b0]
mov edx, dword [edi + 8]
lea esi, [edi + 8]
mov dword [esp + 0x28], esi
test ecx, ecx
jne 0x4367f3
mov dword [eax + 8], edx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x436667
mov edx, dword [0x74e1b0]
lea esi, [ecx + 0x28]
test edx, edx
jne 0x4367d2
mov dword [ecx + 0x28], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x436682
mov edx, dword [0x74e1b0]
lea esi, [ecx + 0x28]
test edx, edx
jne 0x4367b1
mov dword [ecx + 0x28], eax
mov ecx, dword [0x74e1b0]
lea edx, [eax + 0x2c]
test ecx, ecx
jne 0x436790
mov dword [eax + 0x2c], edi
mov ecx, dword [0x74e1b0]
lea edx, [eax + 0x30]
mov esi, dword [edi + 0x30]
lea ebx, [edi + 0x30]
mov dword [esp + 0x34], ebx
test ecx, ecx
jne 0x43675f
mov dword [eax + 0x30], esi
test esi, esi
je 0x436730
mov eax, dword [0x74e1b0]
test eax, eax
jne 0x4366e2
mov dword [edi + 0x28], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x30], 0
add esp, 0x38
ret
mov dword [esp], ebp
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
jmp 0x4366de
mov ecx, dword [0x74e1b0]
test ecx, ecx
jne 0x436742
mov dword [eax + 0x30], edi
jmp 0x4366b8
mov dword [esp], edx
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x4366b8
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
mov dword [esp], edx
mov dword [esp + 4], esi
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
jmp 0x4366b4
mov dword [esp], edx
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x436696
mov dword [esp], esi
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x436682
mov dword [esp], esi
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x436667
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
jmp 0x43664c
mov dword [esp], esi
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x436631
mov dword [esp], edx
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
jmp 0x436616
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
jmp 0x4365e6
mov ecx, dword [edi + 0x30]
lea edx, [edi + 0x30]
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x4368f8
mov ebx, dword [0x74e1b0]
lea ebp, [ecx + 0x2c]
test ebx, ebx
jne 0x4368de
mov dword [ecx + 0x2c], eax
mov ecx, dword [0x74e1b0]
lea ebx, [eax + 0x2c]
test ecx, ecx
jne 0x4368b5
mov dword [edi + 0x30], eax
mov dword [eax + 0x2c], 0
jmp 0x4366de
mov dword [esp + 0x34], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
jmp 0x4366de
mov dword [esp], ebp
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
jmp 0x436899
mov ecx, dword [0x74e1b0]
lea ebx, [edi + 0x2c]
test ecx, ecx
jne 0x43690a
mov dword [edi + 0x2c], eax
jmp 0x436899
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
jmp 0x436899
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x94]
mov esi, dword [ecx + 0x98]
mov dword [ecx + 0x94], esi
mov edi, ebp
shl ebp, 0x11
xor ebp, edi
mov edi, esi
xor esi, ebp
shr ebp, 7
xor ebp, esi
mov esi, edi
shr edi, 0x10
xor edi, ebp
mov dword [ecx + 0x98], edi
lea ecx, [esi + edi]
or ecx, 1
mov dword [eax + 0x24], ecx
mov ecx, dword [0x74e1b0]
lea ebp, [eax + 0x28]
test ecx, ecx
jne 0x4369f4
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x28], ecx
test byte [ebx], al
mov ecx, dword [0x74e1b0]
test ecx, ecx
jne 0x4369de
mov dword [ebx], eax
jmp 0x43699b
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x4369da
mov ebx, dword [ecx + 0x24]
mov ebp, dword [eax + 0x24]
cmp ebx, ebp
jbe 0x4369da
mov ebx, dword [ecx + 0xc]
cmp eax, ebx
je 0x4369cc
mov ebx, dword [ecx + 8]
cmp ebx, eax
jne 0x436a7a
mov dword [esp + 4], ecx
mov dword [esp], edx
call dbg.runtime.(*semaRoot).rotateLeft
jmp 0x436993
mov dword [esp + 4], ecx
mov dword [esp], edx
call dbg.runtime.(*semaRoot).rotateRight
jmp 0x436993
add esp, 0x38
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
jmp 0x43699b
mov dword [esp + 0x14], ebx
mov dword [esp], ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
jmp 0x436983
mov dword [esp + 0x1c], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x436572
lea eax, [0x5d33a0]
mov dword [esp], eax
lea eax, [0x640610]
mov dword [esp + 4], eax
call dbg.runtime.gopanic
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.(*semaRoot).queue