Function at 0x3a09d0
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 0x3a0ea9
sub esp, 0x7c
mov ecx, dword [0x5dbf38]
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 0x3a0a29
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 0x3a0afa
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edx
mov ecx, dword [0x5dbf38]
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 [0x5b7000]
lea edx, [ebp + ebx]
test ecx, ecx
je 0x3a0ea3
mov dword [esp + 0x28], edx
mov ebx, dword [0x5b7008]
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 0x3a0e9e
mov dword [esp + 0x54], ebp
xor edx, edx
div ebx
mov eax, dword [0x5b7004]
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 + 0x60]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
jmp 0x3a0b61
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 + 0x60], 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 + 0x60]
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 0x3a0a14
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], eax
xchg edi, eax
mov byte [esp + 0x22], al
xchg edi, eax
lea eax, [0x5b79d4]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
jne 0x3a0e49
mov ecx, dword [0x5b6f6c]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
jae 0x3a0e99
mov ecx, dword [0x5b6f68]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x78]
cmp edx, ecx
jne 0x3a0bdd
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x50]
movzx esi, byte [esp + 0x22]
jmp 0x3a0d9a
mov dword [esp + 0x74], ecx
mov ebx, dword [esp + 0x54]
cmp ebx, 3
je 0x3a0bee
xor eax, eax
jmp 0x3a0c25
mov ecx, dword [0x5b6f88]
mov edx, dword [0x5b6f8c]
mov ebx, dword [0x5b6f90]
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 0x3a0c43
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
movzx edx, byte [esp + 0x22]
jmp 0x3a0d15
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
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 0x3a0cb8
mov edx, dword [esp + 0x48]
test edx, edx
sete bl
mov ebp, dword [esp + 0x44]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x3a0cac
cmp ebp, ecx
setg cl
sete bl
cmp edx, eax
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, ebx
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
je 0x3a0cb2
mov ecx, dword [esp + 0x18]
jmp 0x3a0cc0
mov ecx, ebp
mov eax, edx
jmp 0x3a0cc0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test dl, dl
jne 0x3a0cd8
movzx edx, byte [esp + 0x22]
jmp 0x3a0d15
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.runtime.runqget
mov eax, dword [esp + 4]
test eax, eax
jne 0x3a0dfa
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 + 0x58], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x23], dl
mov esi, dword [0x5b6f78]
mov edi, dword [0x5b6f7c]
mov eax, dword [0x5b6f80]
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 0x3a0d81
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 0x3a0daf
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x38]
movzx esi, byte [esp + 0x23]
inc dword [esp + 0x64]
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x3a0b36
jmp 0x3a0e94
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x58]
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 + 0x4c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x48]
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