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

Disassembly:
mov ecx, dword [0x5dbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x37cce3
sub esp, 0x70
mov eax, dword [0x5dbf38]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x37c896
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x37c88e
mov eax, dword [eax + 0x78]
test eax, eax
je 0x37c892
add esp, 0x70
ret
xor eax, eax
jmp 0x37c89f
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
mov byte [esp + 0x17], al
nop
lea ecx, [0x5dc2a4]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
jne 0x37ccac
nop
lea eax, [0x5dc858]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x48], xmm0
nop
lea eax, [0x5dc860]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xf4]
mov edx, dword [eax + 0xf8]
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x40], xmm0
xor ebx, ebx
sub ebx, ecx
mov dword [esp + 0x30], ebx
mov ecx, 0
sbb ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x48]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call sym.runtime.float64toint64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
test ecx, ecx
setl cl
sete bl
cmp eax, 0x10000
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ebx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x37c98e
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
jmp 0x37c9cb
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call sym.runtime.float64toint64
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, 0x10000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
nop
lea ebp, [0x5dc818]
mov dword [esp], ebp
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
sete dl
setg bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ebx, ebp
test bl, bl
jne 0x37ca18
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
jmp 0x37cb30
mov edx, dword [esp + 0x2c]
cmp edx, ecx
sete cl
setg bl
mov ebp, dword [esp + 0x28]
cmp ebp, eax
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, ecx
or ebx, esi
test bl, bl
jne 0x37ca63
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0xf4]
mov esi, dword [ecx + 0xf8]
mov edi, dword [esp + 0x30]
add ebx, edi
mov dword [ecx + 0xf4], ebx
mov ebx, dword [esp + 0x34]
adc esi, ebx
mov dword [ecx + 0xf8], esi
jmp 0x37cadf
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.runtime.int64tofloat64
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xf4]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xf8]
mov dword [esp + 0x38], edx
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x40]
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 + 0x3c]
add eax, edx
mov edx, dword [esp + 0x38]
adc ecx, edx
add eax, 1
mov edx, dword [esp + 0x74]
mov dword [edx + 0xf4], eax
adc ecx, 0
mov dword [edx + 0xf8], ecx
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
lea eax, [0x5dc818]
mov dword [esp], eax
xor eax, eax
sub eax, ebp
mov ecx, 0
sbb ecx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xaddint64
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sbb ecx, edx
test eax, eax
sete dl
test ecx, ecx
sete bl
and ebx, edx
test bl, bl
jne 0x37cc75
movzx edx, byte [0x5c04a4]
test dl, dl
je 0x37cb84
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x37cb89
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov byte [esp], 0x2b
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.runtime.traceEvent
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, 1
jmp 0x37cb89
movzx edx, byte [esp + 0x17]
mov byte [esp + 0x17], dl
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ebx, [sym.runtime.gcAssistAlloc.func1]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x60]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [0x5dc100]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x44]
test eax, eax
je 0x37cbee
mov eax, dword [ecx + 0x44]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
mov dword [ecx + 0x44], 0
test edx, edx
je 0x37cc02
call sym.runtime.gcMarkDone
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0xf8]
test eax, eax
jge 0x37cc3e
movzx eax, byte [ecx + 0x65]
test al, al
je 0x37cc2d
nop
lea eax, [0x4bfb90]
mov dword [esp], eax
call sym.runtime.mcall
movzx eax, byte [esp + 0x17]
jmp 0x37c89f
call sym.runtime.gcParkAssist
movzx eax, byte [esp]
test al, al
je 0x37c89a
movzx eax, byte [esp + 0x17]
test al, al
je 0x37cc71
nop
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.runtime.traceEvent
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x37cca8
nop
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.runtime.traceEvent
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x37ccdf
nop
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.runtime.traceEvent
add esp, 0x70
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.gcAssistAlloc