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

Disassembly:
mov ecx, dword [0x52054c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4182e7
sub esp, 0x6c
mov eax, dword [0x52054c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x417e36
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x417e2e
mov eax, dword [eax + 0x78]
test eax, eax
je 0x417e32
add esp, 0x6c
ret
xor eax, eax
jmp 0x417e3f
add esp, 0x6c
ret
mov eax, 1
mov byte [esp + 0x1b], al
nop
lea ecx, [0x520784]
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
jne 0x418297
nop
nop
lea eax, [0x520e58]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
nop
nop
lea edx, [0x520e60]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xfc]
mov edx, dword [eax + 0x100]
mov ebx, dword [esp + 4]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x2c], ebp
xor esi, esi
sub esi, ecx
mov dword [esp + 0x44], esi
mov dword [esp], esi
mov ecx, 0
sbb ecx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
call sym.runtime.fint64to64
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sym.runtime.fmul64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.f64toint64
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 0x417f2a
mov esi, dword [esp + 0x44]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x48]
jmp 0x417f75
mov dword [esp], 0x10000
mov dword [esp + 4], 0
call sym.runtime.fint64to64
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call sym.runtime.fmul64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.f64toint64
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, 0x10000
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], esi
nop
lea ebx, [0x520e18]
mov dword [esp], ebx
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 0x417fc2
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
jmp 0x4180ef
mov edx, dword [esp + 0x40]
cmp edx, ecx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov esi, dword [esp + 0x3c]
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 0x418018
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0xfc]
mov edi, dword [ebx + 0x100]
mov eax, edx
mov edx, dword [esp + 0x44]
add ebp, edx
mov dword [ebx + 0xfc], ebp
mov edx, dword [esp + 0x48]
adc edi, edx
mov dword [ebx + 0x100], edi
jmp 0x41809e
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0xfc]
mov dword [esp + 0x54], ebx
mov ebp, dword [edx + 0x100]
mov dword [esp + 0x50], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.fint64to64
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call sym.runtime.fmul64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.f64toint64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x50]
adc ecx, edx
add eax, 1
mov edx, dword [esp + 0x70]
mov dword [edx + 0xfc], eax
adc ecx, 0
mov dword [edx + 0x100], ecx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], esi
lea ecx, [0x520e18]
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 + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sbb ecx, edx
test eax, eax
sete dl
test ecx, ecx
sete bl
and ebx, edx
test bl, bl
jne 0x418247
movzx edx, byte [esp + 0x1b]
test dl, dl
jne 0x41814f
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x418117
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 1
jmp 0x418147
mov dword [esp + 0x4c], eax
mov eax, dword [esp]
mov dword [esp + 0x58], eax
call sym.runtime.traceLocker.GCMarkAssistStart
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 1
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
call sym.runtime.traceRelease
mov eax, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea edx, [sym.runtime.gcAssistAlloc.func1]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [0x5205c0]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x44]
test eax, eax
je 0x4181b0
mov eax, dword [ecx + 0x44]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
mov dword [ecx + 0x44], 0
test edx, edx
je 0x4181c4
call sym.runtime.gcMarkDone
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x100]
test eax, eax
jge 0x418200
movzx eax, byte [ecx + 0x65]
test al, al
je 0x4181ef
nop
lea eax, [0x47e638]
mov dword [esp], eax
call sym.runtime.mcall
mov eax, 1
jmp 0x417e3f
call sym.runtime.gcParkAssist
movzx eax, byte [esp]
test al, al
je 0x417e3a
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x418217
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 0
jmp 0x418243
mov dword [esp + 0x4c], eax
mov eax, dword [esp]
mov dword [esp + 0x58], eax
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x6c
ret
movzx eax, byte [esp + 0x1b]
test al, al
je 0x418293
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x418267
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 0
jmp 0x418293
mov dword [esp + 0x4c], eax
mov eax, dword [esp]
mov dword [esp + 0x58], eax
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x6c
ret
movzx eax, byte [esp + 0x1b]
test al, al
je 0x4182e3
call sym.runtime.traceAcquire
mov eax, dword [esp + 4]
test eax, eax
jne 0x4182b7
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 0
jmp 0x4182e3
mov dword [esp + 0x4c], eax
mov eax, dword [esp]
mov dword [esp + 0x58], eax
call sym.runtime.traceLocker.GCMarkAssistDone
mov eax, dword [esp + 0x70]
mov byte [eax + 0x6e], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
add esp, 0x6c
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.gcAssistAlloc