Function at 0x41a510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x41aaa2
sub esp, 0x90
mov eax, dword [0x7b1178]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x41a563
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x41a558
mov eax, dword [eax + 0x78]
test eax, eax
je 0x41a55f
add esp, 0x90
ret
xor eax, eax
jmp 0x41a56f
add esp, 0x90
ret
mov eax, 1
mov byte [esp + 0x17], al
nop
lea ecx, [0x7b14e4]
mov dword [esp], ecx
call sym.internal_runtime_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
jne 0x41aa31
nop
lea eax, [0x7b1bb8]
mov dword [esp], eax
call sym.internal_runtime_atomic.Load64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x34], xmm0
nop
lea eax, [0x7b1bc0]
mov dword [esp], eax
call sym.internal_runtime_atomic.Load64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x108]
mov edx, dword [eax + 0x10c]
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x2c], xmm0
xor ebx, ebx
sub ebx, ecx
mov dword [esp + 0x60], ebx
mov dword [esp], ebx
mov ecx, 0
sbb ecx, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x34]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call sym.runtime.float64toint64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
setl dl
sete bl
cmp eax, 0x10000
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41a661
mov ebx, dword [esp + 0x60]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x64]
jmp 0x41a69e
mov dword [esp], 0x10000
mov dword [esp + 4], 0
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x2c]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call sym.runtime.float64toint64
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, 0x10000
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
nop
lea ebp, [0x7b1b78]
mov dword [esp], ebp
call sym.internal_runtime_atomic.Loadint64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
setg dl
sete bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41a6ed
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
jmp 0x41a812
mov edx, dword [esp + 0x4c]
cmp edx, ecx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov esi, dword [esp + 0x48]
cmp esi, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebx
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41a743
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x108]
mov edi, dword [ebx + 0x10c]
mov eax, edx
mov edx, dword [esp + 0x60]
add ebp, edx
mov dword [ebx + 0x108], ebp
mov edx, dword [esp + 0x64]
adc edi, edx
mov dword [ebx + 0x10c], edi
jmp 0x41a7c1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x108]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x10c]
mov dword [esp + 0x68], edx
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x2c]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call sym.runtime.float64toint64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
add eax, edx
mov edx, dword [esp + 0x68]
adc ecx, edx
add eax, 1
mov edx, dword [esp + 0x94]
mov dword [edx + 0x108], eax
adc ecx, 0
mov dword [edx + 0x10c], ecx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], esi
lea ecx, [0x7b1b78]
mov dword [esp], ecx
xor ecx, ecx
sub ecx, esi
mov dword [esp + 4], ecx
mov ecx, 0
sbb ecx, eax
mov dword [esp + 8], ecx
call sym.internal_runtime_atomic.Xaddint64
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
sbb ecx, edx
test eax, eax
sete dl
test ecx, ecx
sete bl
and ebx, edx
test bl, bl
jne 0x41a9c0
movzx edx, byte [esp + 0x17]
test dl, dl
je 0x41a827
mov edx, dword [esp + 0x94]
jmp 0x41a8ab
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
movzx edx, byte [0x792f30]
test dl, dl
jne 0x41a840
xor edx, edx
xor ebx, ebx
jmp 0x41a858
call sym.runtime.traceAcquireEnabled
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
test edx, edx
jne 0x41a869
mov edx, dword [esp + 0x94]
mov byte [edx + 0x72], 1
jmp 0x41a8ab
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x3c], edx
mov dword [esp], ebx
mov dword [esp + 4], edx
call sym.runtime.traceLocker.GCMarkAssistStart
mov eax, dword [esp + 0x94]
mov byte [eax + 0x72], 1
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call sym.runtime.traceRelease
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x94]
lea ebx, [sym.runtime.gcAssistAlloc.func1]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
lea eax, [esp + 0x80]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [0x7b12d0]
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x48]
test eax, eax
je 0x41a8fa
mov eax, dword [ecx + 0x48]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
mov dword [ecx + 0x48], 0
test edx, edx
je 0x41a911
call sym.runtime.gcMarkDone
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0x10c]
test eax, eax
jge 0x41a954
movzx eax, byte [ecx + 0x69]
test al, al
je 0x41a93c
nop
lea eax, [0x635184]
mov dword [esp], eax
call sym.runtime.mcall
mov eax, 1
jmp 0x41a56f
call sym.runtime.gcParkAssist
movzx eax, byte [esp]
test al, al
je 0x41a56a
mov ecx, dword [esp + 0x94]
movzx eax, byte [0x792f30]
test al, al
jne 0x41a965
xor eax, eax
xor edx, edx
jmp 0x41a97c
call sym.runtime.traceAcquireEnabled
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x94]
test eax, eax
jne 0x41a986
mov byte [ecx + 0x72], 0
jmp 0x41a9b9
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], eax
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x94]
mov byte [eax + 0x72], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x90
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41aa2a
movzx eax, byte [0x792f30]
test al, al
jne 0x41a9da
xor ecx, ecx
xor eax, eax
jmp 0x41a9e6
call sym.runtime.traceAcquireEnabled
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x41a9f7
mov eax, dword [esp + 0x94]
mov byte [eax + 0x72], 0
jmp 0x41aa2a
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x74], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x94]
mov byte [eax + 0x72], 0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x90
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41aa9b
movzx eax, byte [0x792f30]
test al, al
jne 0x41aa4b
xor ecx, ecx
xor eax, eax
jmp 0x41aa57
call sym.runtime.traceAcquireEnabled
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x41aa68
mov eax, dword [esp + 0x94]
mov byte [eax + 0x72], 0
jmp 0x41aa9b
mov dword [esp + 0x20], ecx
mov dword [esp + 0x78], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x94]
mov byte [eax + 0x72], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x90
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.gcAssistAlloc