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

Disassembly:
mov ecx, dword [0x5d5324]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x440617
sub esp, 0x7c
mov ecx, dword [0x5d5324]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
xor eax, eax
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x440199
lea ecx, [ebp + 1]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov ecx, ebx
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 0x78]
cmp eax, 4
jge 0x44026a
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov ecx, dword [0x5d5324]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x98]
shl edx, 0x11
mov ebp, dword [esp + 0x34]
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov ecx, dword [0x5b0390]
lea edx, [ebp + ebx]
test ecx, ecx
je 0x440611
mov dword [esp + 0x28], edx
mov ebx, dword [0x5b0398]
mov ebp, eax
mov eax, edx
xor edx, edx
div ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x28]
xor edx, edx
div ecx
test ebx, ebx
je 0x44060c
mov dword [esp + 0x54], ebp
xor edx, edx
div ebx
mov eax, dword [0x5b0394]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
cmp ebp, 3
sete cl
mov byte [esp + 0x21], cl
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
jmp 0x4402d1
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], esi
xchg edi, eax
mov byte [esp + 0xa0], al
xchg edi, eax
add esp, 0x7c
ret
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x6c]
add edx, dword [esp + 0x70]
mov eax, edx
xor edx, edx
div edi
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x5c]
mov edx, ecx
mov edi, esi
movzx ecx, byte [esp + 0x21]
mov esi, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x68], ecx
je 0x440184
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
xchg edi, eax
mov byte [esp + 0x22], al
xchg edi, eax
lea eax, [0x5b0dd4]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
jne 0x4405b7
mov ecx, dword [0x5b02e4]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
jae 0x440607
mov ecx, dword [0x5b02e0]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x78]
cmp edx, ecx
jne 0x44034d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
movzx esi, byte [esp + 0x22]
jmp 0x440508
mov dword [esp + 0x74], ecx
mov ebx, dword [esp + 0x54]
cmp ebx, 3
je 0x44035e
xor eax, eax
jmp 0x440395
mov ecx, dword [0x5b0300]
mov edx, dword [0x5b0304]
mov ebx, dword [0x5b0308]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call sym.runtime.pMask.read
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x54]
test al, al
jne 0x4403b3
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
movzx edx, byte [esp + 0x22]
jmp 0x440483
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call sym.runtime.checkTimers
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
setne dl
test eax, eax
setne bl
or edx, ebx
test dl, dl
je 0x440426
mov edx, dword [esp + 0x50]
test edx, edx
sete bl
mov ebp, dword [esp + 0x4c]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x44041a
cmp ebp, ecx
setg cl
sete bl
cmp edx, eax
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, ebx
or ecx, esi
test cl, cl
je 0x440420
mov ecx, dword [esp + 0x18]
jmp 0x44042e
mov ecx, ebp
mov eax, edx
jmp 0x44042e
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test dl, dl
jne 0x440446
movzx edx, byte [esp + 0x22]
jmp 0x440483
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.runtime.runqget
mov eax, dword [esp + 4]
test eax, eax
jne 0x440568
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edx, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], ebp
mov byte [esp + 0x23], dl
mov esi, dword [0x5b02f0]
mov edi, dword [0x5b02f4]
mov eax, dword [0x5b02f8]
mov ecx, dword [esp + 0x6c]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.pMask.read
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4404ef
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
movzx ecx, byte [esp + 0x21]
mov byte [esp + 8], cl
call sym.runtime.runqsteal
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x44051d
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x38]
movzx esi, byte [esp + 0x23]
inc dword [esp + 0x64]
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x4402a6
jmp 0x440602
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x98], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 0xa0], al
add esp, 0x7c
ret
movzx ecx, byte [esp + 8]
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], cl
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], eax
movzx eax, byte [esp + 0x22]
mov byte [esp + 0xa0], al
add esp, 0x7c
ret
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov byte [esp + 0xa0], 1
add esp, 0x7c
ret
call sym.runtime.panicdivide
call sym.runtime.panicIndexU
call sym.runtime.panicdivide
call sym.runtime.panicdivide
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.stealWork