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

Disassembly:
mov ecx, dword [0x596784]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41acfc
sub esp, 0x78
mov eax, dword [0x596784]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x41a866
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x41a85e
mov eax, dword [eax + 0x78]
test eax, eax
je 0x41a862
add esp, 0x78
ret
xor eax, eax
jmp 0x41a86f
add esp, 0x78
ret
mov eax, 1
mov byte [esp + 0x17], al
nop
lea ecx, [0x596a44]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
jne 0x41acac
nop
lea eax, [0x597118]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x28], xmm0
nop
lea eax, [0x597120]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0xfc]
mov edx, dword [eax + 0x100]
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x20], xmm0
xor ebx, ebx
sub ebx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp], ebx
mov ecx, 0
sbb ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x28]
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 0x41a95e
mov ebx, dword [esp + 0x50]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
jmp 0x41a99b
mov dword [esp], 0x10000
mov dword [esp + 4], 0
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x20]
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 + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ebx
nop
lea ebp, [0x5970d8]
mov dword [esp], ebp
call sym.runtime_internal_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 ebx, ebp
or ebx, edx
test bl, bl
jne 0x41a9e8
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x41ab04
mov edx, dword [esp + 0x3c]
cmp edx, ecx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov esi, dword [esp + 0x38]
cmp esi, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and ebx, edi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41aa3b
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 0xfc]
mov edi, dword [ebx + 0x100]
mov eax, edx
mov edx, dword [esp + 0x50]
add ebp, edx
mov dword [ebx + 0xfc], ebp
mov edx, dword [esp + 0x54]
adc edi, edx
mov dword [ebx + 0x100], edi
jmp 0x41aab3
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0xfc]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x100]
mov dword [esp + 0x5c], edx
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x20]
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 + 0x60]
add eax, edx
mov edx, dword [esp + 0x5c]
adc ecx, edx
add eax, 1
mov edx, dword [esp + 0x7c]
mov dword [edx + 0xfc], eax
adc ecx, 0
mov dword [edx + 0x100], ecx
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
lea ecx, [0x5970d8]
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.runtime_internal_atomic.Xaddint64
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
sbb ecx, edx
test eax, eax
sete dl
test ecx, ecx
sete bl
and ebx, edx
test bl, bl
jne 0x41ac5c
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x41ab64
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x41ab2c
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 1
jmp 0x41ab5c
mov dword [esp + 0x58], eax
mov eax, dword [esp]
mov dword [esp + 0x64], eax
call sym.runtime.traceLocker.GCMarkAssistStart
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 1
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call sym.runtime.traceRelease
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea edx, [sym.runtime.gcAssistAlloc.func1]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [esp + 0x68]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [0x596840]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x44]
test eax, eax
je 0x41abc5
mov eax, dword [ecx + 0x44]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
mov dword [ecx + 0x44], 0
test edx, edx
je 0x41abd9
call sym.runtime.gcMarkDone
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 0x100]
test eax, eax
jge 0x41ac15
movzx eax, byte [ecx + 0x65]
test al, al
je 0x41ac04
nop
lea eax, [0x4c5204]
mov dword [esp], eax
call sym.runtime.mcall
mov eax, 1
jmp 0x41a86f
call sym.runtime.gcParkAssist
movzx eax, byte [esp]
test al, al
je 0x41a86a
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x41ac2c
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 0
jmp 0x41ac58
mov dword [esp + 0x58], eax
mov eax, dword [esp]
mov dword [esp + 0x64], eax
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x78
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41aca8
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x41ac7c
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 0
jmp 0x41aca8
mov dword [esp + 0x58], eax
mov eax, dword [esp]
mov dword [esp + 0x64], eax
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x78
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41acf8
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x41accc
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 0
jmp 0x41acf8
mov dword [esp + 0x58], eax
mov eax, dword [esp]
mov dword [esp + 0x64], eax
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x6e], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x78
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.gcAssistAlloc